electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

analog joystick controlling stepper motor


Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> analog joystick controlling stepper motor
Author Message
d.barak



Joined: 22 May 2006
Posts: 6


Post22 May 2006 8:59   

analog joystick controlling stepper motor


Hi all,
I want to use an analog joystick to control a stepper motor and also power a relay which powers a second circuit. When the joystick is pressed side to side I want the stepper motor to turn at a rate dependant upon the position of the joystick. If the joystick is pressed forward or backward I want to close a relay. I want both to be on in the intermediate positions like forward and left ...etc. I am trying to figure out the cheapest and best solution for this. I thought about using a 68hc12 microcontroller with the A/D converter only because I have experience with these. But I am open to easier cheaper solutions. I would like to use C programming. Any ideas on how to get my idea off the ground would be much appreciated. Thanks
Back to top
david.sh



Joined: 07 May 2006
Posts: 18
Helped: 10


Post22 May 2006 9:05   

Re: analog joystick controlling stepper motor


Sounds like you have a good start.

I'd use one of the joystick buttons to activate the relay, simpler than a 2nd AD.
I don't remember off the top if the 68hc12 has built in AD, but if it doesn't I'd change to a Up that does.
Also you would need a Stepper Controller, the Up won't be able to drive that directly.
And you might need some sort of position feedback from the stepper, unless all you care about is rotation speed and direction.
Back to top
Google
AdSense
Google Adsense




Post22 May 2006 9:05   

Ads




Back to top
d.barak



Joined: 22 May 2006
Posts: 6


Post22 May 2006 15:59   

Re: analog joystick controlling stepper motor


the 68hc12 has an A/D in it. I really need the relay to operate off the joystick so I figured I could just use two channels of the A/D, one for each direction. I don't need a position sensor it is not neccesary
Back to top
david.sh



Joined: 07 May 2006
Posts: 18
Helped: 10


Post22 May 2006 16:08   

Re: analog joystick controlling stepper motor


You could probably still get away with one channel AD.
If the joystick centered(null) position is <stop> define the dead band to disengage the relay.
Joystick mechanical centering is kinda sloppy, so you need this dead band anyway to keep the thing from hunting.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> analog joystick controlling stepper motor
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
stepper motor controlled by joystick (2)
Joystick with a stepper motor (3)
Codes for controlling stepper motor (1)
Controlling a Servo just like a Stepper Motor (2)
Controlling stepper motor with parallel port (17)
Stepper Motor Controlling Tutorials and VB Codes Requireds? (2)
controlling 5phase stepper motor using parallel port (43)
controlling the three stepper motor by one microcontroller (1)
Joystick interface to stepper motors! (6)
controlling stepper motors (10)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS