Skynet Big Data Demo Using Hexbug Spider Robot, Raspberry Pi, and Java SE Embedded (Part 5)

from Oracle : hinkmond - 3rd July 2013

The opinions expressed by this blogger and those providing comments are theirs alone, this does not reflect the opinion of Automated Trader or any employee thereof. Automated Trader is not responsible for the accuracy of any of the information supplied by this article.

Now, here is the connection diagram to connect the wires you have soldered onto your Hexbot Spider remote control, first to a breadboard with four 2N4401 transistors, four 10K ohm resistors, and then to the Raspberry Pi GPIO pins. You can see we are using a breadboard as a staging area for each of the connections that eventually run back to the Raspberry Pi. And, the transistors will act as switches for turning on and off the remote controller buttons from a Java SE Embedded app.

If you need to refresh your memory, below is the Raspberry Pi GPIO pinout diagram.


RPi GPIO Pinout

So, with these two diagrams you should be able to connect your Hexbot Spider remote to the Raspberry Pi. Next up, we will look at how to program the Java SE Embedded app that is needed to run the remote control to make the Hexbot Spider robot move. Fun! :-)

  • Copyright © Automated Trader Ltd 2015 - The Gateway to Algorithmic and Automated Trading

click here to return to the top of the page