Cov txheej txheem:

Cov Kov Siv Hluav Taws Xob: 7 Kauj Ruam
Cov Kov Siv Hluav Taws Xob: 7 Kauj Ruam

Video: Cov Kov Siv Hluav Taws Xob: 7 Kauj Ruam

Video: Cov Kov Siv Hluav Taws Xob: 7 Kauj Ruam
Video: Niam Ntiav (Remix) - Laim Lauj Ft. Kaj Siab Xyooj 2024, Hlis ntuj nqeg
Anonim
Cov Kov Hluav Taws Xob
Cov Kov Hluav Taws Xob
Cov Kov Hluav Taws Xob
Cov Kov Hluav Taws Xob
Cov Kov Hluav Taws Xob
Cov Kov Hluav Taws Xob

Npias (tseem Cider) Kais Kov kov nrog cov khoom siv hluav taws xob muab lub npe npias, ABV thiab cov lus piav qhia ntawm npias.

Koj tuaj yeem txuas mus rau tus kov kov hla koj lub wireless network LOSSIS txuas ncaj qha mus rau tus kov kov lub wireless nkag mus.

Khoom siv

Wemos D1 Mini ESP8266 Pawg Thawj Coj

Yooj yim rau/tawm Hloov

3.7 Volt rechargeable roj teeb

TP4056 roj teeb Charging Module

I2C Serial 128x64 SSD1306 OLED LCD Zaub LCD Module rau Arduino

Saib Amazon cov khoom siv qhov kawg ntawm qhov kawg.

Kauj ruam 1:

Kauj Ruam 2: Hlau Txhua Yam Ua Ke

Hlau Txhua Yam Ua Ke
Hlau Txhua Yam Ua Ke

Txuas lub roj teeb zoo thiab tsis zoo rau Lub Roj Teeb Module B+ thiab B-

Txuas Out + los ntawm Roj Teeb Module mus rau nruab nrab txhais ceg ntawm qhov qhib/tawm Hloov

Txuas ib qho ntawm cov ceg sab nraud ntawm qhov qhib/tawm mus rau 5 Volt txuas ntawm WEMOS D1 Mini

Txuas Tawm Tawm - los ntawm Roj Teeb Module mus rau hauv av ntawm ob qho tib si Wemos D1 Mini thiab OLED zaub

Txuas 3.3 Volt ntawm Wemos D1 Mini rau VCC ntawm OLED zaub

Txuas D1 ntawm Wemos D1 Mini rau SCL ntawm OLED zaub

Txuas D2 ntawm Wemos D1 Mini rau SDA ntawm OLED zaub

Kauj Ruam 3: Ua Haujlwm Wemos D1 Mini

Koj yuav tsum tau ua haujlwm Wemos D1 Mini siv Arduino IDE muaj nyob ntawm no:

Nov yog cov peev txheej zoo rau rub tawm IDE thiab teeb nws rau D1 mini.

Txuas D1 Mini rau hauv USB kab kom pom qhov chaw nres nkoj COM nws siv:

gist.github.com/carljdp/e6a3f5a11edea63c2c…

Ntxiv cov tsev qiv ntawv xav tau rau Kais Kais Sketch. Nov yog cov ntaub ntawv yuav ua li cas rub tawm/teeb tsa cov tsev qiv ntawv xav tau:

www.arduino.cc/en/guide/libraries

Koj yuav xav tau cov tsev qiv ntawv hauv qab no:

SPI

Hlau

Adafruit_GFX

Adafruit_SSD1306

ESP8266WebServer

ESP8266WiFi

WiFiClient

Rub lub Sketch ntawm no, qhib nws hauv Arduino IDE program thiab hloov qhov tsim nyog: hloov qhov:

nkag mus rau lub wireless network npe/SSIDentry rau lub wireless passwordtap tuav tus lej yog xav tau cov kev hloov pauv hloov pauv

tus lej IPAddress raws li xav tau. Tus qauv IP chaw nyob xav tau kom phim koj lub network.

"SOFT-SSID", "PASSWORD" (hauv ob qho chaw)

Kauj Ruam 4: Nkag mus rau IP Chaw Nyob rau Kais Kov hauv Web Browser

Nkag mus rau IP Chaw Nyob rau Kais Kov hauv Web Browser
Nkag mus rau IP Chaw Nyob rau Kais Kov hauv Web Browser

Sau tus IP chaw nyob uas koj tau muab rau Kais Kov rau hauv koj lub browser nyiam. Hauv cov ntawv txuas nrog qhov chaw nyob yog 192.168.1.201

Qhov ntawd yuav nqa daim foos los sau rau npias. Thaum koj ntaus "xa" cov ntaub ntawv yuav tshwm nyob rau ntawm tus kov kov lub vijtsam. Qhov WEB PAGE YUAV TSHUAJ "Kev sib txuas tau rov pib dua" tom qab khawm xa raug ntaus. Tsuas yog nws "rov qab" khawm rau lub vev xaib thiab koj yuav rov qab mus rau daim ntawv nkag thiab koj tuaj yeem hloov pauv thiab xa dua.

Sau lub npe npias Siv cov ntawv "Nruab Nrab" uas yog lub neej ntawd koj muaj 10 tus cim rau kab rau lub npe npias. Koj tuaj yeem siv 2 kab max. Yog tias koj siv ob kab rau npias lub npe ob kab kawg (Nqe lus piav qhia 3 thiab 4) yuav tsis muaj chav tso tawm. Koj tuaj yeem txo qhov ABV font loj thiab tau txais ib kab rov qab (Nqe lus piav qhia 3)

Yog tias koj xaiv tus ntawv loj koj tsuas muaj 7 tus cim thiab kab kawg (Nqe lus piav qhia 4) yuav tsis muaj chav tso tawm. Ib zaug ntxiv koj tuaj yeem txo ABV font loj thiab tau rov qab kab kawg (Nqe lus piav qhia 4).

Koj tuaj yeem ua si nrog cov ntawv me me thiab cov lus piav qhia txog thaum koj tau txais yam uas lawv xav tau. Qhov no yuav ua haujlwm tau los ntawm USB txuas ncaj qha rau hauv Wemos D1 Mini. Txhawm rau khiav nws tawm ntawm lub roj teeb tig qhov hloov mus rau "on". Thaum koj tshem lub Wemos los ntawm USB nrog lub zog hloov pauv koj yuav plam cov ntaub ntawv npias koj tau nkag mus thiab yuav tsum tau nkag nws dua. Lub teeb liab ntawm tus qauv qhia tias nws tau them, lub teeb ntsuab txhais tau tias nws raug them.

Kauj Ruam 5: Them Lub Roj Teeb

Them Roj Teeb
Them Roj Teeb
Them Roj Teeb
Them Roj Teeb

Txuas Micro USB cable rau hauv Cov Qauv Roj Teeb kom them lub roj teeb. Qhov LED liab thaum them, xiav thaum them nyiaj. Cov xim no yuav txawv rau koj tus qauv them nyiaj.

Lub roj teeb uas them tag nrho 1000mAh yuav khiav lub kais rau li 12 teev

Kauj Ruam 6: Ntxig Electonics rau hauv Kov Kov

Ntxig Electonics rau hauv Kov Kov
Ntxig Electonics rau hauv Kov Kov
Ntxig Electonics rau hauv Kov Kov
Ntxig Electonics rau hauv Kov Kov
Ntxig Electonics rau hauv Kov Kov
Ntxig Electonics rau hauv Kov Kov

Kuv vam tias kuv muaj qee qhov kev daws teeb meem zoo ntawm no, tab sis kuv tseem tab tom ua haujlwm. Daim duab ntawm no yog "siab tawv" ntawm qhov no muab tso rau hauv lub thawv xaum uas tau hloov kho. txhua yam rau hauv tus kais kov. Kuv tau ua "lub thawv ntoo" tso cov khoom siv hluav taws xob los ntawm qhov kuv tsis nyiam qhov zoo li nws.

Kuv xav tias thaum kawg kuv yuav cua nrog cov casing 3d luam tawm, tab sis kuv tseem prototyping teeb tsa.

Muaj qee qhov xav paub e-ntawv e-number qhia uas yuav zoo rau qhov no.

Kauj Ruam 7: Daim Ntawv Teev Npe Los Ntawm Amazon

Nov yog cov ntu uas kuv siv rau qhov kev tsim no: Roj teeb Module:

OLED Zaub:

ESP8266 Pawg Thawj Coj:

Hloov (Kuv tsis tuaj yeem hais tias kuv pom zoo qhov no, yuav tsum muaj qee qhov zoo dua):

Roj teeb (koj tuaj yeem mus nrog qhov loj me me haum rau koj, 1000mAh yuav nyob ntev txog 12 teev):

Pencil Box (txhua yam tuaj yeem haum rau hauv qhov no, tab sis kuv xav tias nws siab dhau thiab nws yog qhov haum zoo nkauj, koj yuav tsum ntxiv cov ntxig ntxig ntxiv): https://smile.amazon.com/gp/product/B00NJ0R23Q/ ref… nyeem ntxiv

Kais qhov ntxig:

Pom zoo: