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

Interfacing (DSI, CSI, I2C, etc.) • Re: Getting Consistent 0 Readings from MCP3008 ADC on Raspberry Pi Zero 2 W - Wiring and Code Troubleshooting

$
0
0
I can't see anything connected to the input e.g. channel 0 pin 1 of the MCP3008 - normally I would have a test potentiometer connected
I have a Modern Device REV-C connected to the ADC. The connections for the REV-C are GND, +V, RV, TMP. I have TMP connected to channel 0, RV connected to channel 1, GND connected to the Raspberry Pi's GND through the breadboard - power rail, +V connected to the Raspberry Pi's 5V pin through the breadboard + power rail. The REV-C is a hot-wire anemometer that uses a differential resistor to determine wind speed based on resistor operation in different temperatures. I am using code setup to calculate this and it is working when I run it on my Arduino UNO mega328p. However, I am just not able to read any values from the ADC channels 0 & 1.

Statistics: Posted by Wildman120 — Fri Mar 07, 2025 7:10 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles