Anyone know of a voltmeter probe that attaches via USB and works in Linux to read values from? I need to monitor the voltage of a battery to monitor its voltage levels over time.
@XerTheSquirrel I'd probably use something from Adafruit, maybe a Teensy, how to read the value depends on the voltage range, do you know that already?
@XerTheSquirrel so i started with "find an ADC that reads from 0-15VDC" then i realized things like this exist:
you might even be able to get a free one as a "sample" unit. this would read your battery stuff and output a digital message with tons of useful info like estimated runtime left, time to full charge, etc, pretty neat! you would need to pick up this message with something that understands I2C, which is easy to wire up and there are Arduino libraries for that.
@XerTheSquirrel so it would be like:
battery ↔️ battery monitor chip ↔️ arduino (any kind, there are very tiny options) ↔️ usb to computer host
@XerTheSquirrel i also feel like mentioning there are dedicated gauges available that just react to the voltage level to show a bar graph, digital readout, or move a needle. if you are just wanting to know the info and not record it in a computer
@June I have a Raspberry Pi Zero W hidden inside a system which is powered by the internal 12V battery, but I want to monitor it to make sure that the battery is still being charged.
Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.
While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.
Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!