Cov txheej txheem:
Video: Sib Teeb Yard Teeb, Teeb Kev Taug Kev: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Kuv xav tsim qee yam kev sib tham sib teeb teeb rau kuv lub tiaj nraum qaum tsev. Lub tswv yim yog, thaum ib tus neeg taug kev ib txoj hauv kev nws yuav teeb tsa cov yeeb yaj kiab hauv txoj kev koj taug kev. Kuv pib nrog Dollar General $ 1.00 hnub ci teeb
Kauj Ruam 1: Tshem lub teeb Solor
Thawj kauj ruam yog txhawm rau lub teeb kom ua rau txoj kev lom zem dua. Kuv pib los ntawm kev txiav tawm thawj coj thiab roj teeb. Nco ntsoov khaws cov khoom no raws li lawv yuav muaj txiaj ntsig hauv lwm qhov haujlwm kuv tseem tshem lub chrome dome uas nyob hauv qab ntawm lub hnub ci ci thiab ua rau nws zoo rau saum raws li pom hauv cov duab
Kauj Ruam 2: Txhim Kho Teeb Zoo
rau cov coj kuv siv cov dej tsis zoo ws2811b uas tuaj yeem pom ntawm no
www.ebay.com/itm/50-X-12mm-LED-Module-RGB-…
Kuv xub npaj tseg tso PIR sensors sab hauv lub hnub ci teeb. tab sis qhov no tau ua pov thawj los ua qee qhov teeb meem vim tias lub hauv paus tsis tuaj yeem pom yav dhau los ntawm cov yas. nws yuav tsum muaj qee yam ntawm UV lim kev tsim nyog. yog li kuv tau xaiv rau qee yam zoo li qhov no
www.thingiverse.com/thing 2590216
Kauj ruam 3: Coding
yog tias koj xav ua lub teeb tsis siv sensor lossis tsuas yog khiav txhua lub sijhawm tsuas yog nrhiav qhov chaw uas tau hais tawm tias "hloov pauv chij xeev" thiab teeb nws rau ether 1 lossis 0 Kuv yuav ntxiv cov duab ntxiv thaum kuv ua tiav qhov no rau kuv tus kheej nws tseem yog qhov ua haujlwm tab sis kuv xav tias nws zoo heev tsis qhia tawm tam sim. ua tsaug rau kev saib
void teeb tsa () {
// muab koj cov cai teeb tsa ntawm no, kom khiav ib zaug: FastLED.addLeds (leds, NUM_LEDS); Serial.begin (9600); pinMode (buttonPin1, INPUT); pinMode (buttonPin2, INPUT); }
void voj () {
Serial.println (FlagState);
yog (FlagState == 0) {ForwardLeds (); } yog (FlagState == 1) {RevLeds (); } yog (FlagState == 2) {Tos (); }}
tsis muaj dab tsi ForwardLeds () {
FirstLed = -1; LastLed = 16; rau (int i = 0; i <8; i ++) {LastLed--; FirstLed ++; leds [LastLed] = CRGB:: Dawb; leds [FirstLed] = CRGB:: Dawb; ncua (750); FastLED.show (); Serial.print ("Dawb hla"); Serial.print (kuv); Serial.println ("ntawm 8"); } FirstLed = -1; LastLed = 16; rau (int i = 0; i <8; i ++) {LastLed--; FirstLed ++; leds [LastLed] = CRGB:: Blue; leds [FirstLed] = CRGB:: Blue; ncua (250); FastLED.show (); Serial.print ("Blue Pass"); Serial.print (kuv); Serial.println ("ntawm 8"); } FirstLed = -1; LastLed = 16; rau (int i = 0; i <8; i ++) {LastLed--; FirstLed ++; leds [LastLed] = CRGB:: Ntshav; leds [FirstLed] = CRGB:: Ntshav; ncua (250); FastLED.show (); Serial.print ("Red Pass"); Serial.print (kuv); Serial.println ("ntawm 8"); } FirstLed = -1; LastLed = 16; rau (int i = 0; i <8; i ++) {LastLed--; FirstLed ++; leds [LastLed] = CRGB:: Dub; leds [FirstLed] = CRGB:: Dub; ncua (250); FastLED.show (); Serial.print ("Tua tawm coj"); Serial.print (kuv); Serial.println ("ntawm 8"); } FlagState = 2; // hloov pauv chij xeev} tsis muaj RevLeds () {Serial.println ("rov qab"); FirstLed = 8; LastLed = 7; rau (int i = 0; i <8; i ++) {LastLed ++; FirstLed--; leds [LastLed] = CRGB:: Dawb; leds [FirstLed] = CRGB:: Dawb; ncua (750); FastLED.show (); Serial.print ("Hla dawb"); Serial.print (kuv); Serial.println ("ntawm 8"); } FirstLed = 8; LastLed = 7; rau (int i = 0; i <8; i ++) {LastLed ++; FirstLed--; leds [LastLed] = CRGB:: Blue; leds [FirstLed] = CRGB:: Blue; ncua (250); FastLED.show (); Serial.print ("Xiav dhau"); Serial.print (kuv); Serial.println ("ntawm 8"); } FirstLed = 8; LastLed = 7; rau (int i = 0; i <8; i ++) {LastLed ++; FirstLed--; leds [LastLed] = CRGB:: Ntshav; leds [FirstLed] = CRGB:: Ntshav; ncua (250); FastLED.show (); Serial.print ("Liab hla"); Serial.print (kuv); Serial.println ("ntawm 8"); }
FirstLed = 8;
LastLed = 7; rau (int i = 0; i <8; i ++) {LastLed ++; FirstLed--; leds [LastLed] = CRGB:: Dub; leds [FirstLed] = CRGB:: Dub; ncua (250); FastLED.show (); Serial.print ("Tua Tawm Led"); Serial.print (kuv); Serial.println ("ntawm 8"); } FlagState = 2; // hloov pauv chij xeev} tsis muaj dab tsi Tos () {buttonState1 = digitalRead (buttonPin1); buttonState2 = digitalRead (buttonPin2); yog (buttonState1 == HIGH) {Serial.println ("xa mus rau tom ntej"); FlagState = 0; } lwm tus yog (buttonState2 == HIGH) {Serial.println ("Rev triggered"); FlagState = 1; } Serial.println ("lub voj tas tos"); }
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Dej-Taug Kev Taug Kev Zaj Ua Yooj Yim!: 7 Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Dej-Taug Kev Taug Kev Zaj Ua Yooj Yim!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kho cov kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oob khab kev cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Cov Ntxuam Taug Kev Taug Kev: 5 Cov Kauj Ruam
Cov Ntxuam Taug Kev Taug Kev: Singapore yog lub teb chaws ntub thiab kom peb tus kheej txias peb siv cov kiv cua lossis cua txias. Txawm li cas los xij, peb tsis siv lub zog muaj txiaj ntsig tshaj plaws teeb tsa qee zaum peb teeb tsa hom txias dhau lossis teeb lub kiv cua kom siab ces npaj mus hnav lub tsho uas tsis yog
Taug qab & taug qab rau Cov Khw Me Me: 9 Kauj Ruam (nrog Duab)
Taug qab & taug qab rau Cov Khw Me Me: Qhov no yog lub kaw lus uas tsim rau cov khw me me uas xav tias yuav nce mus rau e-tsheb kauj vab lossis e-scooters rau kev xa khoom luv luv, piv txwv li cov mov ci uas xav xa cov ncuav qab zib. Track thiab Trace txhais li cas? Taug qab thiab taug qab yog cov kab ke siv los ntawm
DIY Smart Robot Taug Qab Cov Khoom Siv Tsheb Taug Kev Tsheb Photosensitive: 7 Kauj Ruam
DIY Smart Robot Tracking Tsheb Cov Khoom Siv Taug Kev Tsheb Photosensitive: Tsim los ntawm SINONING ROBOTKoj tuaj yeem yuav los ntawm kev taug qab neeg hlau tsheb TheoryLM393 nti sib piv ob lub photoresistor, thaum muaj ib sab photoresistor LED ntawm WHITE sab ntawm lub tshuab yuav nres tam sim ntawd, lwm sab ntawm lub cav tig rov qab, yog li ntawd
Phau Ntawv Qhia Taug Kev Txhim Kho Kev Mobility ntawm Cov Neeg Tsis Pom Kev: 6 Kauj Ruam
Phau Ntawv Qhia Taug Kev Txhim Kho Kev Mobility ntawm Cov Neeg Tsis Pom Kev: Lub hom phiaj ntawm kev qhia yog los tsim phau ntawv qhia kev taug kev uas tuaj yeem siv tau los ntawm cov neeg xiam oob khab, tshwj xeeb yog cov neeg tsis pom kev. Cov lus qhia npaj siab yuav tshuaj xyuas seb phau ntawv qhia kev taug kev tuaj yeem siv tau zoo li cas, yog li tsim qauv xav tau