Let's Make Robots!

Beetleduino

navigates around via ultrasound sensor
AttachmentSize
beetleduino.pde8.34 KB

Ok, here I am and introduce you the Beetleduino Wall Racer.

Components:

  1. 1x RC toy car
  2. 1x Arduino Duemilanove
  3. 2x SR-04 ultra sound sensor
  4. some wire
  5. 1-2x additional battery(s)

There is not much to see yet but let me tell you some details. I soldered wires on each output of the controller on the receiver board.

In the video (both videos are the same. Youku is just for the Chinese community) I just uploaded a test sketch to the Arduino to go throught all the pins and set them to HIGH for 1 second ;-) LED is just for debugging to see if the pin is doing something.

I am not going to go Fritsl's way (http://letsmakerobots.com/node/928) since I had the idea to keep the receiver board inside the car that i still can drive the car by myself when the Arduino is offline.

Beetleduino

I got the following functions:

  • forward
  • backward
  • left
  • right
  • left lights
  • right lights
  • all lights
  • output to speaker

Then I still have to figure out some more since the oscilloscope showed me an audio signal when the speaker was activated to make sound and according to the oscilloscope pin 3 is Start Engine but connected with an output it runs frward....strange...

The battery pack is just 4.8 V NiMH and I am going to add one or two more batteries for more reliability and speed (thanks for this idea Fritsl) ;-)

I also want to try to hide the two ultra sound sensors for front and right inside the chassis to protect it against crashes.

Sorry but pictures of the car before hacking it will come later. Also I have to add the link to the video later since the upload in China is not that fast ;-)

And yessss, I got the video editing done. Now the first video with the real LMR logo, see it first on Youku since the upload to Youtube takes a lifetime ;-) 

ToDo:

  1. find a way to disconnect/protect the Arduino when using the remote control.
  2. make use of the speaker and the includes sound module of the car
  3. put the Arduino into the chassis -> DONE
  4. install the SR-04's in the chassis -> ALMOST DONE
  5. install a camera on a servo inside the car to look at the right when overtake another car (ok, Fritsl suggested to wear video glasses (http://letsmakerobots.com/node/928#comment-66250) and turn the camera when turning the head but I think this is another stage and level of development.)

UPDATE June 1:

Above #3 & 4 done or almost done.

Have been busy the last couple of days buuuut now some news.

Openings made for the front sensor (into the hood....mean trunk) and the USB plug (see picture)

See the hole in the trunk cover (front part ;-) )

Here will no fuel coming in but data for the brain to hopefully move this little car around with ease....

UPDATE June 2 (1:45am):

Removed the already soldered wires from the receiver board to the Arduino...have to replace them with more flexible ones.

Got some polymorph melted to build the holder for the front sensor and a  roof luggage rack to hide two more batteries...pics are done by tomorrow...why??? ...just watch the time of this update ;-)

UPDATE June 3 (12:10am):

Ok, before I start to program this little guy I just want to keep you up to date.

Today all the wires are connected and labeled (re-soldered some new and more flexible wires to the receiver board), the chassis is closed and the MC is ready to receive the first real code. First need to check if all outputs are doing the right thing and then will adjust the distance sensors.

Some more pictures:

Here you still can see his guts and a lot of wires (yes Fritsl, i think with just the relays it would be not such a mess ;-) but I am still able to drive it by remote control)

VW Beetleduino front sight. Do you see the polymorph holder for the sensor? I really want to make a new one...but later...

Sexy butt

Does not look so bad uh?

Waiting for a cable plugged in to receive some bits and bytes...ok...stop to write dude...fill my memory with instructions...I wanna have fun...

UPDATE June 4 (12:25am):

Blue smok...smells ugly... ahhhh. Just a couple of hours before i fried my receiver board. I don't know why but it went to heaven...maybe the more power was to much.

Ok, plan B - H-bridge. Done and running now. But the next desaster happend, by testing the code in the kitchen round course it bumped into the wall and after this i just heard the gear screaming...one tooth broken, damn.

Will see if I can fix this tomorrow in the hackerspace to take a video of the first rounds.

UPDATE June 16:

I am attending a robot race (freestyle) with this little car in July. Since I was busy with other  things there is not much done since my last update. I have to tweak the code for more relyable steering since it crashes into the wall after steering back to it when turning or increasing the distance. Also I still have to fix that broken gear to make sure it will not fail completely during the race close to the finish line ;-)

The race is just a small competionin in shanghai where some roboto builders want to show their projects and what they are capable of. I am going to attend this race as there is no particular rule for the style of the robot. So my wall racer should complete the obstacle course if my programming is done and fine tuned. Also I still have tio lower the speed since the course is not that wide and does not have long straight lines. If you take a close look then you will see it among the big guys here -> http://xinchejian.com/2011/05/25/hcr-roboracing/ ;-)

UPDATE July 6:

Since personal matters I have to delay to finish the project. But for now I have included the code for the Arduino. It's based on Fritsl's wall racers

UPDATE November 7:

The project will be in pending or even canceled since I have other goals now. I learned a lot by doing this wall racer but do not have the time and the means to finish it in the near future.

UPDATE November 15:

I marked this project as finished since there is no time to proceed in the near future. When it's still sitting on my shelf next year it might be possible that I will reactivate it.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Will see if I can re-wire all connections and get all under the hud. When this is done then i will start programming this little beetle :-)

Can't wait to see it running too ;-) but yesterday night i checked my appartment and have to think about how to setup a race track since there are many furiture standing around...need to build a track with boxes or something else ... haha

Will it be similar as frits wall racer? Hep you need some space to drive this little beetle around. Keep up the good work lumi :)

Yes I took Fritsl's idea but was going a little bit another way. I kept all the guts inside to be able of remote control the car when the Arduino is not in charge :-)

Already checked the kitchen for clear space...all other rooms are not suitable...but wait, the code is not done yet.

 

Maybe it will run better in the kitchen,but remove the chairs first ;)  Take care and keep up.

That is looking good!

Thanks, it's tricky since I want to keep all the guts in the car. I just removed the right front seat to make space for the rght sensor and the cables coming from the receiver board to the arduino.

Just got some polymorph shaped to build a holder for the front sensor and a roof luggage rack to hide 2 more batteries since the battery pack just got 4 AA with 4.8V

These pictures will come tomorrow now I have to sleep...it's already 1:45am...need to work soon :-D

The output of the Arduinio makes the car driving forward. But yes, I will try to send just a short impulse to the board, this might be working.

Start Engine is very cool. Pressed this buton on the remote it will give you a starting wengine sound and the wheels are vibrating a little since the motor is powered by a split second. Will not miss this function. on the remote, without pressing this button the car will not do anything at all...of course.

Cool stuff. Could the 'Start Engine' command from the remote be sending very short pulses to the car's motors so as to make it vibrate without moving forward? Then, if you are testing with a 1 second pulse from the Arduino, you would actually make it go forward on that pin. But if you emulate what is coming from the remote on that pin, you may get a different result.

Since you have an o-scope, you can see what the remote causes the receiver to put out on that pin for a 'Start Engine' command. Perhaps try a PWM output from the Arduino on that pin, but with a high frequency and very low duty cycle.