Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4825

Automation, sensing and robotics • Voltage sensor with ADC on Raspberry Pi 5

$
0
0
Hi all!
I am new.
I am currently stuck on my project. I am trying to read voltage values from my sensor using an MCP3008 Analog to an analog-to-digital converter. There is not too much information for me to learn online, I can not find the example code so I asked chatGPT, but the result is just 0.99v while I tried to measure a 4.3v battery or the 5v port from the Raspberry Pi, it still returns 0.99v.
I am just learning. So I need help with where to start or maybe some kind of tutorial videos

Thank you so much!

Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V
Battery Voltage: 0.99 V

Statistics: Posted by mikenguyen1712 — Wed Sep 11, 2024 10:42 pm



Viewing all articles
Browse latest Browse all 4825

Trending Articles