Hi,
I was wondering if nRF52832 Development Kit - PCA10040 has a temperature sensor module in the development kit?
Thanks.
Hi,
I was wondering if nRF52832 Development Kit - PCA10040 has a temperature sensor module in the development kit?
Thanks.
Update: The nrf52832 dev kit does have a built in temperature sensor & there is a temperature example in the SDK that shows you how to use the built in temperature sensor on the dev kit. This example uses the not very accurate internal temperature sensor that measures the CPU core (see link).
Previously, I thought this temperature example required an external temperature sensor, but this was wrong.
How to connect PCA10040 with the temperature sensor ?
I hope I can use an external temperature sensor. Is there any example how we can connect a external sensor withPCA10040 and read the data ?
What type of communication interface does your temperature sensor have? The Nordic Thingy temperature sensor uses I2C for example. There is also a TWI sensor example that could be interesting for you (also uses I2C for communication). It is also possible to use SPI for example (SPI Master & Slave SDK examples).
The example you mentioned above is regarding to two boards I think. With SPI, the slave part never cares about the Master.
I hope I can use SPI connection for my external sensor, but when we use SPI connection, we need to initialize the pin before we read/write to that pin. I cannot find any tutorial/code how to init a pin as SPI interface. That is very clear on Arduino boards.
Also, in the SPI Master example, I cannot find PINs configuration code ...
Sorry, I am using SDK v.11. And when I tried SDK v.14, I found SPI_PIN configuration file.
Thank you, let me try.
Sorry, I am using SDK v.11. And when I tried SDK v.14, I found SPI_PIN configuration file.
Thank you, let me try.