Cov txheej txheem:

IoTyper - Tswj Koj Lub PC Via Alexa (IoT): 5 Kauj Ruam (nrog Duab)
IoTyper - Tswj Koj Lub PC Via Alexa (IoT): 5 Kauj Ruam (nrog Duab)

Video: IoTyper - Tswj Koj Lub PC Via Alexa (IoT): 5 Kauj Ruam (nrog Duab)

Video: IoTyper - Tswj Koj Lub PC Via Alexa (IoT): 5 Kauj Ruam (nrog Duab)
Video: Finance with Python! Portfolio Diversification and Risk 2024, Kaum ib hlis
Anonim
IoTyper - Tswj Koj Lub PC Ntawm Alexa (IoT)
IoTyper - Tswj Koj Lub PC Ntawm Alexa (IoT)
IoTyper - Tswj Koj Lub PC Ntawm Alexa (IoT)
IoTyper - Tswj Koj Lub PC Ntawm Alexa (IoT)
IoTyper - Tswj Koj Lub PC Ntawm Alexa (IoT)
IoTyper - Tswj Koj Lub PC Ntawm Alexa (IoT)

Koj tsis tau xav txog kev tswj hwm koj lub PC nrog IoT? Peb Lub Ntiaj Teb tau ntse dua txhua hnub thiab niaj hnub no peb tig peb lub PC hauv lub PC uas ntse dua li nws twb tau ua lawm. Cia peb pib!

IoTyper yog ua raws ob qho yooj yim MicroControllers: ATMega 32U4 uas tuaj yeem ua raws tus keyboard, thiab ESP8266 uas muaj peev xwm WiFi. IoTyper ua ke ob qho tib si. Qhov tshwm sim yog Lub Rooj vag rau koj lub PC txhawm rau sib tham nrog IoT-cov khoom siv. Txhawm rau txuas txhua yam ntawm WiFi koj xav tau MQTT-Broker. Kuv siv iOBroker rau qhov no. Kuv Qhov System khiav ntawm lub qub, hloov kho Laptop. Nws tsis tas yuav yog qhov tshiab tshaj plaws thiab nrawm tshaj plaws! Raspberrry Pi yuav ua txoj haujlwm ib yam nkaus…

Lub hauv paus ntsiab lus ESP8266 nyeem qhov sib txawv uas khaws cia ntawm iOBroker. Peb tuaj yeem hloov qhov sib txawv ntawm ntau txoj hauv kev sib txawv, piv txwv li nrog Alexa (koj xav tau tsab ntawv hauv iOBroker uas txuas ob qho tib si ua ke tab sis koj tuaj yeem pom ib qho online) lossis nrog lwm Tus Pabcuam Ntse. Tau kawg koj tseem tuaj yeem siv cov Apps zoo li Apple Homekit los ua qhov xwm txheej, hauv qhov no Qhov Xauv Kuv Lub Laptop. ESP8266 nyeem qhov sib txawv thiab xa nws cov ntawv ntawm Serial-Line mus rau ATMega 32U4. Lub ATMega 32U4 xa cov ntawv raws li cov keyboard tso tawm rau lub PC. Kuv suav nrog qhov kos duab kos rau Xauv ntawm nplooj ntawv no ib yam:) Qhov no yuav tsum tsuas yog tus lej piv txwv - Qhov muaj peev xwm ntawm ATMega32U4 yog qhov tsis txaus ntseeg! Koj tuaj yeem suav nrog cov txuj ci no rau hauv txhua qhov ntawm koj txoj haujlwm los cuam tshuam nrog koj lub PC ntawm WiFi!

Khoom siv

Cia pib nrog Cov Khoom Kuv tau siv:

Arduino Pro Micro (Kuv desoldered IC)

ESP01

TD6810 Buck-Converter

2.2 uH Chev

2 x 22 Ω Resistors

2x 10k Ω Cov neeg tiv thaiv

1 x 680 Ω Resistor

1x 150k Ω Tus tiv thaiv

2x 330k Ω Cov neeg tiv thaiv

1 x 1k Ω Resistor

1 x 100 nF Capacitor

2 x 22 pF Capacitors

1 x 10 uF Capacitor

1 x 1 uF Capacitor

1 x 100 pF Capacitor

1 x 22 uF Capacitor

Tus Pin-Headers

3x LED (Xim tsis muaj teeb meem!)

1 x 16 MhZ Crystal

USB-Txiv neej Connector

(Yeem) Etched PCB

Cov cuab yeej kuv siv:

Yihua 862D+ Soldering thiab Reflow Station

Solder tinn

Dej ntws

Solder Muab tshuaj txhuam

Tweezers

Kauj Ruam 1: Ua Haujlwm Ob MCUs

Txoj Haujlwm Ob MCUs!
Txoj Haujlwm Ob MCUs!
Txoj Haujlwm Ob MCUs!
Txoj Haujlwm Ob MCUs!

Ua ntej tshaj koj yuav tsum tau programm ob MicroControllers. Kuv tau siv Arduino IDE!

Kuv tshem lub ATMega32U4 los ntawm pheej yig Arduino Pro Micro Board. Qhov ntawd pheej yig dua li yuav IC tus kheej …

Kuv siv Cov Chaw no:

ESP8266:

  • Generic ESP8266 Module
  • Flash-Loj: 512k (tsis muaj SPIFFS)

ATMega 32U4:

Arduino Leonardo

Yog tias koj tau ua tiav Txoj Haujlwm koj tuaj yeem pib txuas txhua yam raws li qhia hauv Schematic.

Kauj ruam 2: Nruab Arduino Leonardo Tsav Tsheb rau Koj Lub PC

Txhawm rau kom txhua yam ua haujlwm tau zoo koj yuav tsum hloov kho koj li Arduino IDE rau qhov tshiab tshaj plaws. Tsis tas li koj xav tau cov tsav tsheb tshiab kawg.

Rau Troubleshooting saib ntawm Sparkfun-Website:

learn.sparkfun.com/tutorials/pro-micro--fi…

Kauj ruam 3: Txuas nws mus rau koj lub PC

Txuas nws rau koj lub PC!
Txuas nws rau koj lub PC!

Qhov kawg tab sis tsis tsawg kawg koj tuaj yeem txuas koj lub rooj tsav xwm rau koj lub Computer. Nws yuav pom nws zoo li cov keyboard ib txwm muaj. Koj tuaj yeem pom IoTyper li "Arduino Leonardo" hauv koj li Device-Manager:)

Kauj ruam 4: Kho IoBroker

Kev teeb tsa IoBroker
Kev teeb tsa IoBroker

Cov npe rau cov ntawv yuav tsum yog /esp /iotyper hauv kev teeb tsa yooj yim. Tau kawg koj tuaj yeem hloov qhov no hauv Txoj Cai ESP8266 uas suav nrog hauv Cov Lus Qhia no ib yam nkaus.

Kauj Ruam 5: Hloov Kho Txoj Cai & Yav Tom Ntej Outlook

Yog tias koj ua tiav cov tshuaj txhuam koj yuav xav hloov kho txoj cai tam sim no. Rau kev tshoov siab saib:

www.arduino.cc/reference/en/language/funct…

Qhov muaj peev xwm yog qhov kawg!

Los ntawm txoj kev: Kuv yuav tsim qauv 3D-Luam rau hauv IoTyper sai sai, thaum kuv rov qab los tsev los ntawm so …

Vam tias koj nyiam:) Bye: D

Pom zoo: