Cov txheej txheem:

Teeb Lub Cassette Daim Kab Xev, Tau Hyped hauv Rave Cov Neeg: 5 Kauj Ruam (nrog Duab)
Teeb Lub Cassette Daim Kab Xev, Tau Hyped hauv Rave Cov Neeg: 5 Kauj Ruam (nrog Duab)

Video: Teeb Lub Cassette Daim Kab Xev, Tau Hyped hauv Rave Cov Neeg: 5 Kauj Ruam (nrog Duab)

Video: Teeb Lub Cassette Daim Kab Xev, Tau Hyped hauv Rave Cov Neeg: 5 Kauj Ruam (nrog Duab)
Video: Dej Hiav Txwv Quas - Pob Tsuas Xyooj 2024, Hlis ntuj nqeg
Anonim
Teeb Lub Cassette Daim Kab Xev, Tau Hyped hauv Rave Parties
Teeb Lub Cassette Daim Kab Xev, Tau Hyped hauv Rave Parties
Teeb Lub Cassette Daim Kab Xev, Tau Hyped hauv Rave Parties
Teeb Lub Cassette Daim Kab Xev, Tau Hyped hauv Rave Parties

Ua li cas! Qhov no yog Galden.

Galden yog cov neeg ua haujlwm los tawm tswv yim nyiam cov khoom siv hluav taws xob rau gals, los ntawm gals. Cia kuv qhia koj yuav ua li cas thiaj ua rau cov khoom siv LED uas haum zoo rau kev lom zem tog.

Dab tsi yuav zoo li taws thaum taws teeb? Thaum koj muaj qee yam teeb pom kev, koj yuav tau txais kev nyiam, tab sis tsis yog txhua yam zoo li txias thaum taws teeb. Qee lub sij hawm kuv ua qee yam tsis txias thaum kuv tsis xav txog nws ua tib zoo.

Lub sijhawm no, Kuv tau ua saw caj dab nrog LED ua tus qauv tab sis qhov no tsis kov kuv lub siab hlo li. Kuv muab nws pov tseg ntawm lub qhov rais nrog kua muag hauv kuv lub qhov muag.

Lub sijhawm los txog thaum kuv tau mloog cov tub ntxhais nrawm thiab noj khoom txom ncauj.

"Daim kab xev xev zoo li zoo nyob puag ncig lub caj dab thiab dope!"

Ua tsaug vaj tswv ntawm cov tub ntxhais nrawm, koj yuav tsum ib txwm mloog cov tub ntxhais nrawm thaum koj tsis tuaj nrog lub tswv yim zoo.

Kauj Ruam 1: Tau Txais Cov Khoom

Tau Cov Khoom
Tau Cov Khoom

Koj tuaj yeem tau txais cov ntaub ntawv feem ntau los ua cov khoom no hauv ib lub khw muag daus las.

Kuv tab tom siv lub rooj tsav xwm me me sib xws nrog Digispark. Nws nyuaj me ntsis los teeb tsa, tab sis vim nws pheej yig koj tuaj yeem tsim hluav taws xob yam tsis muaj kev txhawj xeeb txog pob nyiaj siv.

Khoom siv

- 1 × Daim kab xev xev (Zoo dua xaiv qhov uas muaj lub cev pob tshab)

- WS2812B LED kab xev (10 LEDs ntawm 60LEDS/1m xav tau) -Amazon

- 1 × Txoj hlua (Rau txoj hlua. Kuv siv khau hlua)

- 1 × Hlau nplhaib

- 1 × Digispark tau tshaj lub rooj tsavxwm-Amazon

- Cov xov hluav taws xob (Zoo dua nrog cov txuas rau rov sau dua qhov haujlwm)

- 1 × 9V roj teeb

- 1 × 9V Snap khawm-Amazon

- 1 × Swb hloov-Amazon

- 2 × Hlau band

- Ob daim kab xev

- Phom phom

- Nipper

- Hlau stripper

- Soldering hlau

- Tub Rog

- Xaum tes lossis Pin Vise

- Khoos phib tawj

Kauj Ruam 2: Hloov daim Kab Xev Xev kom tso LEDs

Hloov kho daim kab xev Cassette los tso LEDs
Hloov kho daim kab xev Cassette los tso LEDs
Hloov kho daim kab xev Cassette los tso LEDs
Hloov kho daim kab xev Cassette los tso LEDs

Ua ntej tshaj plaws, tshem cov ntsia hlau ntawm txhua lub ces kaum. Tsis txhob plam cov ntsia hlau no. Kuv pom zoo kom koj muab lawv tso rau ntawm daim npog ntsej muag lossis khaws cia rau qee lub thawv.

Tsis tas li, nws zoo dua los yees duab ua ntej disassemble, yog li koj tuaj yeem rov sib sau tau yooj yim dua tom qab. Peb tsis siv daim kab xev sib nqus thiaj li txiav nws nrog rab txiab.

Ua ib lub qhov nyob rau sab saum toj ntawm daim kab xev rau xaim. Khaws txhua yam hauv txoj haujlwm qub tshwj tsis yog daim kab xev sib nqus.

Nov yog txhua yam rau kev hloov kho daim kab xev. Ib zaug ntxiv, tsis txhob xaub cov screws, koj yuav tu siab heev.

Kauj Ruam 3: Soldering ntawm LEDs thiab Pawg Thawj Coj

Soldering ntawm LEDs thiab Board
Soldering ntawm LEDs thiab Board
Soldering ntawm LEDs thiab Board
Soldering ntawm LEDs thiab Board
Soldering ntawm LEDs thiab Board
Soldering ntawm LEDs thiab Board

Txiav daim kab xev LED hauv ib nrab (5 LEDs txhua) kom haum rau hauv daim kab xev.

KAUJ RUAM 1: Cov laug uas nyob ib puag ncig hauv daim duab saum toj no. Nws tau hu ua preoldering thiab nws ua kom yooj yim dua los txuas cov xov hlau thiab lwm qhov chaw ua ke.

Presolder digispark board ntawm qhov nrog 5V, GND thiab P0.

KAUJ RUAM 2: Txiav cov liab liab xaim rau hauv ib nrab thiab tso lub swb swb mus rau hauv nruab nrab ntawm cov hlau los ntawm cov laug.

Presolder sab nraum qab ntawm lub rooj tsavxwm thiab xaim xaim rau 9V roj teeb. Rau sab nraub qaum, siv lub qhov nrog VIN thiab GND.

*Tsis txhob txhuam 5V thiab GND, nws yuav hlawv lub rooj tsavxwm thiab koj yuav xav tsis thoob.

KAUJ RUAM 3: Tom qab presoldering, laug lub nraub qaum ntawm lub rooj tsavxwm thiab xaim xaim thaum xub thawj.

VIN - liab hlau (ntxiv)

GND - xaim dub (rho tawm)

KAUJ RUAM 4: Tom qab ntawd txuas 3 kab rau LEDs rau ntawm qhov chaw ntawm lub rooj tsavxwm.

5V - (LED) 5V: Cov hlau liab hauv qhov piv txwv

GND - (LED) GND: Cov xaim dawb hauv qhov piv txwv

P0 - (LED) DIN: Cov xaim ntsuab hauv qhov piv txwv

Solder 2 LED tapes ua ke. Ceev faj kom muab lawv tso rau tib qho kev taw qhia uas yog tus cim xub.

KAUJ RUAM 5: Nws yuav zoo li no. Kuv hais kom muab cov kua nplaum lo rau ntawm ib sab txuas mus rau qhov cuab lub zog.

Qhov ntawd yog txhua yam rau soldering ib feem.

Kauj ruam 4: Coding

Coding
Coding
Coding
Coding

Los ntawm ntu no, nws yuav nyuaj me ntsis rau cov pib tshiab. Tsis txhob txhawj xeeb, koj ib txwm tuaj yeem google thaum koj tsis nkag siab qee lub sijhawm.

Nruab Arduino IDE ntawm koj lub pc los sau qhov program mus rau digispark board. -Pib Pib nrog Arduino thiab Genuino cov khoom

Teeb Arduino IDE rau Digispark

Koj tuaj yeem xa qhov txuas hauv qab no los nruab nws.

Kuv sim nrog Windows10 (64bit) thiab ArduinoIDE 1.8.3.

Rau qhov rais, 1. Rub tawm thiab teeb tsa tus tsav tsheb

2. Tua ArduinoIDE, mus rau Cov Ntaub Ntawv> Teeb> Ntxiv tus thawj tswj hwm URL. Tom qab ntawd luam thiab paste qhov txuas.

3. Nyem Tool> Pawg Thawj Coj> Tus Thawj Saib Xyuas Haujlwm

4. Nyem Nrhiav, Tshawb rau "Digistump AVR Boards" thiab nruab.

5. Xaiv "Board: Digispark (Default - 16.5 mhz)" los ntawm Tool.

Qhov ntawd yog nws.

Nruab Neopixel lub tsev qiv ntawv

Txhawm rau siv WS2812B LED kab xev, koj yuav tsum teeb tsa lub tsev qiv ntawv hu "Adafruit NeoPixel".

Koj tuaj yeem ua raws cov theem teeb tsa ntawm Adafruit's neopixel lub tsev qiv ntawv teeb tsa phau ntawv qhia.

Sau Txoj Cai

Nov koj qhov kev npaj ua kom tiav cov cai tau ua tiav. Luam thiab muab tshuaj txhuam hauv qab no mus rau ArduinoIDE. → Nyem qhov no mus rub tus lej ←

Ceev faj thaum sau ntawv

Nyem "Sau rau board" ntawm ArduinoIDE yam tsis txuas Digispark rau lub PC. Ntxig Digispark rau pc tom qab cov lus zoo li hauv daim duab 1 tau qhia.

Kev sau ntawv tiav thaum cov lus zoo li hauv daim duab 2 pom.

Kauj Ruam 5: Sib xyaw LED thiab Daim Kab Xev

Image
Image
Ua ke LED thiab Daim Kab Xev
Ua ke LED thiab Daim Kab Xev

Raws li qhia hauv daim duab, tso daim kab xev LED thiab lo rau ntawm ib sab uas koj tau ua lub qhov rau cov xov hlau. Muab tag nrho txhua qhov rov qab thiab kaw cov ntsia hlau.

Muab cov xov hlau tso thiab tso lub roj teeb 9V nrog cov hlua hlau siv lub qhov nyob hauv nruab nrab. Muab ob daim kab xev tso rau sab nraum qab ntawm lub roj teeb thiab sab nraum qab ntawm lub rooj tsavxwm kom koj yuav tsis plam qhov chaw txawm tias thaum koj seev cev nyuaj heev hauv tog.

Siv qhov hloov hluav taws xob thaum koj xav qhib lub teeb thiab tua.

Raws li txoj haujlwm koj tau sau, kev siv roj teeb txawv. Nrog txoj haujlwm hauv kab lus no, lub roj teeb yuav nyob ntev li 3 teev.

Muab lub nplhaib rau lub qhov ntawm daim kab xev nrog tom qab muab cov hlua uas koj xav tau thiab nws tiav lawm!

Peb tau coj daim kab xev LED kab xev no mus rau ntau tus neeg nyiam nyob hauv Nyij Pooj thiab tau txais kev saib xyuas ntau! Vam tias koj yuav ua ib qho thiab coj nws mus rau ob tog!

Pom zoo: