Cov txheej txheem:
- Kauj Ruam 1: Tsim Kev Sib Txuas Hluav Taws Xob thiab Cov Hluav Taws Xob
- Kauj ruam 2: Tshawb nrhiav Circuit
- Kauj Ruam 3: Tsim Tus Qauv thiab Qij
- Kauj Ruam 4: Teeb Txoj Cai
- Kauj Ruam 5: Teeb Teeb Teeb Tiav
- Kauj Ruam 6: Txaus Siab Rau Koj Qhov Kho Kom Zoo Nkauj Tshiab
Video: Crazy Modular Teeb: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Lub tswv yim yog los tsim lub teeb tshwj xeeb uas cov neeg siv yuav teeb tsa raws li lawv nyiam, ua kom zoo dua ntawm qhov chaw tshwj xeeb uas lawv xav siv. Lub teeb yuav dimmable thiab tswj los ntawm kov. Kev siv lub teeb ntawm lub teeb no yog kaw lub Circuit Court siv qhov muag sib hloov.
Cov ntaub ntawv:
Tooj liab liab
Ntoo
Tooj hlau
Tooj tooj liab
Acrilic
Hlau Daim Kab Xev
Kub nplaum phom thiab kua nplaum
SMD LEDs
Hlau Tsis Raug Tshem Tawm
Arduino
Ultrasonic Sensor
Hloov Force-Sensitive Resistor (FSR)
10k thiab 220 Ohm resistors
Solder + Soldering hlau
Txiab
X-acto/Cutter
Tus kav
Kauj Ruam 1: Tsim Kev Sib Txuas Hluav Taws Xob thiab Cov Hluav Taws Xob
Txhawm rau pib koj yuav tsum teeb tsa qhov txuas ntawm Arduino thiab lub teeb.
Hauv qhov no cov hlau nplaum yog qhov kev xaiv zoo los ua lub zog hluav taws xob tam sim no thiab kom muaj lub zog txuas uas tshem tau.
Koj yuav tsum muaj lub xov tooj hluav taws xob ua tiav thiab tom qab ntawd txiav ob qho kawg ze rau Arduino qhov kawg ntawm txoj hlua. Los ntawm kev tshawb nrhiav cov kab xim txuas cov hlau nplaum rau txhua tus ntawm lawv thiab txoj kab (hauv qhov no nrog cov khoom siv lego) txhua tus kom lawv tsis txhob kov ib leeg.
Tam sim no ua tib yam nrog lwm qhov kawg ntawm kab ntawv kom koj tuaj yeem ua tiav lub zog khiav.
Tswv yim: thov paub txog qhov teeb tsa xim thiab cov lus qhia rau ntsaws lub cable.
Kauj ruam 2: Tshawb nrhiav Circuit
Tam sim no, tshawb xyuas lub voj voog nrog lub rooj mov ci, ua raws cov qauv hauv cov duab, sib sau ua ke thiab ntsuas lub voj voog nrog lub khob cij ua ntej koj siv daim kab xev tooj liab thiab cov hlau txuas.
Tswv yim: Rau lub zog ntsuas yuav siv 10K tus tiv thaiv thiab rau LED yog 220 tus tiv thaiv.
Kauj Ruam 3: Tsim Tus Qauv thiab Qij
Txhawm rau tsim cov qauv siv koj lub tswv yim, koj yuav tsum muaj 3 yam tseem ceeb hauv siab.
1. Lub thawv ntawv yuav tsum muaj chaw txaus rau arduino thiab Circuit.
2. Qhov thaiv yuav tsum muaj kev nkag tau yooj yim rau hauv Circuit.
3. Cov Qauv yuav tsum muaj tus tuav rau lub qhov muag nqa qhov zoo thiab qhov tsis zoo tam sim no los ntawm kev kaw lub kaw lus.
Siv ntoo thiab cov khoom siv uas koj xav tsim lub hauv paus loj thiab lub hauv paus rau lub teeb. Koj tuaj yeem siv cov duab ntawm lub teeb no kom muaj lub tswv yim rau koj tsim.
Kauj Ruam 4: Teeb Txoj Cai
Siv tus lej piv txwv los teeb tsa koj lub Circuit Court thiab Arduino.
#include "SR04.h" #define TRIG_PIN 12#txhais ECHO_PIN 13 SR04 sr04 = SR04 (ECHO_PIN, TRIG_PIN); ntev a; const int sensorPin = A0; const int ledPin = 9; koj fadeValue; tus nqi;
teeb tsa tsis muaj dab tsi () {Serial.begin (9600); tus pinMode (ledPin, OUTPUT); }
void voj () {
tus nqi = analogRead (sensorPin); Serial.println (tus nqi); value = daim ntawv qhia (tus nqi, 0, 1023, 0, 255); thaum (tus nqi> 1 && tus nqi <255) {a = sr04. Distance (); Serial.print (a); Serial.println ("cm"); ncua (100); yog (a == 3) {analogWrite (ledPin, 0); } yog (a == 8) {analogWrite (ledPin, 10); } yog (a == 12) {analogWrite (ledPin, 60); } yog (a == 18) {analogWrite (ledPin, 100); } yog (a == 22) {analogWrite (ledPin, 180); } yog (a == 30) {analogWrite (ledPin, 255); }
}
}
Kauj Ruam 5: Teeb Teeb Teeb Tiav
Tam sim no koj muaj cov qauv thiab qhov muag teev koj tuaj yeem teeb lub teeb. Nco ntsoov:
1. Kov khawm tso cai rau lub ntsuas kom pib nyeem ntawv.
2. Lub dimmer yog tswj los ntawm koj txhais tes, yog nws nyob ze ntawm lub teeb nws yuav tua, yog tias txuas ntxiv lub teeb yuav ci dua.
3. Koj tuaj yeem hloov qhov muag teev tau txhua lub sijhawm.
Tswv yim: Nco ntsoov tias lub teeb LED muaj ib sab (zoo thiab tsis zoo).
Kauj Ruam 6: Txaus Siab Rau Koj Qhov Kho Kom Zoo Nkauj Tshiab
Muab koj lub teeb tso rau hauv koj lub tsev thiab txaus siab rau koj lub tsev tshiab ua kom zoo nkauj.
Pom zoo:
Dusty Wall Arduino Animated Led Teeb Nrog Teeb Lub Teeb: 11 Cov Kauj Ruam (nrog Duab)
Dusty Wall Arduino Animated Led Lamp Nrog Lub Teeb Pom Kev: Kuv nyuam qhuav muaj me nyuam thiab tom qab ua nws chav pw, kuv xav tau lub teeb ntawm phab ntsa. Raws li kuv nyiam heev LED kuv txiav txim siab los tsim ib yam.Kuv nyiam lub dav hlau dav dav, yog li vim li cas ho tsis tso lub dav hlau los ntawm daim duab tas luav rau ntawm phab ntsa, ntawm no thaum nws pib thiab kuv ua li cas
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
LED Teeb Teeb Duab Cwjmem: Cov Cuab Yeej rau Teeb Teeb Doodles: 6 Kauj Ruam (nrog Duab)
LED Teeb Teeb Lub Cwjmem: Cov Cuab Yeej rau Teeb Doodles: Kuv tus poj niam Lori yog tus neeg siv tsis tu ncua thiab kuv tau ua si nrog kev yees duab ntev ntev rau ntau xyoo. Kev tshoov siab los ntawm PikaPika pab pawg teeb pom kev zoo thiab yooj yim ntawm cov koob yees duab digital peb tau siv lub teeb duab kos duab kom pom tias peb tuaj yeem ua dab tsi
Cov Roj Teeb Lemon Me, thiab Lwm Cov Qauv rau Xoom Tus Nqi Hluav Taws Xob thiab Coj Lub Teeb Tsis Muaj Roj Teeb: 18 Kauj Ruam (nrog Duab)
Cov Roj Teeb Lemon Me, thiab Lwm Cov Qauv rau Xoom Tus Nqi Hluav Taws Xob thiab Coj Lub Teeb Tsis Muaj Roj Teeb: Nyob zoo, tej zaum koj twb paub txog txiv qaub roj teeb lossis roj teeb roj teeb. Lawv tau siv ib txwm siv rau lub hom phiaj kev kawm thiab lawv siv cov tshuaj tiv thaiv hluav taws xob uas tsim hluav taws xob qis, feem ntau pom nyob rau hauv daim ntawv ntawm cov coj lossis lub teeb ci ci. Cov no