Cov txheej txheem:
- Kauj ruam 1: Tsim Schematic
- Kauj Ruam 2: Tsim PCB
- Kauj Ruam 3: Ua Koj Li PCB
- Kauj ruam 4: Soldering
- Kauj ruam 5: Programming
- Kauj ruam 6: Binary moos
- Kauj Ruam 7: Project BOM thiab Gerber Files
Video: 5 $ PCB CALENDAR NROG BINARY CLOCK: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo! Kuv tau ua daim ntawv qhia hnub PCB no thiab lub sijhawm binary nrog Eagle CAD. Kuv siv ATMEGA328P MCU (los ntawm Arduino) thiab 9x9 LED matrix. Qhov ntev rau kuv lub rooj tsavxwm yog 8cmx10cm (3.14inch x 3.34inch). Nws me me me tab sis ua ntej: dawb version ntawm Eagle CAD tso cai 80cm^2 thiab thib ob: jlcpcb.com qhov loj me rau 2 $ pcb yog 10cmx10cm. Kuv yuav ua haujlwm zoo dua ntawm qhov haujlwm no nrog STM32L series MCU thiab DCF77. Tab sis qhov no kuj yog qhov haujlwm txias thiab yooj yim uas koj tuaj yeem kawm txhua tus txheej txheem li cas PCB tau tsim thiab tsim tawm + yuav siv Arduino li tus tsim qauv li cas.
Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas los ua koj tus kheej daim ntawv qhia hnub PCB.
PS Nws yog kuv thawj tus qauv hauv cov duab thiab vis dis aus yog li kuv tau ua qee qhov yuam kev me me (hmoov zoo khawv koob haus luam yeeb tsis tuaj tawm: D) Ntawm qhov loj me heev hauv kuv thawj qhov haujlwm thiab daim npog qhov ncauj tsis tuaj yeem hla qhov xyaum li qee cov ntawv tsis tau sau tag nrho. Xyoo tas los yog 2021 hloov xyoo 2023. Kuv tau kho qhov no hauv cov ntaub ntawv koj tuaj yeem rub tawm tau;)
Kauj ruam 1: Tsim Schematic
Ua ntej Koj yuav tsum xaiv tus tswj rau Koj txoj haujlwm thiab Koj yuav tswj hwm LEDs li cas. Kuv xaiv ATMEGA328P raws li nws tau siv hauv Arduino thiab nws tuaj yeem ua haujlwm hauv Arduino IDE. Tab sis qhov no tsis yog tus tswj hwm zoo tshaj plaws rau daim ntawv thov lub zog qis. Kuv pom zoo STM32 L series micro-controllers rau kev siv hluav taws xob qis.
Rau LED tswj kuv tau xaiv 9x9 LED matrix vim qhov no yog ib txoj hauv kev zoo tshaj los tswj ntau lub LEDs (81 ntawm lawv) nrog tsuas yog 18 GPIO pins.
Kuv ntxiv P-channel MOSFET ntxiv los tswj lub zog rau txhua lub LEDs. Qhov MOSFET no tuaj yeem tsav nrog PWM teeb liab los tswj LED ci ci.
Txog roj teeb kuv xaiv CR2032 (150mAh). Txawm hais tias qhov no yog lub zog tsim tau zoo vim tias tsuas muaj ib lub LED nyob rau txhua lub sijhawm thiab tus tswj hwm tuaj yeem tso rau hauv hom pw tsaug zog, CR roj teeb yuav tsis nyob ntev dhau. Rau kuv qhov haujlwm tom ntej no kuv yuav siv lub roj teeb rov tau nrog 5V USB chaw nres nkoj.
Kuv xaiv siv ATMEGA328P sab hauv oscillator vim tias nws tuaj yeem txo qis rau 1Mhz lossis txawm tias tsawg dua rau kev siv hluav taws xob zoo dua tab sis nws muaj teeb meem nrog lub moos zaus nyob ruaj khov (yuav muaj qee qhov yuam kev hauv vib nas this 24 teev).
Kauj Ruam 2: Tsim PCB
Kuv pom zoo qhov vis dis aus no los pib nrog Eagle thiab tshawb hauv forums.autodesk.com yog tias koj muaj teeb meem. Koj tuaj yeem rub tawm thiab siv kuv cov ntaub ntawv gerber yog tias koj tsis xav ua koj tus kheej tsim. Hauv Dav dawb hau tsuas yog import cov ntaub ntawv gerber File-> Ntshuam-> Gerber.
Hauv Eagle CAD 21 thiab 22 txheej Koj tuaj yeem hloov cov ntawv thiab ntxiv cov duab rau PCB. Dav dawb hau txheej
Kev qhia zoo yuav ua li cas ntxiv cov duab rau Eagle PCB: Ntxiv Kev Cai Duab rau EAGLE PCB Layouts
Kauj Ruam 3: Ua Koj Li PCB
Kho: cov lus qhia zoo yuav ua li cas PCB: DIY Professional Ob Chav Sided PCB
Tau kawg Koj tuaj yeem ua nws ntawm koj tus kheej tab sis hnub no nws pheej yig dua thiab zoo dua los ua PCB hauv Suav teb. Los ntawm JLCpcb.com Koj tuaj yeem tau txais 10x10cm 10pcs qis li 2USD. Teeb meem nrog JLCpcb.com yog thaum Koj xaiv cov xim sib txawv raws li tus qauv ntsuab (xim dub yog 17USD:() Kuv kuj pom zoo kom elecrow.com vim tias txhua xim nqi 4.90 $ (tshwj tsis yog matt-dub thiab ntshav).
Tsuas yog tus piv txwv nrawm yuav xaj PCB los ntawm JLCpcb: 1) nias "QUOTE NOW"
2) nias "Ntxiv koj cov ntaub ntawv gerber"
3) upload zip lossis rar
4) tag nrho cov khoom tuaj yeem raug tso tseg
*tib yam Koj yuav tsum hloov pauv ntawm cov khoom yog PCB Xim (kim dua me ntsis). Hauv qhov no nws pheej yig dua kom xaj lawv hauv www.elecrow.com
Kauj ruam 4: Soldering
Yog tias koj rov ua dua kuv txoj haujlwm no yog cov kauj ruam nyuaj tshaj plaws vim tias kuv siv 0603 SMD LEDs thiab 0402 resistors tab sis nws yeej tsis nyuaj rau cov khoom me me yog tias koj muaj cov cuab yeej zoo rau txoj haujlwm. Rau kuv nws siv sijhawm li ib teev txhawm rau txhuam cov khoom sib xyaw. Kuv kawm paub yuav ua li cas thiaj li yaj tau los ntawm tus tswv nws tus kheej: EEVblog #997 Yuav Ua Li Cas Thiaj Li Cuam Tshuam Mount Mount Cheebtsam
Kuv siv tus ntse tweezers thiab qhov me me zoo dua cov hlau txuas Amazon txuas
Siv cov xaim hluav taws xob zoo li koj tuaj yeem tau txais!
Kauj ruam 5: Programming
CEEB TOOM: tshem roj teeb ua ntej Koj txuas nws mus rau Arduino. Ardunino ua haujlwm nrog 5V tab sis roj teeb yog 3V. Kuv tsis tau ntxiv diode hauv koob nrog roj teeb vim tias 3V-Vdiode_drop yuav yog 2.7V qhov zoo tshaj plaws.
Ua ntej ua raws qhov kev qhia no yuav teeb tsa Arduino li ISP yog li Koj txias qhov programme ATMEGA328P nrog Arduino IDE. Hauv cov lus qhia ua raws Tsawg Tsawg Circuit (Tshem Tawm Lub Sijhawm Sab Nraud). Yog tias koj muaj Arduino nrog SMD MCU Koj tuaj yeem ua raws cov lus qhia no: Arduino-Leonardo-as-Isp
Koj tuaj yeem rub kuv daim duab Calendar.ino thiab txheeb xyuas seb nws ua haujlwm li cas. Muaj qee qhov tshwj xeeb tseem tab tom tsim (teeb sijhawm nrog khawm, hom pw tsaug zog thiab suav xyoo dhau los). YOG cov lus tuaj yeem hloov nrog SWITCH cov lus lossis txawm tias nrog cov kab.
Kauj ruam 6: Binary moos
Binary moos qhia sijhawm hauv binary hom. Binary moos Wikipedia
Yog tias koj tsis yog tus programmer thaum xub thawj nws zoo li coj txawv txawv tab sis qhov no yog txoj hauv kev zoo li cas thiaj li tau siv los rau tus lej binary;)
Kauj Ruam 7: Project BOM thiab Gerber Files
calendar_main_sch.txt cov ntaub ntawv muaj txhua ntu rau txoj haujlwm no (qhib nws nrog notepad lossis notepad ++ rau kev ua kom raug)
Resistors R1 rau R77 yog LED tam sim no txwv resistors thiab tuaj yeem los ntawm 100 txog 400 Ohms tab sis kuv pom zoo kom siv 220 Ohms resistors. Koj tuaj yeem nyeem cov ntawv qhia no kom paub ntau ntxiv: Yuav ua li cas los laij cov kab tawm tsam rau LED
Q10 txog Q18 yog N-channel MOSFETS hauv SOT-23 rooj plaub. Koj tuaj yeem siv ib qho N-channel Kev Txhim Kho Hom MOSFET tab sis txheeb xyuas hauv cov ntaub ntawv ntsuas qhov ntsuas: "Qhov Rooj Qhov Rooj Voltage". Tus nqi siab tshaj yuav tsum qis dua 3V.
caledar_main_sch.zip muaj tag nrho cov ntaub ntawv gerber (Cov ntaub ntawv no twb tau kho nrog me dua ntawm qhov me me yog li ntawd daim npog qhov ncauj tuaj yeem npog lawv tag nrho thiab vias yuav tsis pom thiab xyoo tas los tam sim no yog 2023). Koj tuaj yeem import lawv hauv Eagle lossis xa mus rau JLCpcb thiab "QUOUTE NOW"
Calendar.rar yog txhua qhov kuv Eagle CAD project. Tej zaum Koj yuav tsum mus rau hauv tus thawj tswj tsev qiv ntawv thiab ntxiv cov chaw qiv ntawv. Hauv Dav Dav Dav: Lub Tsev Qiv Ntawv-> qhib tus thawj tswj tsev qiv ntawv-> Avalable-> Xauj-> ntxiv Lub Tsev Qiv Ntawv qhov chaw-> nyem rau ntawm lub tsev qiv ntawv-> siv.
Pom zoo:
Binary Desk Clock: 9 Kauj Ruam (nrog Duab)
Binary Desk Clock: Binary Clock yog qhov txaus thiab tshwj xeeb rau tus neeg uas paub binary (hom lus ntawm cov khoom siv digital). Yog tias koj yog tus txiv neej thev naus laus zis lub moos coj txawv txawv no yog rau koj. Yog li, ua ib qho ntawm koj tus kheej thiab khaws koj lub sijhawm tsis pub lwm tus paub! Koj yuav pom ntau ntau binary c
4 Binary Binary Counter Up/Down: 11 Kauj Ruam
4 Bits Binary Counter Up/Down: Lub txee yog 4 bits binary counter nce/nqis. Ntawd yog, lub txee no tuaj yeem suav ntawm 0 txog 15 lossis los ntawm 15 txog 0 vim tias nws suav nrog nce lossis nqis. Txoj haujlwm yog lub rooj sib tham binary ua nrog 4029, 555, thiab 4-10 mm LED feem ntau los ntawm kev siv ob npaug
Binary LED Marble Clock: 6 Cov Kauj Ruam (nrog Duab)
Binary LED Marble Clock: Tam sim no kuv xav txog txhua tus muaj lub moos binary thiab ntawm no yog kuv li. Qhov kuv nyiam yog qhov haujlwm no ua ke qee cov ntoo, kev tsim qauv, kev kawm, khoom siv hluav taws xob thiab tej zaum tsuas yog kev tsim txuj ci me ntsis. Nws qhia lub sijhawm, hli, hnub, hnub
Arduino Binary Clock - 3D Luam Ntawv: 5 Cov Kauj Ruam (nrog Duab)
Arduino Binary Clock - 3D Luam Tawm: Kuv tau saib ntawm Binary moos rau qee lub sijhawm rau kuv lub rooj ua haujlwm, txawm li cas los xij lawv kim heev thiab / lossis tsis muaj qhov tshwj xeeb loj. Yog li kuv txiav txim siab kuv yuav ua ib qho xwb. Ib lub ntsiab lus los txiav txim siab thaum ua lub moos, Arduino / Atmega328
Binary Marble Clock: 9 Kauj Ruam (nrog Duab)
Binary Marble Clock: Nov yog lub moos yooj yim uas qhia lub sijhawm (teev/feeb) hauv binary siv leds zais hauv qab iav pob zeb.Rau qhov nruab nrab tus neeg nws zoo li zoo li cov teeb, tab sis koj yuav tuaj yeem qhia lub sijhawm los ntawm tsuas yog nrawm nrawm ntawm lub moos no. Nws