HOW DO I DIY MY OWN REMOTE CONTROL SWITCH IN MY DORMITORY
It’s really a hard winter. The biting cold stopped me from sitting on the chair working on my project. I had to take a warm shower and go to bed quickly. It’s just 22:00. Sleeping that early would make me unsaturated. So I picked up a book and then jumped into bed happily. I was reading on my bed. Soon it’s 23:00, and my willingness to sleep was coming up. I needed to go off bed to turn off the light. At that moment how I wished the light in my dormitory could be controlled remotely! The second day, I got my hands on that.
THE SWITCH MECHANISM
As I couldn’t change the original electrical structure of my dormitory (the student dormitory management department wouldn’t permit this kind of behavior), I had to think of another way to control the switch. So I adopted a mechanical method, which could be demonstrated by figure 1.
Figure 1. The Switch Mechanism
The switch servo device has two “fingers”, one of which controls “on” state and the other controls “off” state. They are driven by a servo and can press the switch just like human do.
BUILDING THE ELECTRICAL BLOCKS
Actually I was building my electrical blocks not depending on what I needed, but what I had. I had rummaged through my electronic tool boxes and finally found an Arduino Nano board (figure 2), an HC-05 bluetooth module (figure 3), a makeblock IR transmitter (figure 4), a VS1838B IR receiver (figure 5), a MG995 digital servo (figure 6), and other helpful components such as wires and raw circuit boards. They met my needs perfectly.
Figure 2. Arduino Nano
Figure 3. HC-05 Bluetooth Module
Figure 4. Makeblock IR Transmitter
Figure 5. VS1838B IR Receiver
Figure 6. MG995 Digital Servo
With these components above I drew an electrical diagram of the whole system (figure 7). It looked fully functional, as my wish.
Figure 7. The Electrical Blocks Diagram
The circuit only contains the signal part (figure 8). The power supplies and other unnecessary pins were left out.
Figure 8. The Electric Circuit
The main workflow of the system was drew out as figure 9. There IR stands for infrared, BT stands for Bluetooth and SP stands for serial port.