connection of relay and ds18s20 sensors to the tuxgraphics ethernet board
DESCRIPTION
The rating of the relay depends on the power supply voltage (Vdd) you use.Use a 6V relay for power supply voltages between 5V and 9V otherwise a12V relay. Pay attention to proper insulation if you decide to switch line powerwith the relay. Keep the relay physically separated and off the ethernet boardto avoid electromagnetic interference with the microcontroller when switchinghigh currents.TRANSCRIPT
Connection of relay and DS18s20 sensors to the tuxgraphics ethernet board
(C) Guido Socher, tuxgraphics.orghttp://tuxgraphics.org/electronics/
1 Rst(PC6)
13 PD7 (AIN1)
12 PD6 (AIN0)
11 PD5 (T1)
6 PD4 (T0)
5 PD3 (INT1)
4 PD2 (INT0)
3 PD1 (TXD)
2 PD0 (RXD)
14 PB0(ICP1)
28(SCL)PC5
27(SDA)PC4
26(ADC3) PC3
25(ADC2) PC2
24(ADC1) PC1
23(ADC0) PC0
19(SCK) PB5
18(MISO) PB4
17(MOSI) PB3
16(OC1B) PB2
15(OC1A) PB1
ATMEGA168/328
7 Vcc
8 GND
9 PB6(XTAL1)
PB7(XTAL2)10
20AVcc
22AGND
21AREF
U1
ATMEGA168
Vcc
3V3
R1
10K
Vcc
Vcc
3V3
R101K
D1
BAY69
VddRAWDC
Vcc
3V3
D2
R13 270
2
1
CONN3
1
3
2
BC547Q1
or BC548
externalrelay
C11
100nFV
cc
3V3
2
4
6
8
1
3
5
7
10
9
CONN5
2
1
3
DS18s20
eth. board
RELAY
Not all components of the eth. board are shown here.
The rating of the relay depends on the power supply voltage (Vdd) you use. Use a 6V relay for power supply voltages between 5V and 9V otherwise a 12V relay. Pay attention to proper insulation if you decide to switch line power with the relay. Keep the relay physically separated and off the ethernet board to avoid electromagnetic interference with the microcontroller when switching high currents.
2
1
3
DS18s20
10K
100nF
Optional second remote sensor
First sensor