connection of relay and ds18s20 sensors to the tuxgraphics ethernet board

1
Connection of relay and DS18s20 sensors to the tuxgraphics ethernet board (C) Guido Socher, tuxgraphics.org http://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 20 AVcc 22 AGND 21 AREF U1 ATMEGA168 Vcc 3V3 R1 10K Vcc Vcc 3V3 R10 1K D1 BAY69 Vdd RAWDC Vcc 3V3 D2 R13 270 2 1 CONN3 1 3 2 BC547 Q1 or BC548 external relay C11 100nF Vcc 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

Upload: ferly-s-atmaja

Post on 28-Oct-2015

11 views

Category:

Documents


0 download

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

Page 1: Connection of relay and DS18s20 sensors to the tuxgraphics ethernet board

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