Hi so basically I’m making a robotics thing with a motor and potentiometers. I have a raspberry pi 4 which i think only has digital inputs. Obviously a potentiometer is analogue and needs an ADC of some Sort.
Since I want to use like proportional control or something with the pots and the motors I need the ADC to be pretty quick to change, probably 10-50 milliseconds max. I also plan to use a 360 degree pot so I probably want at least 10 bits of resolution on it. The potentiometer that I’ll attach to the axel is pictured below.
I would really like to not have to go out and buy an ADC circuit, or try to get an arduino nano to communicate with a pi. I have some 555 ICs and a bunch of other RC components.
So how can I make a good ADC circuit with the 555? I’ve looked online and a lot of them only work between certain voltages, which would be annoying to find resistors and step up the voltage for. Like this circuit.
I also haven’t done a lot of electrical stuff recently so I forgot how to do some stuff.
Since I want to use like proportional control or something with the pots and the motors I need the ADC to be pretty quick to change, probably 10-50 milliseconds max. I also plan to use a 360 degree pot so I probably want at least 10 bits of resolution on it. The potentiometer that I’ll attach to the axel is pictured below.
I would really like to not have to go out and buy an ADC circuit, or try to get an arduino nano to communicate with a pi. I have some 555 ICs and a bunch of other RC components.
So how can I make a good ADC circuit with the 555? I’ve looked online and a lot of them only work between certain voltages, which would be annoying to find resistors and step up the voltage for. Like this circuit.
I also haven’t done a lot of electrical stuff recently so I forgot how to do some stuff.
Attachments
-
1.5 MB Views: 2