Cov txheej txheem:

Tawm Tawm Timer Nrog Arduino: 3 Kauj Ruam
Tawm Tawm Timer Nrog Arduino: 3 Kauj Ruam

Video: Tawm Tawm Timer Nrog Arduino: 3 Kauj Ruam

Video: Tawm Tawm Timer Nrog Arduino: 3 Kauj Ruam
Video: BINOD OP and AJJUBHAI NO INTERNET PRANK IN CLASH SQUAD - GARENA FREE FIRE 2024, Kaum ib hlis
Anonim
On Off Timer Nrog Arduino
On Off Timer Nrog Arduino

Nyob zoo, nrog txoj haujlwm no koj yuav tuaj yeem tswj hwm ON thiab OFF ntawm koj li khoom siv thaum lub sijhawm koj xav tau. Tej zaum lawv yuav yog lub teeb ci, tig lub tshuab, thiab lwm yam Peb yuav siv Arduino, RTC 1307 thiab Solid State Realy (SSR 25 DA) tswj lub sijhawm uas koj tau teeb tsa. Koj tuaj yeem teev "ON" teev thiab "OFF" min, nce lossis txo "SET POINT" los ntawm kev siv ur program. Txoj haujlwm no muaj txiaj ntsig los teeb AC, Rhaub, Thiab ib lub tshuab lossis teeb rau "ON thiab OFF" rau lub sijhawm tshwj xeeb,

Kauj Ruam 1: Cov ntaub ntawv xav tau

Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau

1. ARDUINO NANO.

2. DS 3231 (RTC CLOCK).

3. SSR 25 DA (SOLID STATE REALY).

4. JUMPER WIRES.

Kauj Ruam 2: YOOJ YIM THIAB WIRING

ASSEMBLY THIAB WIRING
ASSEMBLY THIAB WIRING

RTC CLOCK (DS3231) pins rau Arduino pins

1 TZS to GND

2 VCC to TVV

3 SDA to AW

4 SDA to AWM

SOLID STATE REALY (SSR 25 DA) pins rau Arduino pins

1.3 (+) rau D2

2.4 (-) to GND

Kauj ruam 3: PROGRAMING

Hauv qhov programing no koj yuav tsum teeb ON thiab OFF sijhawm rau yor tshuab thiab txhua yam uas koj xav tswj

Kuv tau sau cov phiaj xwm no hauv txoj haujlwm no Tsis xav teem sijhawm RTC vim tias peb tsuas yog siv min muab los ntawm RTC

thiab zaum kawg peb rov pib RTC rau 0 min uas muab rau peb rov ua dua (rov ua dua peb li ON thiab OFF lub voj voog)

teeb tsa koj lub sijhawm raws kab "OnMinSET" hauv feeb

teeb tsa koj lub sijhawm tawm ntawm kab "OffMinSET" hauv feeb

thiab kuv siv tsev qiv ntawv yog DS 3231 kuv qhia rau koj

Pom zoo: