Cov txheej txheem:

Lub Rooj Sib Tham Nrog LED Matrix Moos thiab Bluetooth: 7 Kauj Ruam
Lub Rooj Sib Tham Nrog LED Matrix Moos thiab Bluetooth: 7 Kauj Ruam

Video: Lub Rooj Sib Tham Nrog LED Matrix Moos thiab Bluetooth: 7 Kauj Ruam

Video: Lub Rooj Sib Tham Nrog LED Matrix Moos thiab Bluetooth: 7 Kauj Ruam
Video: NLP with Python! Term Frequency-Inverse Document Frequency (tf-idf) 2024, Kaum ib hlis
Anonim
Image
Image
Lub tswv yim
Lub tswv yim

Kuv lub rooj tau nruj heev thiab kuv xav kom muaj cov neeg ua haujlwm zoo uas kuv tuaj yeem npaj kuv cov xaum xim, txhuam txhuam, cov cuab yeej av nplaum thiab lwm yam Kuv tau saib ntau tus neeg npaj khoom hauv khw tab sis tsis nyiam ib qho ntawm lawv. Kuv tau teeb tsa los tsim kuv tus kheej lub rooj teeb tsa thiab ntawm no yog qhov tshwm sim.

Khoom siv

DS1307 RTC Module

HC06 Bluetooth Module

Arduino Nano Cov

LDR

MAX7219 LED Matrix Module

Ntshiab Epoxy Resin

Ntoo Nplaum

4 hli Plywood

Xov tooj ntawm tes

4 PIN RGB LEDs

Kauj ruam 1: Tswv yim

Nov yog kuv txoj phiaj xwm rau tus tuav lub rooj. Kuv txiav txim siab ua nws tawm ntawm 4 MM plywood. Nws yog qhov yooj yim los txiav nrog rab riam muaj txiaj ntsig. Cov kauj ruam tom ntej nthuav qhia cov txheej txheem kev tsim kho ntawm tus tuav.

Kauj Ruam 2: Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej

Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej
Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej
Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej
Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej
Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej
Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej
Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej
Txhim Kho Vaj Huam Sib Luag Pem Hauv Ntej

Kuv ntsuas LED Matrix thiab tsim lub vaj huam sib luag pem hauv ntej raws qhov ntawd. Tom qab txiav tawm lub qhov rais rau LED Matrix, Kuv tau npog qhov txiav tawm ntawm daim ntoo nrog daim kab xev meej thiab thawb nws dua hauv kev txiav qhov rai. Ntxiv qhov tuab ntawm daim kab xev kom meej meej txhawm rau txhawm rau txhuam ntoo rau ntawm lub qhov rais. Kuv tau cog lus tias yuav tawm qhov chaw so me me thaum haum rau daim no. Kuv pleev xim rau sab nrauv ntawm lub qhov rais dub. Tom qab ntawd kuv tau muab tag nrho lub vaj huam sib luag tso rau ntawm lub tiaj tiaj. Kuv sib tov 2 ntu meej epoxy thiab ntxiv ob peb tee ntawm cov xim av xim av rau hauv cov xim. Kuv nchuav cov tshuaj no rau ntawm lub qhov rooj ntawm lub qhov rais. Tom qab ntawd kuv tau nphoo qee qhov ci ntsa iab zoo nkauj heev ntawm lub vaj huam sib luag no thaum epoxy tau teeb tsa. Tom qab Epoxy cob kho tau zoo, kuv tshem cov ntoo tawm. Qhov no tau muab lub qhov rai pom tseeb los qhia LED Matrix dhau los. Kuj los ntawm sab xub ntiag nws zoo li tsis sib haum.

Kauj Ruam 3: Tsim Tus Organizer

Txhim Kho Lub Koom Haum
Txhim Kho Lub Koom Haum
Txhim Kho Lub Koom Haum
Txhim Kho Lub Koom Haum
Txhim Kho Lub Koom Haum
Txhim Kho Lub Koom Haum

Cov kauj ruam tom ntej yog los tsim tus tuav. Kuv pib txiav vaj huam sib luag thiab ua rau lawv nrog cov kua nplaum ntoo. Thaum ua tiav, Kuv nchuav cov xim epoxy cob rau txhua sab kom tau lub iav tiav.

Kauj Ruam 4: Faux Triode (Lub Tshuab Nqus Tsev)

Image
Image
Faux Triode (Lub Tshuab Nqus Tsev)
Faux Triode (Lub Tshuab Nqus Tsev)
Faux Triode (Lub Tshuab Nqus Tsev)
Faux Triode (Lub Tshuab Nqus Tsev)

Kuv xav muab kuv lub rooj teeb tsa ib co steampunk kov los ntawm kev ntxiv 2 faux Triodes (raj amps). Txhawm rau ua qhov triodes, Kuv tsim pwm siv lub raj mis cawv cawv thiab lub iav yas dag ib puag ncig. Rau kev ua pwm Kuv siv Amazing mould putty.

Kuv tsim daim phiaj rau triode siv tus pin stapler thiab qee cov xim txhuas xim. Kuv ntxiv amber LED rau ci ntawm cov cua sov ntsiab lus. Ntawm lub hauv paus ntawm qhov teeb tsa no kuv ntxiv daim npav daim npav. Tu siab kuv tsis muaj duab ntawm cov txheej txheem ntawm kev tsim cov triode no. Qhia rau kuv paub yog tias koj xav tau cov ncauj lus ntxaws ntxaws, Kuv yuav ntxiv!

Kuv nchuav pwm txog 4/5 nrog cov tshuaj epoxy meej. Tom qab ntawd kuv tau tso qhov teeb tsa ntawm stapler pins, LED hauv cov tshuaj thiab cia nws teeb tsa rau 24 teev.

Tom qab 24 teev kuv de-molded triode thiab siv cov cim nyiaj pleev xim rau sab saum toj ntawm triode kom ua raws li 'Getter' ib feem ntawm triode.

Tom qab ntawd kuv dipped lub triode hauv epoxy cob thiab tshem tawm nws rov qab. Qhov no muaj ob qho txiaj ntsig.

1) Nws ua rau sab nrauv ntawm triode du thiab ci.

2) ib tee ntawm cov yas khov rau sab saum toj ntawm triode uas rov ua dua iav foob ntawm lub sijhawm tiag tiag.

Kauj Ruam 5: Circuit thiab Code

Circuit thiab Code
Circuit thiab Code

Circuit muaj Arduino Nano txuas nrog DS1307 lub sijhawm tiag. Kuv ntxiv HC-06 Bluetooth module rau tswj lub rooj teeb tsa lub moos los ntawm lub xov tooj ntawm tes. Kuv tau ntxiv LDR ib yam los tswj cov zaub siv raws qhov pom kev ib puag ncig.

Kuj tseem muaj 2 tus pin jumper txuas bluetooth module (HC-06) rau txoj kev tsheb nqaj hlau zoo. Qhov no tau ua tiav los pab kom xa cov lej xa mus rau arduino. Yog tias HC-06 module tau teeb tsa, cov cai tsis tau muab rub tawm thiab qhov ua yuam kev tsis yog qhov xav tau.

Desk organizer code ua cov haujlwm hauv qab no

- Zaub sijhawm (12/24 teev hom - tswj bluetooth dhau ntawm lub xov tooj ntawm tes)

- Hnub tso tawm, hnub tim txhua feeb thib 5

- Hloov Triodes 'RGB LEDs random xim txhua feeb thib 5.

- Tso cov duab tsis raug los ntawm cov duab ua yeeb yaj kiab txhua feeb thib 3

- Tso cov lus tshwj xeeb tshaj bluetooth los ntawm lub xov tooj ntawm tes

- Teeb Sijhawm Sijhawm dhau bluetooth los ntawm lub xov tooj ntawm tes

- Kaw cov zaub ntawm 10 PM thiab pib dua thaum 6 teev sawv ntxov

- Los ntawm 6 teev sawv ntxov txog 6:50 teev tsaus ntuj, Triode RGB LEDs pib nrog xim liab thiab maj mam hloov pauv los ntawm amber, sib sib zog nqus daj, txiv qaub daj thiab tom qab ntawd xim dawb ua raws lub hnub sawv.

Kuv tau tsim bluetooth app code siv MIT APP Inventor. Kuv lub app tseem tab tom txhim kho yog li teem sijhawm hnub thiab teeb tsa 12/24 teev hom ntawv tseem tsis tau cim.

Sau ntawv:

Nco tseg 1

MAX72XX matrices tuaj nrog hom kho vajtse sib txawv. Muaj 4 hom teeb tsa hauv cov tsev qiv ntawv

PAROLA_HW, /// <Siv Parola style hardware modules.

GENERIC_HW, /// <Siv 'generic' style hardware modules feem ntau muaj.

ICSTATION_HW, /// <Siv ICStation style hardware module.

FC16_HW /// <Siv FC-16 style hardware module.

Yog tias koj ua qhov kev xeem ntawm koj tus lej thiab pom cov duab tsis zoo lossis daim iav daim duab, sim pib ua lwm yam khoom siv sib txawv hauv cov cai. Rau kuv nws ua haujlwm thaum kuv xaiv ICSTATION_HW

#define HARDWARE_TYPE MD_MAX72XX:: ICSTATION_HW

Nco tseg 2

Kev txuas cov xov hlau uas xub tuaj nrog kuv LED Matrices yog qhov muag muag thiab yoog raws. Module ua haujlwm tau zoo thaum kuv sim nws nrog Arduino. Hnub tom ntej thaum kuv txuas lub Circuit Court dua, nws coj txawv. Tom qab ntau qhov kev debugging, Kuv pom tau tias ib qho ntawm cov xov txuas ntawm LED module thiab arduino tau tawg sab hauv (sab hauv rwb thaiv tsev) ua rau qhib hluav taws xob. Kuv hloov tag nrho cov xov hlau txuas thiab txhua yam pib ua haujlwm zoo.

Arduino Libraries siv:

TSO 1307 RTC

MAX72XX

Kauj Ruam 6: Tso Cov Cheeb Tsam thiab Chaw Nkag Tso Cai Tso Cai Tso Cai

Qhov chaw ntawm Cheeb Tsam thiab Chaw Nkaum kom Tso Cai Tso Cai
Qhov chaw ntawm Cheeb Tsam thiab Chaw Nkaum kom Tso Cai Tso Cai
Qhov chaw ntawm Cheeb Tsam thiab Chaw Nkaum kom Tso Cai Tso Cai
Qhov chaw ntawm Cheeb Tsam thiab Chaw Nkaum kom Tso Cai Tso Cai
Qhov chaw ntawm Cheeb Tsam thiab Chaw Nkaum kom Tso Cai Tso Cai
Qhov chaw ntawm Cheeb Tsam thiab Chaw Nkaum kom Tso Cai Tso Cai

Thov saib cov duab txuas mus saib kuv qhov kev tso khoom ntawm cov khoom. Nov yog kuv txheej txheem. Koj tuaj yeem xaiv qhov txheej txheem uas zoo tshaj plaws rau koj xav tau.

Kauj Ruam 7: Cov Khoom Kawg

Khoom Kawg
Khoom Kawg
Khoom Kawg
Khoom Kawg

Nov yog lub rooj zaum zaum kawg thiab sawv ntawm kuv lub rooj.

Pom zoo: