Cov txheej txheem:

ARDUINO 3 Relays Shield (Ntu-1): 4 Cov Kauj Ruam
ARDUINO 3 Relays Shield (Ntu-1): 4 Cov Kauj Ruam

Video: ARDUINO 3 Relays Shield (Ntu-1): 4 Cov Kauj Ruam

Video: ARDUINO 3 Relays Shield (Ntu-1): 4 Cov Kauj Ruam
Video: How to use 4 channel Arduino Relay Shield (with code) 2024, Kaum ib hlis
Anonim
ARDUINO 3 Relays Shield (Ntu-1)
ARDUINO 3 Relays Shield (Ntu-1)

Hlo peeps! Nov yog kuv cov lus qhia tom ntej.

Tshaj tawm ntawm no 3 channel relay board shield rau Arduino los tswj cov khoom siv AC ib zaug. Kev Tshaj Tawm yog qhov hloov pauv uas yog siv hluav taws xob los ntawm lub tshuab hluav taws xob xa hluav taws xob tau muaj txiaj ntsig zoo rau ua rau cov cuab yeej siv hluav taws xob AC nrog lub teeb liab qis uas tuaj yeem siv rau hauv kev siv tshuab hauv tsev. Arduino 3 Relays Shield yog kev daws teeb meem rau kev tsav tsheb lub zog loj uas tsis tuaj yeem tswj hwm los ntawm Arduino's digital IO vim yog qhov txwv tam sim no thiab qhov hluav taws xob.

Kauj Ruam 1: YUAV TSUM MUAJ NTAUB NTAWV

1) SPDT 12v Relay - 3

2) Optocoupler 817 - 3

3) LED - 4

4) BC547 Transistor - 3

5) 2 Pin Terminal Block - 4

6) Resistor 1k - 7

7) IN4007 Diode

8) Cov neeg dhia

9) 12v Adapter

10) Arduino UNO

11) Txuas Cov Hluav Taws Xob

Kauj Ruam 2: CIRCUIT DIAGRAM

CIRCUIT DIAGRAM
CIRCUIT DIAGRAM

Hauv 3 qhov txuas txuas no, ib qho optocoupler tau siv los ua rau NP N transistor uas txuas ntxiv rau kev xa xov. Optocoupler yuav ua rau pom los ntawm lub teeb liab qis. Hauv peb qhov haujlwm 12v relay tau siv. Ib qho 5v lossis 6v relay kuj tseem siv tau. LED qhia qhov xwm txheej ntawm txhua qhov kev xa tawm.

Kauj Ruam 3: DESIGN

TSHUAJ
TSHUAJ

Kuv tau tsim 3 relays Arduino shield siv Eagle CAD Tool uas yooj yim rau kuv. Hauv qab no yog lub rooj teeb tsa. Kuv kuj tseem tau faib cov ntaub ntawv Gerber uas yuav tsum tau xa mus rau cov chaw tsim khoom los tsim lub rooj tsavxwm.

Kauj Ruam 4: PCB Tsim

PCB Kev Tsim
PCB Kev Tsim
PCB Kev Tsim
PCB Kev Tsim

Tom qab tsim Gerber los ntawm Eagle CAD cov cuab yeej Kuv tau tshaj tawm kuv tus qauv ntawm LIONCIRCUITS qhov twg kuv tuaj yeem tau txais DFM cov lus teb tam sim tom qab them nyiaj. Kev cai duab duab ua tau zoo kuj yog qhov zoo. Pom zoo heev.

Yog li hais mav, Nyob twj ywm rau ntu tom ntej ntawm cov lus qhia no.

Pom zoo: