Hardware Reference
In-Depth Information
Once again there is no need for you to open your unit; I'm doing it so you don't have to. After all it's the remote
control unit you care about, not the technology used to switch the AC mains. Moving on from the wall-socket side of
the unit, let's look at the circuit and open the remote.
Putting the Circuit Together
Let's put all this knowledge to use and build the circuit to control a mains appliance. For this you will need the
following parts:
A mains remote-controlled plug
Two 3-V relays (RY3W-K or equivalent)
Two 1N4007 diodes (or equivalent)
Some wire
First up, as always I want to show you an electronic schematic. There really is not much to this circuit
(see Figure 10-7 ). Most of the work will be in software land again.
Pi
26
25
24
23
22
21
20
19
D1
D2
18
17
16
15
14
13
12
11
RELAY
RELAY
10
9
8
7
6
5
4
3
OFF-Button
ON-Button
2
1
1
1
2
2
Figure 10-7. The electronic schematic for the circuit
Dissecting the Remote Control
The first thing you're going to need to figure out is exactly how your remote control works. With that in mind, open up
the remote control. In Figure 10-8 you can see the back side of the remote from my device. I did say I like to open
electronic devices up!
 
Search WWH ::




Custom Search