Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

turn a motor on for a set time

Status
Not open for further replies.

madmikejt12

New Member
hi, i was wondering if i could have a motor turn on for a set time when there is a current and then stop i.e if i connect a battery to it, it spins for say 5 seconds and then stops even though the battery is still connected
Thanks,
Mike
 
that was just an example, it is a 10v dc supply from usb and the motor is aprox 6-9v and i want to do this so that the keyboard drawer opens when computer it turned on, it is quite small (only just fits a standard keyboard on)
 
if there isnt enough current, i will use a bfy51 transistor to amplify the current :)
 
You can anplefy curent! Whith an transistor you can only swicth an biger curect source.

You can always use an wall wart to pover it in case 500mA from the USB is not enugh

EDIT: Oh and USBs power line is 5V not 10.
 
Someone Electro said:
You can anplefy curent! Whith an transistor you can only swicth an biger curect source.

You can always use an wall wart to pover it in case 500mA from the USB is not enugh

oh yes.....
i have an old psu from a dell computer that i was going to use for multiple projects but i dont know what pins to connect the switch to and we no longer have the pc

i have a few wall plugs with various voltage/current but how would i get it to switch on when the computer is switched on?
 
oh yes im thinking of the molex connectors inside the pc :) lol, could use one of those
 
wont the 555 astable circuit just turn it on then off then on then off..... untill the power is off?
that would be interesting, turn on the pc and watch the keyboard tray go in and out :lol:
 
madmikejt12 said:
wont the 555 astable circuit just turn it on then off then on then off..... untill the power is off?
that would be interesting, turn on the pc and watch the keyboard tray go in and out :lol:

You can use a 555 in either astable or monostable modes!.
 
so, does that just go on and then off?
 
Yep.

Oh and the the power conecotr of r a CD drive could be good.The 12V line may be useful.Also no wryes about curnent.there are amps of curent there.
 
ok thanks :D
thats what i was talking about when i said the molex connectors (got a bit mixed up with the voltages from the usb and cd connectors :roll: )
 
You can find the cirucit in the 555 timers datasheet

Datasheet is here :arrow: **broken link removed**
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top