go away spammer

Author Topic: Programming motor to run for 10 sec?  (Read 2437 times)

0 Members and 1 Guest are viewing this topic.

Offline venturiandogTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Programming motor to run for 10 sec?
« on: March 13, 2015, 10:16:13 PM »
Hello, this may not even be a robot question.  But thought I would turn to your guys for direction and help.  I am trying have a photoelectric sensor be my on switch, and have it run an electric motor for about 10 sec., then shut off.  Could anybody help with direction on how to make this happen.  Do I need a micro controller?  Not sure where to start to look.  Thanks for any help!

Tony

Offline Billy

  • Robot Overlord
  • ****
  • Posts: 132
  • Helpful? 2
Re: Programming motor to run for 10 sec?
« Reply #1 on: March 14, 2015, 12:00:04 PM »
You could use a microcontroller but you don't need to.
You can buy a relay that has that timing function built it.
As you may have imagined, they are called timing relays.

Offline venturiandogTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Re: Programming motor to run for 10 sec?
« Reply #2 on: March 16, 2015, 09:00:43 AM »
Billy, thank you very much for replying and helping me!  I am designing a mechanical device but did not have any clue how to do the electronics to run my motor.  Thank you again!



Offline mklrobo

  • Supreme Robot
  • *****
  • Posts: 558
  • Helpful? 15
  • From Dream to Design at the speed of Imagination!
Re: Programming motor to run for 10 sec?
« Reply #3 on: March 16, 2015, 03:42:37 PM »
 ;D Hello!
I agree with Billy, that it would easier and more efficent to
buy a timer that takes an input from a sensor.
Otherwise, if you build your own, it may be described like this;
The sensor feeds into an Op Amp that acts like a comparator,
looking for the voltage level to change when the sensor is
activated. the logic level comparator activates a transistor,
which, in turn, activates a 555 timer, acting like a one-shot
flip-flop.(timer) The timer activates a control transistor that
grounds the control side of the relay; the Normally open
contacts of the relay are used to power your motor, for the
time generated by the 555 timer.
I would probably use a pre-made timer with your sensor.
Good luck!!  ;D ;D ;D

 


Get Your Ad Here

data_list