hi..
i am using nrf52832 and a peripheral device .. temperature sensor ,my temperature values are increasing like(0 ,27,75,80...) how to get a approximate value .
i have referred the datasheet ,but i dono how to solve ?
suggest an idea
hi..
i am using nrf52832 and a peripheral device .. temperature sensor ,my temperature values are increasing like(0 ,27,75,80...) how to get a approximate value .
i have referred the datasheet ,but i dono how to solve ?
suggest an idea
There is no visible temperature sensor but instead there is a temperature peripheral inside nordic chip that measures the temperature of the chip itself (and not the surroundings of the chip)
Please look at this thread.which says the same thing.
The resolution of the temperature is in 0.25 C so you need to multiply your raw data with 0.25 to get the value in Celsius. That would be the temperature of the nRF chip and NOT the environment.
no i am using max30205 temperature sensor with nrf52382
i am using max30205
So that's a Maxim product - nothing to do with Nordic!
You need to contact Maxim for support with their products!
Have you checked their documentation - surely, that must cover issues such as calibration?
i am getting the output like this , see the pic . i want to print only the raw data , in this pic my raw data is 28 .... give me some idea
give me some idea
Use the debugger to step through your code, and see what is happening.
Use an oscilloscope or analyser on I2C signals to verify what is actually happening on the hardware interface.
Check the sensor documentation to check if this is expected behaviour - eg, does it tell you that it takes a few readings to "settle" ... ?
Again, for specific questions about the max30205 itself and its operation you need to contact Maxim for support - it is not a Nordic product.
thankyou
Use an oscilloscope or analyser
See this post (it's about SPI, but applies equally to I2C) for some more suggestions:
I2C (aka "TWI") equivalent of the SPIdriver mentioned in that thread:
Use an oscilloscope or analyser
See this post (it's about SPI, but applies equally to I2C) for some more suggestions:
I2C (aka "TWI") equivalent of the SPIdriver mentioned in that thread: