120 line to 5v signal


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Can't you butt a lever switch up against the valve itself? Valve arm hits the lever switch, connects the dots, send the 5v...
    Or do you need an actual voltage that is proportional to the voltage going to the valve itself?

  2. #2
    Join Date
    Aug 2005
    Location
    Houston, TX
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    No, a small motor turns a shaft using gears. The limit switches are operated by cams on the shaft. There is not room to add another microswitch,

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by AMay View Post
    No, a small motor turns a shaft using gears. The limit switches are operated by cams on the shaft. There is not room to add another microswitch,
    120VAC when the motor is at the limit? Maybe tap that 120VAC, plug it into a small wall-wart like power supply and send that output to the controller?
    Past that, I would think a series current limiting resistor along with a voltage divider (and maybe a ZENER for protection) would do the trick...or a voltage divider that divides it down to +12v (or whatever) and feed that into a 7805 regulator.

    I do like your light bulb idea though...simple, effective, practically zero thought/effort required
    Did something like that awhile back. Needed to switch 120VAC with a PIC. Didn't want to mess with the AC, so I took a PIC, a servo, a chunk of threaded rod and a standard wall light switch...programmed the PIC to move the servo to move the light switch handle to turn power on/off. Almost perfect isolation...

Similar Threads

  1. Using input from Switch to control a loop
    By MrRoboto in forum mel PIC BASIC
    Replies: 9
    Last Post: - 2nd February 2009, 05:02
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  4. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22
  5. One wire serial comms on +5V line
    By MegaADY in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st May 2005, 12:49

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts