Cov txheej txheem:
Video: DIY Inventive ART Project Lub Tswv Yim Nrog LED Teeb thiab Suab: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hauv qhov vis dis aus no kuv yuav los qhia koj yuav ua li cas thiaj tsim tau ib qho txuj ci tshwj xeeb hauv tsev siv LED sawb thiab suab.
Kauj ruam 1: Project Video
LED Sawb -
MP3 Player -
Infrared Sensor -
Microcontroller -
Txuas -
Adapter -
Voltage Regulator -
Hais lus -
Micro SD -
Capacitor -
Resistor -
Toggle Hloov -
Cov Cuab Yeej Cuab Yeej -
Kauj ruam 2: Schematic thiab Gerber
Tau txais Pawg Thawj Coj -
Kauj ruam 3: Source Code
Source Code:
#suav nrog
#include "SoftwareSerial.h" #include "DFRobotDFPlayerMini.h" #define NUM_LEDS_PER_STRIP 70 #define BRIGHTNESS 200 #define LED1pin 5 #define LED2pin 6 #define LED3pin 7 const int IR1pin = A0; const int IR2pin = A1; const int IR3pin = A2; CRGB LED1color [NUM_LEDS_PER_STRIP]; CRGB LED2color [NUM_LEDS_PER_STRIP]; CRGB LED3color [NUM_LEDS_PER_STRIP]; SoftwareSerial mySoftwareSerial (10, 11); // RX, TX DFRobotDFPlayerMini myDFPlayer; void printDetail (uint8_t yam, int tus nqi); teeb tsa tsis muaj dab tsi () {mySoftwareSerial.begin (9600); Serial.begin (115200); yog (! myDFPlayer.begin (mySoftwareSerial)) {Serial.println (F ("Tsis tuaj yeem pib:")); Serial.println (F ("1. Please check the connection!")); Serial.println (F ("2. Please insert the SD card!")); thaum (muaj tseeb); } pinMode (IR1pin, INPUT); pinMode (IR2pin, INPUT); pinMode (IR3pin, INPUT); myDFPlayer.volume (20); myDFPlayer. EQ (DFPLAYER_EQ_CLASSIC); myDFPlayer.outputDevice (DFPLAYER_DEVICE_SD); FastLED.addLeds (LED1color, NUM_LEDS_PER_STRIP); FastLED.addLeds (LED2color, NUM_LEDS_PER_STRIP); FastLED.addLeds (LED3color, NUM_LEDS_PER_STRIP); FastLED.setBrightness (BRIGHTNESS); } void loop () {yog (digitalRead (IR1pin) == LOW) {LED1show (); } yog (digitalRead (IR2pin) == LOW) {LED2show (); } yog (digitalRead (IR3pin) == LOW) {LED3show (); }} void LED1show () {myDFPlayer.play (1); rau (int i = 0; i
Pom zoo:
DIY Ua Npuas Ncauj Teeb - Yooj Yim thiab Pheej Yig Diwali Decor Lub Tswv Yim Siv Cov Npuas Ua Npuas Ncauj: 4 Kauj Ruam
DIY Ua Npuas Ncauj Teeb | Yooj Yim thiab Pheej Yig Diwali Decor Lub Tswv Yim Siv Cov Npuas Ua Npuas Ncauj: Hauv kab ntawv no, peb yuav tham txog txoj haujlwm rau Diwali Kev Ua Kev Zoo Siab ntawm pob nyiaj siv. Kuv vam tias koj yuav nyiam qhov kev qhia no
DIY Huab Cua Chaw Ua Haujlwm Lub Tswv Yim Lub Tswv Yim rau 12+ Xyoo: 4 Kauj Ruam
DIY Huab Cua Chaw Ua Haujlwm Lub Tswv Yim Lub Tswv Yim rau 12+ Xyoo: Hauv qhov haujlwm no, cov koom nrog yuav teeb tsa lawv lub chaw nres tsheb huab cua, xa nws mus rau saum huab cua, thiab saib xyuas cov ntaubntawv kaw (lub teeb, kub, av noo) hauv lub sijhawm tiag tiag ntawm Blynk app. Nyob rau sab saum toj ntawm txhua qhov no, koj yuav kawm paub yuav tshaj tawm cov txiaj ntsig tau sau tseg li cas
Cov Lus Qhia Ua Kom Koj Lub Tswv Yim Lub Tswv Yim Muaj Tseeb: 6 Cov Kauj Ruam (nrog Duab)
Cov Lus Qhia Kom Ua Koj Lub Tswv Yim Lub Tswv Yim: Qhov tseem ceeb tshaj plaws ntawm txoj haujlwm ua tiav yog muaj lub tswv yim zoo tiag tiag, tab sis qee zaum lub tswv yim yog qhov yooj yim! Tom qab ntawd los ua haujlwm nyuaj hauv kev ua qhov flash flash ntawm kev txawj ntse rau qee yam uas tib neeg " ooh " thiab " ah " ov
Laptop Cooling Pad DIY - Txaus Lub Neej Hacks Nrog CPU Ntxuam - Tswv yim tswv yim - Khoos phis tawj Computer: 12 Kauj Ruam (nrog Duab)
Laptop Cooling Pad DIY | Txaus Lub Neej Hacks Nrog CPU Ntxuam | Tswv yim tswv yim | Khoos phis tawj Computer: Koj yuav tsum saib cov vis dis aus no kom txog thaum nws xaus. kom nkag siab cov yees duab
Yuav Ua Li Cas Txuas Lub Laub Khawm Nrog Suab Tawm Tswv Yim thiab Tso Tawm: 13 Kauj Ruam
Yuav Ua Li Cas Txuas Lub Laub Khawm Nrog Lub Suab Tawm Tawm thiab Tawm Tawm: Lub laub khawm yog ib qho ntawm cov hauv paus tseem ceeb rau kev ntes koj qhov kev ua. Koj tuaj yeem thawb lub pob kom ua ib yam dab tsi. Muaj ntau txoj hauv kev los siv cov nyees khawm hauv koj cov phiaj xwm (piv txwv li nyiag nkas nas thiab keyboard, lossis Arduino, gainer, MCK). Tsi