hello I have recently set up a datalogger IOT to collect temperature data from a piece of agricultural harvest equipment. I have wired a 5 volt source directly to the board and noted that all lights on my sensors and datalogger board seem to be lit up however, I have found that in this configuration no data is written to the sd card. I have since added a battery to the system and it collects data properly but I have to remember to disconnect the battery overnight to not over-discharge the battery.
is this normal for these boards or is there a better way to wire this so that it can automatically wake up when supplied with power?
Have you measured the 5v to see what is actually being delivered? I’d guess either that or a wiring/soldering issue (share a photo of your wiring/soldering if possible)
Are you using the USB or VIN?
I’m using the 5-volt Vin. I know that power is getting to the board because the lights are on but for some reason it won’t collect data without the battery connected. Unfortunately, the device is 8 hours away, so I won’t be able to access it until I pick it up from the field test site.
When you get the logger back, you could compare the serial output and logging settings with the two power setups, as well as the voltage measurement TS-Russell suggested. The DataLogger IoT guide describes a serial menu and output, which may help distinguish a sensor-reading problem from an SD logging problem. One caveat: a USB connection can also supply power, so a successful USB test alone would not establish that VIN-only operation is working. Record what changes between tests and avoid changing the field wiring until you can inspect it safely.