Robotics

General discussion of topics related to modding. Project logs go in the "Project Logs" subforum.
Post Reply
User avatar
Prime
Registered User
Posts: 27729
Joined: 01 Mar 2004, 02:00
Location: Getting into trouble
Contact:

Robotics

Post by Prime »

Right, so I went scratching through my stepper motors the other day wondering what to use them for.

I have an idea, it won't happen over night though.

What i want to do is build a small robotic vehicle and use stepper motors for the drive train. I'll use hybrid motors for this purpose because I have 2 matched ones from a photocopier :lol:

Motor controllers and guides can be found here:

http://www.aaroncake.net/Circuits/stepper.asp Easiest
http://www.instructables.com/id/Easy-to ... Driver-ci/ Part of some other project
http://home.cogeco.ca/~rpaisley4/Stepper.html
http://hobby_elec.piclist.com/e_step.htm
http://zone.ni.com/devzone/cda/ph/p/id/287 Explanation to the coils
http://en.wikipedia.org/wiki/Stepper_motor
http://www.solarbotics.net/library/pdfl ... torbas.pdf More on their operation

However, rather than do everything through a PIC or several pics, I want to control it from a ultra small PC board such as an EPIA running say windows in the background.
then all the sensing would feed into the board for processing and it would then output back to the drive circuitry and it would be fairly easy to upgrade and expand and monitor location, battery levels, etc.

Do anyone know anything about inputs and outputs to a PC for a start?. I assuming I'd have to go through the parallel port? :?
I still need to try out MS robotics Studio and see what i can do on it and how much programming i need to know.

If I can get the basic framework running, then onto it, I can explore tracking it via say, google maps or adding in a GPS card.
Innitial sensing would be for avoiding obstacles. If i use that first circuit, i can use PWM and count the pulses to track the number of rotations for the motors and their speed which will simplify it alot.

So, comments or guidance would be appreciated. :D
User avatar
djwez
The next Sheldon Cooper
Posts: 5666
Joined: 20 Aug 2008, 17:51
Processor: AMD PII x3 720 (4th core unlocke
Motherboard: Asus M4A785TD-M EVO
Graphics card: Sapphire 7790 Dual x OC
Memory: 8GB 1600 Vengeance kit
Location: Behind you....

Re: Robotics

Post by djwez »

hmmm ive also been wanting to work on a project like this...............

i had some stuff on which pins do what (on the parrell port ill see if a can find it again) but you will probably need to get extra ports (depending on how many motors you want to run)

you could use optical sensors for the measuring rpm :wink: (with the little disk thingy with slits in it)

i had a litle one of those cybot robotics kits. still got the ultrasound sensors and some of the circuitry if you want to have a look (doent help much since you want to run it through a pc but anyhow)

i had a book on robotics and ive lost it................ so i will do a bit of googling for you.


i want to see your design for it 8)
User avatar
Prime
Registered User
Posts: 27729
Joined: 01 Mar 2004, 02:00
Location: Getting into trouble
Contact:

Re: Robotics

Post by Prime »

I found some more links between studying and a serial driver design for stepper motors. Will probably use that :D

i have a working cybot which i'd prefer not to destroy and ultrasound cans are cheap. Like 14 rand per unit. Getting them to generate useable information is more difficult.
User avatar
Prime
Registered User
Posts: 27729
Joined: 01 Mar 2004, 02:00
Location: Getting into trouble
Contact:

Re: Robotics

Post by Prime »

Oh and depending on how you step the motor, you don't need a feedback sensor. :D track the steps and convert to degrees and and the radians
User avatar
djwez
The next Sheldon Cooper
Posts: 5666
Joined: 20 Aug 2008, 17:51
Processor: AMD PII x3 720 (4th core unlocke
Motherboard: Asus M4A785TD-M EVO
Graphics card: Sapphire 7790 Dual x OC
Memory: 8GB 1600 Vengeance kit
Location: Behind you....

Re: Robotics

Post by djwez »

Prime wrote:I found some more links between studying and a serial driver design for stepper motors. Will probably use that :D

i have a working cybot which i'd prefer not to destroy and ultrasound cans are cheap. Like 14 rand per unit. Getting them to generate useable information is more difficult.
you could use infrared sensors instead?............or just a simple trip switch with a slightly extended arm
User avatar
Prime
Registered User
Posts: 27729
Joined: 01 Mar 2004, 02:00
Location: Getting into trouble
Contact:

Re: Robotics

Post by Prime »

djwez wrote:
Prime wrote:I found some more links between studying and a serial driver design for stepper motors. Will probably use that :D

i have a working cybot which i'd prefer not to destroy and ultrasound cans are cheap. Like 14 rand per unit. Getting them to generate useable information is more difficult.
you could use infrared sensors instead?............or just a simple trip switch with a slightly extended arm
i was planning to use ir later for interaction with a living world. That way you could pick up people and animals in your environment.

i don't know if you can navigate reliably with ir
User avatar
djwez
The next Sheldon Cooper
Posts: 5666
Joined: 20 Aug 2008, 17:51
Processor: AMD PII x3 720 (4th core unlocke
Motherboard: Asus M4A785TD-M EVO
Graphics card: Sapphire 7790 Dual x OC
Memory: 8GB 1600 Vengeance kit
Location: Behind you....

Re: Robotics

Post by djwez »

btw what are you planning on using it for?
Monty
Forum Moderator
Posts: 10000
Joined: 05 Feb 2004, 02:00
Processor: Intel i5-4690K @ 4.5GHZ
Motherboard: ASUS Maximus VII Formula
Graphics card: ASUS GTX970 Strix
Memory: 4 x 4GB Corsair Dominators
Location: Messing with your Mind
Contact:

Re: Robotics

Post by Monty »

Prime, roombas use IR for navigation
Art Williams wrote:I'm not telling you it is going to be easy, I'm telling you it's going to be worth it.
User avatar
Prime
Registered User
Posts: 27729
Joined: 01 Mar 2004, 02:00
Location: Getting into trouble
Contact:

Re: Robotics

Post by Prime »

Samaya
Registered User
Posts: 2018
Joined: 23 Oct 2002, 02:00
Location: Not on this forum

Re: Robotics

Post by Samaya »

Prime, the parallel port has a 8 bit data bus on it which you can address. You will have to build some type of interface board for it to control the motors and I would suggest you use some small micro that just interprets commands and then does a necesary action. That way you don't have to worry about blowing up your serial port. Also use a USB to parallel converter (which you modify) and you can get up to 500mA out of the USB port. The other, BETTER option is to use a serial port to talk with said interface board and send commends via RS232. and YES it still is considered direct controlling in my world...

Robotics are awesome. I have been planning a UAV for quite a while now but never seem to get the time to start on it. I will eventually though, might make it into a masters or something. :mrgreen:
Post Reply