Society of Robots - Robot Forum

General Misc => Misc => Topic started by: Crazypimp05 on September 21, 2007, 07:07:06 PM

Title: Converting RC to autonomous? help please
Post by: Crazypimp05 on September 21, 2007, 07:07:06 PM
So..i wanna convert an old RC car i have into an "autonomous" robot. but have only a slight idea of how to do it{thanks to google...}. would i need all new electronics to do it? if so...what would be a "cheap" electronic setup? and any help/ideas would be appreciated
Title: Re: Converting RC to autonomous? help please
Post by: jklv on September 21, 2007, 08:29:50 PM
It depends a lot on what you want it to do.
Title: Re: Converting RC to autonomous? help please
Post by: TrickyNekro on September 21, 2007, 11:22:10 PM
Look at the 50$ robot for electronics, controller and sensors...
Also if you have any idea of building electronic circuits google up "bidirectional ESC" and "ESC" to see what it is...
But from my experience finding or even building a bidirectional ESC is very hard!!!
So you could just google "H-Bridge" and also look for "L298" and you should be fine to go...

These are the basics but as jklv said, it depends a lot on what you have...
Title: Re: Converting RC to autonomous? help please
Post by: Crazypimp05 on September 22, 2007, 05:39:49 AM
i see.  so the basic electronics from the $50 dollar robot would work with a rc car? basicly i just want the robot to sense "cliffs" and not fall down, while just running around my room...lol. lame...i know...
Title: Re: Converting RC to autonomous? help please
Post by: TrickyNekro on September 22, 2007, 07:02:05 AM
So ya need a accelerometer... See what analog can do for ya and get some samples...
Then it's up to you to understand electronics and programming...
But considering you are new... try the Basic Stamp 2...
I even use them until now....

Take care,
Lefteris!!
If you want anything just ask it freely...
There is no stupid question only fear of being stupid...
Title: Re: Converting RC to autonomous? help please
Post by: h3ro on September 22, 2007, 08:35:19 AM
Quote
so the basic electronics from the $50 dollar robot would work with a rc car?

The robot is made with differential drive, something most RC cars dont have. But your RC car might have 2 servos, so you can modify them and use them as engines.
Title: Re: Converting RC to autonomous? help please
Post by: crossroads1946 on September 22, 2007, 11:38:23 AM
If the car already has all the hardware to steer and drive, you could just use a microcontroller to control these and take inputs from sensors. This is what I did for one of my projects:
http://acm.cs.uwec.edu/~styxat/auto_car/report/ (http://acm.cs.uwec.edu/~styxat/auto_car/report/)

(i never did get that one to work quite right. I was having some trouble with the sensors and didn't have enough time to work it out. I wrote what I thought was the issue in the report, but there was probably more to it than that. I wanted to put better driving and steering control on it as well...)

And yes, those are legos.

-Baker
Title: Re: Converting RC to autonomous? help please
Post by: h3ro on September 22, 2007, 03:38:36 PM
If the car already has all the hardware to steer and drive, you could just use a microcontroller to control these and take inputs from sensors. This is what I did for one of my projects:
http://acm.cs.uwec.edu/~styxat/auto_car/report/ (http://acm.cs.uwec.edu/~styxat/auto_car/report/)

(i never did get that one to work quite right. I was having some trouble with the sensors and didn't have enough time to work it out. I wrote what I thought was the issue in the report, but there was probably more to it than that. I wanted to put better driving and steering control on it as well...)

And yes, those are legos.

-Baker

Thats a looot of electronics. What is everything for?
Title: Re: Converting RC to autonomous? help please
Post by: crossroads1946 on September 23, 2007, 01:18:54 PM
I built this for a project in my microcontrollers class. The system that we were using was the CME-555 development board. The chip was a type of power-pc chip (MPC-555). The development board had the chip, memory, and a bunch of other stuff on it so you could build and test your prototypes on it, then port it to a chip and board that only had the stuff you needed. This board had a bread board, a boatload of headers for inputs and outputs, power and ground headers, a few switches, buttons, a potentiometer, headers for external devices (like a keypad and LCD display), etc... I didn't use most of it, but I couldn't very well take the chip off the dev-board. The rest of the wires hanging off of it are for the 4 sensors and 2 PWM outputs for steering and throttle. For safety I used a couple of transistors so that the servo and ESC signals weren't being powered directly by the chips output pins.

-Baker