Raspberry Pi / Android app to remote control a car (reblog plus re-format)

“doctoboggan” has created a project with a Raspberry Pi and Android App working in tandem to drive a remote control car.

Original article here: Show HN: I built a Raspberry Pi/Android driven toy car | Hacker News but reblogging to include the images in-line to make it easier to read!

And I quote…

This is the current iteration of the car.

Show HN: I built a Raspberry Pi/Android driven toy car | Hacker News

Details:
I wrote a simple android app that streams the accelerometer data from the phone to the pi over a simple socket. The pi then uses this data to drive the DC motor and the servo motor. Tilting the phone to control the car feels very natural. In this pic you can see the wifi dongle I’ve used.

Show HN: I built a Raspberry Pi/Android driven toy car | Hacker News

I am using Adafruit Occidental v0.2 as my OS because it has support for my wifi dongle. It also makes some hardware interaction easier and comes pre-installed with some good python libraries.

Here is a picture of the breadboard.

Show HN: I built a Raspberry Pi/Android driven toy car | Hacker News

I am using the L293DNE hbridge chip for DC motor control. The two black wires you see coming off the board connect to the motor.

In this pic is the battery pack I am using to power the pi.

Show HN: I built a Raspberry Pi/Android driven toy car | Hacker News

I purchased it from Amazon.

Here is a pic of the battery pack I am using for the DC motor.

Show HN: I built a Raspberry Pi/Android driven toy car | Hacker News

Here is a closeup of the steering servo.

Show HN: I built a Raspberry Pi/Android driven toy car | Hacker News

It is an HS-55 and I power it directly from the Pi’s 5v rail.

To control it, I use the Servoblaster kernel module.

My next plans are to add some sensors and make it autonomous. Let me know what you think.

I’m going to try to start my own robotics project with the blog posts I’ve accumulated over the past few weeks. Wish me luck!

John Jay’s 8 LED & Button Breakout Board

Here are some details about a little expansion board from John Jay featuring 8 LEDs and 8 switches. Designed to sit on top of the Pi, directly into the GPIO pins.

home automation – D.I.Y. Home Automation Projects – Raspberry Pi – John Jay’s 8 LED & Button Breakout Board.

They’ve made it over to the UK via eBay:

More details from Gordon over at Drogon

You can buy them via John Jay’s store on eBay.