Комментарии:
When I enter an integer between 0-7 for 'channel' it gives an error of invalid syntax. When I substitute 'CH4' for 'channel' it seems to move past it but not getting any voltage readings, just 0.00's. Also, if I'm using mcp3008 should this line in the while loop "value = ReadChannel3208(4)" refer to 3208 or 3308. Something's not working. thanks
ОтветитьAn easier way to add up to 128 Analog ports to a single Pi is
ОтветитьYou need to incorporate a low pass filter...etc...Noise will also find it way into he ADC.
ОтветитьI would like to take all the analog outputs for my boat and make a digital dashboard. My question is my fuel sending unit is sending between 240-33 ohms. Would I be able to read this with a Raspberry PI? I know I will need an Analog To Digital Converter probably 8ch.
ОтветитьHow to use it with pico?
ОтветитьThank you for a great video! One comment, the pins you mention are really PI GPIO, which are different than the actual 40 pin Header pin numbering.
Question: I have the 3208 with 5v from the PI and 2 capacitors 100nf and 220nf. My reading fluctuating from 3147-3156, i.e. 3.812v-3.823v. I have a new cheap voltmeter showing constant 3.824v. This is about 11mv difference. The accuracy of the A2d with 5v reference, is supposed to be ~1mv (5/4096). It seemed your readings were much more stable, within a couple of digits. I also tried adding 100uF electrolytic cap on Vcc and Vin, didn't make a difference.
Do you have any idea why this large fluctuation? (trying to test the voltmeter accuracy:))
What is the lowest voltage that can me read with this chip and raspberry pi?
ОтветитьSo you can use 2 MCP3008 devices on 1 pi (so 16 channels?)?
ОтветитьThank you!
What is really good for a non-nativespeaker, you speak relatively slowly and clearly.
Once again thanks.
Regards
hello, good video, it helps me too much, so i have a question, for the analogic signal, are you using the voltaje of the raspberry or your potenciometer were conected to a external sourse? i hope you understand, i dont spak english
ОтветитьWhat 2 capacitors should I use> it sounds like you say, 100 "nano" farads ? is that right, not "micro"? Also, what voltage, thanks.
ps. why ceramic capacitors? is there a difference in normal ones. thanks
(adc[1]&15)<<8
What does it mean can you explain please i didn't get that part..
And one more question what will be the code if we want get reading from all the 8 channels together using adc MCP 3208?
How can we store this output data in the sd card of rpi
ОтветитьThanks a lot Antalz for this video, really helped me to understand how to use this analog input "converters", saw lot of videos and couldt catch it great and simple like yours :)
Have one small and think simple question, if i want to read/use more analog input channels from the chip, should i recall the ReadChannel3208 function on another loop or sentence ?
Lets say, i have value = ReadChannel3208(4) to read a potentiometer like your example video, and i declare a variable like humValue= ReadChannel3208(3) to read a humidity voltage sensor on analog pin 3 of chip?
thanks in advance sir.
Regards.
my MOSI, MISO and SCK are already occupied by the screen that I use for my PI, is there an alternative that I can use? I have a Pi 4b.
I would like to connect two joysticks to the pi which each have two potentiometers and turn them into a gamepad with a few buttons using software. thx
Resolution of inputs
ОтветитьThanks for your sharing.
Would you tell me How to record the Digital Caliper reading into my Raspberry Pi ?
Can I get circuit digram for this?
ОтветитьVery useful!
Ответить