2

I'm going to post this as an answer because I had a lot of trouble researching how to drive an ESC with just a Rasp Pi(using a zero w) and it works now, Hopefully someone having the trouble finding out how will see this: Joan was completely right with the 1000 low and 2000 ms high pulse width. I ran the GPIO pins at 50 hz. Here is some light arithmetic ...


2

No problem. It is safest to introduce a resistor. Connect any Pi ground pin to any of the other Pi's ground pins. Connect any Pi GPIO pin to any of the other Pi's GPIO pins via a resistor (if you have one, anything between 300 ohms to 100 thousand ohms will do). Set the transmitting GPIO as an output and the receiving GPIO as an input. The resistor is ...


1

This is likely to be a feature of RPi.GPIO. I would not try to fight it. Perhaps change to something like the following. ... STATUS = False #When a door event occour: def door(channel): global STATUS if STATUS: if GPIO.input(23): print("The door has been opened!") else: print("The door has been closed!") #When one ...


1

As far as I am aware it should work provided you download and install the latest version of wiringPi. http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/ cd /tmp wget https://project-downloads.drogon.net/wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb


Only top voted, non community-wiki answers of a minimum length are eligible