Sunday, July 14, 2013

SainSmart 4WD Chassis, Raspberry Pi & Arduino UNO


Great progress!

 
Kylie was visiting for a few days and we made some great progress.

She assembled the entire chassis, it’s a SainSmart 4 motor chassis with two acrylic platforms for mounting electronics.  More on that in the next post…  Then she did the entire setup of the Raspberry Pi.  I had preloaded the SD card and put it in the clear case to make it easier to handle, but she unpacked the Arduino and the motor driver (L298N) so she learned how important anti-static packaging is and how to handle the boards carefully from the sides.  She did great!  Then she began the Pi setup by learning that it needs inputs (USB keyboard and mouse);  then it needs some way to show us outputs (HDMI to a monitor); and finally it needs power.  Then Kylie threw the switch and the Raspberry Pi booted up perfectly and came up with the great Raspberry Pi logo and all the Raspbian start up code.  She was very exited!  Then we connected the Ethernet cable to get internet and she typed “startx” and got the graphical interface.  She loved it and began playing with Scratch, a super programming language from MIT designed for kids ages 8 & up.  In no time she was “programming” Scratch projects.  She has a special project in mind for Mom, so Kylie will share my account on Scratch 2 for Windows so we can work on it together when she’s home.

3 comments:

  1. Go Ky! Can't wait for you to demonstrate for us.

    ReplyDelete
  2. Hi, I have the same components, but am lost on how to connect the 4WD dc motors to the L298N H-bridge shield and to the arduino?? Will you post a schematic and if possible some code for both the arduino and the raspberry pi?

    ReplyDelete
  3. Hey! Check out the two posts after this one. I give a pretty detailed description of the motor driver connections and integration. Also go to the link "This project on Let's Make Robots" above (just under the airplane pic). At that site you can find my link to the Pi and Arduino SW. Good luck and let me know if you have trouble. Happy to help out.

    ReplyDelete