Showing posts with label RC. Show all posts
Showing posts with label RC. Show all posts

May 30, 2012

Mini RC Car - Part 5 (final)


After weeks of 'other things', here is the 5th and final post on the Mini RC Car project.


It's alive!!!

This final configuration works on a single 9v battery. Yes only one power supply because I found the real source of the noise problem coming from the DC motor. Like any good bug it was a code 12 since I assumed that the motor had a capacitor on it... NOT!  Here you can "see" the result.




Parts:
1x racetrack toy car
1x micro servo
1x 9v battery
1x 5v power regulator
1x pn2222 transistor
1x 1N4001 rectifier diode
4x ceramic 0.1uf capacitors
1x 16MHz crystal
1x 28 pin socket
1x 4 pins female headers
1x 3 pins male headers
1 9v snap connector
1 Atmega328
1 BlueSmirf bluetooth breakout board
1 PCB
1 Wires
scrap metal/wood for structure

Tools:
Dremel
Soldering iron
Hot glue gun
Arduino board (e.g. UNO) for programming the chip
Android device with bluetooth


For the maniacs out there I'll probably add this on Instructables where I'll go over all the geeky details.

To view the whole project go here.

Thanks for reading.

Feb 21, 2012

Mini RC Car - Part 4

Back on track with 5v...continuing the Mini RC Car build.

So I couldn't wait on my 3.3v voltage regulator.  I decided to switch the car to 5v and use a good old 9v battery.  This is what it looked like when I tested the new power system:


This has to be the ugliest RC car ever made.

After getting over the look of the beast, I now have to do the following:

  • Test the servo
  • Clean up the electronics (there is still some quick prototyping part or assembly)
  • Make a more permanent stack assembly for the battery, power regulator and circuit board.
  • Programme the Arduino and the Android phone (remote)

This shouldn't be too long.  Here's the car running a test with the new power system:



To view the whole project, go here

Feb 14, 2012

Mini RC Car - Part 3

A few bumps in the road...continuing the Mini RC Car build.


First I decided to get rid of the variable voltage regulator.  It was causing all kinds of problems mostly because I'm using a 3.7v power source.  Anyway the Arduino runs fine for now and I have some 3.3v regulators coming through mail pretty soon.

A glitch never comes alone but I'm lucky since the next problem was simple. The DC motor is creating noise feedbacks that are confusing the servo.  That one is an easy fix by adding a 0.1uf capacitor on the motor.

The third one is a show stopper. Or maybe I should say 'a show slower'.  The cellphone battery I'm using is not strong enough for this whole operation.  It's a 3.7v 850ma LiPo cell.  I have to power the Arduino, the BlueSmirf Bluetooth board, the servo and the DC motor which is done using a transistor.  I guess I should have done some calculations first.

Soooo, I'll get to that and I'll order the right battery.  Until then, PAUSE on this project.   Mmmmm, that gives me an opportunity to start another thing.  Muha ha ha ha ha

To view the whole project, go here

Feb 11, 2012

Mini RC Car - Part 2

...continuing the Mini RC Car build.

To attach the steering servo, I drilled holes in the frame and bolted the two together.


I then hot-glued the front frame to the rear half, making sure I had enough ground clearance and all 4 tires on the ground.

The next step was creating a board that would support the Arduino chip, a socket for the bluetooth breakout board, the 3.3v voltage regulator and a socket for the servo connector.  Here's the prototype:


After a bit of soldering, here what I have so far:


Now that I have all the main components, I'll do the final assembly and start programming the on-board Arduino code and the Android controller app.

To view the whole project, go here

Feb 9, 2012

Mini RC Car - Part 1

While cleaning up the basement, we came up on that old electric racetrack and finally decided to get rid of that thing.  Of course I kept all the electrical circuitry and the kids kept the cars to play with.


Since I needed another project to start to justify not working on all the important stuff, I decide to re-purpose one of those car into a mini RC car that I would control using my Android phone. Communication will be done through bluethooth which I tested earlier.

My first test was to control the motor using an ATtiny13 Micro-controller.  This chip uses the same code as Arduino but has only 8 pins.  I powered the assembly using a LiPo battery from a dead cellphone.


I started by cutting the frame in two and hot glued a micro servo on the front part.


I then used a PC card slot-cover and bended it into a frame that would join the two half.

To view the whole project, go here