Hello,
I was wondering if the product DFRobot 4WD Arduino-Compatible Platform w/Encoders at your shop is also compatible for raspberry pi board?
Thank you,
Nihal
Hello,
I was wondering if the product DFRobot 4WD Arduino-Compatible Platform w/Encoders at your shop is also compatible for raspberry pi board?
Thank you,
Nihal
Hi Nihal,
Welcome to our forums! The robot isn’t entirely compatible with the Raspberry Pi, so it depends on what you want to do.
If you only want to control the wheels, you can use this Raspberry Pi shield to control the motors. There’s only two outputs, so you can combine the left motors together and right motors together.
If you also like to use the encoders, that’s a little more tricky because the encoders are made for 5V but the pins on the Raspberry Pi only do 3.3V. You can use a logic level converter board like this to make them compatible:
To power the encoder sensors, you will still need 5V. Fortunately, the motor controller board does have a 5V regulator, so you could connect a wire to one of the points in the image below to get your 5V:
It might also be possible to just power the encoders at 3.3V to get 3.3V signals, but this is untested so many not work very well.
Hope this helps,