We are planning to use Ruuvi tags without using the accellerometer or the pressure/temperature/humidity sensors. We will be reprogramming the nRF52x host to use very low power and we do not want either sensor drawing much power from the battery. I can see from their datasheets that both sensors use very little power when they are “powered down” or in a “sleep” mode. So, we will just need to ensure that both sensors are in a low-power state. Are each of the sensors in a low-power state by default when they are powered up or do we need to exercise each of their SPI interfaces to put them into a low-power state? If we need to put each sensor into a low-power state, please advise if there is sample code that supports this function.
Thanks in advance,
Yeah, you need to make sure all the GPIO pins are in correct states. @otso probably remembers these so let’s wait him to reply.
Are you sure? In looking at the schematic for B6, I see no gpio control of these modules, just the SPI interface and a couple interrupts coming from the accelerometer to the Nordic part.
Module power control via gpio would be great for a future rev.
If each modules default state at power up is a “low-power” state, then no change is required. If not, the SPI interface to each module will have to be used to put each module into this state.
By GPIOs I meant all the lines connected between sensors and nRF52. Like you said, there are SPI bus lines and interrupt lines which all should be configured to known states (which will not draw power) after reset.
https://blog.ruuvi.com/ruuvi-firmware-part-1-sleep-57d10787f0aa should get you started on disabling the sensors.
If you’re going to buy in bulk, contact email@example.com for a quote of RuuviTags without the sensors. That will save you a few microamps of stand-by current as well as a bit of money.
Thanks Otso. The blog shows me what I need.
We will start by buying a few units for prototyping and then I will reach out to your sales group for bulk sales.