Cov txheej txheem:

Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85: 6 Cov Kauj Ruam
Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85: 6 Cov Kauj Ruam

Video: Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85: 6 Cov Kauj Ruam

Video: Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85: 6 Cov Kauj Ruam
Video: Scheda di Prototipazione Atmel Microchip AVR ATmega128 | Unboxing, presentazione e Arduino IDE 2024, Hlis ntuj nqeg
Anonim
Image
Image
Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85
Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85
Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85
Rooj Christmas Ntoo Tsob Ntoo LEDs Attiny85

Me me (32x32mm) Christmas tsob ntoo 8 LEDs ua los ntawm ATtiny85 SU (smd) kom tso rau ntawm nws lub rooj ntawm Christmas hnub, qhov ua yeeb yaj kiab kav 5 feeb thiab rov ua dua hauv lub voj

SOFTWARE:

software luam tawm dawb software: Kicad 5 txuas

Arduino hwm 1.8

USBASP programmer lossis ISP Arduino board

cov laug cam Me me rau kev ua haujlwm ATTinys hauv Arduino software pom hauv qab no rau teeb tsa cov no

Kauj ruam 1:

Duab
Duab
Duab
Duab
Duab
Duab

TOOLS: Cov iav tsom iav pheej yig

Soldering hlau

taub 1 hli 0.5 hli (lossis 1 hli) vuam

soldering flux

acetone

UV insolating tshuab

Mini laum thiab hav zoov 0, 8mm max

txiab ua txhua yam

rab phom kub kub lossis 2 tivthaiv epoxy kua nplaum

tweezers (kom nkag mus rau SMD)

pleev xim dawb thiab cov kua roj vanish

Kauj ruam 2: Cheebtsam

SMD Cheebtsam:

8 xim LEDs (loj 0805)

4 resistors 150 Ohms (loj 1206)

1 tsis kam 10 KOhms (loj 1206)

1 capacitor 100nF (loj 1206)

1 capacitor Tantalum 22μF 10Volts (loj B

ib txoj hlua tooj liab PCB Hlau lossis tus Tsov tus tw ntawm qhov tsis kam

epoxy pre sensitized positive double-sided 5/10 (qhov zoo tshaj) lossis 16/10 (nyuaj rau txiav)

Kauj Ruam 3: SCHEMATIC thiab PCB

SCHEMATIC thiab PCB
SCHEMATIC thiab PCB
SCHEMATIC thiab PCB
SCHEMATIC thiab PCB
SCHEMATIC thiab PCB
SCHEMATIC thiab PCB

Hom:

Yog tias koj tsis xav siv Kicad ntawm no yog ob sab ntawm tsob ntoo los luam tawm ntawm pob tshab lawv yuav tsum tau tsom iav (rov qab), cov no yog hauv SVG vector hom thiab qhib nrog tshawb hauv internet lossis zoo dua nrog dawb kos duab kos duab software Inkscape txuas Inskape

Kicad:

tag nrho cov ntaub ntawv Kicad nyob ntawm no: Kicad 5.1 cov ntaub ntawv

Kauj ruam 4: Ua IT

Ua IT!
Ua IT!
Ua IT!
Ua IT!
Ua IT!
Ua IT!

Txiav: Yog tias koj siv epoxy 0.5mm tuab koj tuaj yeem txiav tus qauv ntawm tsob ntoo nrog txiab (ceev faj rau cov ces kaum sab hauv) thiab tom qab ntawd kho nrog lub tshuab txiav. Yog tias koj tau siv 1.6mm epoxy (16/10) koj yuav tsum siv lub hacksaw hniav, cov ntaub ntawv thiab lub tshuab txiav.

vuam: Kev siv vuam ntawm SMD cov khoom yog qhov muag heev, Kuv qhia koj kom siv cov tsom iav tsom iav, tweezers, cov hlau txuas ntawm 0.5mm (1 hli siab tshaj). Ua tib zoo ntxuav PCB nrog acetone, tshuaj xyuas nrog lub iav tsom iav uas tsis muaj qhov txiav me me vim los ntawm khawb, lub tsho nrog cov dej ntws kom tsis txhob "pies" ntawm vuam. Kom tau txais txiaj ntsig zoo tshaj plaws ntawm CMS, ib txwm tiv thaiv cov khoom sib txuas thiab PCB nrog me ntsis flux ua ntej tinning thiab soldering. SMD LEDs yog qhov tsis yooj yim, tsis txhob sov lawv ntev heev thaum siv lawv. Muaj ntau qhov kev qhia qhia hlawv thiab vuam CMS hauv youtube thiab blog, yog tias koj yog tus pib hauv CMS Kuv qhia koj kom saib lawv. Peb pib los ntawm vuam 4 vias nrog ib txoj hlua ntawm cov hlua sib txuas lossis tus tw ntawm kev tiv thaiv ib qho ntawm ob sab, tom qab ntawd LEDs, tin lawv ib tus los ntawm ib qho thaum tswj hwm lawv nrog kev pab ntawm tweezers auto, tom qab ntawd tso lawv rau ntawm PCB thiab txuas thawj tus pin mloog zoo rau kev taw qhia qhov ntsuab teev qhia txog cathode (tsawg tshaj plaws) thiab tom qab ntawd muab tus lej thib ob txuas. Yog tias LED (hauv 0805) zoo li nyuaj heev rau lub lauj kaub koj tuaj yeem siv qhov loj me me saum toj no (1206 raws li cov neeg tawm tsam). Thaum LED welded koj tuaj yeem siv tau 4 tus tiv thaiv ntawm 150 Ohms uas nyob ntawm tib lub ntsej muag.

Lub nti yuav tsum tau programmed ua ntej soldering. Koj muaj kev xaiv ntawm ob tus qauv ATtiny13A (1K nco) lossis ATtiny85 (8K nco) Txhua yam ntsiab lus rau kev ua haujlwm thiab FUSE BIT tau piav qhia hauv qab no. Thaum cov txheej txheem txheej txheem koj tuaj yeem kho nws, kho nws ntawm PCB thiab siv tus lej txuas, kho kom haum rau lwm tus pin yog tias xav tau thiab muab tshuaj txhuam lawv ib tus zuj zus. Solder lub capacitor 100nF tom qab ntawd siv lub tshuab hluav taws xob Tantale10μF 10V, tiv taus 10KOhms thiab ua tiav los ntawm kev siv lub zog pins ntawm ob sab. Tom qab ntawd ntxuav PCB nrog acetone thiab tus txhuam hniav qub, xyuas tias tsis muaj cov ntawv kov thiab kuaj, saib xyuas + thiab - polarity ntawm kev pub, tsob ntoo yuav tsum "pib" tam sim ntawd, yog tias qhov no tsis yog qhov teeb meem txheeb xyuas qhov txuas thiab khiav.

Kho kom zoo nkauj nws nrog cov xim pleev xim, ci ntsa iab thiab duab ci hauv lub pas dej lossis ua rau koj nyiam.

Yog tias koj tsis xav nkag mus rau cov ntsiab lus ntawm cov phiaj xwm HEX cov ntaub ntawv txuas nrog hauv zip rau ATtiny13A thiab ATtiny85. Kuv tsis piav qhia txoj hauv kev siv cov programmer vim tias muaj cov ntawv qhia lossis youtube cov vis dis aus uas piav qhia nws.

Kauj Ruam 5: PROGRAM CHIP Tsis Muaj Arduino HEX Cov Ntaub Ntawv nkaus xwb

PROGRAM CHIP Tsis Muaj Arduino HEX Cov Ntaub Ntawv nkaus xwb
PROGRAM CHIP Tsis Muaj Arduino HEX Cov Ntaub Ntawv nkaus xwb
PROGRAM CHIP Tsis Muaj Arduino HEX Cov Ntaub Ntawv nkaus xwb
PROGRAM CHIP Tsis Muaj Arduino HEX Cov Ntaub Ntawv nkaus xwb
PROGRAM CHIP Tsis Muaj Arduino HEX Cov Ntaub Ntawv nkaus xwb
PROGRAM CHIP Tsis Muaj Arduino HEX Cov Ntaub Ntawv nkaus xwb

Yog tias koj tsis xav nkag mus rau cov ntsiab lus ntawm cov phiaj xwm HEX cov ntaub ntawv txuas nrog hauv zip rau ATtiny13A thiab ATtiny85.

HEX cov ntaub ntawv txuas

Txhawm rau program Attiny nco, koj xav tau software software thiab programmator Ntawm Windows, siv ProgIsp yog qhov ua tiav software uas tuaj yeem ua txhua yam ntawm AVR microcontrollers. Kuv tus programmer yog USBASP (peb pom nws ntawm ebay rau tus nqi tsis txaus ntseeg.) Kuv rov kho cov ntawv hauv PDF nrog lub screenshot:

ProgIsp phau ntawv qhia thiab software

Kuj tseem muaj avrdudess.exe nws ua haujlwm ntawm Windows thiab (Ubuntu nrog mono).

AVRdudess txuas

qhov chaw muaj txiaj ntsig zoo rau AVR chips pom cov duab rau ATtiny85

AVR Fuse tshuab xam zauv

saib cov screenshots rau kev teeb tsa ntawm fusesbit nrog ProgIsp thiab AVRdudess hauv qab qhov rais

Kauj Ruam 6: Hloov Kho thiab Txheej Txheem Chip Nrog Arduino

Pom zoo: