Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: robotfanatic on October 08, 2009, 02:19:07 AM

Title: How to control our robot?
Post by: robotfanatic on October 08, 2009, 02:19:07 AM
Hi,
we're about to construct a robot for a school project. It's supposed to controlled through a PC, but how?
How, and what program do we need? (electric components?)
Any suggestions are appreciated.

The robot is much like a car, 4 wheels. It should be able to drive straight forward, left, right and revers.

Thanks in advance!

PS! We've looked into it, and decided we want it to be wireless controled via (Matlab?).
Title: Re: How to control our robot?
Post by: kd5kfl on October 08, 2009, 07:52:34 AM
Input!

are you allowed to modify the PC?
do you have a budget?
what software writing skills do you have?
4th grade or graduate school?
are you using servos?

I would send PWM through XBEE to servos. generating the PWM would be the tricky part. maybe generate it through a sound card?
Title: Re: How to control our robot?
Post by: robotfanatic on October 08, 2009, 08:03:06 AM
Hi again,

yes, we are allowed to modify the PC, since it's a school project the school is providing us with money which is around 40 USD. But we will be adding money from our on pockets.
Our software writing skills are very limited, almost nil.
We're currently in upper secondary school. Last year.

Since we recently started with the project we're not sure, but we're thinking of using a 12v DC motor to the backwheels. And 2 servos for the frontwheels? Would that work?
Title: Re: How to control our robot?
Post by: walkercreations on October 09, 2009, 08:30:30 AM
I would look into a bluetooth setup like Admin has posted. Should be simple enough to modify a $50 Robot MCU to work and inexpensive enough to not break the bank.
Title: Re: How to control our robot?
Post by: radhoo on October 11, 2009, 01:10:21 AM
we're about to construct a robot for a school project. It's supposed to controlled through a PC, but how?
How, and what program do we need? (electric components?)
Any suggestions are appreciated.
The robot is much like a car, 4 wheels. It should be able to drive straight forward, left, right and revers.
Hi,

Here's a PC controlled robot (A RC Buggy) using the car's remote connected to the computer LPT port:
http://www.pocketmagic.net/?p=520 (http://www.pocketmagic.net/?p=520)
This is the easy way.

And here is a ATMega8 microcontroller board with Bluetooth, controlled from a remote PC using Hyperterminal:
http://www.pocketmagic.net/?p=869 (http://www.pocketmagic.net/?p=869)
Not so easy.

Hope it helps.
Title: Re: How to control our robot?
Post by: Soeren on October 11, 2009, 05:13:38 PM
Hi,

[...] generating the PWM would be the tricky part. maybe generate it through a sound card?
Or, do it the right/easy way... Use the CTC, like we did in the days before soundcards even existed.

Here's an example, doing it on a PC (in x86 assembler) with the 8253/8254 CTC:
http://ocw.kfupm.edu.sa/user/COE3055253/part2-expr05.pdf (http://ocw.kfupm.edu.sa/user/COE3055253/part2-expr05.pdf)
Title: Re: How to control our robot?
Post by: robotfanatic on October 16, 2009, 02:13:22 AM
Is there someone sitting on a wiring diagram for a PWM control unit that will work for our robot?
Will a PWM control unit be able to reverse the motor and control the speed of it both forwards and reverse?

Thanks.
Title: Re: How to control our robot?
Post by: imran_robot on May 10, 2015, 04:17:05 AM
I have similar project for but just would like to know to get it done simpler way . . . Any recent developments? Help would be appreciated.

Title: Re: How to control our robot?
Post by: mklrobo on May 10, 2015, 07:24:34 AM
 ;D Hello!
Building a robot, can be a daunting task. I try to cover all the points
in my post in the miscellanous section; Analyzing the Axon: Coding, Construction, and Contraptions. I have just started myself, and are logging
all the triumphs and tribulations. Good Luck!   ;D ;D ;D
Title: Re: How to control our robot?
Post by: Ibaeni on May 10, 2015, 08:51:35 PM
I would agree with bluetooth. You can get modules that plug into a USB port on the computer, than a small usb receiving module for the robot. We've used this one (http://www.amazon.com/KEDSUM%C2%AE-Arduino-Wireless-Bluetooth-Transceiver/dp/B0093XAV4U (http://www.amazon.com/KEDSUM%C2%AE-Arduino-Wireless-Bluetooth-Transceiver/dp/B0093XAV4U)) many times and it is very cheap, easy to use, but reliable.