BingoBango
New Member
Hello electronics peoples!
I'm in the process of making a reading lamp for myself and am stuck on the electronics side. My aim is to make a 240v lamp where one can pass their hand past a face on the lamp and this will switch it on, and when the user wants to switch off the lamp they simply pass their hand past the face with the sensor again to switch it off.
I've considered a few different approaches to this such as:
1. Taking apart a standard 240v motion sensor light and using the innards in my lamp. The only complication with this is the timer circuitry that all the motion sensing lights seem to have. I don't want to sit down to start reading and a few minutes later the lamp switch off if i don't wave my hand in front of it every now and then. There also comes the difficulty of switching it off when i want to as waving in front of the sensor again won't switch it off, and I don't want to have to use a manual override switch.
2. My second thought is to use a picaxe to drive the motion sensing side of things but really have very little understanding of this area (the internet and my boss have gotten me this far); I've got a high power picaxe that can handle 3A 24V (apparently). I figure I can send the input from a PIR (passive infrared sensor) into the picaxe and then use the output from that to drive a relay to switch on the 240v light. But I will also need to somehow power the picaxe (as I don't want to have to use batteries for this and would rather run it off the same power as the lightbulb...). Writing the software to get it to latch on when the motion sensor is triggered and then to latch off when the motion sensor is next triggered. Assuming my theory is correct on this one, how do I actually go about all this? I've no idea how I'd actually build such a circuit. Do I need anything between the bare motion sensor and the inputs for the picaxe, etc.? How do I power it off 240v 10A mains (in Australia).
Absolutely no idea.
If anyone has a better solution or can help me to understand/start one of the two above I would really appreciate it.
Thanks!
I'm in the process of making a reading lamp for myself and am stuck on the electronics side. My aim is to make a 240v lamp where one can pass their hand past a face on the lamp and this will switch it on, and when the user wants to switch off the lamp they simply pass their hand past the face with the sensor again to switch it off.
I've considered a few different approaches to this such as:
1. Taking apart a standard 240v motion sensor light and using the innards in my lamp. The only complication with this is the timer circuitry that all the motion sensing lights seem to have. I don't want to sit down to start reading and a few minutes later the lamp switch off if i don't wave my hand in front of it every now and then. There also comes the difficulty of switching it off when i want to as waving in front of the sensor again won't switch it off, and I don't want to have to use a manual override switch.
2. My second thought is to use a picaxe to drive the motion sensing side of things but really have very little understanding of this area (the internet and my boss have gotten me this far); I've got a high power picaxe that can handle 3A 24V (apparently). I figure I can send the input from a PIR (passive infrared sensor) into the picaxe and then use the output from that to drive a relay to switch on the 240v light. But I will also need to somehow power the picaxe (as I don't want to have to use batteries for this and would rather run it off the same power as the lightbulb...). Writing the software to get it to latch on when the motion sensor is triggered and then to latch off when the motion sensor is next triggered. Assuming my theory is correct on this one, how do I actually go about all this? I've no idea how I'd actually build such a circuit. Do I need anything between the bare motion sensor and the inputs for the picaxe, etc.? How do I power it off 240v 10A mains (in Australia).
Absolutely no idea.
If anyone has a better solution or can help me to understand/start one of the two above I would really appreciate it.
Thanks!