![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| that's the problem, i want the relay activate again when you turn the switch to off just like when you turn on the switch | |
| |
| | (permalink) |
| I think I see what your saying, so you want to know when the switch gets returned to the middle position such as when a cleaning person or the customer turns it off. Is that it?
__________________ Pay it forward. | |
| |
| | (permalink) |
| yes, since each time you turn the switch will toggle the reciever to on/off status of "clean" and "don't disturb" through the remote control. so each time you take action in the remote control panel will affect the status of the reciever and so i need the relay to be activate each time you turn the switch. | |
| |
| | (permalink) |
| Well you could duplicate the circuit I drew 3 times. 1 for Clean room, 1 for Do not wake my sleepy self, and lastly 1 for switch cleared, but that sounds messy I think. I am tired, and think I am going to sleep in a bit, but I can look into tomorrow when I am more awake.
__________________ Pay it forward. | |
| |
| | (permalink) |
| Oh, and Torben, I did not mean to jump in on your convo, Just thought I would add my 2 cents. Don't stop your suggestions based on my interruption
__________________ Pay it forward. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Your welcome. I really am going to sleep now, but just wanted to ask. What part of China are you from? I spent 3 months in Tianjin and I loved that place so much, you have a wonderful country, and I loved the people there. I wish I could move there
__________________ Pay it forward. | |
| |
| | (permalink) |
| Really? Tianjin is near beijing~ I am from Macau SAR, do you know that? The place with many casino......or near Hong Kong~ It is a very small city. | |
| |
| | (permalink) |
| Adrian116, I just got into this thread, am a little confused. In the room, is a toggle switch with two positions. The goal is: moving the switch from one position to the other pulses an R/C transmitter that toggles a relay at the remote receiver, indicating the status change. Are the status indicating LEDs at the toggle switch or at the receiver, or both? If at the toggle switch, could they be eliminated and depend on the switch's physical position to locally indicate the room status? How soon after the toggle switch is changed does the remote relay have to indicate the change? Would a one or more minute delay be a problem? I'm thinking of a small microcontroller with a sleep mode (very low power drain), that wakes up periodically, checks the switch position, and transmits a signal if a change had occurred. Ken
__________________ "To invent, you need a good imagination and a pile of junk." Thomas A. Edison (1847 - 1931) | |
| |
| | (permalink) | |
| Quote:
Cheers, Torben
__________________ Curiosity was framed. Ignorance killed the cat. | ||
| |
| | (permalink) |
| Ok here is a circuit of what I was thinking. Not as fancy as a MCU but it is minimal parts and easy to build. I ran it on a simulator just to make sure it works. It did, but you may need to play with the cap value to get your on time just right. Once the cap is charged the circuit draws little current which is nice. I would recommend you make a little breadboard circuit before you go into mass production
__________________ Pay it forward. | |
| |
| | (permalink) | |
| Quote:
Moving the toggle switch will toggle the relay to give a short pulse for activating the remote control side only. It's better to show the status in both side. Actually the remote relay need to indicate the change immediately.So it can't not be delay for one minute. Thank you~ | ||
| |
| | (permalink) | |
| Quote:
but i don't know why the relay doesn't toggle when i turn the switch, could you tell me how does it work? | ||
| |
| | (permalink) |
| Here is what I think you want. Person flips the switch, relay closes for a short moment remote sends alarm, then relay re-opens. Now if the switch is put back in the middle, you want to be notified that this occurred, so again when switch goes to middle the relay activates for a moment then deactivates triggering your remote. As I am speaking I now see a flaw in this plan. What happens if someone flips the switch into the wrong position, then puts it into the right position, your alarm panel would give multiple alarms. But for basic circuit operation of what I have shown here is what happens: At initial standing state, relays are off. When a switch is moved there is a momentary rush of current through the relay and it activates. After a short time the capacitor charges up to the battery voltage minus drop across relay. Once cap is charged, the potential across the relay is insufficient to maintain relay activation and therefore it goes back to the off state. So what your relay should do is something like a short pulse _____-----_____. In theory anyways. The on time needs to be long enough for your remote to recognize the pulse. The more I think about it, the more I think my circuit is too crude, perhaps an MCU might be what you need to prevent false alarms and give the circuit a little brains. But then your cost will go up which might matter depending on amount of rooms. Would it not just be easier to have the customer use a do not disturb sign or flip it over to clean? Sorry, guess I was not much help
__________________ Pay it forward. | |
| |
| | (permalink) | |
| Quote:
you help me so much already. May be the problem can't be solve in such way~ I will think about it~THANK YOU | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Junebug Tip & Trick #1, Using the DIP switch as a 4 bit mode switch | blueroomelectronics | Micro Controllers | 2 | 15th May 2008 11:43 PM |
| switch on a led depending on the switch state (using picbasic and pic16f877) | pouchito | Micro Controllers | 8 | 8th June 2007 09:09 AM |
| Need to detect momentary switch and switch 12V, simply | iso9001 | General Electronics Chat | 9 | 17th April 2005 09:31 AM |
| convert a manual switch to an electronic switch | dolphin | Electronic Projects Design/Ideas/Reviews | 1 | 1st September 2003 06:04 AM |
| Noise Activated switch w/ 2 second delay for switch off | tbank | Electronic Projects Design/Ideas/Reviews | 0 | 13th June 2003 12:04 AM |