I'm trying to control some motors by raspberry pi zero w.

I did, but the PWM produced by Software was unstable. So I decided to use arduino uno with zero.

(Zero is required because I should install some software in it)

It worked by serial communication, But the size of arduino uno is big to me. So I want to use arduino nano instead of uno.


raspberry pi zero w model has no usb port. How to make zero (serial) communicate with nano?



Rpi Zero W has no usb port. How to make serial communication?


But you can use the UART TxD (GPIO 14) and RxD (GPIO 15) pins on the 40 GPIO connector to do serial communication.

By the way, I also use Rpi PWM to control [servo] motor. I found its PWM signal rather stable. You might find more details in references below.


Raspberry Pi 3 and Zero W Serial Port Usage - 2019jan23

The Raspberry Pi 3 Model B, B+ and Raspberry Pi Zero W contain two UART controllers which can be used for serial communication, the mini UART and PL011 UART. By default, the mini UART is mapped to the TXD (GPIO 14) and RXD (GPIO 15) on the 40 pin GPIO header and the PL011 UART is used for the Bluetooth/Wireless module but either module can be mapped to the GPIO port.

rpi uart

Rpi PWM to control servo motor

rpi pwm waveform

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.