Innehållsförteckning:

IR -hemautomation med Arduino: 8 steg
IR -hemautomation med Arduino: 8 steg

Video: IR -hemautomation med Arduino: 8 steg

Video: IR -hemautomation med Arduino: 8 steg
Video: Использование Melexis MLX90614 Инфракрасный термометр с Arduino 2024, Juli
Anonim
Image
Image

Följ dessa steg och konvertera ditt hem till ett smart hem

Steg 1: Använd 12 V 1 eller 1,5 A strömförsörjning

Gör 12 V till 5 V omvandlarkretsens komponentlista
Gör 12 V till 5 V omvandlarkretsens komponentlista

Steg 2: Gör 12 V till 5 V omvandlarkretsens komponentlista

komponentlista

1 multifunktionell kretskort

2 kondensator 470uf, 1uf

3 -diod 4007

4 ic LM7805

5 transistor bc547

6 relä 5v

7 arduino uno

8 någon remort

9 tsop 1738

10 arduino ide programvara för mac/windows

Steg 3: Anslut TSOP 1738 till Arduino

Anslut TSOP 1738 till Arduino
Anslut TSOP 1738 till Arduino
Anslut TSOP 1738 till Arduino
Anslut TSOP 1738 till Arduino

Steg 4: Downlod IR Decord.ino -fil härifrån

Nedladdad IR Decord.ino -fil härifrån
Nedladdad IR Decord.ino -fil härifrån

IR DECORD. INO

Använd arduino ide softwere open ir decorc.ino och ladda upp till bord

om du har något fel som (C: / Program Files (x86) Arduino / libraries / RobotIRremote / src / IRremoteTools.cpp: 5: fel: 'TKD2' deklarerades inte i denna omfattning) så nedladdar biblioteket härifrån https://sh.st/J8DWM och extrahera och förbi till C: / Program Files / Arduino / libraries

efter problem inte lösa nedladdning detta bibliotek https://sh.st/J8Gf5 och förbi på samma sökväg

Steg 5: Öppna Seriel Moniter (ctrl+shift+M)

Öppna Seriel Moniter (ctrl+shift+M)
Öppna Seriel Moniter (ctrl+shift+M)
Öppna Seriel Moniter (ctrl+shift+M)
Öppna Seriel Moniter (ctrl+shift+M)

tryck på knappen från remort och notera mottagen kod

som 16220287

16187647

16244767

16195807

16228447

Anteckna samma kod från att trycka på en knapp

Steg 6: Ladda ner Final Home Automation.ino

Ladda ner Final Home Automation.ino
Ladda ner Final Home Automation.ino

hemautomation.ino

Downlod -kod och ladda upp till bord ändra definiera kod till din remort -kod

Rekommenderad: