elpidiovaldez5
New Member
I am building a small self balancing robot that contains a Raspberry Pi 4 and an Arduino Nano. The Nano handles the motor control and Gyro/Accelerometer communication and the Pi 4 handles wifi, vision and speech. The Pi 4 communicates with the Nano via USB (so no issues with logic voltage level differences between 3.3V Pi and 5V Nano). The system is powered from 4S Lipos using a 5V Buck Converter for the electronics and direct battery power to Motor H-Bridge.
So my question is how to best supply power to the Nano and Pi 4 ?
As far as hacking a USB-C cable is concerned, I think this is probably the safest way to supply power to the Pi 4 because there are fuses and protection, but the USB-C cable is much more complicated than previous USB cables and I do not know how to connect power through it. Apparently nor did the Raspberry Pi foundation at first - I have one of the earlier Pi 4 boards which had problems due to a resistor value.
So my question is how to best supply power to the Nano and Pi 4 ?
- 5V direct to Nano, 5V to GPIO connectors on Pi 4
- 5V direct to Nano, 5V to GPIO connectors on Pi 4, cut the 5V line on the USB between Pi 4 and Nano.
- 5V to Pi 4 GPIO, power Nano via USB from Pi 4
- 5V to Pi 4 using hacked USB-C cable, power Nano via USB from Pi 4
- Something I've missed.
As far as hacking a USB-C cable is concerned, I think this is probably the safest way to supply power to the Pi 4 because there are fuses and protection, but the USB-C cable is much more complicated than previous USB cables and I do not know how to connect power through it. Apparently nor did the Raspberry Pi foundation at first - I have one of the earlier Pi 4 boards which had problems due to a resistor value.