Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw
- Kauj Ruam 2: Hluav Taws Xob thiab Hluav Taws Xob
- Kauj ruam 3: Programming
- Kauj Ruam 4: Luam Lub Teeb Tswj Lub Teeb
Video: Ua pa Tsob Ntoo Christmas - Arduino Christmas Lub Teeb Tswj: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nws tsis yog xov xwm zoo uas lub thawv tswj rau kuv 9-ft ua ntej-ua ntoo Christmas ntoo tawg ua ntej Christmas , thiab cov chaw tsim khoom tsis muab hloov chaw. Qhov tsis txaus ntseeg no qhia yuav ua li cas thiaj ua rau koj tus kheej lub teeb LED tsav tsheb thiab tus tswj siv Arduino thiab L298N Tsav Tsheb, nrog rau ntau qhov pom kev suav nrog 'ua pa' tus qauv coj tsob ntoo Christmas no rov muaj sia dua.
Tsob ntoo kuv muaj yog Xim Hloov LED Christmas Tsob Ntoo Ua los ntawm GE, suav nrog cov teeb pom kev hauv qab no: 1) pom cov teeb pom kev zoo, 2) ntau xim LED teeb, 3) hloov pauv los ntawm ntau yam. Tsob ntoo yog tswj los ntawm lub teeb tswj los ntawm 29V DC fais fab mov. Cov xim hloov ua haujlwm li cas? Kuv sib cais lub thawv tswj, nws muab tawm tias txhua lub teeb pom kev muaj lub teeb pom kev zoo thiab xim LED txuas nrog ua ke tab sis nrog kev thim rov qab. Nyob ntawm qhov sib txawv ntawm DC lub zog muab, ib qho pom tseeb lossis xim LED yuav ci, yog li muab cov xim hloov pauv nrog tsuas yog ob txoj kab hluav taws xob. Hauv kuv qhov xwm txheej, transistors hauv H-choj sab hauv lub thawv tswj tau luv thiab lub zog hluav taws xob kuj tseem puas. Txhawm rau kom tsob ntoo rov ua haujlwm dua, Kuv yuav tsum nrhiav 29V DC lub zog hluav taws xob thiab tswj kom hloov pauv mus rau LEDs. Nov yog tib txoj haujlwm ib yam li tswj kev taw qhia thiab nrawm ntawm DC motors. Nrog rau lub khoos phis tawj me me, nws tseem tuaj yeem hloov qhov kev siv ntawm lub teeb thiab tsim kev pom ntxiv xws li "ua pa".
Kauj Ruam 1: Qhov Chaw
Lub teeb tswj muaj ob ntu:
- 29V DC fais fab mov
- Cov tswj hluav taws xob hloov pauv xim thiab ci ntawm LED lub teeb los ntawm kev hloov pauv qhov sib txawv ntawm DC lub zog nrog PWM (Pulse-width Modulation).
Tsob ntoo xav tau lub zog hluav taws xob 29V nrog txog 500mA muaj peev xwm. Nws nyuaj rau nrhiav lub zog qis 29V DC fais fab mov. Kuv siv XL6009 Step-up Power Module DC-DC Converter kom hloov pauv 12V DC rau 29V DC. Txog cov ntsiab lus ntawm XL6009 cov qauv, muaj cov lus qhia Qhia tau zoo.
Txhawm rau tswj lub teeb, Kuv siv L298N H-choj lub cav tswj, tswj los ntawm Arduino Nano board. L298N muaj ob qhov zoo sib xws H-choj txhua tus muaj qhov siab tshaj ntawm 2 Ampere muaj peev xwm thiab yog qhov zoo tshaj los siv hauv qhov no.
Txij li LN298N tus qauv raug rau 29V DC lub zog, lub onboard 5V lub zog siv hluav taws xob yuav tsum raug xiam oob qhab (tshem tawm 5V me me qhib lub jumper) thiab siv los ntawm 5V lub zog sab nraud. Kuv siv LM2596 DC rau DC Buck Hloov los hloov 12V DC rau 5V rau lub zog LM298N thiab Arduino Nano board. XL6009 thiab LM2596 modules zoo ib yam, nws tau qhia kom kho qhov hluav taws xob tso tawm cais ua ntej qhov sib dhos zaum kawg ntawm lub teeb tswj lub teeb, thiab qhia meej cov cim ntawm cov xov hlau.
Txhawm rau txuas cov khoom siv, Kuv siv Dupont jumper xov hlau lossis 16-18 AWG tso tseg cov xov hlau.
Ib qho ntxiv, koj yuav xav tau qee cov xov hlau thiab cov ntsia hlau, ntxiv rau nkag mus rau lub tshuab luam ntawv 3D los luam tawm rooj plaub, thiab cov hlau txuas.
Kauj Ruam 2: Hluav Taws Xob thiab Hluav Taws Xob
Txoj hlua yog qhov ncaj. Thaum cov khoom siv hluav taws xob hloov kho rau qhov xav tau qhov hluav taws xob, txuas 29V rau lub zog xa hluav taws xob ntawm L298N module lub cev muaj zog cim ua GND thiab +12V, thiab GND thiab 5V davhlau ya nyob twg ntawm L298N module mus rau tus pin sib xws ntawm Arduino Nano pawg thawj coj saib. Tsis tas li, txuas lub +5V fais fab mov los ntawm LM2596 tus qauv rau tib GND thiab +5V lub dav hlau los txhawb lub zog qhov laj thawj ntawm qhov Circuit Court. Tom qab ntawd, txuas Arduino Nano mus rau L298N raws li hauv qab no:
Pin 9 IN1
Pin 8 IN2
Pin 10 ENA
Thaum kawg, txuas lub teeb LED mus rau Qhov Chaw Tso Tawm ntawm lub L298N module.
Kauj ruam 3: Programming
Cov ntawv txuas nrog yog tus qauv Arduino kos duab nrog "Ua pa" cov nyhuv.
Kauj Ruam 4: Luam Lub Teeb Tswj Lub Teeb
Hauv qab no yog cov ntaub ntawv STL rau lub thawv ntawv, Kuv tau luam tawm txhua feem nrog 25% ntxiv. Mount tag nrho cov khoom siv hluav taws xob sab hauv lub thawv siv M2x5mm tus kheej tapping screws thiab sib dhos lub thawv.
Pom zoo:
Teeb Tsob Ntoo Bonsai Tsob Ntoo: 3 Kauj Ruam
Teeb Tsob Ntoo Bonsai Tsob Ntoo: Lwm tsob ntoo xaim! Zoo, Kuv yuav tsis nkim koj lub sijhawm yuav ua li cas kom tsob ntoo, raws li muaj ntau qhov qhia tau zoo heev nyob rau ntawd. Kuv tau txais kev tshoov siab los ntawm Txiaj Ntsig Zoo Tshaj rau kev tsim tsob ntoo, thiab suziechuzie rau kuv lub tswv yim txuas xov. Hauv qhov no
Lub Vev Xaib-Tsob Ntoo Christmas Tsob Ntoo (Ib Tus Neeg Tuaj Yeem Tau Nws): 19 Cov Kauj Ruam (nrog Duab)
Lub Vev Xaib-Tsob Ntoo Christmas Tsob Ntoo (Ib Tus Neeg Tuaj Yeem Tau Nws): Koj xav paub lub vev xaib tswj hwm tsob ntoo Christmas zoo li cas? Nov yog daim vis dis aus qhia tawm kuv qhov project ntawm kuv tsob ntoo Christmas. Tam sim no cov kwj tawm tau xaus los txog tam sim no, tab sis kuv tau ua yeeb yaj kiab, ntes dab tsi tau tshwm sim: Xyoo no, nyob nruab nrab ntawm Lub Ob Hlis
RGB LED Ntoo Tsob Ntoo: 15 Cov Kauj Ruam (nrog Duab)
RGB LED Maker Tsob Ntoo: Peb lub chaw tsim khoom hauv cheeb tsam tau txhawb nqa tsob ntoo kom pom nyob rau ntawm Txoj Kev Loj rau lub Kaum Ob Hlis (2018). Thaum lub sijhawm peb tawm tswv yim sib tham, peb tau los nrog lub tswv yim muab qhov tsis txaus ntseeg ntawm LEDs tso rau ntawm tsob ntoo los ntawm kev ua kom zoo nkauj ib txwm muaj
Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85: 6 Cov Kauj Ruam
Rooj Christmas Tsob Ntoo Tsob Ntoo LEDs Attiny85: Me me (32x32mm) Christmas tsob ntoo 8 LEDs ua los ntawm ATtiny85 SU (smd) los tso rau ntawm nws lub rooj ntawm Christmas hnub, qhov ua kom ntev li 5 feeb thiab rov ua dua hauv lub voj. Kicad 5 txuasArduino 1.8USBASP programmer lossis ISP
Yuav Ua Li Cas Siv Qhov Tsob Ntoo Tsob Ntoo Los Ua Ke Los Ua Ib Tug Ntoo Zoo Nkauj thiab Muaj Zog Ntoo: 10 Kauj Ruam
Yuav Siv Li Cas Ib Ntus Ntoo Los Ua Ke Los Ua Ib Tug Ntoo Zoo Nkauj thiab Muaj Zog: Lub npe ntawm caj npab neeg hlau yog WoodenArm. Nws zoo nkaus li ntxim hlub heev! Yog tias koj xav paub ntau ntxiv txog WoodenArm, thov xa mus rau www.lewansoul.com Tam sim no peb tuaj yeem qhia txog WoodenArm, cia peb txav mus