I want to use Raspberry Pi 4B to control a stepper motor, but its driver is not reading clock input. - https://www.anaheimautomation.com/produ ... =86&cID=20
So I believe the clock voltage needs to be over 3.5V.
For clock, I am running a python script and connected the output to the op-amp circuit.
For some reason, the Op-Amp circuit works as expected(LED blinks) when it is powered by 5V and GND of RPi.
But when op-amp is powered with an external source it doesn't work (LED is always on). The DMM shows ground pin of RPi and Ground of power source is at a potential difference of 8V when the clock is connected but at 0.01V when the clock is not connected to the circuit.
Any help is appreciated & thanks in advance!
Code: Select all
while True: gpio.output(7, True) time.sleep(0.1) gpio.ouput(7, False) time.sleep(0.1)