Cov txheej txheem:
Video: LED Art Tsheb Tank. FadeCandy + RPi: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Los ntawm KroloFollow Ntau los ntawm tus sau:
Hauv cov lus qhia no kuv yuav qhia yuav ua li cas rau daim duab qhia chaw LEDs rau cov duab tsis zoo ib yam siv 3 Fade cov khoom qab zib, Raspberry Pi3, thiab sim thawj zaug ntawm nab nab. Kuv cov phooj ywg tau ua haujlwm rau kuv txhawm rau txhim kho lawv lub tsheb kos duab uas zoo li lub tank yog li kuv tau siv lub tswv yim ntawd thiab muab tus qauv tshiab. FadeCandy cov laug cam yog cov khoom adafruit yog li lawv muaj cov teeb tsa qhia tau zoo: https://learn.adafruit.com/1500-neopixel-led-curta …
Cov lus qhia no txhim kho ntawm qhov teeb tsa yooj yim ntawd.
Rau qhov project cov ntaub ntawv raws li hauv qab no:
5 Cov ntawv ntawm 1/2 plywood (xyuas kom nws yog cov khoom zoo uas tsis ua rog)
987 WS2811 LEDs sab nraum zoov
1 Raspberry Pi
3 Fade Candy Boards thiab mini usb cables
30a5 wb
20v 5v psu (Nov yog qhov kuv tau pw ib puag ncig)
3 tus neeg xyuas pib 22awg xaim (tso tseg)
Silicone kua nplaum x 4 leeg
Cameo tsuag xim x 8 poom
Cov Cuab Yeej Siv:
Cordless laum
15/32 laum ntsis
Yeej pom
Yog saw
CnC tshuab (yeem)
Rooj pom
Siv tawv
Dremel sander
Kauj Ruam 1: Tsim, Txiav, thiab Xim
Ua ntej kuv pib nrog kev ntsuas ntawm cov qauv uas twb muaj lawm, qhov no yog lub laub golf. Ib sab yuav ua los ntawm 2 lub vaj huam sib luag thiab lub qhov rooj nrog 3. Txij li cov LEDs yog 3 sib nrug kuv txiav txim siab ua qhov sib nrug 2 1/2. lub rooj pom thiab xuab zeb nrog txoj siv sander. Lub zog thiab cov menyuam uas kuv tau ua nrog kuv lub tshuab cnc. Ua tib zoo kos tawm daim phiaj qauv Kuv thawj zaug ua ntej laum me ntsis kom tus 15/32 ntsis tsis taug kev. Kuv siv dremel sander txhawm rau tshem tawm txhua lub qhov hauv ntej thiab nraub qaum. Thaum tso rau hauv LEDs koj xav ua kom muaj txiaj ntsig zoo tshaj plaws, tsis txhob txhawj txog tus lej nyob ze rau qhov twg, peb yuav txhawj xeeb txog lawv tom qab. Ua li cas lawv lub cev haum zoo tshaj plaws. Kuv tau siv meej silicone kua nplaum los tuav txhua qhov chaw ntawm qhov tob tob.
Kauj Ruam 2: Tus Zauv thiab Kov
Txhua qhov chaw nres nkoj ntawm cov khoom qab zib ploj tuaj yeem txhawb nqa txog 64 LEDs. Peb tab tom siv qhov sib txawv me me rau txhua txoj hlua nyob ntawm seb kev tsim qauv tau tso tawm li cas. Kuv pib cim txhua LED nrog tus cim tab sis tom qab ntawv tsuas yog kos tus lej kawg. Nov yog qhov txaus siab, suav thiab muab lawv tso rau hauv daim ntawv nthuav qhia zoo (Kuv nyiam siv qhib chaw ua haujlwm). Nyob ntawm seb koj tso cov LEDs nyob rau hauv kab rov tav lossis ntsug koj tuaj yeem siv lub ntsej muag sau ua kom yooj yim dua. Tom qab txhua sab piav qhia hauv excel peb tuaj yeem siv lawv los teeb tsa cov kab nyob ib puag ncig hauv cov cai. Koj tseem tuaj yeem xa cov ntawv nthuav tawm ua csv kom nrawm ntxiv lawv rau hauv koj cov cai. Hauv kev maj nrawm kuv tau tso tus lej (341) nyob nruab nrab ntawm cov laug cam thiab ntau dua li ua tag nrho cov pawg ntawm kev rov sau dua Kuv thaum kawg siv nws los ua tus muab tso rau qhov tsis sib thooj kom sib npaug ntev ntau pawg.
Ntawm fcserver.json cov ntawv, nco ntsoov tias kuv siv feem ntau 50 LED strips tab sis tsis tas li, yog li cov lej yuav tsum tau hloov kho
Kauj ruam 3: Coding
Kuv tsuas muaj ob peb teev sijhawm zoo los ua qhov no ua ntej nws yuav tsum tau dov tawm lub qhov rooj yog li zam txim rau kuv yog tias muaj qee qhov tsis ua haujlwm. Ua ntej kuv tau hla lub log ua haujlwm los ntawm arduino neopixel code yog li peb tuaj yeem yooj yim ib tus lej rau xim tsis yog peb. Tom qab ntawd kuv theej los ntawm daim ntawv nthuav qhia cov lej rau hauv cov kab ntawv ntawm yuav ua li cas kuv xav kom lawv ua ntu zus, yog li tsim cov thav duab ntawm cov duab ua yeeb yaj kiab. Looping los ntawm ntau qhov ntau qhov yooj yim tab sis xav kom nws sib npaug ntev yog li kuv hloov LED kuv tsis siv los ua cov kab txawm tias. Kuv xaus nrog cov qauv ntsuas ntxiv rau ob txoj haujlwm zoo.
Muaj ntau txoj hauv kev los pib qhov program ntawm khau raj. Kuv kho cov ntaub ntawv xyz.desktop rau tus neeg siv tsis raug thiab ntxiv kab los pib cov ntawv nab nab yog li tsis muaj lwm yam kev ua yog qhov tsim nyog rau qhov no kom pom lub zog nrog.
Rau kuv thawj qhov haujlwm Python nws tau lom zem thiab kuv vam tias los ntawm kev qhia kuv tus lej yuav pab qee tus ntawm koj.
Pom zoo:
Howto: Txhim Kho Raspberry PI 4 Headless (VNC) Nrog Rpi-imager thiab Duab: 7 Kauj Ruam (nrog Duab)
Howto: Txhim Kho Raspberry PI 4 Headless (VNC) Nrog Rpi-imager thiab Duab: Kuv npaj yuav siv Rapsberry PI no nyob rau hauv pawg ntawm cov haujlwm lom zem rov qab rau hauv kuv qhov blog. Xav tias dawb los xyuas nws. Kuv xav tau rov qab siv kuv Raspberry PI tab sis kuv tsis muaj Keyboard lossis Mouse ntawm kuv qhov chaw tshiab. Nws yog ib pliag txij li thaum kuv teeb Raspberry
Teeb Yooj Yim IR Kev Tswj Chaw Taws Teeb Siv LIRC rau Raspberry PI (RPi) - Lub Xya Hli 2019 [Ntu 1]: 7 Cov Kauj Ruam
Teeb Yooj Yim IR Kev Tswj Chaw Taws Teeb Siv LIRC rau Raspberry PI (RPi) - Lub Xya Hli 2019 [Ntu 1]: Tom qab tshawb fawb ntau kuv xav tsis thoob thiab poob siab txog cov ntaub ntawv tsis sib haum ntawm yuav teeb IR tswj chaw taws teeb rau kuv li haujlwm RPi li cas. Kuv xav tias nws yuav yooj yim tab sis teeb tsa Linux InfraRed Control (LIRC) tau muaj teeb meem ntev
Tsim Kev Nyab Xeeb Siv Rpi: 12 Cov Kauj Ruam
Tsim Kom Muaj Kev Nyab Xeeb Siv Rpi: Xav kawm paub yuav hloov koj li Raspberry pi mus rau qhov ua haujlwm zoo li cas? Tom qab ntawd ua raws 12 qib qhia no kom paub yuav ua li cas. Kev nyab xeeb yuav muaj lub khawm ua haujlwm tiav thiab lub kaw lus kaw, yog li koj tuaj yeem khaws koj cov khoom kom nyab xeeb
Digital RPi LED Thermometer: 6 Kauj Ruam (nrog Duab)
Digital RPi LED Thermometer: Raspbian OS Kawm paub yuav ua li cas Kuv Ua Tus Digital Thermometer, nrog Raspberry Pi Zero W, LED sawb, OLED zaub, thiab kev cai PCB. LED zaub, thiab cov duab. Tab sis
IoT RPi LED Message Board: 3 Cov Kauj Ruam (nrog Duab)
IoT RPi LED Message Board: Hauv Cov Lus Qhia no, Kuv tau ua wifi-txuas LED cov lus xov tooj siv Raspberry Pi (RPi). Cov neeg siv yuav txuas rau Raspberry Pi lub vev xaib siv lawv cov browser kom xa cov lus luv uas yuav tshwm rau ntawm 8x8 LED zaub. Txij li thaum interfa