Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw
- Kauj Ruam 2: Tsim Cov Hluav Taws Xob Hluav Taws Xob
- Kauj ruam 3: Upload Firmware
- Kauj Ruam 4: Yuav Siv Li Cas
- Kauj Ruam 5: Kuv Yuav Ua Li Cas Yog Lub Sijhawm Tsis Teb?
- Kauj Ruam 6: Yeem: Customize UI
- Kauj Ruam 7: Xaus
Video: WiFibonacci Moos: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Kuv tau txais kev tshoov siab los ntawm Txaus Fibonacci Clock (tsim los ntawm Philippe Chrétien) thiab kuv txiav txim siab ua kom nws siv wireless siv Wifi, yog li lub npe ntawm WiFibonacci Clock = D
Kev txhim kho tseem ceeb yog kev hloov pauv ntawm Atmega328 nrog ESP8266 muab WiFi muaj peev xwm. Nov yog game-hloov pauv raws li peb tam sim no tuaj yeem ua ib feem ntawm lub cev UI muaj ESP ua tus Websocket server. Tsis tas li ntawd, qhov tsis zoo ntawm UI tso cai rau xaiv ntau txoj hauv kev.
Cov npe ntawm cov qauv uas twb muaj lawm uas Philippe suav nrog hauv nws tsim yog:
- Lub Sijhawm Tam Sim No
- Zaj sawv
- Zaj sawv
- Yuam Cai Zaub
Kuv tau xaiv tshem qhov yuam kev Code Zaub hom thiab ntxiv cov npe hauv qab no ntawm cov qauv tshiab:
- Random
- Mem tes
- Teeb Pom Kev
Rau txhua hom, ntau qhov chaw tuaj yeem hloov kho.
Tsuas muaj ob lub nyees khawm nyob hauv kuv tus qauv:
- Hom khawm
- Khawm ci ci
Qhov ci ntsa iab kuj yog kev txhim kho. Lub sijhawm hloov kho tuaj yeem ua tiav ntawm lub virtual UI.
Hauv Cov Lus Qhia no Kuv yuav tsis piav qhia yuav ua li cas thiaj li ua lub thawv ntim khoom raws li tau hais tseg hauv Philippe cov lus qhia, Kuv tsuas yog piav qhia yuav ua li cas thiaj ua rau Wireless / Wifi txuas.
Yog tias koj nyiam cov lus qhia no thov pov npav ntawm no:
Kauj Ruam 1: Qhov Chaw
Txhawm rau tsim lub wireless wireless koj yuav xav tau:
- 1 x ESP8266, version esp-07 yog qhov kuv nyiam tshaj
- 1 x DS3231 RTC, lossis sib npaug
- ib kab ntawm 9 LED pixels (WS2811)
- 1 x pawg thawj coj saib
- 3 x lub sijhawm thawb khawm
- 1 x rocker hloov
- 6 x txiv neej ncaj headers
- 2 x txiv neej 90 ° lub taub hau
- 3 x poj niam lub taub hau
- 1 x LM1117 3V3 Tus tswj hluav taws xob
- 1 x 10µF capacitor
- 1 x AC/DC phab ntsa adapter (12V 1A piv txwv)
- 1 x chim poj niam txuas (loj ib yam li cov phab ntsa adapter txuas)
- qee cov xov hlau/dhia
- qee qhov cua sov-ntsws tubing
Txhawm rau rub cov firmware hauv ESP koj yuav xav tau FTDI RS232 programmer thiab qee tus dhia.
Kauj Ruam 2: Tsim Cov Hluav Taws Xob Hluav Taws Xob
Txuas txhua ntu ua ke raws li qhia ntawm cov sawv cev hluav taws xob. Cov ntaub ntawv Fritzing tuaj yeem rub tawm los ntawm kuv qhov chaw cia khoom git:
Coj mus rau hauv tus account tias qhov kawg ntawm lub Circuit Court yuav tsum tau tiaj tus thiaj li nws haum rau hauv lub qhov rooj qub.
Tsis tas li kuv tau xaiv siv txiv neej/poj niam lub taub hau ua tus txuas rau LED kab txaij, qhov no yuav pab thaum sib dhos hauv lub thawv.
Kuv nthuav tawm 3 tus pin rau ESP lub cajmeem: GND, RX thiab TX thiab tseem rov pib dua.
Kauj ruam 3: Upload Firmware
Rub tawm cov firmware los ntawm kuv qhov chaw cia khoom git:
Txuas FTDI rau ESP siv 3 tus pin nthuav tawm (GND, RX thiab TX) thiab siv Arduino IDE txhawm rau rub tawm lub firmware. Yog tias koj tsis tau ua qhov ntawd ua ntej, tsuas yog ua raws qib 1 ntawm Ible yav dhau los. Kuv sau:
Yog tias txhua yam mus zoo koj yuav tsum tsuas yog tuaj yeem pom nws ua haujlwm!
Kauj Ruam 4: Yuav Siv Li Cas
Thawj qhov yog txhawb lub moos.
Tom ntej no, siv cov cuab yeej siv internet xws li lub khoos phis tawj, ntsiav tshuaj lossis lub xov tooj smartphone, txuas rau lub network hu ua WiFibonacciClk, tus password yog fibonacci.
Thaum koj lub cuab yeej txuas nrog lub moos, qhib qhov URL https://192.168.4.1 hauv qhov browser. Koj yuav tsum pom kwv yees tib lub UI zoo li hauv daim duab.
Muaj koj tuaj yeem teeb tsa yuav luag txhua yam.
Hauv seem General muaj ob peb hom. Txhua hom nws muaj nws tus kheej teeb tsa:
-
Moos: qhov no yog thawj lub moos tso saib, cov teeb tsa nyob hauv Ntu ntu:
- Hnub thiab sijhawm tuaj yeem hloov kho tus kheej los ntawm kev ntes nws. Koj tseem tuaj yeem yooj yim nyem rau ntawm "tam sim no" khawm, nws yuav siv koj lub cuab yeej hnub thiab sijhawm!
- Cov xim palette tuaj yeem hloov pauv. Los ntawm lub neej ntawd tsuas muaj ib lub palette tab sis koj tuaj yeem tsim thiab upload koj tus kheej cov xim, qee qhov piv txwv tuaj yeem pom ntawm kuv github:
- Thaum koj muaj ntau lub palettes hauv cov npe koj tuaj yeem xaiv qhov twg yuav raug siv
- Txhawm rau nyeem lub sijhawm saib ntawm lub moos thov nyeem Kauj Ruam 1 ntawm Philippe Ible ntawm no:
-
Rainbow Cycle thiab Rainbow: cov no yog cov xim hloov pauv zoo nkauj, lawv sib qhia ib qho nkaus xwb hauv ntu Zaj sawv:
Qhov ncua ntawm txhua qhov xim tuaj yeem hloov kho los ntawm rub lub bar lossis hloov tus lej. Qhov loj dua tus lej "qeeb" cov nyhuv zaj sawv
-
Random: plaub fab ntawm lub moos teeb pom kev zoo nrog xim xim. Hom no tuaj yeem hloov kho hauv ntu Random:
- Ncua: qhov ncua ntawm txhua qhov kev sib tw zaum tshiab tuaj yeem hloov pauv
- Yooj yim: lub sijhawm ua kom lub ntsej muag qis dua tuaj yeem hloov pauv
-
Pulse: tag nrho cov LEDs teeb nrog tib xim ploj mus thiab tawm ntawm lwm qhov. Cov chaw nyob hauv ntu Pulse:
- Koj tuaj yeem hloov xim ntawm LEDs los ntawm kev siv lub thawv xim zoo nkauj
- Koj tseem tuaj yeem hloov qhov "nrawm" LEDs ploj thiab tawm li cas
-
Lub teeb tsis tu ncua: qhov no zoo li lub teeb nyem, ib txwm nyob. Tsuas yog teeb tsa rau hom no yog nyob rau ntu ntu teeb pom kev zoo:
Koj tuaj yeem hloov xim ntawm LEDs
Dhau li ntawm txhua qhov kev teeb tsa koj tuaj yeem kho qhov ci ntawm LEDs hauv ntu General. Qhov teeb ci ci yuav tsis cuam tshuam rau cov qauv uas siv fading zoo li hom Random lossis Hom Pulse.
Koj tseem tuaj yeem txuag koj cov chaw yog tias koj xav faib lawv lossis muaj thaub qab, tsuas yog nyem rau ntawm Rub lub pob ntawm ntu ntu (koj tuaj yeem xa rov qab los ntawm tib seem ntawd)! Lub moos tuaj yeem rov qab los rau nws "chaw" teeb tsa ib yam nkaus, qhov no yuav cuam tshuam lub teeb liab wifi ib ntus thiab koj yuav tau rov txuas dua thiab rov qhib nplooj ntawv.
Nco tseg: koj cov chaw yuav raug khaws cia hauv lub cim xeeb txawm tias koj tso lub moos kaw.
Tau kawg tseem muaj lub cev sib cuam tshuam nyob tom qab ntawm lub moos uas yuav tso cai rau koj hloov pauv yooj yim:
- Pib dua khawm: thawb nws kom rov pib dua/rov pib dua lub micro-maub los yam tsis plam qhov teeb tsa.
- Lub teeb ci ntsa iab: tswj tuav lub pob no kom dim ntawm LEDs. Thaum koj mus txog qhov qis tshaj, tso lub pob thiab thawb nws dua kom dim ntawm LEDs. Qhov sib txawv tshwm sim thaum koj mus txog qhov siab tshaj plaws.
- Hom khawm: thawb khawm no kom hloov mus los ntawm cov qauv uas twb muaj lawm.
- Rocker hloov: rau tus kws tshaj lij nkaus xwb;) qhov kev hloov no tso cai rau koj teeb tsa ESP hauv kev ua haujlwm/hom khiav
- Lub cajmeem txoj haujlwm: qhov no yog qhov koj xav txuas koj li FTDI txhawm rau txhawm rau nyem ESP
Koj tuaj yeem txuas ntau lub cuab yeej rau lub moos, txhua qhov kev hloov pauv yuav raug cuam tshuam los ntawm txhua tus neeg lub cuab yeej ua tsaug rau lub websocket thev naus laus zis!
Kauj Ruam 5: Kuv Yuav Ua Li Cas Yog Lub Sijhawm Tsis Teb?
Qee zaum, vim tias muaj cov xim tsis zoo lossis Murphy txoj cai tau tshwm sim, lub moos tau "cib" / nyam / tsis teb.
Hauv qhov xwm txheej ntawd Wifi interface yuav tsis muaj txiaj ntsig thiab tsuas yog txoj hauv kev tawm yog rov pib dua lub moos rau nws lub Hoobkas teeb tsa.
Txhawm rau rov pib lub moos rau nws tus kheej lub Hoobkas teeb tsa ua raws li hauv qab no: tswj lub khawm khawm nias thiab nias lub pob pib dua, tom qab ntawd tso ob lub khawm.
Ceev faj: qhov no yuav tshem tawm koj cov chaw thiab cov xim uas koj yuav tau muab tso rau hauv lub moos.
Kauj Ruam 6: Yeem: Customize UI
Yog tias koj xav hloov UI, tshem tawm cov qauv, ntxiv hom thiab lwm yam koj yuav pom me me yuav ua li cas rau ntawm kuv github:
Kauj Ruam 7: Xaus
Lub moos no lom zem thiab nws tus neeg tsim khoom ci ntsa iab!
Koj yuav pom tias kuv tsis muaj txuj ci zoo li Philippe hais txog kev ua ntoo: D
Kuv muaj lub sijhawm zoo los tsim UI rau lub moos no thiab nws yog qhov tsim nyog nws!
Yog tias koj muaj lus tawm tswv yim lossis tawm tswv yim zoo qhia nws hauv qab no!
Ua tsaug rau koj nyeem.
Khiav Tawm Hauv Kev Sib Tw Wireless
Pom zoo:
DIY Exploding Phab Ntsa Moos Nrog Teeb Pom Kev Zoo: 20 Cov Kauj Ruam (nrog Duab)
DIY Exploding Wall Clock With Motion Lighting: Hauv qhov kev qhia / vis dis aus no kuv yuav qhia koj ib kauj ruam zuj zus yuav ua li cas thiaj muaj tswv yim thiab tshwj xeeb saib phab ntsa moos nrog kev teeb tsa teeb pom kev zoo.Qhov no lub cim tshwj xeeb tsim lub tswv yim yog qhia ua kom sib tham ntau dua . Thaum kuv taug kev
Cov Tub Ntxhais Hluav Taws Xob Moos Moos: 9 Kauj Ruam (nrog Duab)
Cov Tub Ntxhais Hluav Taws Xob Moos: Kuv ib txwm tau nyiam los ntawm cov teev tsis txawv txav. Nov yog ib qho ntawm kuv qhov kev tsim kho tshiab kawg uas siv cov tub ntxhais txias txias tus lej los tso saib lub sijhawm. Cov lej tau muab tso rau ntawm ib daim me me ntawm Plexiglas uas muaj cov ntawv nyias nyias laminated rau tom qab
Ua Koj Tus Kheej Retro Nixie Moos Nrog RTC !: 7 Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Retro Nixie Moos Nrog RTC!: Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim lub moos nixie retro li cas. Qhov ntawd txhais tau tias kuv yuav qhia koj li cas koj tuaj yeem tswj cov hlab nixie nrog lub zog hluav taws xob DC lub zog loj thiab tom qab ntawd kuv yuav muab 4 lub raj nixie nrog Arduino, Lub Sijhawm Tiag (RTC) thiab
ESP8266 POV Ntxuam nrog Moos thiab Web Page Hloov Kho Tshiab: 8 Kauj Ruam (nrog Duab)
ESP8266 POV Ntxuam nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab: Qhov no yog qhov hloov pauv tau sai, POV (Kev Pom Kev Tsis Pom Kev), Kiv cua uas tsis tu ncua qhia lub sijhawm, thiab ob kab lus uas tuaj yeem hloov kho tshiab "ntawm yoov." kuj tseem yog nplooj ntawv web server uas tso cai rau koj hloov ob kab ntawv rau kuv
Duab ntxoov ntxoo moos: 20 Cov Kauj Ruam (nrog Duab)
Duab ntxoov ntxoo moos: Lub moos Photon yog txoj hauv kev lom zem los ua kom zoo saib zoo li lub moos tsis tas yuav tsim lub zog nyuaj uas tsuas tuaj yeem ua nrog lub tshuab luam ntawv 3D lossis tshuab CNC! Lub tswv yim ua haujlwm zoo li no: lub teeb los ntawm kaum ob LEDs nyob ib ncig ntawm ciam teb t