Cov txheej txheem:

Lub Ntsej Muag Tiv Thaiv Qhov Muag: 8 Kauj Ruam (nrog Duab)
Lub Ntsej Muag Tiv Thaiv Qhov Muag: 8 Kauj Ruam (nrog Duab)

Video: Lub Ntsej Muag Tiv Thaiv Qhov Muag: 8 Kauj Ruam (nrog Duab)

Video: Lub Ntsej Muag Tiv Thaiv Qhov Muag: 8 Kauj Ruam (nrog Duab)
Video: Lub Zog Nruab Nrog (Hmong Dubbed) 2024, Hlis ntuj nqeg
Anonim
Ntse Contact Lens Dispenser
Ntse Contact Lens Dispenser
Ntse Contact Lens Dispenser
Ntse Contact Lens Dispenser

Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas thiaj ua rau koj tus kheej Smart Contact Dispenser!

Kauj ruam 1: Intro

Image
Image

Kauj ruam 2: Tom qab

Yam Khoom Xav Tau
Yam Khoom Xav Tau

Yog tias koj hnav cov neeg tiv toj koj tej zaum paub zoo txog cov thawv uas lawv tuaj. Cov neeg feem coob kuv paub, suav nrog kuv tus kheej, siv cov thawv no khaws cia tas mus li thiab peb tshem tawm peb cov neeg raws li xav tau txhua hnub. Qhov no ua rau muaj cov thawv nyob hauv kuv chav dej uas ua rau kuv vwm. Kuv paub tias yuav tsum muaj txoj hauv kev zoo dua los npaj cov neeg sib tham no yog li kuv tau tshawb hauv internet. Tom qab tsuas yog nrhiav qhov chaw xa khoom sib cuag uas ib tus neeg tau sim muag rau $ 25, Kuv tau tsim qee qhov yooj yim uas tuaj yeem pom ntawm no.

Lawv ua haujlwm tau zoo heev, tab sis kuv tsis tuaj yeem pab tab sis chim siab tias kuv yuav tsum rub txhua qhov kev sib cuag tawm ntawm tus kheej yog li kuv tau saib mus rau hauv txoj hauv kev kom txhua tus neeg sib cuag tau xa ncaj qha rau hauv kuv txhais tes. Txij li thaum kuv muaj ESP8266 tso ib puag ncig, Kuv txiav txim siab xaj xaj OLED kom kuv thiaj tuaj yeem nthuav qhia huab cua huab cua thaum kuv npaj tau thaum sawv ntxov.

Yog tias koj xav pom ntau ntxiv ntawm cov txheej txheem tsim thiab lawv hauv kev nqis tes txheeb xyuas cov vis dis aus saum toj no. Thov txiav txim siab sau npe yuav mus rau kuv tus YouTube channel txhawb nqa kuv thiab saib yeeb yaj kiab ntxiv.

Kauj Ruam 3: Cov Khoom Xav Tau

Rau qhov haujlwm no cov khoom xav tau yog cov hauv qab no:

1. 5V Fais Fab Khoom

2. IR LED thiab Photodiode Pair Amazon

3. 220 Ohm Resistor (2) Amazon

4. 10K Resistor

5. 10K Potentiometer Amazon

5. LM358 Op-Amp Amazon

6. 3.3V Zener Diode Amazon

7. Yooj yim LED

8. OLED Zaub 0.96 Amazon

9. 470 uF Capacitor (2) Amazon

10. 2 FS90R Servos (lossis Mod SG90 Servos) Amazon

11. Node MCU ESP8266 Amazon

12. Nkag mus rau 3D Tshuab Luam Ntawv (Txheeb xyuas koj lub tsev qiv ntawv hauv zos!)

Kev nthuav tawm: Cov kev sib txuas amazon saum toj no yog cov koom nrog sib txuas, lub ntsiab lus, tsis muaj tus nqi ntxiv rau koj, Kuv yuav khwv tau nyiaj ua haujlwm yog tias koj nyem dhau thiab ua kev yuav khoom.

Kauj ruam 4: Electronics

Electronics
Electronics

Tam sim no koj tau sau tag nrho cov khoom siv xav tau, nws yog lub sijhawm los pib ua txhua yam ua ke. Kuv yuav pom zoo kom thaiv txhua yam ntawm lub khob cij ua ntej thiab tom qab ntawd txhua yam ua haujlwm tau zoo mus tom ntej thiab muab txhua yam tso rau ntawm daim txiag ntoo.

Rau cov uas tsis tau paub dua nrog cov khoom siv hluav taws xob lossis tsis paub meej txog qee yam ntawm cov khoom siv, ntseeg kuv qhov Circuit no tsis phem heev. Kuv yuav sim ua kom tawg nws hauv qab no, thiab yog tias koj xav paub ntau ntxiv, txheeb xyuas cov vis dis aus txuas.

Ntawm sab laug peb muaj peb IR Led thiab Photodiode uas txuas nrog LM358 lub tshuab ua haujlwm zoo. Nov yog peb qhov kev sib thooj sib thooj uas pom peb txhais tes hauv qab kom qhia rau tus tswj hwm paub tias peb xav kom peb cov neeg sib cuag raug xa tawm. Qhov kev ncua deb uas koj xav kom koj txhais tes raug tshuaj xyuas tuaj yeem hloov kho siv 10K potentiometer. Cov txiaj ntsig los ntawm kab hluav taws xob no tau coj mus rau peb ESP8266 microcontroller uas peb yuav ua haujlwm siv Arduino IDE teeb tsa rau NodeMCU ESP8266. Qhov kev zov me nyuam yuav tos rau lub tswv yim los ntawm qhov sib thooj sib txuas, tom qab ntawd ua rau txoj cai servo, tos ib pliag kom koj txav koj txhais tes mus rau lub tshuab xa khoom sab laug, thiab tom qab ntawd ua rau sab laug servo. Txoj kev no ob qho kev sib cuag yuav raug xa mus rau koj txhais tes. ESP8266 tseem yuav txuas nrog WiFi uas yuav ua rau peb siv huab cua API los tso saib huab cua huab cua rau ob peb hnub tom ntej ntawm OLED zaub. Kuv pib nrog tsuas yog huab cua qhia pom tab sis dhau sijhawm kuv yuav twv yuav raug ntxiv cov yam ntxwv ntxiv.

Kauj Ruam 5: Tsim 3D thiab Luam Ntawv

3D Tsim thiab Sau
3D Tsim thiab Sau
3D Tsim thiab Sau
3D Tsim thiab Sau
3D Tsim thiab Sau
3D Tsim thiab Sau

Txij li cov khoom siv hluav taws xob suav nrog servo, ob peb LEDs, lub zog siv hluav taws xob, thiab qhov seem ntawm lub Circuit Court Kuv tau mus tom ntej thiab tsim kho peb lub tshuab pib sib cuag. Kuv tau ua nws hauv ob peb ntu uas yuav tsum tau muab lo lossis kaw ua ke vim tias kuv tsis xav tias zoo li ua tsis tiav luam ntev ntev.

Lub hauv paus ntawm peb lub chaw xa xov tooj sib txuas muaj ob lub qhov rau tawm 5 hli IR thiab Photodiode Leds, txiav tawm rau 5V lub zog siv hluav taws xob, thiab txiav tawm kom tso cov servos tso rau ib sab vim lawv tau siv los faib cov neeg sib cuag.

Kev sib cuag khaws cia tseem zoo ib yam li kuv tau tsim yav dhau los tab sis kuv txiav ib lub qhov rau hauv qab kom tawm servo log kom tig dawb. Kuv kuj tau nce qhov loj kom tso cai tiv tauj ntau ntxiv kom tshem tawm cov thawv ruam ib zaug thiab rau txhua qhov.

Cov ntaub ntawv rau OLED zaub thiab khoom siv hluav taws xob yog qhov yooj yim tab sis txij li thaum kuv siv tus qauv 50 x 70 mm perf board, Kuv tsim lub qhov rau nws kom swb ncaj rau qhov chaw.

Cov qauv tuaj yeem pom ntawm Thingiverse ntawm no.

Kauj ruam 6: Programming

Programming
Programming

Hauv cov theem no, kuv yuav qhia koj yuav ua li cas rau phiaj xwm ESP8266. Cov cai tsuas yog kev hloov pauv yooj yim ntawm qhov txaus ntshai ThingPulse esp8266 chaw nres tsheb huab cua (Github Txuas) huab cua piv txwv. Koj kuj tseem yuav tsum rub cov pob hauv qab no mus rau Arduino IDE:

1. ESPWifi

2. ESPHTTPClient

3. JsonListener

Thaum cov tsev qiv ntawv raug teeb tsa, rub tawm qhov program hauv qab no.

Koj yuav tsum tau sau koj li Wifi SSID, Wifi Password, sau npe rau huab cua nyob hauv av thiab tau txais koj tus lej API, thiab tseem pom koj tus lej ID. Thaum tag nrho cov no tau nkag mus rau hauv txoj cai, mus tom ntej rub tawm rau koj li NodeMCU.

Kauj Ruam 7: Muab tag nrho ua ke

Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke

Hauv cov kauj ruam no, peb yuav muab tag nrho cov khoom sib xyaw ua ke.

Qhov no suav nrog muab cov servos tso rau hauv lawv lub qhov, thawb IR Led thiab Photodiodes rau hauv lawv lub qhov, muab txhua yam tso rau ntawm daim txiag ntoo, ntxig rau lub rooj tsav tsheb perf rau hauv qhov chaw luam tawm, thiab txuas tag nrho lwm yam ntxiv.

Kauj Ruam 8: Xeem Nws

Tom qab koj tau txuas txhua qhov 3D luam tawm ntu ua ke thiab teeb nws rau ntawm phab ntsa, nws yog lub sijhawm los muab nws mus kuaj. Sau rau sab laug thiab sab xis hu rau lub thawv ntim khoom, ntsaws lub zog, thiab tom qab tos rau lub vijtsam OLED kom khau raj nrog koj cov huab cua hauv nroog thiab sim nws!

Pom zoo: