Author Topic: manual controlled mill  (Read 6384 times)

0 Members and 1 Guest are viewing this topic.

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
manual controlled mill
« on: February 23, 2008, 09:20:03 PM »
hello, i need some help and advise on making a mill controller.  I'm using three 12vdc motors (small mill) and want to control them using a joystick I got out of a airplane controller (two potentiometers, X & Y).  Everything is going to analog and farley simple.  I want to have to motors speeds vary on how far the joy is pushed.  I'm guessing that i would have a series of transistors and diodes or H-bridge.  I can make to pots control the motors in only one direction.  I need help on how to make it where i get control both directions and proportional speeds.

check out pics ;)

bane

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: manual controlled mill
« Reply #1 on: February 23, 2008, 09:48:25 PM »
well with a microcontroller you would take an ADC of the joystick pots, and generate a PWM to the H bridge based on the resistance of the pots

Like if the ADC was 122 ( of an 8 bit conversion)  thats halfway so you would give a PWM of 50%
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #2 on: February 23, 2008, 10:04:49 PM »
I'm trying to build something simular to this, only use my joy instead.

http://www.hobbyengineering.com/CatEKMOT.html

any idea what the schematics might look like?

bane

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: manual controlled mill
« Reply #3 on: February 23, 2008, 10:07:00 PM »
I'm trying to build something simular to this, only use my joy instead.

http://www.hobbyengineering.com/CatEKMOT.html

any idea what the schematics might look like?

bane

http://info.hobbyengineering.com/specs/DIY-k166.pdf

datasheets man! Its all in there
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #4 on: February 23, 2008, 10:20:02 PM »
ha, just as you posted that i just came back to say i found it! :D. only it was a different website

thanks!

bane
« Last Edit: February 23, 2008, 10:20:48 PM by BANE »

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #5 on: February 23, 2008, 11:07:27 PM »
You know the more I look into this, it would be cheaper and easier to use my microcontroller and a H-bridge  :D

bane

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: manual controlled mill
« Reply #6 on: February 23, 2008, 11:17:33 PM »
You know the more I look into this, it would be cheaper and easier to use my microcontroller and a H-bridge  :D

bane

hmmm that sounds familiar  ;)
well with a microcontroller you would take an ADC of the joystick pots, and generate a PWM to the H bridge based on the resistance of the \



and it would be cheaper
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: manual controlled mill
« Reply #7 on: February 23, 2008, 11:43:24 PM »
2 servo's man. replace the pots of the servo with the joystick and solder your motors on instead of the old ones. you still might need to use transistors/mosfets to beef up the controller board
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: manual controlled mill
« Reply #8 on: February 24, 2008, 12:08:01 AM »
2 servo's man. replace the pots of the servo with the joystick and solder your motors on instead of the old ones. you still might need to use transistors/mosfets to beef up the controller board

sounds good .... in theory


the pots would have to match  and there might be other problems that will pop into my head tomorrow

good night US east coast!  ;)
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #9 on: February 24, 2008, 12:03:32 PM »
So if that would work, i would have to modify the servo to handle 9.6v or does it matter since im replacing the motors?

Another thing, I would have to generate a pulse simular to what a microcontroller would do only with out it.

bane

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: manual controlled mill
« Reply #10 on: February 24, 2008, 12:10:07 PM »
the circuit in the servo can only hold up to 7.2V ( really supposed to be 6V)
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #11 on: February 24, 2008, 01:09:43 PM »
I know, but can you modify it?

bane

paulstreats

  • Guest
Re: manual controlled mill
« Reply #12 on: February 24, 2008, 01:15:26 PM »
I would stick to using motors personally, ideally stepper motors. You would need a controller mcu to use it properly but it would mean that you can work on making it computer controlled at a later date without having to setup encoder etc..

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #13 on: February 24, 2008, 01:35:20 PM »
I have three stepping motors I got from a print/scanner.  I guess its worth a shot, however, the motors that i got only have 4 pins, most of the stepping controllers that i've seen require at least 5 pins.....  any ideas?   I have a microcontroller and if I could get three stepper controllers it wouldn't be to hard to make.  Just a thought, i have the BOT BOARD II w/ BASIC ATOM 28 pin, I could even control it using a PS2 controller...  sweet!

any suggestions where to get three cheap stepping motor controllers (4 pin)?

bane

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: manual controlled mill
« Reply #14 on: February 24, 2008, 04:07:24 PM »
those are bipolar motors.

Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

paulstreats

  • Guest
Re: manual controlled mill
« Reply #15 on: February 24, 2008, 04:28:42 PM »
a lot of normal motor full-bridge ic's can control stepper motors. Also you can use darlington driver ic's or just h-bridge type set up with mosfets. Its better to build your own than buy an expensive driver

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #16 on: February 26, 2008, 06:17:24 AM »
is this the type?

http://www.hobbyengineering.com/H1143.html

if so, they seem pretty cheap to me :D

But, no idea how the schematics would look. :-\

bane

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #17 on: February 26, 2008, 06:23:22 AM »
i just found this.

http://www.electronicsinschools.org/page.php?ps=2&p=11

i still don't know how to set it up to control a bi-polar using microcontroller though.

bane

paulstreats

  • Guest
Re: manual controlled mill
« Reply #18 on: February 26, 2008, 07:08:22 AM »
the uln 2003 seem ideal. I'll see if i can find a diagram for using it with a stepper motor, i saw one last week.

You will probably need one of the darlington arrays for each stepper. They are easy to use with a microcontroller

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #19 on: February 26, 2008, 05:10:17 PM »
Thanks, i would appreciate it :).   He is a pic i found google, i'm guessing i'd make something similar.



bane

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: manual controlled mill
« Reply #20 on: March 01, 2008, 10:26:48 PM »
I'd recommend using potentiometers with knobs instead of your joystick idea.

This way you can get much easier and more precise/repeatable control over the motion.

Easier to interface, too.

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #21 on: March 02, 2008, 08:09:09 PM »
Well I was thinking that i would use the joy with a microcontroller to operate.  I would have the microcontroller control the H-bridges.  I don't know much on getting the microcontroller to take direct readings from a pot, but i know theres code for the PS2 joy.  Besides, i think it would be fun. :D

bane

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: manual controlled mill
« Reply #22 on: March 02, 2008, 08:13:56 PM »
it would be simple analog to digital conversion for the pot
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: manual controlled mill
« Reply #23 on: March 03, 2008, 05:27:39 PM »
but wouldn't that mean that I would have to get some kind of convertor of some sort = $$$$.    PS2 controller = $20.00

i have to amit, i dont know to much about this but it seems more logical to me :\

bane

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: manual controlled mill
« Reply #24 on: March 03, 2008, 08:07:11 PM »
microcontrollers have built in analog to digital ,no extra $$$ needed
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

 


Get Your Ad Here