Cov txheej txheem:
Video: Flameless Candle From an Attiny13: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Kuv yuav tsum tau teeb kuv lub teeb ci, tab sis xyoo no kuv xav tau qee yam zoo dua li tswm ciab ib txwm muaj. Kuv xav flicker, tab sis kuv xav kom tshem ntawm cov nplaim taws. Txhua qhov hluav taws kub yog qhov txaus ntshai, tshwj xeeb tshaj yog nyob ib puag ncig cov menyuam, hlawv cov kua txiv hmab txiv ntoo tsw qab, thiab tswm ciab tas li yuav tsum tau hloov ntau zaus. Yog li kuv tau tshawb nrhiav ib puag ncig rau ib qhov project los theej, txaus txaus kuv tsis pom ib qho kuv nyiam, yog li kuv tsim ib qho rau kuv tus kheej. Kuv thawj qhov pov thawj ntawm lub tswv yim yog nyob ntawm arduino, tab sis qhov ntawd yog tus nqi me ntsis rau tswm ciab yooj yim. Thaum kuv tau ua pov thawj tias nws yuav ua haujlwm, Kuv pom txoj hauv kev kom nws pheej yig. Nov yog qhov kuv tau ua nws, ntawm cov khoom uas kuv muaj ntawm tes. Kuv thawj Circuit thiab kuv thawj zaug qhia.
Kauj Ruam 1: Qhov Chaw
Kuv siv yam kuv muaj ntawm tes. Qhov no tawm los rau. 1) ATtiny13 x12) Liab coj x13) Daj coj x14) 100 ohm resistors x25) 8pin socket x16) hla qhov hloov x17) lub roj teeb rau 2AA roj teeb x18) perf boardresistors yuav sib txawv raws li koj lub leds, koj tuaj yeem tej zaum pom qhov hloov pauv zoo dua li kuv, koj tuaj yeem hla hla lub rooj tsav tsheb thiab xaim nws ua kab tuag yog tias koj xav tau.
Kauj ruam 2: Circuit Court
Kuv lub hauv paus pib, tsuas yog xaim nws zoo li qhov no.
Kauj Ruam 3: Txoj Cai
Nov yog cov cai kuv siv. Kuv tsuas yog nyem lub leds, thiab sim ntxiv qee qhov kev tsis pom zoo rau nws. Cov cai yuav zoo dua siv pwm, thiab txuag lub zog, tab sis kuv tsis paub yuav ua li cas ib qho ntawm qhov ntawd. Kuv thawj qhov tsis yog-arduino Circuit, thiab kuv thawj qhov kev qhia. Cov nyhuv los ntawm ob lub leds yog qhov txaus siab txawm tias kuv tau ua li cas. Hloov pauv qhov ci, xim, thiab flickering. Compile thiab xa cov cai mus rau qhov me me13, thiab koj zoo mus. Feeled dawb los tshaj tawm cov cai zoo dua …#suav nrog int lub ntsiab (tsis muaj dab tsi) {int thePin = 0x0; ntev RandVal; srandom (123); // random noob DDRB = 0x3; // B0-1 teeb tsa rau (;;) {randVal = random (); // xaiv tus pin yog ((randVal % 2) == 0) {thePin = 0x0; } lwm {thePin = 0x1; } randVal = random (); // siab lossis qis yog ((randVal % 2) == 0) {PORTB & = ~ (1 << thePin); // x & = ~ (1 << n); yuam kom nth me ntawm x ua 0. txhua lwm yam khoom nyob ib leeg. } lwm {PORTB | = (1 << thePin); // x | = (1 << n); yuam kom nth me ntawm x kom yog 1. txhua lwm yam khoom nyob ib leeg. }}}
Kauj ruam 4: Yog Nws
Koj tuaj yeem xuab zeb lub teeb kom nthuav tawm lub teeb, lossis siv lub teeb ci, koj tuaj yeem siv 2 xim liab/daj coj ib yam thiab tso rau hauv lub hnab ziplock kom nws tsis txhob tag nrho, thiab poob rau hauv taub dag … tam sim flameless tswm ciab, thiab nws yuav nyob ntev li teev teev, thiab koj tsis tas yuav txhawj xeeb txog cov menyuam yaus cuam tshuam nrog nws.
Pom zoo:
Ib $ 1 LED Mood Teeb Nrog ATtiny13 thiab WS2812: 7 Cov Kauj Ruam
A $ 1 LED Mood Teeb Nrog ATtiny13 thiab WS2812: Qhov no yog lub teeb pom kev qis nrog plaub hom. 1. Zaj sawv. Lub teeb ci txav mus rau lub sijhawm dhau los tom qab lub sijhawm thiab maj mam hloov xim. 2. Zaj sawv ci. Lub ci ci ruaj khov uas maj mam hloov xim. 3. Taws tswm ciab simulation.4. Tawm. Koj tuaj yeem
Flickering Candle Bridge: 6 Kauj Ruam (nrog Duab)
Flickering Candle Bridge: Cov lus qhia no qhia yuav ua li cas tig lub tswm ciab choj yooj yim nrog lub teeb zoo li qub mus rau qhov pom kev zoo nkauj ci ci nrog kev hloov pauv tsis kawg ntawm lub teeb ci, ntsais, cov qauv yoj thiab tsis muaj dab tsi. Kuv yuav los ntawm Tom Qab Kev Muag Khoom Christmas tus tswm ciab choj rau 8
Nyob Ib Leeg Ib Leeg' Tub Sab Nyiag Deterrent/ Siv Attiny13 Tsav Steppermotor thiab Servo: 5 Kauj Ruam
Tsev Ib Leeg' Tub Sab Nyiag Deterrent/ Siv Attiny13 Tsav Tsheb Steppermotor thiab Servo: Qhov no yuav yog ib qho ntawm kuv cov phiaj xwm weirdest tseem tsis tau :-) Tab sis txawm tias koj tsis xav ua kom tub sab nyiag, qhov haujlwm no tuaj yeem siv rau txhua yam uas koj xav tau tsav lub steppermotor lossis servo motor, lossis txawm tias ob peb DC motors nrog Attiny13.Mo
High Voltage Alternating Occlusion Training Glasses [ATtiny13]: 5 Kauj Ruam (nrog Duab)
High Voltage Alternating Occlusion Training Glasses [ATtiny13]: Hauv kuv thawj qhov kev qhia, Kuv tau piav qhia yuav tsim lub cuab yeej uas yuav tsum muaj txiaj ntsig zoo rau qee tus neeg uas xav kho mob amblyopia (tub nkeeg qhov muag). Tus qauv tsim tau yooj yim heev thiab muaj qee qhov tsis zoo (nws yuav tsum siv ob lub roj teeb thiab kua
Cov Khaub Ncaws Crystal Glass rau Amblyopia (Hloov Kev Ua Haujlwm Qhov Tsom iav) [ATtiny13]: 10 Cov Kauj Ruam (nrog Duab)
Cov Khaub Ncaws Crystal Glass rau Amblyopia (Hloov Qhov Kev Kawm Ua Haujlwm Qhov Tsom iav) [ATtiny13]: Amblyopia (tub nkeeg qhov muag), qhov tsis pom kev uas cuam tshuam kwv yees li 3% ntawm cov pej xeem, feem ntau kho los ntawm qhov muag yooj yim lossis atropine poob. Hmoov tsis zoo, cov txheej txheem kev kho mob suav nrog lub qhov muag muaj zog ntev, tsis cuam tshuam lub sijhawm, tsis muaj