Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Xav Tau
- Kauj Ruam 2: Teeb Raspberry Pi
- Kauj Ruam 3: Cov Ntawv Sau
- Kauj ruam 4: Circuit Court
- Kauj ruam 5: Sib dhos
- Kauj ruam 6: Thiab Tam sim no?
Video: O-R-A RGB Led Matrix Wall Clock thiab Ntau ** hloov tshiab Lub Xya Hli 2019 **: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo. Ntawm no kuv nrog txoj haujlwm tshiab hu ua O-R-A
Nws yog RGB LED Matrix phab ntsa moos uas tso saib:
- teev: feeb
- kub
- av noo
- icon huab cua tam sim no
- Cov xwm txheej Google Calendar thiab 1h ceeb toom ceeb toom
ntawm lub sijhawm tshwj xeeb nws qhia:
- Google Calendar hnub no thiab tag kis cov npe txheej xwm
- huab cua huab cua
- tawg xov xwm
Kev quav yeeb quav tshuaj:
- hnub tim tam sim no
- Khawv koob 8 pob
- Chav ua noj timer
Rau ib qho haujlwm twg lub cuab yeej ua si lub suab sib txawv. Rau txhua yam huab cua zoo li muaj cov ntaub ntawv audio uas yuav tsum tau ua thaum lub luag haujlwm hu ua.
Lub luag haujlwm zoo li Google Daim Ntawv Teev Npe, Huab cua huab cua, RSS xov xwm tawg pib ntawm lub sijhawm xaiv tsa thaum lub cuab yeej nyob hauv "hom moos", cov no tseem tuaj yeem hu ncaj qha ua haujlwm hloov pauv. Lwm qhov ua haujlwm thaum lub sijhawm "moos hom" tso saib hnub/hli/xyoo tam sim no. Nws tuaj yeem ua haujlwm nias ENTER khawm. Nias CHANGE STATE khawm thiab tom qab ntawd ENTER khawm tsis pub dhau 3 vib nas this hauv "hom moos", cia koj nkag mus rau hauv cov ntawv qhia zaub mov xaiv. CHANGE STATE khawm yog teeb tsa los sab hauv cov ntawv qhia zaub mov, ENTER khawm yog kom paub meej qhov kev xaiv xaiv.
Txoj haujlwm no yog kev hloov pauv ntawm kuv yav dhau los LEGOLED thiab TEMPO. RGB coj matrix vaj huam sib luag muaj kev daws teeb meem 32x64 tam sim no, yog li nws muaj peev xwm tso tawm ntau lub ntsej muag duab ntse, tsau thiab rub cov ntawv tib lub sijhawm. Siv TEMPO kev ua haujlwm zoo lub cuab yeej qhib & tua tau yam tsis muaj khawm lossis lub sijhawm sab nraud. PIR tus qauv ntsuas pom muaj cov neeg nyob ntawd yog li qhib/tua cov zaub.
Kev kwv yees huab cua thiab daim ntawv qhia hnub tau sau txhua feeb uas muab los ntawm Google Calendar thiab Qhib Huab Cua Qhia.
Txoj haujlwm no tuaj yeem hloov kho tau los ntawm Raspberry PI B+, 2 module 16x64 rgb coj matrix thiab muab lub zog. Nws tuaj yeem nthuav dav, ib yam li kuv tau ua, ntxiv USB lub npav suab, hais lus, qhib/tawm lub zog hluav taws xob.
Kauj Ruam 1: Yam Koj Xav Tau
- Raspberry Pi B+ (nrog wifi lossis dongle)
- 2 x 16x64 RGB coj matrix lossis 2 x 32x32
- generic thav duab (40x50 cm & 3 cm tob kwv yees)
- frosted yas ntawv
- qhov rai hnub ci zaj duab xis
- PS 5 V 10A
- cov kab
- thermosetting txheej (*)
- relay module (*)
- ntxiv PS rau lub suab nrov (*)
- 3W suab amplifier module (*)
- hais lus (*)
- USB daim npav suab (*)
- 2 x microswitch (*)
- PIB (*)
- Attiny85 (*)
- DS3231 (*)
- Mosfet IRF540 (*)
- Resistors: 3x1K, 2x10K, 1x2K (*)
- davhlau ya nyob twg thaiv (*)
- header strips poj niam (*)
- header strips txiv neej (*)
(*) xaiv tau
Kauj Ruam 2: Teeb Raspberry Pi
Phau ntawv qhia no yog ua raws Raspbian Jessie Lite, Python 2.7 thiab RGB LED MATRIX lub tsev qiv ntawv los ntawm Hzeller Github tus neeg siv.
Ua ntej tshaj plaws hloov kho & txhim kho RPI
Nruab git
~ $ sudo apt-tau nruab git
Rub tawm RGB LED MATRIX lub tsev qiv ntawv los ntawm Github
~ $ git clone
~ $ cd rpi-rgb-coj-matrix
~ $ sudo ua
blacklist RPI sab hauv suab
~ $ miv << EOF | sudo tee /etc/modprobe.d/blacklist-rgb-matrix.conf
blacklist snd_bcm2835
EOF
~ $ sudo hloov tshiab -initramfs -u
Teeb tsa lub suab sab nraud sab nraud yog tias xav tau lub peev xwm:
~ $ sudo nano /usr/share/alsa/alsa.conf
hloov:
defaults.ctl.card 0
defaults.pcm.card 0
rau
defaults.ctl.card 1
defaults.pcm.card 1
ces reboot.
Tam sim no teeb tsa lub tsev qiv ntawv matrix
~ $ cd/tsev/pi/rpi-rgb-led-matrix
~ $ sudo apt-tau hloov tshiab && sudo apt-tau nruab python2.7-dev nab nab-hauv ncoo -y
~ $ ua build-python
~ $ sudo ua install-python
thiab nruab lwm lub tsev qiv ntawv xav tau:
~ $ sudo easy_install pip
~ $ sudo pip nruab
Luam cov qauv samplebase.py los ntawm ~/rpi-rgb-led-matrix/bindings/python/kuaj/mus rau phau ntawv teev npe hauv tsev
Tau txais API qhov tseem ceeb tso npe dawb rau Qhib Huab Cua Qhia
Nruab tam sim no OWM Python qhwv rau PYthon 2.7 (ua tsaug rau CSPARPAGithub tus neeg siv)
~ $ sudo pip nruab git+https://github.com/csarpa/[email protected]
Tau txais Google daim ntawv pov thawj raws li cov lus qhia hauv Google daim ntawv qhia hnub API
Rau lub suab ua si nruab Pygame
~ $ sudo apt-tau nruab sej-pygame
RSS txau xav tau Feedparser teeb tsa
~ $ sudo pip nruab feedparser
theej kuv tsab ntawv ORAeng_131.py (lus Askiv) lossis ORAita_131.py (italian version) mus rau tsev teev npe
tsim cov ntawv tais ceev tseg rau suab thiab duab:
mkdir lus
mkdir ua
rub tawm thiab theej tag nrho cov ntaub ntawv-p.webp
www.dropbox.com/sh/nemyfcj1a1i18ic/AAB1W7I6lg5EgqL1gJZPWVTxa?dl=0
ntxiv koj daim ntawv pov thawj OWM rau kab 69 (API_key)
teeb nroog rau huab cua huab cua (txheeb xyuas yog tias nws tau them los ntawm OWM thiab lub npe raug lees txais) ntawm kab 213, 215
obs = owm.weather_at_place ('Napoli, IT')
fc = owm.three_hours_forecast ('Napoli, IT')
********************************** Hloov tshiab 28/7/2019 ********** **************************
Google Calendar API tshiab tsim teeb meem. Kuv tau daws tshem qee qhov qauv:
~ $ sudo apt-tau tshem tawm --purge nab hab sej-setuptools
~ $ sudo apt-tau txais autoremove sej-pyasn1
sim tsab ntawv khiav
~ $ sudo nab hab sej ORAeng_150.py # lossis ORAita_150.py rau italian version
thawj zaug tsab ntawv yuav nug GCAL kev tso cai. Nyem qhov txuas mus rau google api daim ntawv pov thawj. Muab kev tso cai ces, yog qhov ib txwm ua tau zoo, koj yuav pom lub moos pib.
vim muaj kev siv RAM ntau dhau tom qab ob peb teev, kuv tau sau tsab ntawv uas yooj yim rov pib ua sej tsab ntawv thaum RAM siv mus dhau qib pib. Tom qab ntawv theej rau lub tsev npe cov ntawv sau npe memcheck renaming rau memcheck.sh thiab ntxiv rau crontab -e ua ke tsab ntawv tseem ceeb
*/5 * * * * bash /home/pi/memcheck.sh@reboot sudo python /home/pi/ORAeng_150.py
Kauj Ruam 3: Cov Ntawv Sau
Cov ntawv tseem ceeb yuav tsum tau hloov kho raws li koj xav tau. Piv txwv tias OWM thiab Goggle Daim ntawv pov thawj daim ntawv pov thawj tau teev tseg raws li lawv cov lus qhia hauv API, qhov ntsuas tseem ceeb tshaj plaws yog:
daim ntawv teev cov txheej xwm teev txhua txhua teev ntawm feeb 2, 32 (saib kab ntawv 65)
huab cua thiab huab cua kwv yees ua tiav txhua teev ntawm feeb 7, 37 (saib kab ntawv 66)
rhuav xov xwm ua tiav txhua teev ntawm feeb 11 (saib kab ntawv 67)
xov xwm tawg rss channel. Sab hauv tsab ntawv tau teeb tsa Qhia RSS, tab sis tuaj yeem hloov pauv. (saib kab ntawv 366)
Pom tseeb, tsab ntawv muab ua ntej rau cov xwm txheej tshwm sim lossis ceeb toom ceeb toom. Qee zaum moos tsis ua nws cov yam ntxwv kom tsis txhob hla kev ua haujlwm.
Attiny85 qhib/kaw lub sijhawm xav tau yuav tsum tau ua kom tiav daim duab kos Tempo_V1_9_1Mhz_bugfix.ino.
Qhov no tso cai rau qhib lub cuab yeej thaum 8 teev sawv ntxov thiab tua thaum 23. Saib kev qhia paub ntxiv.
Kauj ruam 4: Circuit Court
Lub Circuit Court muaj 3 ntu
- lub zog qhib/tua lub sijhawm ua haujlwm los ntawm DS3231 tus qauv, Attiny85 thiab Mosfet
- hloov rau phau ntawv tswj hwm lub moos nta
- ntu txuas qhov twg yog cabling rau RGB LED Matrix cov ntaub ntawv thiab lub zog, lub suab nrov thiab Raspberry Pi
Tsis tau hais txog qhov sib faib hluav taws xob tiv thaiv uas tso cai rau RPI nyeem HIGH/LOW 5V teeb liab los ntawm Attiny85
Cov hloov pauv tau txuas nrog RPI tus pin GND ncaj qha siv sab hauv sab hauv
Attiny85 timer los ntawm kuv qhov haujlwm yav dhau los hu ua TEMPO. Yeej, DS3231 xa LOW teeb liab mus rau Attiny85 cuam tshuam tus pin uas ua rau nws tsaug zog. Thaum sawv ntxov Attiny85 xa HIGH teeb liab mus rau Mosfet transistor, qhib lub zog siv hluav taws xob rau RPI, LED Matrix thiab lub tshuab ua suab nrov (yog tias tsis txuas nrog PS ntxiv los ntawm kev xa tawm, raws li kuv teeb tsa kawg).
Txhawm rau kaw RPI kuv tsab ntawv xav txog tias RPI mloog cov cim digital ntawm tus pin 14, thaum nws HIGH, hu ua kaw lus txib. Tom qab ntawd RPI ua qhov txheej txheem kaw raug, tom qab ib feeb, Attiny85 rov qab mus pw hom thiab Mosfet tau txais LOW teeb liab uas tua tag nrho lub cuab yeej. Cov txheej txheem no ntxhib tab sis siv tau.
PIR module yog xaiv tau thiab txuas ncaj qha rau RPI GPIO.
Kuv teeb tsa xav tau cov hauv qab no RPI GPIO pins txuas nrog:
15 to PEB
14 rau Attiny85 tus pin 3 los ntawm qhov faib hluav taws xob
21 rau relay module
2 hloov (ENTER BUTTON)
3 kom hloov (CHANGE STATE BUTTON)
Teeb meem:
- suab nrov vim yog LED Matrix lub zog muab, daws siv PS me me nkaus xwb rau lub suab nrov nrov. Ib qho kev xaiv tso cai tso cai qhib lub suab nrov tsuas yog thaum xav tau. Qhov no tuaj yeem ua rau lub suab nrov nrov thaum nws qhib/tua.
Lub tshuab hluav taws xob tau txuas nrog siv phaj tooj liab, 3D tshuab luam ntawv, tus cim thiab ferric chloride.
Kauj ruam 5: Sib dhos
Kuv tau hloov kho qhov dav dav 40x50cm thav duab rau txoj haujlwm no ua ke 3D cov khoom luam tawm thiab qee qhov kev xaiv ntxiv.
Lub iav tau thaiv los ntawm lub qhov rais zaj duab xis hnub ci thiab cov ntawv yas khov. Led matrix yuav tsum tau khaws cia txog 1cm rau iav kom tsis txhob pom qhov dawb hauv leds. Cov ntsia hlau me me yog qhov tsim nyog raws li M3 txiv ntoo thiab ntsia liaj qhov rooj. Obligatory yog cov cables thiab cov thermosetting sheath.
Led matrices raug ntsia ntawm lub vaj huam sib luag tom qab ntawm tus ncej.
Kauj ruam 6: Thiab Tam sim no?
Cov kauj ruam tom ntej yuav yog txhawm rau ntsuas qhov ntsuas kub, ua kom lub peev xwm bluetooth thiab, vim li cas thiaj tsis, lub xov tooj cua siv internet kom txog thaum muaj peev xwm tshaj Raspberry Pi.
Nyob zoo
Runner Up hauv Kev Sib Tw Clocks
Pom zoo:
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
Lub hli hli nrog Zaj: 8 Kauj Ruam (nrog Duab)
Moon Clock With Dragon: *** Qhov nkag ntawm kuv blog https://blog.familie-fratila.de/bone-dragon-moonlight-clock/ *** Qee lub sij hawm dhau los kuv tau tsim lub moos rau kuv chav nyob, txij li thaum kuv pom tsis muaj dab tsi los yuav uas muaj yam tsawg kawg zam tsim :-) Tau kawg kuv tus tub pom qhov no muaj qhov xav tau
Teeb Yooj Yim IR Kev Tswj Chaw Taws Teeb Siv LIRC rau Raspberry PI (RPi) - Lub Xya Hli 2019 [Ntu 2]: 3 Cov Kauj Ruam
Teeb Yooj Yim IR Kev Tswj Chaw Taws Teeb Siv LIRC rau Raspberry PI (RPi) - Lub Xya Hli 2019 [Ntu 2]: Hauv Ntu 1 Kuv tau qhia yuav ua li cas los ua ke RPi + VS1838b thiab teeb tsa Raspbian's LIRC module kom tau txais IR cov lus txib los ntawm IR chaw taws teeb. Txhua qhov teeb meem kho vajtse thiab teeb tsa LIRC tau tham hauv ntu 1. Ntu 2 yuav qhia pom yuav ua li cas txhawm rau cuam tshuam cov hardwa
Cov Xim Ntau Yam Xim Stencils Nrog Cov Hloov Pauv Hloov: 12 Cov Kauj Ruam (nrog Duab)
Comprehensive Multi Color Stencils With Variable Output: Multilayer xim tiag tiag stenciling tsis yog txhua qhov sai thiab yooj yim. Tseeb, koj tuaj yeem crank ib zaug hauv ib teev, tab sis nws siv sijhawm thiab xyaum ua kom muaj peev xwm rov ua cov txheej txheem thiab paub yuav ua li cas txhawm rau nws rau txhua qhov sib txawv stencil. Hauv cov lus qhia no, Kuv yuav
N: Yuav Ua Li Cas Ntau Cov Acrylic thiab LED Duab puab Nrog Cov Teeb Pom Kev Hloov Pauv: 11 Kauj Ruam (nrog Duab)
N: Yuav Ua Li Cas Ua Ntau Yam Acrylic thiab LED Duab puab Nrog Cov Hloov Pauv Teeb Pom Kev Zoo: Ntawm no koj tuaj yeem paub yuav ua li cas thiaj ua rau koj tus kheej n zoo li ua rau kev nthuav tawm www.laplandscape.co.uk curated los ntawm kos duab/tsim pab pawg Lapland. Ntau cov duab tuaj yeem pom ntawm flickr Qhov kev nthuav tawm no pib txij hnub Wednesday 26 Kaum Ib Hlis - Friday 12 Kaum Ob Hlis 2008 suav nrog