Cov txheej txheem:
- Kauj Ruam 1: Sau npe rau Cov Ntaub Ntawv Txog Kev Siv Astronomy
- Kauj ruam 2: Cheebtsam
- Kauj ruam 3: Khoos phis tawj Software
- Kauj ruam 4: Circuit Court
- Kauj ruam 5: Txoj Cai
- Kauj Ruam 6: Rooj Sib Tham Kawg
Video: Wireless Lunar Phase Tracker: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Lunar phase tracker yog lub cuab yeej me me, uas tso cai rau koj sau cov ntaub ntawv tseem ceeb txog lub hli. Cov cuab yeej qhia rov qab tsis xws li pom kev pom kev, theem, hli nce thiab teev sijhawm thiab ntau dua.
Cov cuab yeej no yog qhov tseem ceeb rau txhua tus neeg uas muaj kev txaus siab hauv kev tshawb fawb lossis kev tshawb fawb astronomy thiab muab lub khoos phis tawj ua haujlwm zoo hauv lub desktop thiab yeej yog kev sib tham pib.
Txoj haujlwm yog yooj yim yooj yim thiab xav tau kev txuas hauv Is Taws Nem xws li ESP32 txawm li cas los xij koj tuaj yeem hloov kho tus lej kom ua haujlwm nrog WiFi ntaub thaiv npog, Ethernet ntaub thaiv npog lossis lwm yam khoom siv txuas nrog internet uas koj muaj. Lunar Phase Tracker tau tsim los ua haujlwm tawm ntawm Lithium-Polymer roj teeb thiab lub zog muaj txiaj ntsig zoo E-number zaub uas tsis tsuas yog muab lub vijtsam zoo saib tab sis tseem tuav cov duab kawg txawm tias lub zog tawm mus!
Kauj Ruam 1: Sau npe rau Cov Ntaub Ntawv Txog Kev Siv Astronomy
Cov kauj ruam no yog qhov tseem ceeb tshaj plaws (txawm hais tias tsis txaus ntseeg) raws li peb tab tom siv API online los sau peb cov ntaub ntawv. Thaum nws muaj peev xwm los xam lub hli theem, teeb pom kev zoo thiab lwm yam, nws yog txoj haujlwm tsis txaus siab ua. API peb tab tom siv muab cov ntaub ntawv hloov tshiab los ntawm chaw nres tsheb huab cua nyob thiab saib xyuas cov txheej txheem yog li cov ntaub ntawv peb tau txais, yog qhov txiaj ntsig hauv ntiaj teb tiag tiag thiab tsis yog ntawm qhov suav qhov tseem ceeb.
Lub taub hau mus rau Huab Cua Hauv Qab, nyem "zwm npe" thiab sau tag nrho koj cov ntaub ntawv. Tus as khauj yog dawb kiag li thiab yog li koj qhov API hu tsuav koj tsis thov ntau qhov txiaj ntsig ib feeb lossis ntau dua 500 qhov kev thov hauv ib hnub. Nco ntsoov koj cim rau nplooj ntawv no, koj ib txwm tuaj yeem rov qab los tom qab thiab siv API rau huab cua txheeb cais thiab lwm yam ntaub ntawv zoo. Thaum koj tau tsim koj tus as khauj, mus rau API Qhov Chaw, nyem rau ntawm "yuam kev yuav khoom" thiab xaiv txoj kev npaj pub dawb, koj tsuas yog yuav tsum tau nkag mus rau qee qhov ntsiab lus thiab koj yuav muaj teeb meem nrog tus devoloper Key ID. Tus ID no tshwj xeeb rau koj thiab yuav tsum tau khaws cia ntiag tug. Kuv tau muab kuv tus yuam sij hauv qhov piv txwv Arduino code uas peb yuav saib tom qab me ntsis. Koj zoo siab txais tos siv kuv Tus lej ID rau kev sim lub hom phiaj tab sis kuv pom zoo kom kos npe rau koj tus kheej.
Thaum koj muaj koj tus lej tshwj xeeb, koj tuaj yeem nkag mus rau Astronomy API cov ntaub ntawv, uas yog ncaj ncees liab qab heev. Koj yuav pom qhov piv txwv yooj yim uas zoo li qhov no:
api.wunderground.com/api/8c6dc2e5c6f36de9/a…
Qhov URL no tseem ceeb heev vim qhov no yog teeb meem rau peb nrog txhua cov ntaub ntawv peb xav tau los ua peb tes num. Mus tom ntej, nyem qhov txuas, koj yuav pom cov txiaj ntsig rau Sydney xws li lub hli hli, teeb pom kev zoo thiab lwm yam ntaub ntawv zoo. Ua tibzoo saib URL, peb yuav pom Sydney, Australia thiab tus lej ntev uas pib nrog "8c6dcwe …". Tus lej ntawd yog koj tus lej ID uas peb tau khaws ua ntej. Hloov tawm txoj cai ntawd nrog koj tus lej tshwj xeeb thiab saib yuav ua li cas, koj yuav tsum tau txais qhov txiaj ntsig zoo ib yam. Sim ua si ib puag ncig nrog cov chaw. Rau kuv tus kheej hauv South Africa, Kuv siv Johannesburg thiab ZA.
Kauj ruam 2: Cheebtsam
Yog li tam sim no rau cov khoom nthuav. Peb yuav xav tau ob peb yam, tsis ntau thiab tsis muaj ib qho ntawm lawv kim heev thiab kuv tau muab Amazon txuas rau cov khoom kuv siv. Nco ntsoov, yog tias koj ua tau zoo nrog lub cajmeem, tsis txhob siv cov khoom lossis cov khoom siv internet uas koj muaj. Rau kuv tsim, Kuv siv cov hauv qab no:
Waveshare E-Ink SPI 4.2 "SPI Zaub
- ESP32 Dev Board (Generic)
- Adafruit Power Boost 500
- 5000mAh Lipo Roj Teeb Pob
- Stripboard (Protoboard)
Koj yuav ofcouse xav tau cov cuab yeej yooj yim xws li:
- Soldering hlau
- Solder
- Multimeter
- Calipers
- Laum me ntsis kom cais cov kab ntawm protoboard
- Hlau
- Hlau Snips
- Kua nplaum (Kub kua nplaum yuav ua haujlwm)
- Lub laptop nrog Arduino IDE teeb tsa
Tsuas yog cov cuab yeej siv siab tshaj uas koj xav tau yog lub tshuab luam ntawv 3D los ua lub thawv. Yog tias koj tsis muaj ib qho, zoo, ua rau koj lub thawv thaiv tawm ntawm cov ntoo thiab txhais tes pom lossis txhua yam uas koj muaj. Thiab yog, kuv lub tshuab luam ntawv 3D yog qub thiab plua plav lol.
Kauj ruam 3: Khoos phis tawj Software
Ua ntej peb tuaj yeem pib ua haujlwm ntawm Circuit thiab programming, peb yuav xub xav tau qhov tshiab tshaj plaws ntawm Arduino IDE uas tuaj yeem pom ntawm no.
Txij li thaum peb tab tom siv ESP32 nrog Arduino core, peb yuav tsum tau teeb tsa lub hauv paus no ntawm Arduino IDE. Ua raws li phau ntawv qhia yooj yim no los ntawm Github uas qhia koj tias software thiab teeb tsa koj yuav tsum tau ua li cas koj thiaj tuaj yeem siv koj li ESP32 dev board hauv Arduino IDE.
Peb tseem yuav xav tau ob lub tsev qiv ntawv ntxiv kom tau txais peb cov haujlwm ua haujlwm. Thawj yog Arduino JSON lub tsev qiv ntawv uas tso cai rau peb nyeem thiab cais JSON thov uas yog qhov peb tau txais los ntawm Huab Cua Hauv Qab. Koj tuaj yeem rub tawm ob lub tsev qiv ntawv no los ntawm kuv tus kheej Dropbox lossis hauv qab no. Thaum koj muaj cov ntaub ntawv, rho tawm lawv thiab muab tso rau hauv koj lub tsev qiv ntawv Arduino. Feem ntau nws nyob ntawm C: / Cov Neeg Siv Koj Lub Npe / Cov Ntaub Ntawv / Arduino / tsev qiv ntawv. Nco ntsoov tias koj rov pib dua koj li IDE txwv tsis pub Arduino yuav tsis khaws cov tshiab ntxiv. Lub ntsiab Arduino SRC code tseem nyob hauv daim ntawv ntawd. Lub tsev qiv ntawv tseem muaj qhov hloov pauv ntawm cov qauv muab los ntawm Waveshare cov lus. Cov ntaub ntawv tau hloov pauv kom khiav ntawm ESP32 tus qauv nrog lawv GPIOs thiab kuv tau siv qhov tshiab "font" uas muaj tag nrho cov duab rau ntau theem ntawm lub hli.
Kauj ruam 4: Circuit Court
Ua li ntawd, kev sib tham rau qhov no yooj yim heev thiab tsuas yog xav tau ob peb yam khoom thiab cov xov hlau.
Lub tswv yim dav yog tias peb muaj Lipo charger Circuit, lub zog hloov pauv kom muab rau peb 5V thiab tom qab ntawd ESP32 Dev Kit uas txo qhov hluav taws xob mus rau 3.3V. Qhov 3.3V no tseem siv rau Waveshare E-Ink zaub. Yog, qhov no tsis muaj txiaj ntsig me ntsis vim txhawb nqa tom qab ntawd nqis nrog txoj cai tswj hwm tab sis ESP32 ua haujlwm dhau qhov txaus ntshai qhov hluav taws xob ntau. Ib puag ncig 2.5 - 3.6V. Qhov no tsis haum rau cov phiaj xwm roj teeb tshwj xeeb tshaj yog cov uas siv cov roj teeb lithium polymer.
Cov xov hlau yooj yim yog raws li hauv qab no:
- Boost converter 5V tso tawm Vin & GND ntawm ESP32 Dev Cov Khoom
- ESP32 3.3V 3.3V & GND E-Ink Zaub
- ESP32 PIN 18 CLK E-Ink Zaub
- ESP32 PIN 23 DIN/MOSI E-Ink Zaub
- ESP32 PIN 5 CS/SS E-Ink Zaub
- ESP32 PIN 32 DC E-Ink Zaub
- ESP32 PIN 33 RST E-Ink Zaub
- ESP32 PIN34 BUSY E-Ink Zaub
Koj tuaj yeem pom cov kab hluav taws xob yooj yim heev thiab kuv DIY cov laug cam tsuas yog siv li 15 feeb los tsim kho. Koj yuav tsum kuaj xyuas qhov luv Circuit Court nrog lub ntsuas cua ua ntej muab lub zog.
Kuv kuj tshem tawm cov LED los ntawm kuv ESP32 thiab Lipo boost board kom txuag tau txog 40mA ntawm lub zog thaum pw tsaug zog. Qhov no yuav pab cov roj teeb nyob ntev me ntsis. Koj tuaj yeem siv lub zog hloov pauv, lub zog txuag hluav taws xob, pib txiav tawm thiab lwm yam yog tias koj xav tau. Koj tuaj yeem nthuav txoj haujlwm no thiab ua rau nws nyuaj raws li koj xav tau.
Kauj ruam 5: Txoj Cai
Cov cai tuaj yeem pom nyob hauv daim nplaub tshev uas muab nkag rau theem 3 lossis koj tuaj yeem rub tawm cov ntawv.ino los ntawm hauv qab no. Koj yuav tsum tau teeb tsa cov tsev qiv ntawv cuam tshuam raws li tau hais hauv qib 3 kom tau txhua yam ua haujlwm ua ke. Tsis muaj ntau yam hais rau theem no raws li cov cai tau muab rau hauv kev ua haujlwm. Nco ntsoov muab koj tus lej SSID thiab tus lej network nkag ua ntej ntsuas qhov program, koj ib txwm tuaj yeem ua haujlwm ESP32 WiFi Scan txhawm rau txheeb xyuas ib qho kev sib txuas wireless uas nyob ze txawm li cas los xij hauv kuv qhov haujlwm, cov ntaub ntawv network tau teeb tsa hauv tus lej thiab tus lej nkaus xwb. Tej zaum koj tuaj yeem hloov kho nws kom nug txog lub network twg koj xav txuas rau:)
Cov cai yog yooj yim haum thiab kuv yuav siv qee lub sijhawm los tawm tswv yim thiab kho kom zoo hauv ob peb lub asthiv tom ntej. Peb pib txuas mus rau lub network, hauv kuv qhov xwm txheej, kuv lub tsev network. Tom qab ntawd peb sim txuas mus rau Huab Cua Hauv Qab thiab tau txais JSON cov ntawv los ntawm lub vev xaib. Lub tsev qiv ntawv ArduinoJSON yog siv los rho tawm. lossis cais tawm, JSON code rau hauv cov kab ntawv char lossis cov hlua uas tso cai rau peb los tswj cov txiaj ntsig ua ntej tso tawm rau tus neeg siv. Qhov kawg ntawm cov cai yog nruj me ntsis rau kev ua haujlwm GUI thiab tau ua tiav los ntawm kev sim thiab ua yuam kev. Kuv saib ntawm cov zaub, nce ntxiv lossis txo qis cov peev txheej thiab khiav cov cai ntxiv kom txog thaum kuv zoo siab nrog qhov loj npaum li cas, teeb tsa thiab cov duab zoo li cas.
Kuv tau siv sijhawm pw tsaug zog tob tob rau ESP32 kom txuag lub zog. Lub neej ntawd yog 60 vib nas this tab sis kuv qhia koj hloov tus nqi mus rau qee yam zoo li ib teev lossis ob teev txij li kev hloov tshiab tsis tshwm sim tsawg kawg ob peb teev. Cov piv txwv lees paub vib nas this yog li xyuas kom koj ua qhov kev hloov pauv kom raug.
Kuv kuj tseem siv Dot Factory program los tsim hex arrays rau cov ntawv tshiab. Cov ntawv no tau siv los tsim cov "duab" rau lub hli hli. Yog tias koj xav kho cov ntawv fonts tom qab ntawv xyuas kom tseeb tias koj siv cov program hais los saum no rau tiam neeg. Nws yog qhov ruam me ntsis txij li lub tsev qiv ntawv E-Ink tsis sau tseg zoo thiab feem ntau ntawm kuv txoj kev vam meej yog ua tsaug rau kev sim thiab ua yuam kev. Thaum kuv siv sijhawm ntau nrog cov cai no, Kuv yuav hloov kho Cov Lus Qhia kom muab cov ntaub ntawv ntau ntxiv ntawm kuv qhov kev tshawb pom.
Cov ntawv siv rau lub hli theem yuav tsum ua tiav raws li tus qauv ASCII txheej txheem. Yog tias koj qhib font24 hauv EPD-master nplaub tshev, koj tuaj yeem pom qhov teeb tsa qhov twg daim duab 1 tau pom los ntawm qhov chaw dawb, qhov thib ob yog "!" (exclamation sign) thiab lwm yam. Koj yuav pom tias kuv rub cov ntawv txuas uas siv tus lej 3 lossis lub cim hashtag hauv qhov kawg ntawm tus lej (ua haujlwm getLunarChar). Qhov no yog vim Arduino cia siab tias ASCII tus qauv los ntawm 32 txog rau 127. Vim tias peb siv fonts uas tsis muaj dab tsi ua nrog fonts tiag tiag thiab zoo li lub hli hli nraaj duab matrix, peb xav tau kom ntseeg tau tias ASCII tus yam ntxwv hais txog peb xaiv lub hli hli duab. Qhov no txhais tau tias siv ib qho! kos npe, peb lub hli hli ntawv qhia peb lub hli thib ob daim duab hauv daim ntawv ntawd. Yog tias koj saib ntawm lub hli lunar font, koj yuav pom tag nrho pawg ntawm lub hli hli, txhua qhov nrog qib sib txawv. Yav tom ntej kuv yuav ntxiv cov cai kom siv tau txhua daim duab peb tau siv. Tam sim no peb tsuas yog siv qee qhov txawm li cas los xij cov duab twb tau ua tiav hauv lub hli lunar font thiab tsuas yog yuav tsum tau ua tiav hauv cov cai kom siv nws.
Kauj Ruam 6: Rooj Sib Tham Kawg
Qhov kawg ntawm kev tsim thiab txaus siab tshaj plaws, yog txheej txheem sib dhos. Kuv tsim thiab 3D luam tawm ib lub thawv uas haum rau kuv lub rooj tsavxwm. Txoj haujlwm yog DIY heev, tsis muaj PCB tus kws tshaj lij lossis ib tus qauv txheej txheem. Rau feem ntau, lub thawv kuv siv yog loj txaus kom haum rau ib qho lipo charger lossis txhawb kev hloov pauv uas koj xaiv los siv. Tsuav lawv muab tib qho kev ua haujlwm yooj yim tau hais hauv Phau Ntawv Qhia no koj yuav tsum ua zoo.
Kuv siv 4 tus ntsia hlau los tuav lub sab saum toj thiab hauv qab ib nrab ntawm qhov thaiv ua ke thiab cov kua nplaum kub rau teeb tsa kuv li DIY Circuitry. Kuv siv qee qhov me me ntawm cov kua nplaum los tuav lub roj teeb hauv tab sis yog tias kuv muaj sijhawm ntau dua, kuv yuav tau ua tus lej tshwj xeeb rau txhua lub tshuab hluav taws xob.
Kuv kuj tau txiav txim siab ua lub qhov rau lub latching laub khawm nyob tom qab. Qhov no cuam tshuam lub roj teeb los ntawm kev txhawb nqa hloov pauv uas muaj txiaj ntsig yog tias koj tsis npaj yuav khiav lub cuab yeej 24/7. Hmoov tsis zoo qhov kev hloov pauv tseem siv lub zog txawm tias koj ESP32 nyob hauv hom pw tsaug zog.
Zuag qhia tag nrho kuv zoo siab heev nrog qhov tshwm sim. Kuv tau kawm ntau yam thaum siv ESP32 thiab tuaj yeem pom kuv tus kheej siv nws rau ntau yam haujlwm yav tom ntej.
Yog tias koj muaj lus nug, thov nug dawb, kuv yuav muaj siab txaus siab pab thiab yog tias koj pom muaj qhov ua yuam kev hauv Cov Lus Qhia no thov qhia rau kuv paub.
Kho: Kuv tau ua tiag CNC tshuab lub rooj plaub me me tsis yog luam tawm 3D uas yog qhov koj pom hauv cov duab tshwj xeeb.
Kho: Hauv cov duab tshwj xeeb peb pom lub hli puv nrog 99% lub teeb pom kev zoo. Yog li lub voj voog dawb, raws li lub hli dhau los ntawm nws cov ntu ib txwm muaj, cov duab ntawm lub hli yuav hloov raws li. Cov duab ntxiv yuav raug rub tawm raws li lub hli nce qib los ntawm nws cov theem kom koj tuaj yeem tau txais kev sawv cev ntawm cov duab.
Khiav Tawm Hauv Qhov Chaw Sib Tw
Pom zoo:
Movie Tracker - Raspberry Pi Powered Theatrical Release Tracker: 15 Cov Kauj Ruam (nrog Duab)
Movie Tracker - Raspberry Pi Powered Theatrical Release Tracker: Movie Tracker yog cov duab clapperboard, Raspberry Pi -powered Release Tracker. Nws siv TMDb API los luam daim ntawv tshaj tawm, lub npe, hnub tso tawm thiab cov lus pom ntawm cov yeeb yaj kiab yuav los tom ntej hauv koj cheeb tsam, nyob rau lub sijhawm tshwj xeeb ncua sijhawm (piv txwv li kev ua yeeb yaj kiab tso tawm lub lim tiam no) ntawm
IOT Lunar Rover Raspberrypi+Arduino: 5 Kauj Ruam (nrog Duab)
IOT Lunar Rover Raspberrypi+Arduino: Txoj haujlwm no tau tshoov siab los ntawm Indian lub hli lub hom phiaj Chandryaan-2 Uas yuav tshwm sim rau lub Cuaj Hli 2019. Qhov no yog lub luag haujlwm tshwj xeeb vim tias lawv yuav tsaws rau ntawm qhov chaw uas tsis muaj ib tus neeg tau tsaws ua ntej li. los qhia kuv qhov kev txhawb nqa kuv txiav txim siab bui
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Txhim kho USB Keyboard rau hauv OLPC XO Laptop, Phase I: 8 Cov Kauj Ruam (nrog Duab)
Txhim kho USB Keyboard rau hauv OLPC XO Laptop, Phase I: Kuv tsis paub txog koj, tab sis kuv tuaj yeem paub tseeb qhia silicone los ntawm qhov tiag. Nov yog yuav ua li cas pov cov jelly thiab nyem qhov ib txwm siv -caps-thiab-springs ntaus USB keyboard rau hauv OLPC XO laptop. Qhov no yog "theem I" - tau txais cov keyboard rau hauv l