Cov txheej txheem:
- Kauj ruam 1: Kho vajtse
- Kauj Ruam 2: DAY Zaub
- Kauj ruam 3: Txuas Txuas & Software
- Kauj ruam 4: On Power Up
Video: Tseem Lwm Lub Sijhawm: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Raws li tuaj yeem pom los ntawm kuv qhov kev tso tawm yav dhau los Kuv tau txais qee 7 Segment Display boards los ntawm qee yam khoom siv hnyav.
Kuv qhov kev siv yav dhau los siv Arduino nrog Lub Sijhawm Sijhawm Sijhawm Sijhawm.
Cov lus qhia no siv ESP8266 D1 Mini txuas nrog NTP server!
Txoj cai yog ua piv txwv los ntawm ESP8266WiFi lub tsev qiv ntawv.
Kuv yuav tsis mus rau hauv kev nthuav dav hais txog 7 Segment zaub thaiv raws li muaj ntau kaum tus piv txwv ntawm net. 2 cov laug cam kuv muaj, siv MAX7219 tus lej txiav tus tsav tsheb, cov no tsuas yog xav tau 3 tus pin los tswj txog 8 x 7 Segment Displays.
Kuv kuj xav qhia hnub tim, yog li xav tau 3 tus pin ntxiv!
Kuv xav tau lwm 7 ouputs los tso saib Hnub! Txhawm rau kom nyob ib puag ncig qhov tsis muaj cov pins tso tawm, Kuv tau xaiv Neo Pixel zaub, 1 tus pin, 7 tawm!
Kauj ruam 1: Kho vajtse
Qhov yuav tsum tau ua
12 x 7 ntu nthuav qhia (hauv kuv qhov xwm txheej kuv muaj hmoo heev uas muaj ob peb lub tshuab hnyav hnyav uas tau txuag ntau txoj hlua hlau.
1 x ESP8266 D1 Mini LOSSIS ib qho ESP8266 nrog 7 lossis ntau dua cov txiaj ntsig digital
2 x MAX7129 (Ib zaug ntxiv, Kuv muaj hmoo tau muaj lub tshuab ua kom hnyav lub rooj zaub)
1 x Ncaj 8 NeoPixel zaub
2 x qib shifters
1x5v zog
Kauj Ruam 2: DAY Zaub
Txog qhov no kuv siv ib feem ntawm daim npav rho nyiaj qub rau hauv paus, qee daim npav tuab (hauv kuv cov ntaub ntawv 300gsm daim duab) thiab qee qhov muab ob npaug rau daim kab xev.
Nws tsuas yog 2 daim kab xev ntawm daim kab xev txiav nrog rab riam tes. Qhov sib nrug yog qhov deb ntawm LEDs ntawm NeoPixel board.
Cov kab ntawv nyias nyias ntawm daim npav tau siv los tsim cov channel rau txhua hnub.
Cov npe hnub tau luam tawm ntawm kab xev meej nrog Dymo daim ntawv lo.
Kauj ruam 3: Txuas Txuas & Software
ESP8266 cov khoom lag luam yog qhov zoo tshaj plaws vim yog
a) Lawv yog cov av pheej yig
b) Lawv xav tau ob peb yam sab nraud
Kuv xav tau 5v rau cov lus qhia thiab 3v rau ESP yog li kuv tau siv ob peb qib hloov pauv nrog lub zog 5v.
MAX7219 tsuas xav tau 3 tus pin los tswj txog 8 cov lus, cov no yog tus pin 1 (Din), 12 (Load / CS) & 13 (Clock).
Cov no tau txuas nrog ntawm qib hloov pauv.
Cov cai yog raws li hauv qab no:
// inputs: DIN tus pin, CLK tus pin, LOAD tus pin tus lej ntawm cov chipLedControl mydisplay = LedControl (3, 2, 1, 1)
LedControl datesisp = LedControl (7, 6, 5, 1);
Tus lej ntawm cov chips tau teeb tsa ntawm 1 vim tias kuv tab tom kho 2 cov lus raws li cov khoom sib cais es tsis siv DOUT thiab ua rau lawv poob.
NeoPixel txuas nrog digital output 4
#Txhais tus lej PIN 4
#define NUMPIXELS 7 (tsis quav ntsej 1 ntawm 8 LEDs)
Muaj qee qhov #suav nrog txhua qhov uas tuaj yeem pom ntawm GitHub.
Router SSID & PASSWORD yuav tsum tau nkag thiab NTP Server xaiv, (Kuv Googled NTP Servers dawb)
Kauj ruam 4: On Power Up
Ntawm lub zog, NeoPixel LEDs tau ripped los ntawm, tom qab ntawd, 7 ntu ntu qhia pom hloov pauv 'c' & '8' kom txog thaum kev sib txuas tau ua rau lub router.
Yog tias txhua ntu qhia qhov sib txuas c8 nws txhais tau tias NTP server txuas tsis tau tsim, rov pib dua yuav tsum daws qhov no.
Thaum kev sib txuas tau tsim, Lub Sijhawm & Hnub tau tshwm sim, Hnub tau qhia los ntawm LED xiav.
Pom zoo:
Siv DS1307 thiab DS3231 Lub Sijhawm Teev Sijhawm Sijhawm Nrog Arduino: 3 Kauj Ruam
Siv DS1307 thiab DS3231 Lub Sijhawm Caij Nyoog Sijhawm Nrog Arduino: Peb tseem tau txais kev thov yuav siv DS1307 thiab DS3231 lub sijhawm teev sijhawm nrog Arduino los ntawm ntau qhov chaw-yog li qhov no yog thawj ntawm ob ntu kev qhia yuav siv li cas. Txog qhov kev qhia Arduino no peb muaj ob lub sijhawm teev sijhawm ua haujlwm rau peb
Lub Sijhawm Teem Sijhawm Teem Sijhawm ntawm RaspberryPi-4: 6 Cov Kauj Ruam (nrog Duab)
Lub Sijhawm Teem Sijhawm Teem Sijhawm ntawm RaspberryPi-4: Hauv Cov Lus Qhia no peb yuav ua lub ntsej muag-paub lub sijhawm tiag tiag ntawm Raspberry Pi 4 nrog Shunya O/S siv Shunyaface Library. Koj tuaj yeem ua tiav qhov ntsuas pom ntawm 15-17 ntawm RaspberryPi-4 los ntawm kev ua raws cov lus qhia no
Tseem Muaj Lwm Qhov ATX Lab Lub Rooj Sib Tham Lub Hwj Huam Hloov Pauv Hloov: 6 Kauj Ruam
Tseem Muaj Lwm Qhov ATX Lab Lub Rooj Sib Tham Lub Hwj Huam Hloov Chaw: Qhov haujlwm no tsim los ntawm cov tswv yim ntawm txoj haujlwm qhia yav dhau los: https://www.instructables.com/ex/i/D5FC00DAB9B110289B50001143E7E506/?ALLSTEPS Qhov txawv loj yog qhov kuv txiav txim siab kuv tsis xav tau los rhuav tshem kuv lub zog ATX hauv kev hloov pauv
Tseem Tseem Lwm Cov Duab Duab (Linux): 9 Kauj Ruam
Tseem Tseem Lwm Cov Duab Duab (Linux): Tau pom lwm qhov qauv kuv xav sim ua ib qho ntawm kuv tus kheej. Txawm hais tias tsis raug nqi ntawm ~ $ 135 nws yog qhov haujlwm lom zem thiab kuv zoo siab heev nrog cov txiaj ntsig. Nws yog qhov yooj yim huv thiab tsuas yog xav tau ib lub xaim me me rau lub zog. Tus Nqi Project: Laptop wi
Lwm Qhov Tseem Ceeb Usb Casing, Lub Sijhawm no rau Cov Koob Yees Duab Analog: 3 Kauj Ruam
Lwm Qhov Tseem Ceeb Usb Casing, Lub Sijhawm no rau Cov Koob Yees Duab Analog: Kuv muaj tus yuam sij usb dag ntawm kuv lub rooj rau ib ntus, lub casing tau tawg thiab qhib thiab kuv khaws nws kom txog thaum kuv pom qhov hloov pauv zoo. Kuv vam tias qhov kev xav sib xws ntawm nws yuav thov cov kws yees duab zaj duab xis ntawm kev qhia