How to connect Raspberry Pi and Arduino to Turtle
Thanks to universal electronics adapter cable and waterproof compartment you can fit Raspberry Pi or Arduino inside Turtle Rover without any trouble. Thanks to built-in Raspberry Pi you can easily communicate with your additional electronics.
Basically all you need for your electronics are power supply and communication. I’ll show you on example of Raspberry Pi how to plug it in. At first disassemble Turtle’s waterproof compartment (this one with WiFi antenna in it).
Then you have to provide power supply — use Turtle’s adapter cable with labels. Take +5v and GND cables and connect them to proper pins on Raspberry. For +5V you can choose any red one from pinout and for GND any black. I have chosen second and third pin from first row. After using 2 cables I suggest to tie the rest — it will be easier to close cover of compartment after connecting everything.
Note: Max output current from +5V pin is 500 mA. If you need more we recommend to use LM2596 step-down voltage regulator and +24V pin. Maximal current output with regulator is 3A. It is really simple in use — you connect +24V to IN+ and GND to IN-, then set appropriate output voltage with potentiometer on voltage regulator and then connect OUT+ and OUT- with your electronics.)
Now when Raspberry is powered we will take care of communication. The easiest way to communicate will be network connection with onboard Raspberry via Ethernet. RJ45 connector is already provided inside compartment so just plug it in.
Note: Arduino with built-in programmer (for example Arduino Mega) should be connected via USB connector. Turtle’s adapter cable has all of the USB pins so all you need to do is to make USB connector and plug it into Arduino. Now you can program Arduino wireless! (link do artykułu Marcina). Basic versions of Arduino without built-in programmer should be programmed before putting it inside waterproof compartment.
Close the cover of compartment and then screw it into Turtle. Last step is to plug Turtle’s connector. You ended up with mobile platform with your own electronics and ability to program it wireless. Now the only limit is your imagination!
The article was originally published on our Turtle Rover blog