Society of Robots - Robot Forum

Mechanics and Construction => Mechanics and Construction => Topic started by: KnightsOnTrains on July 31, 2011, 05:10:22 PM

Title: HELP!!!!! My first Robot.
Post by: KnightsOnTrains on July 31, 2011, 05:10:22 PM
I am attempting to build my first robot. I don't plan on making it anything fancy. It is just going to be a tracked robot with one drive wheel on each side. I want it to be able to move forward and backwards as well as being able to turn while moving forward/backwards, and to be able to pivot without moving (one track moving forward, one track moving backwards). The catch is that I would like to make all of the driving actions controlled by one joystick on a remote. I am planning on using two 18v cordless drills for motors. Other than that, I have absolutely no idea what I need, much less how to put it together. I have read the articles on the site, but want to make sure that i now what I am doing before I invest to much money. Any help at all would be great. Thanks in advance.
Title: Re: HELP!!!!! My first Robot.
Post by: Soeren on July 31, 2011, 05:41:28 PM
Hi,

The catch is that I would like to make all of the driving actions controlled by one joystick on a remote.
What's the catch in that?

You'll need a microcontroller to listen to the receiver and translate the input into a PWM signal for each motor - it wouldn't care less if you use a joystick, buttons or hand gestures (although the latter would be a bit harder to make the transmit signals for  ;D)
Title: Re: HELP!!!!! My first Robot.
Post by: Gertlex on July 31, 2011, 06:01:04 PM
I have read the articles on the site, but want to make sure that i now what I am doing before I invest to much money. Any help at all would be great. Thanks in advance.

A better approach, knowing this, is for you to tell us what *you* think would be needed to do this.  Otherwise we won't know what you're forgetting and/or don't need. :)
Title: Re: HELP!!!!! My first Robot.
Post by: KnightsOnTrains on July 31, 2011, 07:45:05 PM
A better approach, knowing this, is for you to tell us what *you* think would be needed to do this.

I think that i would need a power supply, my two motors, remote, receiver, fuses, and micro controllers. Hook the power supply up to the receiver, then to a fuse, then to the micro controller, and finally to the motors. I hope that this is correct. Also, if is it possible to buy micro controllers that are completely pre programmed, or will i still have two program them in some way?? Thanks again.
Title: Re: HELP!!!!! My first Robot.
Post by: Soeren on July 31, 2011, 08:39:32 PM
Hi,

Hook the power supply up to the receiver, then to a fuse, then to the micro controller, and finally to the motors.
Do you mean; supply the power in a linear chain ending with the motors?
That's not quite the way to do it, Motors and microcontroller (probably via a voltage regulator), should each go directly to the battery.


Also, if is it possible to buy micro controllers that are completely pre programmed, or will i still have two program them in some way??
You'll have to program the microcontroller for your particular application.
Title: Re: HELP!!!!! My first Robot.
Post by: KnightsOnTrains on August 01, 2011, 08:30:43 AM
You'll have to program the microcontroller for your particular application.

I have virtually no programming skills, I know that microcontrollers come with examples of code and such, but how hard are they to program?? Thanks again, for all the help!
Title: Re: HELP!!!!! My first Robot.
Post by: adanvasco on August 01, 2011, 12:28:21 PM
You're to going to have to improve your programming skills or otherwise pay (convince) somebody else to do the coding for you. You can always use libraries like WebbotLib or such that have many functions pre-programmed but you'll still need to know how to use and call such features.
If you are serious into embedded design, you should get yourself a good beginner's book.

That's the best advise I can give you so far.

Good luck  ;D
Title: Re: HELP!!!!! My first Robot.
Post by: KnightsOnTrains on August 01, 2011, 05:07:48 PM
Thanks to everybody for all the help. I think that I almost have this thing figured out. One last question though. I know that this might sound ignorant but couldn't I just use speed controllers instead of microcontrollers?
Title: Re: HELP!!!!! My first Robot.
Post by: rbtying on August 01, 2011, 09:22:16 PM
You'll need something to control the speed controllers... such as a microcontroller.  Especially if you don't intend to use two separate joysticks, as it means you'll need to convert the input (x, y position) into (leftmotorspeed, rightmotorspeed) somehow.
Title: Re: HELP!!!!! My first Robot.
Post by: NGuggemos on August 07, 2011, 11:14:00 AM
If you are using tracks or treads I would recommend using two wheels on each side, along with two motors.
Title: Re: HELP!!!!! My first Robot.
Post by: NGuggemos on August 07, 2011, 11:15:28 AM
Also, if you need help on how to build it... There seems to be more books than websites, so I recommend using a book. Combat robot books work really good.
Title: Re: HELP!!!!! My first Robot.
Post by: Mad MIR on August 21, 2011, 12:02:06 PM
Hey i was just reading this thread, what kind of languages do i have to learn to use an arduino? or any other microcontroller?
Title: Re: HELP!!!!! My first Robot.
Post by: adanvasco on August 24, 2011, 08:45:30 PM
Most likely C or Assembly. I would go for C. Assembly is way too much coding. Maybe some basic.
I definitely prefer C.
Title: Re: HELP!!!!! My first Robot.
Post by: Mad MIR on August 25, 2011, 03:03:57 AM
Thanks :D