Category Archives: Uncategorized

Aaaand wrapping up

 

 

I setup a node.js server on the RPI and wrote some code to handle incoming requests. I used express and some random RPI-GPIO package to send signals to the motor driver. I also downloaded a softare to view live stream from a webcam I attached to the roof of the car. This didnt work that well, had a huge delay. But still, you can tweak this into a really great thing.

Maybe I’ll post a video later.

2014-03-15 16.36.19

Building the car

Opening the car and removing everything except the motors and the battery pack. The cars batteries will power the motorsĀ and LN298N motor driver. There are two motors, one for left/right and one for forward/reverse driving.

2014-02-20 16.16.19

LN298N wired up to the two motors, along with power and ground. The last input labeled 5V is to get signal power from the raspberry pi. The four black jumpers over the blue ones are for getting signal from RPI GPIO ports to tell the LN298N which motor to give power and which direction (high and low signal)2014-02-20 16.21.39

 

 

I forgot to take pictures, so the next one is of the car with the battery pack, RPI and LN298N all connected and working. Everything were just thrown in there, just to see that it would perform.

2014-02-20 20.08.55

Technologies and hardware

I have used these technologies and hardware to create nodeCar:

- regular RC car
- Node.js
- LN298N motor driverĀ to control the motors in the car
- Raspberry PI with Raspbian
- Some cables and glue
- Emergency phone charger with USB port to power up the Raspberry

Introduction

nodeCar is a regular RC car, modified to be controlled over Wifi. The idea came to me when I won a Raspberry PI board, along with the urge to learn node.js. After reading a bit, gathering data and making some sketches, this is what I came up with.

The code is not finished, but it works and its fun. There is still more work to do to perfect it, but with limited time I am satisified the a proof of concept.