Overclockers Australia Forums

OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Specific Hardware Topics > Electronics & Electrics

Notices

Reply
 
Thread Tools
Old 5th May 2017, 11:27 PM   #1
Agg Thread Starter
Lord of the Pings
 
Agg's Avatar
 
Join Date: Jun 2001
Location: A Reported Post near you
Posts: 29,170
Default Servo or stepper motor?

So, wifey has put in a request. She wants to make a clockwork windup key thing which she can wear as part of a costume. So, imagine her done up as a doll, with this big key sticking out of her back, ticking away like a windup mechanism. She can make the dress and the key - I need to provide the mechanism.

I haven't been able to simply find a mechanism on eBay or Aliexpress, so it looks like I'll have to make one. My thoughts go to Arduino. But do I want to use a stepper motor or a servo?

It needs to::

- rotate 360 degrees continuously (the servos I have are 180 degrees only)
- tick along in visible increments, not just smoothly rotate
- drive a fairly light but large key
- be fairly low profile so it can be hidden in the back of a dress
- be tolerant of some random giving it a wind

Sooo.. from Googling I can't work out whether a servo or stepper motor or something else might be most suitable. Thoughts?
__________________
www.overclockers.com.au - also now on twitter and facebook.
Agg is online now   Reply With Quote
Old 5th May 2017, 11:45 PM   #2
oculi
Member
 
oculi's Avatar
 
Join Date: Aug 2004
Posts: 8,927
Default

you can modify (most?) servos so they rotate continuously fairly easily, just need to remove the potentiometer and hard stops, and hook up directly to the motor then it just becomes a geared DC motor.

unless you want speed control too in which case you need to mess with the potentiometer - then you can send "position" commands to it like a normal servo and it will respond by going fast or slow in whatever direction you tell it to go in

here's a guide (which I haven't read) for the second case, http://www.instructables.com/id/Conv...uous-Rotation/ if it doesn't make sense search for "convert servo to continuous rotation"

stepper will get the job done but slightly harder to get to work, you can do it with a micro and some transistors or just with a stepper control module which are pretty cheap from memory.

another easy way to do it is with a geared DC motor, such as

https://www.jaycar.com.au/dc-geared-...wheel/p/YG2900

http://au.rs-online.com/web/p/dc-geared-motors/0420681/ or similar


or you could use an actual windup mechanism (egg timer or similar but it might be a bit slow)
__________________
Reality or nothing

Last edited by oculi; 5th May 2017 at 11:49 PM.
oculi is offline   Reply With Quote
Old 6th May 2017, 3:05 AM   #3
AgB deano
Member
 
Join Date: Jan 2009
Posts: 857
Default

So to clarify, you want it to snap in a sudden movement versus a continuous movement? How much movement? Pronounced like 90 degrees? or something like 10 degrees?

Given you want it to survive douchebags, the issue is gearbox, you'll have to be very careful what you use.

If you do go the stepper route, although it will have a learning curve, you will be able to get it to look as good as it is going to get (it'll start when you want, go as far as you want and suddenly stop) and since you'll be able to directly drive your key (due to programming the speed and how much it turns directly), someone can just turn it and it probably won't care one way or another. You can also use the smallest servo you can find, it should still be able to drive a light load like that. EDIT: here is one that's just 15mm in height clicky

Servo you'll want to drive with a pulse, so a 555 setup will be the easy way to go. Servo's aren't exactly heavy duty though and you must buy one that doesn't have a worm drive, as they do not like to be driven from the shaft unless they are built for it, so "hurrr durrrr" is a nogo. They also probably won't be happy in general if someone yanks on it. I'd suggest you build it to break easily where you want it to break.

Another option could be a micromotor with inbuilt planetary gearbox (not worm). You could drive it using a 555 and a transistor/mosfet fairly easily. Set it for 0.25 seconds on, 1 secs off and pick the gearbox RPM to suit how much movement you want in that 0.25 seconds. Being a planetary gearbox, someone could turn it either direction without issue, you're certainly not going to bother the mosfet or motor anyway with those short pulses.

EDIT: Using my terrible 3am-post-12-continuous-hours-working-on-essay-logic, a 360rpm motor/gearbox pulsed for 0.25 seconds will move 1.5 degrees, so if you wanted a 10 degree movement, it'll need to be 2400rpm? You'd just get a 2400rpm motor. The permanent magnets in it would stop it soon enough. Then the issue is it's a pretty big setup by now.. stepper or servo it is
__________________
aka "Deano_au"

Last edited by AgB deano; 6th May 2017 at 3:14 AM.
AgB deano is offline   Reply With Quote
Old 6th May 2017, 3:39 AM   #4
Ratzz
Member
 
Ratzz's Avatar
 
Join Date: Mar 2013
Location: Cheltenham East 3192
Posts: 5,439
Default

Some kind of a spring setup, and you can just wind her up every now and then maybe? Does it really have to be electric?

It would add to authenticity if she had to be wound up occasionally No idea if its a feasible idea.. maybe some shock cord that winds and unwinds like an old rubber band airplane only slower.. or even hidden cords in her dress that move the key with her leg movements or something? She walks, key turns.. she stops, key stops.

No idea on details, just a random thought.
__________________
Don't mess with me. I can hurt you so fast you won't even feel it.

My Rig- Nokia 830, with silicone jacket upgrade.
Ratzz is offline   Reply With Quote
Old 6th May 2017, 8:17 AM   #5
RobRoySyd
Member
 
Join Date: Jan 2008
Location: Sydney
Posts: 7,729
Default

I'd go with a stepper but taking care of the requirement for people to be able to turn the key. So called "pancake" stepper motors can be bought, you don't have a lot of depth to work with so they would be a good solution:

https://core-electronics.com.au/sany...4toaAl5E8P8HAQ

The key could attach directly to the shaft. Need to consider though that when a stepper is powered it takes a lot of torque to turn it so the usual circuitry used to drive these needs modification. The same would go for a DC servo as all motors can become generators. With a stepper this could be used to advantage e.g. provide a stepped feel to turning the key. Could use the "back EMF" from the stepper to light an LED or even charge the battery
__________________
"Those who make peaceful revolution impossible will make violent revolution inevitable." JFK
RobRoySyd is offline   Reply With Quote
Old 6th May 2017, 9:16 AM   #6
RussellK
Member
 
Join Date: Jun 2003
Posts: 487
Default

I'd suggest modifying a standard servo as above for continuous rotation. Then use an Arduino (or two 555's) to send intermittent streams of PWM pulses to get the pausing rotation effect.

As the key is light, just use a simple loose-fitting interface to the key that allows enough friction to rotate the key, but slip if the key is held or turned manually.
RussellK is offline   Reply With Quote
Old 7th May 2017, 1:20 PM   #7
Dice
Member
 
Dice's Avatar
 
Join Date: Feb 2002
Location: Altona
Posts: 160
Default

Quote:
Originally Posted by RussellK View Post
As the key is light, just use a simple loose-fitting interface to the key that allows enough friction to rotate the key, but slip if the key is held or turned manually.
A pulley belt, no teeth.


As far as motor - if you have lots of time, you could use a small geared motor like...

(google for "ja12-n30-dc-micro-gearmotor-47-rpm-12-v" - and if you buy from china, be prepared for a month or so wait)

I've used that motor in the ~100rpm variety for a uni project - I could not drive the shaft backwards by hand, so a belt or similar would be essential. The motor did usefully spin and provide surprising torque right down to around 0.5 volts
Dice is offline   Reply With Quote
Old 7th May 2017, 4:56 PM   #8
merlin13
Member
 
merlin13's Avatar
 
Join Date: Apr 2003
Location: back in BrizVegas
Posts: 1,393
Default

Quote:
Originally Posted by Agg View Post
...- drive a fairly light but large key
- be fairly low profile so it can be hidden in the back of a dress...
Suggestion - make the shaft of the key big/wide enough diameter so the motor and battery pack/clockwork mechanism/hamster wheel/whatever mechanicals sits inside the end of the key shaft.

Rather than all the mechanicals sitting on her back and the key being attached as extending out from those.

Would also look "betterer" if it appeared the hardware that the key is supposed to be winding up is looks to be embedded inside her (oh God, I can see this generating aaaaall sorts of naughty connotations...).
__________________
Carpe Jugulum.
Never Underestimate The Powers of a Dark Clown!
merlin13 is offline   Reply With Quote
Old 7th May 2017, 6:21 PM   #9
Technics
Member
 
Technics's Avatar
 
Join Date: Apr 2002
Location: Brisbane, AU
Posts: 725
Default

I'd find the noisiest mechanical kitchen timer you can and disable the bell (or not). Then attach the key. Seems like involving electronics is just making it more complicated than it needs to be. Unless she wants to avoid being wound up once we hour.
__________________
Disclaimer: Any statements made in this post that are not based on historical fact are forward-looking statements. Any forward-looking statements made in this post represent Technics's best judgment as to what may occur in the future. However, the actual outcome and results are not guaranteed and are subject to certain risks, uncertainties and assumptions (“Future Factors”), and may differ materially from what is expressed.
Technics is offline   Reply With Quote
Old 8th May 2017, 2:16 PM   #10
andrew_bg
Member
 
Join Date: May 2005
Location: Kellyville
Posts: 1,167
Default

I would definitely go with a DC motor, cheaper, lighter and MUCH easier. Handle the stop/start with either an Arduino or a simple timer circuit.

Im also in the camp to hide all the mechanicals in the key shaft and allow for a simple clutch so that if the key gets grabbed or snagged on something it can slip without damaging anything.

You should be able to do it with some inexpensive small parts and simple timer to drive the motor for a pre-set amount of time, ie 0.2 seconds, wait 1 sec, drive it again loop.
__________________
CouponMeUp.com - Find over 380,000 discount coupons for over 101,000 stores.
PimpMyBrew.com - Pimp your home brew creation with our temperature controlled fermentation system
andrew_bg is offline   Reply With Quote
Old 10th May 2017, 3:07 PM   #11
Clayton
Member
 
Join Date: Oct 2009
Posts: 3
Default

What about a brushless outrunner direct drive with a custom drive driven from an arduino activating the correct winds. It will free wheel all you want. You can get some pretty sturdy and flat outrunners.
Clayton is offline   Reply With Quote
Old 10th May 2017, 5:42 PM   #12
Ma Baker
Retired
 
Ma Baker's Avatar
 
Join Date: Apr 2002
Posts: 10,811
Default

Quote:
Originally Posted by Agg View Post
So, wifey has put in a request. She wants to make a clockwork windup key thing which she can wear as part of a costume. So, imagine her done up as a doll, with this big key sticking out of her back, ticking away like a windup mechanism. She can make the dress and the key - I need to provide the mechanism.

I haven't been able to simply find a mechanism on eBay or Aliexpress, so it looks like I'll have to make one. My thoughts go to Arduino. But do I want to use a stepper motor or a servo?

It needs to::

- rotate 360 degrees continuously (the servos I have are 180 degrees only)
- tick along in visible increments, not just smoothly rotate
- drive a fairly light but large key
- be fairly low profile so it can be hidden in the back of a dress
- be tolerant of some random giving it a wind

Sooo.. from Googling I can't work out whether a servo or stepper motor or something else might be most suitable. Thoughts?
This might be a quick solution.



There's a few different ones here.
__________________

Last edited by Ma Baker; 10th May 2017 at 5:44 PM.
Ma Baker is offline   Reply With Quote
Old 11th May 2017, 5:23 AM   #13
Symon
(Plugging your Socket)
 
Symon's Avatar
 
Join Date: Apr 2002
Location: Santiago, Chile
Posts: 4,090
Default

In case you aren't aware of it already, the lillypad may be a good way to handle the arduino side of things if you are putting the electronics in the dress.

I do like merlin's idea though of putting it all in the key. You can then just have the motor shaft sticking out that then inserts into a mount on the back of the dress. You could even stick a rare earth magnet into the mount to help keep it in there, but still be able to remove the key easily if she needs to duck into the bathroom or something.

Stepper motor would be the go.
__________________
Founder of the bakasan Technical College -- My Web Server in a Box -- www.phased.com.au - electricians online community

"The biggest problem in Australia is the tall poppy syndrome. Without tall poppies you have only weeds" - Lindsay Fox
Symon is offline   Reply With Quote
Old 11th May 2017, 6:57 AM   #14
martini.txt
Member
 
martini.txt's Avatar
 
Join Date: Jan 2015
Location: YouTube / Brisbane
Posts: 4,153
Default

all these complicated solutions... try a high torque clock movement

http://www.clockkit.com/products/7-1...rge-hands.html

That one probably has smooth motion, but I'm sure you can get a stepping one. even if it doesn't work, it's cheap enough to give it a go.
__________________
twitch YouTube
Rig - 6700k - Maelstrom 240 - ROG Gene VIII - STRIX 1080 - 16gb DDR4 - TT Core P3
Boop - ATH-A700X - Yeti Blackout
Micro - HP N40L w/ Ubuntu, Sickrage, Plex, Deluge
Garage - Honda Hornet 900 & Fiesta ST & BF XR6 Turbo
martini.txt is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 10:24 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Micron21!