Author Topic: How to control our robot?  (Read 6467 times)

0 Members and 1 Guest are viewing this topic.

Offline robotfanaticTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
How to control our robot?
« 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?).
« Last Edit: October 08, 2009, 02:29:39 AM by robotfanatic »

Offline kd5kfl

  • Full Member
  • ***
  • Posts: 72
  • Helpful? 1
Re: How to control our robot?
« Reply #1 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?

Offline robotfanaticTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: How to control our robot?
« Reply #2 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?

Offline walkercreations

  • Full Member
  • ***
  • Posts: 90
  • Helpful? 1
    • walkercreations
Re: How to control our robot?
« Reply #3 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.
Peter Walker
Fruitland, MD USA

Offline radhoo

  • Full Member
  • ***
  • Posts: 66
  • Helpful? 1
    • My technology Blog
Re: How to control our robot?
« Reply #4 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
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
Not so easy.

Hope it helps.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: How to control our robot?
« Reply #5 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
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline robotfanaticTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: How to control our robot?
« Reply #6 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.

Offline imran_robot

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
  • Imran the robot
Re: How to control our robot?
« Reply #7 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.

*Link Removed*

Offline mklrobo

  • Supreme Robot
  • *****
  • Posts: 558
  • Helpful? 15
  • From Dream to Design at the speed of Imagination!
Re: How to control our robot?
« Reply #8 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

Offline Ibaeni

  • Jr. Member
  • **
  • Posts: 28
  • Helpful? 4
Re: How to control our robot?
« Reply #9 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) many times and it is very cheap, easy to use, but reliable.