Connect with us

Simple Solenoid Circuit

Discussion in 'General Electronics Discussion' started by mcjjjr, May 28, 2012.

  1. mcjjjr

    mcjjjr

    1
    0
    May 28, 2012
    Hey all,

    I'm new to all this electronics stuff, and I might be taking too big of a leap here without much experience... But I'm trying to make a cabinet with a remote controlled door. I'm making the cabinet already, but I want to add a solenoid connected to an infrared sensor as a lock. I don't want to have to use a whole microcrontroller on this project, being that an Arduino Uno is $40.

    I've been looking at these parts:
    http://www.adafruit.com/products/388 - IR LED's
    https://www.adafruit.com/products/367 - Buttons
    http://www.adafruit.com/products/157 - IR Sensor
    https://www.adafruit.com/products/413 - Push/Pull Solenoid

    I want to build a simple IR remote with an IR LED, a battery, and a button (and possibly another visible LED). I don't need any distinct signals, so I don't need an Arduino to send and decode signals (it doesn't have to be secure. I guess a normal TV remote could also open the cabinet.)

    Then, for the main project, I want to implement the solenoid. I just want to connect a 9V battery (or AA or AAA battery, if they're strong enough) to the IR sensor, and then to the solenoid, and then back to the ground on the battery. I'll put the solenoid on one door, and it will stick into a hole on the other door. When the sensor grants it power, I want the solenoid to retract and the doors will "unlock". There will be springs inside one door to open the door as soon as it's unlocked, because I'm guessing the button on the remote will only be pressed for a moment, and therefore the sensor will only let the solenoid open for a moment.

    In the end, when I press the button on the remote, I want the sensor on the cabinet to retract the armature and unlock the doors. The springs will then open the door in the moment that it's unlocked.

    I'm new to electronics, and I know it will take trial and error, but will this work? Also, do I need any resistors in either the remote or the cabinet lock? Thanks!
     
  2. CocaCola

    CocaCola

    3,635
    3
    Apr 7, 2012
    That IR sensor you linked will detect any TV remote button press and act just like a transistor by providing a low current out when an IR pulse is detected...

    Look at the solenoid page you linked there is a diagram on how to drive it from micro I/O pin the same will apply when driving it directly form the IR sensor...

    Now you could do a quick and dirty and just tie the IR sensor to the solenoid driver circuit and it 'might' work, but the solenoid is going to get a ratta-tat-tat pulse vs a solid on, you really should have more circuitry built into it so that it gets a nice solid sustained pulse to open...
     
  3. CDRIVE

    CDRIVE Hauling 10' pipe on a Trek Shift3

    4,962
    648
    May 8, 2012
  4. CocaCola

    CocaCola

    3,635
    3
    Apr 7, 2012
    Her detailed tutorial link under the description tab has many more tech details including the datasheets...
     
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-