Cov txheej txheem:
- Kauj Ruam 1: Cov Cuab Yeej & Cov Khoom
- Kauj Ruam 2: Hluav Taws Xob Schematic
- Kauj ruam 3: Software
- Kauj ruam 4: Sib dhos
- Kauj Ruam 5: Xeem & Kho
Video: Arduino-propelled Necklace: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Kuv tau tshawb nrhiav qhov project Arduino zoo rau kuv lub caij so xyoo kawg. Tab sis yuav ua li cas? Kuv tus ntxhais me tau xav tsis thoob thaum kuv muab nws cov saw hlau "hluav taws xob" rau nws, thiab kuj zoo siab heev. Kuv vam tias tus neeg uas koj yuav muab rau koj qhov kev ua tiav yuav zoo siab heev.
Cov hniav nyiaj hniav kub nws tus kheej muaj Micro Controller, thiab RGB LED uas muaj tib qhov ntev. Qhov saw caj dab muaj cov xaim tooj dag nyias, uas tuaj yeem muab muag tau yooj yim nrog cov xaim me me. Lub zog pub mis yog qhov yooj yim 3V npib cell lithium roj teeb. Kuv siv daim ntawv nplaum me me, pom hauv kuv tus kheej lub tsev muag tshuaj, los tiv thaiv thiab cais cov roj teeb.
Kauj Ruam 1: Cov Cuab Yeej & Cov Khoom
Cov cuab yeej
- soldering hlau, 0.5 hli tin soldering hlau
- lub tsom iav, vim hais tias cov xov hlau rau cov kab laug sab me me
- lub computer nrog Arduino software teeb tsa
- ISP programmer, raws li tau piav qhia ntawm no
- me me xov hlau txiav
Khoom siv
- CR2032 roj teeb nrog nws cov roj teeb hauv qab (suav nrog ob ntu, ib qho rau txhua tus ncej)
- heev nyias tooj dag hlau
- ib RGB LED hauv 5050 pob, nrog WS2812B nti sab hauv (qhov no tseem ceeb, vim tias koj tuaj yeem pom 5050 LED tsis muaj WS2812B tus tswj sab hauv)
- ib daim ntawv kho mob me me
- Atmel Attiny85-20SU SMD Micro Controller Unit
- ib txoj saw caj dab pheej yig
Kauj Ruam 2: Hluav Taws Xob Schematic
Cov txheej txheem hluav taws xob tau yooj yim heev, vim tias tsis muaj cov khoom siv tsis xws luag, xws li cov neeg tiv thaiv, cov khoom siv hluav taws xob, lossis cov khoom siv hluav taws xob, thiab vim tias tsuas muaj 3 yam, suav nrog roj teeb.
Lub hwj huam pob kuv tau siv yog 3V CR2032 lithium roj teeb. Nws qhov hluav taws xob qis dua qhov tau hais hauv WS2812B cov ntawv, tab sis tom qab sim, RGB LED tsis raug kev txom nyem los ntawm qhov 2V poob no.
Qhov tseeb kom tuaj yeem siv tau yooj yim 3V npib cell roj teeb yog qhov xwm txheej tseem ceeb heev rau kuv kom ua txoj haujlwm no ciaj sia. Peb tsis tuaj yeem xav txog txoj saw caj dab nrog lub roj teeb hnyav hnyav ua lub zog siv.
Micro Controller Unit (MCU) kuj tseem ua haujlwm tau zoo nrog qib 3V qhov hluav taws xob no.
Kuv ntsuas qhov ntsuas tam sim no ntawm 5.3 mA. Xws li CR2032 lithium roj teeb muaj peev xwm li ntawm 200 mAh. Qhov no txhais tau tias, nrog lub roj teeb tshiab, koj tuaj yeem tso lub kaw lus rau 40 teev. Tab sis, txawm tias ib nrab yuav txaus txaus rau kev siv ib txwm muaj.
Kauj ruam 3: Software
Micro Controller Unit yog ATTINY85 (~ $ 1) los ntawm Atmel. Kuv programmed nws nrog pheej yig Arduino Nano (clone pom ntawm ebay txog li $ 5). Tab sis yog tias koj muaj tus thawj tswj hwm Arduino tiag, koj tuaj yeem siv nws rau qhov ntawd ib yam.
Arduino Nano tau ua haujlwm nrog "Arduino as ISP" kos duab.
Cov duab kos los ua haujlwm rau hauv ATTINY85 Micro Controller tau muab raws li txuas ntawm cov kauj ruam no: JeweLED.ino
Ceev faj tias koj yuav tsum hlawv lub bootloader rau MCU kom ua tiav txoj haujlwm. Qhov no yeej tsis nyem Arduino bootloader ntawm MCU, tab sis ua rau qee qhov teeb tsa tseem ceeb fuses. Yog tsis ua qhov no, daim duab yuav tsis ua haujlwm txhua.
Hom phiaj los xaiv yuav tsum yog: Attiny85 @ 8MHz (oscillator sab hauv, BOD xiam oob qhab).
BOD sawv rau Brown-Out Detect. Nov yog qhov tshwj xeeb uas kaw MCU thaum lub zog qis dua 4.3V. Qhov no muaj txiaj ntsig zoo kom tsis txhob ua kom cov roj teeb rov puas dua. Tab sis hauv peb qhov xwm txheej, nws yuav tsum tau xiam oob khab, vim tias peb tab tom yuav txhawb peb MCU nrog tsuas yog 3V, thiab tsawg dua.
Kauj ruam 4: Sib dhos
Thawj kauj ruam yog teeb tsa MCU nrog LED.
Thaum tau teeb tsa, tsuas yog tus pin 4, 5 thiab 8 ntawm Atmel MCU yuav tsum tau khaws cia. Lwm tus pin tuaj yeem raug tshem tawm, vim tias tsis tsim nyog.
Tus Pin 4 ntawm MCU yuav tsum tau muab txuas nrog tus pin 3 ntawm 5050 pob. Qhov no yuav txuas nrog tus ncej tsis zoo ntawm lub roj teeb.
Tus Pin 8 ntawm MCU yuav tsum tau muab txuas nrog tus pin 1 ntawm 5050 pob. Qhov no yuav txuas nrog tus ncej zoo ntawm lub roj teeb.
Tus Pin 5 ntawm MCU yuav tsum tau muab txuas nrog tus pin 4 ntawm 5050 pob. Tus lej 5 sib haum rau PIN0 ntawm Arduino rau hom MCU no.
Siv daim ntawv kho mob los cais cov roj teeb ntawm tes ntawm daim tawv nqaij. Qhov no tso cai rau koj txhawm rau kho qhov tsis zoo ntawm cov xaim tooj liab mus rau qhov tsis zoo ntawm lub roj teeb.
Tsis muaj lub zog hloov pauv ntawm qhov kev teeb tsa no. Txhawm rau kaw-tawm LED, koj yuav tsum qhib lub saw caj dab, los ntawm rub cov hlau tsis zoo tawm ntawm lub roj teeb.
Thiab tag nrho cov.
Kauj Ruam 5: Xeem & Kho
Raws li koj tuaj yeem pom ntawm daim duab ze, kuv tau muab ob lub nplhaib me me ntawm cov tooj dag txuas rau ntawm GND thiab VDD tus pin. Lub hom phiaj ntawm qhov no yog txhawm rau muab cov khoom siv hluav taws xob "hluav taws xob" no rau saw caj dab.
Rau thawj qhov kev sim, Kuv tsuas yog siv cov tooj dag ua cov saw hlau. Cov xaim tooj dag yog qhov tsim nyog los xyuas kom muaj kev sib cuag hluav taws xob, tab sis tsis txaus. Cov xaim tooj liab yog lub teeb hnyav dhau, thiab lub roj teeb tom qab lub caj dab hnyav dhau los piv rau LED ntawm sab xub ntiag. Yog li kuv yuav tsum tau siv lub caj dab tiag rau lub roj teeb kom nyob hauv qhov chaw.
Koj yuav tsum cais cov saw caj dab rau hauv ob ntu ntawm qhov ntev, thiab kaw ob feem no mus rau lub nplhaib pob zeb.
Kuv twined cov tooj dag xaim rau hauv txhua lub voj ntawm txoj saw caj dab. Cov xov hlau yuav luag tsis pom, thiab xyuas kom muaj kev siv hluav taws xob zoo li ua kom nruj ntawm kev tsim kho tag nrho.
Lwm txoj hauv kev los ua hluav taws xob yuav yog siv cov xov hlau tsis zoo, uas koj tuaj yeem pom ntawm Adafruit rau qee qhov nyiaj.
Ntawm daim vis dis aus, koj tuaj yeem pom JeweLED hauv kev nqis tes ua.
Txaus siab rau!
Saib nws hauv kev nqis tes ua
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
NeckLight: tus PCB Necklace rau Tib Neeg thiab Aub: 8 Kauj Ruam (nrog Duab)
NeckLight: PCB Necklace rau Tib Neeg thiab Aub: Nyob zoo txhua tus, txoj haujlwm no yog kuv thawj Cov Lus Qhia yog li kuv yuav sim ua qhov zoo tshaj plaws Hauv txoj haujlwm no, kuv yuav piav qhia koj li cas kuv thiaj tswj tau los tsim cov saw caj dab PCB no uas ci hauv qhov tsaus ntuj! Yuav kom ncaj ncees, qhov no yog txoj haujlwm zoo tshaj yog tias koj xav kawm
Kev pauj kua zaub ntsuab ntawm Sith Glow PCB Necklace: 6 Kauj Ruam (nrog Duab)
Kev pauj kua zaub ntsuab ntawm Sith Glow PCB Necklace: Yog tias koj tsis paub nrog Star Wars ntau yam, lossis nyob hauv lub galaxy nyob deb deb, nws yog hais txog tib neeg sib ntaus nrog ntaj laser, hauv qhov chaw, siv qhov no hu ua quab yuam, thiab hnav khaub ncaws , Jedi yog lub teeb pom kev thiab Sith yog da
Binary Bead Necklace: 5 Kauj Ruam
Binary Bead Necklace: Cov tub ntxhais kawm kawm paub txog cov lej binary thiab tsim cov saw caj dab sau lawv lub npe hauv binary
DIY Smart Necklace rau Valentine Khoom Plig los ntawm Arduino & OLED Zaub: 5 Kauj Ruam
DIY Smart Necklace rau Valentine Khoom Plig los ntawm Arduino & OLED Zaub: Nws yog lub sijhawm Valentine thiab yog tias koj tab tom npaj muab khoom plig zoo rau koj tus phooj ywg, Nws yog qhov zoo dua los siv koj tus kheej kev paub lossis kev txawj ntse thiab ua rau lawv zoo siab nrog koj tus kheej tes ua khoom plig . Raws li koj paub, Arduino muab ntau yam kev xaiv los ua qhov sib txawv