Cov txheej txheem:
- Kauj Ruam 1: Nws Ua Kom Koj Nyuaj Siab Li Cas?
- Kauj Ruam 2: Koj Yuav Ua Li Cas Txuag Nyiaj Txiag thiab Txo Cov Tsev Tso Roj Nkev?
- Kauj Ruam 3: Koj Yuav Tswj Koj Li Cua Kub Qhov Twg Koj Nyob Qhov Twg?
- Kauj Ruam 4: Kev Tswj Kub Kub
- Kauj Ruam 5: Kev Tswj Xyuas Kev Qhia
- Kauj Ruam 6: Teem Sijhawm
- Kauj ruam 7: Architecture Overwiew
- Kauj Ruam 8: Txheej txheem cej luam Micro
- Kauj Ruam 9: Txheej Txheem Kev Sib Txuas Network
- Kauj ruam 10: Tus Txheej Txheem Txheej Txheem
- Kauj Ruam 11: Daim Ntawv Teev Npe
- Kauj Ruam 12: Tsim Cov Khoom Siv Hluav Taws Xob
- Kauj Ruam 13: Npaj ESP8266
- Kauj Ruam 14: Tsim Cov Khoom Siv Hluav Taws Xob
- Kauj Ruam 15: Cia Peb Ua Nrog Lub Rooj Vag Configuration
- Kauj Ruam 16: Npaj mus rub Txoj Cai Gateway
- Kauj Ruam 17: Rub Lub Rooj vag Code 1/2
- Kauj Ruam 18: Rub Lub Rooj vag Code 2/2
- Kauj Ruam 19: Teeb Koj Tus Kheej Qhov Rooj Qhov Rooj
- Kauj Ruam 20: Npaj Kev Sib Txuas Arduino
- Kauj Ruam 21: Cia Ua Qee Qhov Kuaj
- Kauj Ruam 22: Txheeb xyuas Kev Sib Txuas Network
- Kauj Ruam 23: Npaj Arduino
- Kauj Ruam 24: Rub Arduino Code
- Kauj ruam 25: Rov pib dua Arduino
- Kauj Ruam 26: Txheeb LCD
- Kauj Ruam 27: Xeem Relays
- Kauj Ruam 28: Muab Lub Hwj Huam Huv 1/4
- Kauj Ruam 29: Muab Cov Khoom Siv Hluav Taws Xob 2/4
- Kauj Ruam 30: Muab Cov Khoom Siv Hluav Taws Xob 3/4
- Kauj Ruam 31: Muab Lub Hwj Huam Fais Fab 4/4
- Kauj Ruam 32: Solder Micro-controllers ntawm PCB 1/7
- Kauj Ruam 33: Solder Micro-controllers ntawm PCB 2/7
- Kauj Ruam 34: Solder Micro-controllers ntawm PCB 3/7
- Kauj Ruam 35: Muab cov Micro-controllers ntawm PCB 4/7
- Kauj Ruam 36: Solder Micro-controllers ntawm PCB 5/7
- Kauj Ruam 37: Solder Micro-controllers ntawm PCB 6/7
- Kauj Ruam 38: Solder Micro-controllers ntawm PCB 7/7
- Kauj Ruam 39: Txuas thiab Txheeb Tag Nrho Ua Ntej Muab Rau Hauv Lub Thawv
- Kauj Ruam 40: Ntsia PCBs rau ntawm Ntoo Ntoo
- Kauj Ruam 41: Cia Ua Lub Ntoo Npog Npog
- Kauj ruam 42: Muab tag nrho rau hauv lub thawv
- Kauj ruam 43: Tsim Server Code Project
- Kauj Ruam 44: Txheeb Koj Qhov Kev Sib Txuas SQL
- Kauj ruam 45: Tsim Database Tables
- Kauj ruam 46: Txheeb xyuas Kev Nkag Mus Nkag
- Kauj ruam 47: Xaiv tau
- Kauj Ruam 48: Pib Runtime Code
- Kauj ruam 49: Pib J2EE Daim Ntawv Thov
- Kauj ruam 50: Synchronize Thermostat thiab Server
- Kauj Ruam 51: Txuas Cov Thermostat mus rau Boiler
- Kauj Ruam 52: Txaus Siab Rau Koj Cov Kev Tswj Cua Kub
- Kauj Ruam 53: 3D Printing Box
Video: Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: 53 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Lub hom phiaj yog dab tsi?
- Ua kom yooj yim dua los ntawm kev ua kom sov koj lub tsev raws nraim qhov koj xav tau
- Ua kom txuag nyiaj thiab txo cov pa roj carbon tsev tso cua sov los ntawm koj lub tsev tsuas yog thaum koj xav tau
- Khaws tswj koj cov cua sov txhua qhov chaw koj nyob
- Zoo siab koj tau ua koj tus kheej
Kauj Ruam 1: Nws Ua Kom Koj Nyuaj Siab Li Cas?
Koj yuav txhais 4 cov lus qhia ntsuas kub sib txawv uas yuav raug xaiv raws li koj lub sijhawm.
Koj yuav qhia koj qhov xav tau raws li qhov xav tau kub nyob rau lub sijhawm ntawm hnub thiab lub kaw lus yuav pib ua kom sov thaum lub sijhawm pom zoo kom mus txog qhov koj xav tau.
Rov qab los tsev ua ntej hnub no, siv koj lub xov tooj los cia siab tias yuav pib koj lub cua sov
Lub kaw lus yuav xa qhov ntsuas kub ruaj khov uas yuav haum raws qhov koj xav tau.
Kauj Ruam 2: Koj Yuav Ua Li Cas Txuag Nyiaj Txiag thiab Txo Cov Tsev Tso Roj Nkev?
Paub txog koj lub sijhawm, lub kaw lus yuav sov thaum koj xav tau.
Lub kaw lus yuav ntsuas qhov ntsuas kub sab nrauv rau hauv tus as khauj kom zoo dua cov cua sov.
Rov qab los tsev tom qab hnub no, siv koj lub xov tooj los ncua kev pib cua sov.
Koj yuav tuaj yeem kho qhov system kom haum nrog koj cov cuab yeej siv.
Kauj Ruam 3: Koj Yuav Tswj Koj Li Cua Kub Qhov Twg Koj Nyob Qhov Twg?
Lub kaw lus yog WIFI txuas nrog. Koj yuav siv koj lub khoos phis tawj los teeb tsa, kho thiab hloov kho lub sijhawm ntawm koj lub system.
Tawm hauv tsev, koj yuav siv koj lub xov tooj los tos lossis ncua kev pib ua kom sov koj
Kauj Ruam 4: Kev Tswj Kub Kub
Tus tswj PID tau siv rau kev tswj cua sov.
Nws tau siv los tswj txoj hauv kev kom mus txog qhov ntsuas kub thiab cia kom ze li sai tau rau lub hom phiaj.
PID tsis tuaj yeem hloov kho rau koj ib puag ncig (saib cov ntaub ntawv txheej txheem).
Kauj Ruam 5: Kev Tswj Xyuas Kev Qhia
Ib qho kev qhia tswj tau tsim los txiav txim siab lub sijhawm pib cua sov.
Txoj cai no tuaj yeem hloov kho qhov koj xav tau nrog qhov "reactivity" parameter uas koj tuaj yeem hloov kho.
Kauj Ruam 6: Teem Sijhawm
Cov lus qhia ntsuas kub tau qhia raws li lub hom phiaj (ntsuas kub, sijhawm). Lub ntsiab lus koj xav kom koj lub tsev nyob ntawm qhov kub ntawm lub sijhawm ntawd.
Qhov ntsuas kub yuav tsum tau xaiv nruab nrab ntawm 4 daim ntawv ua pov thawj.
Ib qho kev qhia yuav tsum tau txhais rau txhua ib nrab teev ntawm lub sijhawm.
Koj tuaj yeem txheeb xyuas ib lub sijhawm raws lub lis piam thiab 2 txhua hnub.
Kauj ruam 7: Architecture Overwiew
Ua tibzoo saib lub ntiaj teb kev tsim vaj tsev
Nws ua haujlwm nrog txhua lub rhaub dej dhau los ib txwm qhib lossis ib txwm kaw kev sib cuag.
Kauj Ruam 8: Txheej txheem cej luam Micro
Cov txheej txheem tseem ceeb khiav ntawm Atmel ATmega micro-controller.
Tom qab cov lej thiab cov cim tsis tau rub tawm thiab teev ua ke, nws tuaj yeem ua haujlwm tau 100% tsis siv neeg.
Nws sib txuas lus hla cov ntawv txuas mus rau hauv tus lej cov ntaub ntawv sab nraud.
ESP8266 micro-maub los khiav lub qhov rooj nkag rau kev hloov pauv txuas txuas mus rau WIFI ib qho.
Parameters tau pib sau hauv eeprom thiab tuaj yeem hloov kho thiab khaws cia nyob deb.
Kauj Ruam 9: Txheej Txheem Kev Sib Txuas Network
Kev sib txuas hauv network tau ua nrog ESP8266 WIFI microcontroller. Nws zoo ib yam li cov lus piav qhia ntawm Rooj vag "qhia tau". Txawm li cas los xij cov kev hloov pauv hauv qab no tau ua los ntawm cov lus piav qhia no: qee qhov tsis muaj txiaj ntsig GPIOs rau txoj haujlwm no tsis siv thiab Arduino thiab ESP8266 tau muab muag ntawm tib PCB.
Kauj ruam 10: Tus Txheej Txheem Txheej Txheem
Java khiav tus neeg rau zaub mov ib feem ntawm qhov system. HMIs siv TOMCAT. MySQL yog database.
Kauj Ruam 11: Daim Ntawv Teev Npe
Koj yuav xav tau cov ntsiab lus tseem ceeb no
2 x micro-controllers
· 1 x Arduino - Kuv xaiv Nano 3.0 - koj tuaj yeem pom qee qhov nyob ib puag ncig 2.5 $ (Aliexpress)
· 1 x ESP8266 - Kuv xaiv -ESP8266 -DEV Olimex - ntawm 5.5 €
1 x ntsuas kub DS1820
· Kuv xaiv qhov tsis muaj dej - koj tuaj yeem tau 5 rau 9 € (Amazon)
1 x dual relay module (0 hais kom ua)
· Kuv xaiv SONGLE SRD -05VDC - koj tuaj yeem pom qee qhov ntawm 1.5 € (Amazon)
1 x I2C LCD 2x16 cim
Kuv twb muaj lawm - koj tuaj yeem pom qee qhov qis dua 4 $ (Aliexpress)
1 x I2C DS1307 Lub Sijhawm Tiag Module nrog CR2032 roj teeb
· Kuv twb muaj ib qho lawm - koj tuaj yeem pom qee qhov qis dua 4 $ (Aliexpress)
koj tuaj yeem nrhiav tau ob peb euros
1 x Infrared txais
· Kuv xaiv AX-1838HS koj tuaj yeem nrhiav 5 rau 4 €
1 x FTDI
1 x IR chaw taws teeb tswj (koj tuaj yeem yuav khoom tshwj xeeb ntawm lossis siv koj lub TV)
2 x hwj chim tswj (3.3v & 5v)
· Kuv xaiv I x LM1086 3.3v & 1 x L7850CV 5v
Thiab qee yam khoom
5 x lwd
9 x 1K resistors
1 x 2.2K resistor
1 x 4.7K resistor
1 x 100microF ceramic capacitor
1 x 330 microF ceramic capacitor
2 x 1 microF tentalum capacitor
2 x NPN transistors
4 x Diodes
2 PCB breadboard
2 x 3 tus pin hloov
Qee qhov txuas thiab xov hlau
Tau kawg koj xav tau cov hlau txuas thiab cov tin.
Kauj Ruam 12: Tsim Cov Khoom Siv Hluav Taws Xob
Cov ntawv txias no piav qhia tias yuav ua dab tsi.
Nws yog qhov zoo dua los pib tsim lub zog siv nrog lub khob cij txawm tias tsis muaj teeb meem.
Cov tswj hwm tuaj yeem hloov pauv tau yooj yim los ntawm lwm tus: tsuas yog hloov kho kev sib txuas thiab cov khoom siv raws li koj tus yam ntxwv tswj hwm.
Txheeb nws xa mus tas li 5v thiab 3.3v txawm tias muaj lub nra (100 ohms resistors piv txwv).
Tam sim no koj tuaj yeem siv tag nrho cov khoom siv ntawm lub khob cij PCB raws li hauv qab no
Kauj Ruam 13: Npaj ESP8266
Ntsaws koj ESP8266 hauv lub khob cij rau qhov yooj yim soldering hauv qab no
Kauj Ruam 14: Tsim Cov Khoom Siv Hluav Taws Xob
Luam tawm Fritzing siv.
Kuv xav qhia kom pib tsim cov khoom siv hluav taws xob nrog lub khob cij.
Muab txhua feem ua ke rau ntawm daim ntawv ci.
Txuas ua tib zoo saib xyuas cov peev txheej
Txheeb xyuas lub zog LEDs ntawm Arduino thiab ESP8266.
LCD yuav tsum qhib.
Kauj Ruam 15: Cia Peb Ua Nrog Lub Rooj Vag Configuration
Txuas FTDI USB rau koj lub chaw nres tsheb txhim kho.
Teeb tsa qhov txuas txuas txuas txhawm rau txuas ESP8266 rau FTDI raws li qhov no
Kauj Ruam 16: Npaj mus rub Txoj Cai Gateway
Pib Arduino ntawm koj lub chaw haujlwm.
Koj xav tau ESP8266 kom paub tias yog pawg thawj coj los ntawm IDE.
Xaiv lub USB chaw nres nkoj thiab pawg tsim nyog nrog Cov Cuab Yeej / ntawv qhia zaub mov.
Yog tias koj tsis pom ib qho ESP266 hauv cov npe uas txhais tau tias koj yuav tsum tau teeb tsa ESP8266 Arduino Addon (koj tuaj yeem pom ntawm no tus txheej txheem).
Txhua tus lej koj xav tau muaj nyob ntawm GitHub. Nws yog lub sijhawm los rub nws!
Txoj cai tseem ceeb ntawm Rooj vag yog muaj:
github.com/cuillerj/Esp8266UdpSerialGatewa…
Nyob rau sab saum toj ntawm tus qauv Arduino thiab ESP8266 suav nrog cov cai tseem ceeb xav tau 2 qhov no suav nrog:
LookFoString uas yog siv los tswj cov hlua thiab nyob ntawd:
ManageParamEeprom uas tau siv los nyeem thiab khaws cov khoom hauv Eeprom ans nyob ntawd:
Thaum koj tau txais tag nrho cov cai nws yog lub sijhawm los rub nws mus rau ESP8266.
Ua ntej txuas FTDI rau USB chaw nres nkoj ntawm koj lub computer.
Kuv xav kom koj txheeb xyuas qhov kev sib txuas ua ntej sim rub tawm.
- · Teem Arduino cov saib txuas mus rau qhov chaw nres nkoj USB tshiab.
- · Teeb nrawm rau 115200 ob qho tib si cr nl (tiv thaiv ceev rau Olimex)
- · Fais fab ntawm lub khob cij (ESP8266 los nrog software uas cuam tshuam nrog AT cov lus txib)
- · Xa "AT" nrog cov cuab yeej txuas.
- · Koj yuav tsum tau txais "OK" rov qab.
Yog tias tsis txheeb xyuas koj qhov kev sib txuas thiab saib koj li ESP8266 cov lus qhia tshwj xeeb.
Yog tias koj tau txais "OK" koj tau npaj txhij xa cov cai
Kauj Ruam 17: Rub Lub Rooj vag Code 1/2
·
- Hwj chim tawm ntawm lub khob cij, tos ob peb feeb,
- Nias ntawm lub laub khawm ntawm lub khob cij thiab qhib lub zog
- Tso lub laub khawm Nws yog qhov ib txwm tau txais qee cov thoob khib nyiab ntawm cov saib hauv qab.
- Nias ntawm qhov upload IDE raws li rau Arduino.
- Tom qab rub tawm tiav teeb tsa qhov nrawm rau 38400.
Kauj Ruam 18: Rub Lub Rooj vag Code 2/2
Koj yuav pom qee yam zoo li hauv daim duab.
Nrog koj zoo siab ua tiav upload cov cai!
Kauj Ruam 19: Teeb Koj Tus Kheej Qhov Rooj Qhov Rooj
Khaws qhib Serial Monitor (nrawm 38400) ntawm IDE
- Hwj chim tawm ntawm lub khob cij, tos ob peb feeb
- Siv qhov hloov pauv los teeb tsa configGPIO rau 1 (3.3v)
- Luam theej duab WIFI los ntawm kev nkag mus rau cov lus txib:
- ScanWifi. Koj yuav pom cov npe ntawm lub network pom.
- Tom qab ntawd teeb tsa koj tus SSID los ntawm kev nkag mus "SSID1 = yournetwork
- Tom qab ntawv teeb koj tus password los ntawm kev nkag "PSW1 = yourpassword
- Tom qab ntawd nkag mus "SSID = 1" txhawm rau txheeb xyuas qhov networ tam sim no
- Nkag mus "Rov pib dua" txhawm rau txuas Lub Rooj vag rau koj WIFI.
Koj tuaj yeem txheeb xyuas koj tau txais tus IP los ntawm kev nkag mus "ShowWifi".
Lub xiav LED yuav nyob rau thiab lub LED liab ntsais
Nws yog lub sijhawm los txheeb xyuas koj tus IP chaw nyob server los ntawm kev nkag mus rau 4 subaddresses (server uas yuav khiav Java txoj cai xeem). Piv txwv li IP = 192.168.1.10 sau:
- "IP1 = 192"
- "IP2 = 168"
- "IP3 = 1"
- "IP4 = 10"
Txhais IP chaw nres nkoj li:
-
· RoutePort = 1840 (lossis lwm qhov raws li koj daim ntawv thov teeb tsa saib "Cov lus qhia teeb tsa neeg rau zaub mov")
Nkag mus rau "ShowEeprom" txhawm rau txheeb xyuas qhov koj nyuam qhuav khaws cia hauv Eeprom
Tam sim no teeb tsa GPIO2 rau hauv av kom tawm ntawm kev teeb tsa hom (siv qhov hloov pauv kom ua tau)
Koj Lub Rooj Vag yog npaj ua haujlwm!
Cov xiav LED yuav tsum mus sai li sai tau thaum lub qhov rooj txuas nrog koj WIFI.
Muaj qee qhov lwm cov lus txib koj tuaj yeem pom hauv cov ntaub ntawv rooj vag.
Teem ESP8266 IP chaw nyob tas mus li hauv koj li DNS
Kauj Ruam 20: Npaj Kev Sib Txuas Arduino
Ua ntej tshaj, tshem qhov txuas txuas txuas txuas kom tsis txhob muaj teeb meem USB.
Kauj Ruam 21: Cia Ua Qee Qhov Kuaj
Ua ntej ua haujlwm nrog Thermostat code cia ua qee qhov kev sim nrog IDE piv txwv qhov chaw
Txuas Arduino USB rau koj lub chaw haujlwm.
Xaiv Serial Port, teeb tsa nrawm rau 9600 thiab teeb tsa daim npav hom rau Nano.
Txheeb xyuas qhov ntsuas kub
Qhib Cov Ntaub Ntawv / piv txwv / Max31850Onewire / DS18x20_Temperature thiab hloov kho OneWire ds (8); (8 tsis yog 10).
Rub tawm thiab txheeb xyuas nws ua haujlwm. Yog tias tsis txheeb xyuas koj li DS1820 kev sib txuas.
Xyuas lub moos
Qhib Cov Ntaub Ntawv / piv txwv / DS1307RTC / programTimeTime
Tshaj tawm cov cai thiab tshawb xyuas koj tau txais lub sijhawm zoo.
Xyuas lub LCD
Qhib Cov Ntaub Ntawv / piv txwv / kua cristal / HelloWorld program
Rub tawm cov cai thiab xyuas koj tau txais cov lus.
Txheeb xyuas cov chaw taws teeb
Qhib Cov Ntaub Ntawv / piv txwv / ArduinoIRremotemaster / IRrecvDemo program
Hloov tus lej PIN rau 4 - upload cov cai
Siv koj lub chaw tswj chaw taws teeb thiab tshawb xyuas koj tau txais tus lej IRs ntawm tus saib.
Nws yog lub sijhawm los xaiv cov chaw taws teeb tswj 8 tus yuam sij sib txawv uas koj xav siv raws li hauv qab no:
- · Nce kev qhia kom sov
- · Txo kev qhia kom sov
- · Tua lub ntsuas cua sov
- · Xaiv lub hom phiaj txheej txheem lub lim tiam
- · Xaiv thawj hnub txheej txheem hom
- · Xaiv hom txheej txheem hnub thib ob
- · Xaiv hom tsis khov
- · Qhib/kaw lub qhov rooj WIFI
Txij li koj tau xaiv qhov koj xaiv siv tus lej, theej thiab khaws cia hauv cov ntawv sau cov lej tau txais. Koj yuav xav tau cov ntaub ntawv no tom qab.
Kauj Ruam 22: Txheeb xyuas Kev Sib Txuas Network
Txhawm rau txheeb xyuas koj txoj haujlwm zoo tshaj yog siv Arduino thiab Java piv txwv.
Arduino
Koj tuaj yeem rub tawm nws muaj:
Nws suav nrog SerialNetwork tsev qiv ntawv uas nyob ntawm no:
Tsuas yog xa cov cai hauv koj Arduino.
Neeg rau zaub mov
Piv txwv ntawm server yog Java program uas koj tuaj yeem rub tawm ntawm no:
Cia li khiav nws
Saib ntawm Java console.
Saib ntawm Arduino saib.
Arduino xa 2 pob ntawv sib txawv.
· Thawj tus muaj cov koob digital 2 txog 6 xwm txheej.
· Qhov thib ob muaj 2 qhov tseem ceeb tsis sib xws, qib voltage ntawm A0 hauv mV thiab suav ntxiv.
Java program
· Luam cov ntaub ntawv tau txais hauv hom hexadecimal
· Teb rau thawj hom ntaub ntawv nrog qhov ua piv txwv rau/tawm tus nqi los teeb tsa/tawm ntawm Arduino LED
· Teb rau hom thib ob ntawm cov ntaub ntawv nrog suav tau txais thiab tus lej tsis raug.
Koj yuav tsum pom qee yam zoo li saum toj no.
Tam sim no koj tau npaj ua haujlwm ntawm Thermostat code
Kauj Ruam 23: Npaj Arduino
Txuas Arduino USB rau koj lub chaw haujlwm.
Teeb nrawm rau 38400.
Peb yuav tsum teeb tsa Arduino hauv hom teeb tsa
Txuas tus txuas ntawm ICSP kom GPIO 11 tau teeb tsa rau 1 (5v)
Kauj Ruam 24: Rub Arduino Code
Cov ntsuas cua sov muaj nyob ntawm GitHub
Ua ntej rub tawm lub tsev qiv ntawv no thiab luam cov ntawv hauv koj lub tsev qiv ntawv ib txwm muaj.
Tom qab ntawd rub tawm cov peev txheej no thiab theej cov ntaub ntawv hauv koj li qub Arduino qhov chaw khaws cia.
Qhib Thermosat.ico thiab suav sau thiab txheeb xyuas koj tsis tau txais qhov yuam kev
Rub tawm Arduino code.
Arduino yuav pib txiav.
Tos rau cov lus "kawg init eeprom".
Qhov tsis tseem ceeb ntawm qhov ntsuas tam sim no tau sau hauv eeprom.
Kauj ruam 25: Rov pib dua Arduino
Arduino tau pib ua ntej thiab yuav tsum tau teeb tsa hauv kev khiav ua ntej rov pib dua
Txuas tus txuas ntawm ICSP kom GPIO 11 tau teeb tsa 0 (hauv av) los teeb tsa Arduino hauv kev khiav.
Pib dua Arduino.
Koj yuav tsum pom lub sijhawm ntawm LCD thiab LED daj yuav tsum nyob. (Koj yuav pom 0: 0 yog tias lub moos tsis sib txuas lossis lub sijhawm poob (siv lub zog thiab tsis muaj roj teeb)).
Kauj Ruam 26: Txheeb LCD
Koj yuav pom lwm qhov 3 cov ntxaij vab tshaus sib txawv.
Feem ntau rau tshuaj ntsuam 1 & 2:
- ntawm sab laug ntawm sab saum toj: lub sijhawm tiag tiag
- ntawm sab laug ntawm hauv qab: qhia qhov kub thiab txias
- nruab nrab ntawm hauv qab hauv qab: qhov kub hauv tsev (DS1820)
Vijtsam 1:
nyob nruab nrab ntawm sab saum toj: hom khiav tiag
Vijtsam 2:
- nyob nruab nrab ntawm sab saum toj: hnub tiag tiag ntawm lub lim tiam
- ntawm sab xis ntawm sab saum toj: hnub & hli tus lej
Qhov thib 3 tau piav qhia hauv phau ntawv qhia kev saib xyuas.
Kauj Ruam 27: Xeem Relays
Ntsuam xyuas Gateway relay
Nyob rau theem no koj yuav tsum txuas nrog WIFI thiab LED xiav yuav tsum qhib.
Nias lub chaw taws teeb tswj qhov tseem ceeb uas koj tau xaiv los qhib/tawm ntawm WIFI rooj vag. Cov kis yuav tsum hloov ESP8266 thiab LED xiav.
Tos ob peb vib nas this thiab nias dua tus yuam sij tswj chaw taws teeb. Lub qhov rooj WIFI yuav tsum tau qhib.
Tsis pub dhau ib feeb dhau ntawm lub qhov rooj yuav tsum tau txuas nrog, thiab LED xiav yuav tsum qhib.
Ntsuas lub rhaub rhaub
Ua ntej saib ntawm LED liab. Yog tias kev qhia ntsuas kub ntau dua li qhov ntsuas kub sab hauv LED yuav tsum teeb rau. Nws yuav siv ob peb feeb tom qab pib rau Arduino kom tau txais cov ntaub ntawv txaus los txiav txim siab seb puas yuav tso cua sov.
Yog tias liab LED qhib, txo qhov ntsuas kub kom teeb nws qis dua qhov kub hauv. Tsis pub dhau ob peb feeb qhov kev xa xov yuav tsum hloov thiab lub teeb liab liab tawm.
Yog tias LED liab tawm, nce qhov kev qhia ntsuas kub kom teeb nws qis dua qhov kub hauv. Tsis pub dhau ob peb vib nas this qhov kev xa xov yuav tsum qhib thiab lub teeb liab liab qhib.
Yog tias koj ua nws ntau dua ib zaug, nco ntsoov tias lub kaw lus yuav tsis cuam tshuam tam sim kom tsis txhob hloov pauv lub rhaub dej kom nrawm dua.
Qhov ntawd yog qhov kawg ntawm daim ntawv ua haujlwm.
Kauj Ruam 28: Muab Lub Hwj Huam Huv 1/4
Kuv hais qhia siv 2 qhov sib txawv PCB: ib qho rau lub hwj chim thiab ib qho rau cov tswj hwm micro.
Koj yuav xav tau cov txuas rau;
· 2 rau 9v cov khoom siv hluav taws xob
· 1 rau +9v tso zis
· 1 rau +3.3v tso zis (Kuv tau ua 2)
· 2 rau +5v tso zis (Kuv tau ua 3)
· 2 rau relay hais kom ua
· 2 rau kev xa xov hluav taws xob
Kauj Ruam 29: Muab Cov Khoom Siv Hluav Taws Xob 2/4
Nov yog cov phiaj xwm Frizting kom ua raws!
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 30: Muab Cov Khoom Siv Hluav Taws Xob 3/4
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 31: Muab Lub Hwj Huam Fais Fab 4/4
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 32: Solder Micro-controllers ntawm PCB 1/7
Kuv hais kom tsis txhob siv lub Arduino thiab ESP8266 ncaj qha rau ntawm PCB
Hloov chaw siv cov txuas txuas hauv qab no txhawm rau tuaj yeem hloov pauv tau yooj yim microcontrollers
Kauj Ruam 33: Solder Micro-controllers ntawm PCB 2/7
Koj yuav xav tau cov txuas rau:
- 3 x +5v (Kuv tau ua ib qho seem)
- 6 x zem
- 3 x rau DS1820
- 3 x rau LED
- 1 x IR tus txais
- 2x rau relay hais kom ua
- 4x rau I2C npav
Nov yog cov phiaj xwm Frizting kom ua raws!
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 34: Solder Micro-controllers ntawm PCB 3/7
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 35: Muab cov Micro-controllers ntawm PCB 4/7
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 36: Solder Micro-controllers ntawm PCB 5/7
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 37: Solder Micro-controllers ntawm PCB 6/7
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 38: Solder Micro-controllers ntawm PCB 7/7
Koj tuaj yeem pom sab saud cov lej raws li Fritzing qauv.
Kauj Ruam 39: Txuas thiab Txheeb Tag Nrho Ua Ntej Muab Rau Hauv Lub Thawv
Kauj Ruam 40: Ntsia PCBs rau ntawm Ntoo Ntoo
Kauj Ruam 41: Cia Ua Lub Ntoo Npog Npog
Kauj ruam 42: Muab tag nrho rau hauv lub thawv
Kauj ruam 43: Tsim Server Code Project
Pib koj qhov chaw ib puag ncig IDE
Rub tawm cov khoom siv los ntawm GitHub
Rub tawm J2EE cov peev txheej los ntawm GitHub
Pib koj Java IDE (Dab noj hnub piv txwv)
Tsim Java project "ThermostatRuntime"
Ntshuam cov pawg uas tau rub tawm
Tsim J2EE qhov haujlwm (Dynamic Web Project for Eclipse) "ThermostatPackage"
Ntshuam rub tawm J2EE cov peev txheej
Kauj Ruam 44: Txheeb Koj Qhov Kev Sib Txuas SQL
Tsim kom muaj "GelSqlConnection" chav kawm hauv Java thiab J2EE txoj haujlwm
Luam thiab dhau ntawm GetSqlConnectionExample.java cov ntsiab lus.
Teem koj tus neeg siv MySql server, password thiab tus tswv uas koj yuav siv los khaws cov ntaub ntawv.
Txuag GelSqlConnection.java
Luam thiab dhau los GelSqlConnection.java nkag rau ThermostatRuntime project
Kauj ruam 45: Tsim Database Tables
Tsim cov ntxhuav hauv qab no
Siv Sql tsab ntawv los tsim cov lus indDesc
Siv Sql tsab ntawv los tsim cov lus indValue
Siv Sql tsab ntawv los tsim cov rooj noj
Pib cov ntxhuav
Rub tawm cov ntawv loadStations.csv
qhib cov ntaub ntawv csv
hloov st_IP kom haum nrog koj lub network teeb tsa.
- thawj qhov chaw nyob yog Thermostat
- Thermostat thib ob yog tus server
txuag thiab thauj cov rooj noj nrog cov csv no
Rub tawm loadIndesc.csv
thauj cov ind_desc rooj nrog csv no
Kauj ruam 46: Txheeb xyuas Kev Nkag Mus Nkag
Koj tuaj yeem ua txhua qhov kev tswj hwm koj xav tau los ntawm kev hloov kho "ValidUser.java" code kom haum rau koj qhov kev xav tau kev nyab xeeb.
Kuv tsuas tshawb xyuas tus IP chaw nyob txhawm rau tso cai hloov kho. Txhawm rau ua tib yam tsuas yog tsim Lub Rooj Ruaj Ntseg thiab ntxig cov ntaub ntawv hauv cov lus no raws li saum toj no.
Kauj ruam 47: Xaiv tau
Sab nraum kub
Kuv siv cov huab cua huab cua API no kom tau txais cov ntaub ntawv rau kuv qhov chaw nyob thiab nws ua haujlwm zoo nkauj heev. Lub plhaub nrog curl teev cov ntsuas kub thiab khaws cia hauv cov ntaub ntawv. Koj tuaj yeem hloov kho txoj hauv kev koj yuav tau txais qhov ntsuas kub sab nrauv los ntawm kev hloov kho "KeepUpToDateMeteo.java" code.
Kev nyab xeeb hauv tsev
Kuv cuam tshuam kuv qhov kev nyab xeeb hauv tsev nrog Thermostat txhawm rau txo qis qhov ntsuas kub thaum kuv tawm hauv tsev. Koj tuaj yeem ua qee yam zoo sib xws nrog daim teb "kev ruaj ntseg" hauv lub database.
Boiler dej kub
Kuv twb tau saib xyuas lub rhaub dej hauv thiab tawm qhov kub nrog Arduino thiab 2 lub koob yees duab DS1820 yog li kuv tau ntxiv cov ntaub ntawv rau WEB HMI.
Kauj Ruam 48: Pib Runtime Code
Export thermostatRuntime project ua cov ntawv ntim
Tshwj tsis yog tias koj xav hloov kho UDP cov chaw nres nkoj pib ua haujlwm nrog cov lus txib:
java -cp $ CLASSPATH ThermostatDispatcher 1840 1841
CLASSPATH yuav tsum muaj kev nkag mus rau koj lub thawv ntawv thiab mysql txuas.
Koj yuav tsum pom qee yam zoo li saum toj no hauv lub cav.
Ntxiv qhov nkag rau hauv crontable kom pib ntawm reboot
Kauj ruam 49: Pib J2EE Daim Ntawv Thov
Export ThermostatPackage ua tsov rog.
Siv WAR nrog Tomcat tus thawj coj
Ntsuas daim ntawv thov koj siv: chaw nres nkoj/Thermostat/ShowThermostat? Chaw nres tsheb = 1
Koj yuav tsum pom qee yam zoo li saum toj no
Kauj ruam 50: Synchronize Thermostat thiab Server
Siv cov ntawv qhia zaub mov ntawm HMI ua cov theem hauv qab no
· Tshaj tawm qhov kub thiab txias
· Upload cov npe
· Tshaj tawm sijhawm
· Sau eeprom / xaiv Txhua
Kauj Ruam 51: Txuas Cov Thermostat mus rau Boiler
Ua ntej ua tib zoo nyeem cov lus qhia ntawm lub rhaub dej. Saib xyuas kom muaj hluav taws xob siab.
Lub ntsuas cua sov yuav tsum txuas nrog kev sib cuag yooj yim nrog 2 lub xov tooj cua.
Kauj Ruam 52: Txaus Siab Rau Koj Cov Kev Tswj Cua Kub
Koj tau npaj los teeb tsa cov kab ke kom haum rau koj xav tau!
Teem koj qhov ntsuas kub, koj lub sijhawm.
Siv Thermostat cov ntaub ntawv los ua li ntawd.
Pib PID taug qab. Cia lub kaw lus khiav ob peb hnub thiab tom qab ntawd siv cov ntaub ntawv sau los kho lub ntsuas sov
Cov ntaub ntawv muab cov lus qhia tshwj xeeb uas koj tuaj yeem hais txog yog tias koj xav hloov pauv.
Yog tias koj xav tau cov ntaub ntawv ntxiv xa kuv qhov kev thov. Kuv yuav zoo siab los teb.
Qhov no siv ib feem ntawm kev tsim kho vaj tse hauv tsev
Kauj Ruam 53: 3D Printing Box
Kuv tau txais lub tshuab luam ntawv 3D thiab luam lub npov no.
Sab nraub qaum tsim
Pem hauv ntej tsim
Sab saum toj thiab hauv qab tsim
Sab tsim
Pom zoo:
Yuav Ua Li Cas Tsim Kev Tswj Tus Kheej 3D Luam Tus Kheej Tus Kheej Tus Kheej: 9 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tsim Kev Tswj Tus Kheej 3D Luam Tus Kheej Tus Kheej Tus Kheej: Qhov no yog kev hloov pauv ntawm B-neeg hlau ua ntej. 100% Qhib QHOV CHAW / Arduino neeg hlau. CODE, 3D ntu thiab khoom siv hluav taws xob tau qhib yog li xav hloov kho nws lossis tsim qhov loj ntawm tus neeg hlau. Yog tias koj muaj kev ua xyem xyav, tswv yim lossis xav tau kev pab ua rau
ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: Cov lus qhia no tau sau los ntawm Anthony Turner. Txoj haujlwm tau tsim los nrog ntau qhov kev pab los ntawm Shed hauv Tsev Kawm Ntawv ntawm Kev Suav, University of Kent (Mr Daniel Knox tau pab zoo!)
Tsim Koj Tus Kheej "" Banksy Tus Kheej Tus Kheej Ua Haujlwm Zoo ": 4 Cov Kauj Ruam
Tsim Koj Tus Kheej "" Banksy Tus Kheej Tus Kheej Ua Haujlwm Tsim Tus Qauv ": Thaum Tus Ntxhais Hluas Tus Kheej tus kheej tsoo nws tus kheej tom qab tsoo 1.4 lab daus las, peb tus tsim sab hauv pib tshuaj xyuas seb nws ua tiav li cas. Muaj 2 lub tswv yim pib hauv peb lub siab: Thawj qhov yog cov hniav tau tsau rau ntawm lub hauv paus ntawm tus ncej thiab ob lub log
Tsim Koj Tus Kheej Tus Kheej Robot !!! - Qhia, Duab, thiab Yees Duab: 58 Kauj Ruam (nrog Duab)
Tsim Koj Tus Kheej Tus Kheej Robot !!! - Tutorial, Duab, thiab Video: EDIT: Xav paub ntau ntxiv txog kuv cov phiaj xwm txheeb xyuas kuv lub vev xaib tshiab: narobo.comKuv tseem ua kev sab laj rau neeg hlau, tshuab me me, thiab tshwj xeeb cov haujlwm/cov khoom lag luam. Txheeb tawm kuv lub vev xaib - narobo.com kom paub meej ntxiv
Ua Koj Tus Kheej Cov Ntaub Ntawv Tu Lub Tshuab Kom Tsawg Tshaj $ 80 thiab Txuag Tau $ 3000 thiab Ntau Ntxiv: 6 Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Cov Ntaub Ntawv Tu Lub Tshuab Kom Tsawg Tshaj $ 80 thiab Txuag Tau $ 3000 thiab Ntau Ntxiv: Thov zam txim kuv cov lus Askiv.Kuv tom qab kuv pom lub suab zoo yas yas kuv muaj teeb meem txhua cov ntaub ntawv aficionado muaj. Yuav ua li cas ntxuav cov ntaub ntawv kom raug!? Muaj ntau txoj hauv kev ib puag ncig hauv Is Taws Nem. Txoj kev pheej yig dua li Knosti lossis Discofilm tab sis kuj