Cov txheej txheem:
- Kauj Ruam 1: Daim Ntawv Teev Npe
- Kauj Ruam 2: Hluav Taws Xob Hluav Taws Xob
- Kauj Ruam 3: Kho Vajtse: Yuav Ua Li Cas Thib 2-Sided Board Nrog Toner-Direct Method
- Kauj ruam 4: Software thiab Flashing
- Kauj ruam 5: Rooj plaub
- Kauj Ruam 6: Cov lus xaus
Video: SMALL 3D-print OLED Wrist-Watch: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo, koj puas nyiam tsim koj tus kheej lub dab teg-Saib?
Nws muaj tseeb yog qhov nyuaj los tsim lub me me DIY Wrist-Watch zoo li no. Cov txiaj ntsig yog kev txaus siab los ua koj tus kheej lub tswv yim tiag tiag thiab muaj kev txaus siab ntawm kev mus txog qib kev txawj ntse no …
Qhov laj thawj rau kuv los ua kuv Tus Kheej yog qhov kuv pheej yig-ntse saib-hais kom ua pov thawj dej-muab nws cov dab tsis zoo ib zaug poob rau hauv pas dej da …:(Yog li kuv npau taws ntawm kev yuav lub moos (lwm qhov kim "hnub ci" "-watch kuj tau tso tseg-nws cov roj teeb me me uas tsis muaj peev xwm hloov tau …).
Ntawm qhov tod tes, tam sim no DIY-Saib Cov Haujlwm rau kuv qhov tsw yog feem ntau hnyav lossis xeb dhau-yog li kuv txiav txim siab los tsim kuv tus kheej saib, muaj qhov ua tau kom suav nrog qhov kuv nyiam tshaj!
Yog tias koj nyiam, koj tuaj yeem hloov kho software, kom paub koj tus kheej lub tswv yim: Kuv tau tawm tswv yim tawm txhua kab (nyob ntawm qhov xaiv Qhov Kev Pabcuam ntawm 700-800 kab …)-Tab sis ceeb toom: Qhov haujlwm no nyuaj tiag tiag thiab tsis yog rau cov pib tshiab ! Daim ntawv me thiab lub teeb me me (30 x 30 x 10 mm) daim ntawv xav tau kev tuav pov hwm zoo ntawm 3D-Luam cov ntaub ntawv thiab ua tib zoo siv cov laug cam ntawm 2-tog: txawm hais tias muaj kev xaiv rau PCB-xaj ntawm lub rooj tsavxwm muaj (Eagle- thiab Gerber-files suav nrog) ntawm no kuv tau ua nws nrog kuv qhov tshwj xeeb Toner-Direct method-kev qhia yog li ntawd kuj suav nrog ntawm no).
Cov Khoom ntawm Moos:
-128x64px OLED-Zaub qhia lub Digital thiab Analog Clock, qhib nrog txoj cai khawm, qhia Hnub, Sijhawm, Roj Teeb-Qib thiab Lub Cev Kub. Xwb (yog tias koj nyiam) nws yuav suav nrog Tswb lossis Timer.
-Ua tiav Ib Hlis-Daim Ntawv Teev Npe tau tso tawm nias lub khawm sab laug ntau dua 0.6s, hais txog lub lis piam-hnub tiag.
- Nyem rau sab laug khawm luv xaiv cov Ntawv Qhia yooj yim los xaiv Hnub, Sijhawm (thiab Tswb lossis Timer, yog xaiv los suav nrog hauv qhov haujlwm), qhov tseem ceeb los teeb tsa nrog Txoj Cai khawm.
-Nias lub khawm raug ob zaug ua kom lub me me LED- "Teeb" -Light, (zoo rau hmo tsaus ntuj).
-Nruab nrab ntawm 22 teev tsaus ntuj thiab 7 teev sawv ntxov OLED-Zaub tau txais qhov muag tsis pom, (saib muaj, nrog rau tshwj xeeb qhov ua haujlwm dim!) Yog li nws tsis dig muag thaum hmo ntuj.
- Li-Ion Roj teeb kav ntev txog li 2 xyoos, piv txwv tias cov zaub+hluav taws xob siv li 25mA kav ntev li 5 teev, tso saib lub moos txog 10 zaug hauv ib hnub.
Kauj Ruam 1: Daim Ntawv Teev Npe
Cov cuab yeej xav tau:
Yog tias koj nyiam sim koj tus kheej nrog qhov nyuaj- thiab software, koj xav tau:
• Breadboard 8.2 x 5.5 cm AliExpress
• 3, 3V tswj hwm Lub Hwj Chim-Qhov Chaw, zoo li qhov no ntawm cov txheej txheem saum toj no lossis ib qho zoo sib xws, tau los ntawm f.ex. los ntawm 5V-USB-Txuas (500mA). ⇒ AMS1117-Adj ⇒ ebay
• SMD SOIC-8 rau DIP-8 tus pin Adapter rau RTC-Chip ebay
• Atmel ISP -Programmer zoo li "USBTiny" - AliExpress
• Arduino Pro Mini AliExpress
• Breadboard Jumper-Wire Banggood
(Electronic-) Qhov xav tau:
• ⇒ saib Html-BOM-file rau cov khoom siv hluav taws xob (Rub tawm).
• Pawg 2-sided rau lub moos nws tus kheej: ⇒ saib Kauj Ruam "Yuav ua li cas thiaj ua tau 2-Sided Board nrog Toner-Direct Method".
• 1x - Roj teeb ø24 x 3mm - Lithium Battery 3, 2V (khawm cell) - CR2430 - AliExpress
• #25mm Kapton / Polymid Daim Kab Xev rau kev sib cais ntawm pawg thawj coj / roj teeb thiab OLED-board
• 1x Lub Tes Tsho -Pluaj 20mm - Kuv pom zoo "Milanaise Stainless Steel Wristwatch Pluaj" - ebay
• 3D-luam Case: ⇒ saib Download-file nrog cov lus qhia (Kauj Ruam).
Ib pawg tawm ntawm ob?
Nyob rau hauv rooj plaub koj xav ua ib lub rooj tsavxwm tawm ntawm ob (uC, RTC, lwm qhov THIAB THIAB OLED-steering-board hauv ib qho), koj tuaj yeem siv kuv lub Circuit Court + board-layout rau SSD1306-I2C-Display (saib rub tawm: OLED- Kev Qhia_SSD1306-I2C-Circuit.zip). Siv 2 txheej tag nrho thiab cais lawv tawm tsam cov zaub thiab roj teeb nrog Kapton Daim Kab Xev, yog li lub moos yuav txog li 1.5 hli nplaim taws tam sim no.
Kauj Ruam 2: Hluav Taws Xob Hluav Taws Xob
Ua ntej tshaj plaws peb yuav tsum paub cov hauv paus:
Qhov OLED-Clock no tau ua nrog DS3231 RTC-chip (Lub Sijhawm Tiag hauv SMD SO-8 daim ntawv me), poj niam yog tus coj los ntawm txhua tus paub ATMega328P- (Arduino) -Controller, thiab-sib piv rau ib txwm siv muag -StandBy (ntawm µController) - lub moos no tau muab hluav taws xob kaw tom qab 5 vib nas this, ntxiv rau RTC. Kuv tau ua qhov kev kaw no nrog ob lub mosfet-transistors, uas ua raws li "toggle-switch" ua ke nrog uC thiab txoj cai khawm (D8).
Ob lub Push-Buttons me me ntawm ob sab ntawm rooj plaub (D6 thiab D8) ua raws li cov tswv yim, dab dab tuav cov ntawv qhia zaub mov thiab teeb tsa ntawm lub moos.
Lub moos muaj Hnub+Sijhawm Zaub, (Tswb -Zaub - yog suav nrog hauv qhov program), Teeb nyem thiab daim ntawv qhia hnub hli+hnub tiag. Hauv qhov 2. version Kuv suav nrog Tswb, nws tuaj yeem hloov nrog Timer.
Cov Zaub yog dimmed ntawm 11: 00 PM thiab 7: 00 AM (23: 00h thiab 07: 00h) thaum tsaus ntuj.
Muaj nuj nqi ntawm 2 Khawm (ntawm sab laug- thiab thiab sab xis):
• CHANGE-Button D8, (sab xis), nias:
1x = qhib uC/Zaub, yog li tso saib lub sijhawm+hnub tim, thiab lwm yam li 5 vib nas this ua ntej kaw (= tso saib tsaus ntuj).
2x = teeb lub teeb nyem/Teeb.
3x = rov mus rau Normal-mode (= Mode-0).
• SELECT-Khawm D6 (sab laug):
Nias D6 ib zaug xaiv MODE, dov cov qauv ntawm 1-10, hloov Hnub/Sijhawm, thiab lwm yam (dow, hnub, xyoo, sijhawm, vib nas this, tswb … on/off).
Khawm-D8 ntawm sab xis tsa qhov xaiv MODE-qhov tseem ceeb, teeb tsa thiab khaws cia xaiv hom tom ntej (nrog rau sab laug-D6) …
Txhawm rau hloov cov vib nas this, teeb tsa lub moos +1 feeb, tom qab ntawd nyem lub pob kom raug (D8) ntawm 59 vib nas this los ua ke rau lwm lub sijhawm.
Syncronizing lub sijhawm/hnub tseem tuaj yeem rub tawm PC-sijhawm rau ib pawg-cov ntaub ntawv: Serial-Txuas rau sab nraud Arduino-los ntawm qhov ntawd mus rau plaub I2C-Pins ntawm Clock-OLED. (Lub UC ntawm Moos tseem tsis tau ua haujlwm nyob rau lub sijhawm no, rau lub hom phiaj no kuv suav nrog 2 R's ntawm 4.7kΩ, R7 thiab R8 - txuas lawv yog tias tsis siv!) …
• Lub Hlis / Hnub Tim:
Yog tias khawm sab laug (D6) raug nias ntau dua 0.6 vib nas this, Lub Hlis Ib Hlis-Lub Hlis tau tshwm sim. Tsis muaj tus kheej deactivation! Yog tias ib qho ntawm ob lub khawm tau nyem dua ib zaug, Daim Ntawv Teev Npe tseem tshuav.
• ALARM: (yog tias suav nrog software-program + muab nrog kho vajtse-tweeter lossis micro-piezo-beeper)
Tuaj yeem teeb tsa beep raws lub sijhawm sib tw txhua hnub nyob rau tib lub sijhawm (24h, 60m). Lub asterix nyob rau sab saum toj-txoj cai ntawm Cov Zaub qhia yog tias Tswb yog "On" lossis tsis yog. Lwm txoj hauv kev muaj txiaj ntsig rau Tswb-Txoj Haujlwm tej zaum yuav yog Timer… (ua).
• Roj teeb:
Lub roj teeb yog CR2430 Lithium-Battery (ø24x3mm) nrog txog 300mA Fais Fab. Lub Roj Teeb-Cim qhia txog qib (analog-) ntawm lub roj teeb (3, 25V = puv, 2, 75V = khoob). Lub moos tab tom ua haujlwm nrog Voltages los ntawm +5, 0V mus rau +2, 0V (default: 3, 0V). Tsuas yog Flash-LED ua haujlwm los ntawm max. +4, 0V mus rau +2, 7V. Lus ceeb toom: Tsis txhob qhib nws nrog 5V! - qhov no ntau dhau rau LED - nws tas sijhawm hauv ob peb feeb, txawm hais tias muab nrog 33Ω -tsis kam. Max.-Voltage rau Processor thiab RTC yog 5, 25V (+5V USB rau program uC ncaj qha rau ISP, tsis muaj bootloader!).
• Kub:
RTC muaj lub ntsuas ntsuas ntsuas kub hauv tsev (txhawm rau kho qhov ntsuas kub-sib txawv ntawm cov ua siv lead ua), yog li peb tuaj yeem siv nws los tso saib (dab teg-) kub.
• Flash-LED:
Yog tias CHANGE-Khawm (D8) raug nias ob zaug, lub teeb pom kev zoo yog "ci hauv qhov tsaus ntuj". Att: Tsis muaj tus kheej-deactivation! Tsuas yog nyem lub pob no txoj cai ib zaug ntxiv ua rau lub LED no, qhia qhov pom ib txwm li ntawm 5 vib nas this.
• Mos-Reset Pin: Tus Pib-Pin (D7) rov pib dua txhua cov ntaub ntawv khaws cia yog tias hauv av (qhib rooj plaub: hauv qab-sab xis). Siv rau lub sijhawm ua haujlwm, luv luv rau "rov pib dua" ntawm txhua qhov kev nkag siab-qhov tseem ceeb …
Lub Circuit Court:
Yog tias peb saib cov txheej txheem, ntawm sab laug muaj qhov liab qab "Arduino" ontController (ATMega328-P), qhib nrog txoj cai khawm (D8) ntawm Kev Nkag D12: Khawm-D8 rub lub Qhov Rooj ntawm P-Mosfet nqis los ntawm Kev Tiv Thaiv R5 thiab diode D1, yog li P-Mosfet mus "rau" thiab txuas VBAT nrog VCC: µController+Display tau txais tam sim no!
Txhawm rau pom "Toggle-Principle ntawm ob Mosfets Kuv tau tso qhov no" Flip-Flop nrog ob Mosfets "(Eagle-files).
Tom qab 5s lub automaticallyC cia li kaw nws tus kheej los ntawm Output-D5, uas ua rau deactivates ob Mosfets, rub lub rooj vag ntawm N-Mosfet nqis, yog li R5 (thiab Gate of P-Mosfet) mus "siab" thiab P-Mosfet txiav tam sim no ntawm µC thiab OLED-Zaub. VCC nqes mus tuav lub Rooj vag ntawm N-Mosfet nqes los ntawm R3 thiab R6 (hauv qab nws lub rooj vag-pib-qhov ntsuas hluav taws xob), yog li cov Circuit Court tseem nyob.
Nyob rau sab saud sab laug peb pom "nthuav" VBAT-voltage dhau los ntawm qhov yooj yim dawb-LED nrog txog 2.5V, txo qis nrog 100k los ntawm VBAT (li 3, 2V) txog li 1, 1V (max), uas yog siv los ua sab hauv Analog-Cov tswv yim los ntsuas lub roj teeb-Voltage tiag.
ontController, RTC thiab OLED-Display tau sib txuas lus nrog I²C, ib qho yooj yim thiab muaj txiaj ntsig 2-Hlau-Kev Sib Txuas Lus, siv rau ib lub tsev qiv ntawv.
Txhawm rau txhawm rau SMD-ntu nws yog qhov muaj txiaj ntsig zoo los siv lub me me tweezer nrog qhov xaus spiky, yog li greeting cov SMD me me yuav yooj yim dua los tuav (muab tso rau hauv) thiab muab tshuaj txhuam tom qab ntawd nrog lub qhov txhab zoo-ntsis, ua ntej ib sab ntawm SMD -Part, ua ntej cua sov-taw tes txog li 330 ° C ua ntej yuav ntxiv cov melting qis thiab nplua tin-xaim (ø 0.5mm) mus rau qhov chaw taw tes.
Rub tawm Circuit + Board-layout:
Kauj Ruam 3: Kho Vajtse: Yuav Ua Li Cas Thib 2-Sided Board Nrog Toner-Direct Method
Yog tias koj nyiam yuav 2-sided board ntawm no muab Eagle + (xav tau) Gerber-files (Rub tawm).
Yog tias koj nyiam ua lub rooj tsavxwm koj tus kheej, Kuv qhia koj txoj hauv kev kom ua lub rooj tsavxwm 2-tog ib "TonerDirect".
1. Luam tawm cov ntawv "OLED-Clock-2-nl_TonerDirect.pdf" ntawm "Toner Transfer Paper", 2. Txiav tawm 2 kab ntawv ntawm Daim Ntawv, ib kab rau txhua sab ntawm pawg thawj coj saib, 3. nrog ø 0.5mm koob txhaj tshuaj kom raug 4 lub kaum ntawm pawg thawj coj saib (siv lub iav tsom iav nrog lub teeb ci - nws yog ib qho tseem ceeb heev rau txhawm rau koob nrog koj qhov ua tau zoo tshaj plaws nyob hauv nruab nrab ntawm 4 kaum -vias!).
4. Luam tawm (ntawm ib daim ntawv uas tsis muaj dab tsi) cov ntaub ntawv "OLED-Clock-2-nl_Frame.pdf" thiab khi cov txiaj ntsig ntawm 2-tog tooj liab Circuit Court board (0.5-0.8mm tuab). Pom lub rooj tsavxwm nrog kwv yees li 2-3 hli kev ua siab ntev ntau ntxiv (ntawm no txog 35 x 35 mm), tom qab ntawd tho qhov 4 qhov ncaj rau ntawm cov ces kaum nrog qhov laum 0.6mm. Tom qab cov kauj ruam no tshem tawm cov ntawv nrog acetone thiab zom 2 tooj liab-sab ntawm lub rooj tsavxwm nrog cov ntawv sib tsoo zoo (min. 400). Tom qab cov kauj ruam no tsis txhob kov lub rooj tsavxwm ntxiv nrog cov ntiv tes dawb! Kev tso cai yog tuav nws ib sab (nrog cov ntiv tes huv).
5. Kos cov lus qhia tsis sib xws ntawm Toner-Tranfer-Paper ntawm 2 sab tsis luam tawm!
6. Sting cov koob los ntawm daim ntawv, tom qab ntawd dhau ntawm lub rooj tsavxwm thiab thaum kawg sting lawv los ntawm cov ntawv oppsite.
7. Tom qab tau txais peb "txheej" raws qhov sib xws, hloov cov koob nrog 4 daim ntawm 0.5 hli tooj liab-xaim, khoov ntawm ib kawg 90 °, kom lawv tsis txhob yaug tawm. Tom qab cov kauj ruam no khoov cov xov hlau ntawm sab 90 ° thiab txiav qhov xaus luv.
8. Yog li npaj, daim ntawv no tuaj yeem mus 3 zaug dhau los ntawm (hloov kho) toner-laminator, rhaub kom txog 200 °!
9. Txiav tawm qhov me me ntawm 0.5mm-xaim thiab tshem tawm cov xov hlau uas tseem tshuav. Tom qab ntawd tshem ob daim ntawv thiab voilá: lub toner tau ruaj khov rau ntawm tooj liab.
10. Tswj cov kab kom huv: Yog tias kab tau tawg, peb tuaj yeem kho nws nrog tus cwj mem tiv thaiv dej tsis tu ncua. Feem ntau tsuas yog qhov chaw loj dua yuav tsum tau kaw ob peb qhov me me. Txwv tsis pub (yog tias qhov txiaj ntsig tsis txaus siab), tshem lub toner nrog ntawv ua noj thiab Acetone thiab rov ua cov kauj ruam 1-9.
11. Ntxuav qhov khawb: Kuv etch kuv DIY-tooj liab-laug cam nrog kev daws ntawm Sodium persulfate (ib-ob diav) nrog qib txog 5 hli dej hauv cov Pyrex-Dish (1-1, 5L), cov tshuaj no ua kom sov kwv yees li 80 ° C (Kuv paub, qhov txheeb ze no kub siab ua rau cov neeg ua phem, tab sis nws ua tau nrawm dua li nrog qhov kub thiab txias thiab ua rau cov ntse thiab huv hauv ob peb feeb). Kuv cia qhov seem persulfate damping tom qab ziab tag thiab khawb cov muaju tawm, sau lawv rau hauv lub lauj kaub qub kom rov ua dua tshiab!
11. Tswj cov kab tooj liab thiab cov npoo nrog lub iav tsom iav.
12. Tshem tawm cov ciam teb-jut-out ciam teb nrog ntsug band-grinder (zoo li hauv kuv thawj qhov kev qhia) thiab tswj qhov ntev nrog lub vernier caliper: lub 2 khawm-sab yuav tsum tau ua tib zoo, muaj 27.4mm nrug, tab sis ceev faj tsis txhob zom- tawm 2 khawm-tiv tauj!
Kauj ruam 4: Software thiab Flashing
Programming pawg thawj coj saib:
Qhov kev zov me nyuam tau sau ua C ++, yog li peb tuaj yeem hloov kho nws nrog qhov yooj yim ASCII-Editor, thiab nws xav tau, nyeem cov lus piav qhia ntawm qhov kawg ntawm txhua kab …
Tseem ceeb: Peb tsis tuaj yeem siv Arduino's Serial-Flashing rau program µC, vim tias lub bootloader xav tau sijhawm ntau dhau ntawm "Pib" (nias khawm D8) thiab "Display-On". Yog li peb yuav tsum nyem nws yam tsis muaj Bootloader (siv ib txwm ntawm txhua lub Arduino boards). Yog li, peb teeb tsa peb lub rooj tsav xwm ib (Atmel) ISP-Txuas + Tus Kws Ua Haujlwm. ISP-Txuas Txuas tau ua ntawm no (onboard) tau ua nrog 6 lub qhov (socket)-txuas txuas tawg-tawm ntawm kab thiab soldered sab hauv ntawm sab xis ntawm lub rooj tsavxwm, tom qab ntawd txuas nrog (me!) 6-pin bar (2.54mm- daim phiaj), zoo li ntawm daim duab kawg hauv Kauj Ruam dhau los.
Koj tsis xav tau tsuas yog Arduino-GUI, tab sis ob peb lub tsev qiv ntawv ntau ntxiv (rub tawm) los sau qhov program:
- Lub tsev qiv ntawv Hlau (muaj nyob hauv Arduino -Program) - rau kev sib txuas lus ib I²C betw. µ C, RTC thiab OLED-Zaub
- EEPROM lub tsev qiv ntawv (tseem muaj nyob hauv Arduino -Program) - khaws ntau qhov txiaj ntsig ntawm µController
- "Adafruit_GFX" + "Adafruit_SSD1306" - ob lub tsev qiv ntawv los tswj cov zaub OLED
- EnableInterrupt- ua haujlwm nrog Arduino's Port/Pin-Interrupts (⇒ Khawm-Inputs)
-DS3231-RTC-nti: tsis xav tau lub tsev qiv ntawv, Kuv tau sau tawm cov haujlwm ntawm ntau lub tsev qiv ntawv pom hauv Is Taws Nem thiab ua kom yooj yim dua siv. Lawv suav nrog qhov kawg ntawm txoj haujlwm tseem ceeb ("OLED-Clock-2-nl.ino").
Lus Cog Tseg: Adafruit-tsev qiv ntawv muaj (txog tam sim no) tsis yog qhov ua tau zoo los ua kom tsis muaj OLED-nti, yog li kuv tau theej ib txoj hlua los ntawm Is Taws Nem thiab muab nws tso rau thaum kawg ntawm "Adafruit_SSD1306" -library, nrog dab ntxwg nyoog tuaj yeem dimm tso saib, muaj txiaj ntsig zoo me ntsis… (⇒ saib qhov Add-on Download “Yuav ua li cas teeb ci ntawm OLED display.zip”, ntawm no kawg).
Ua haujlwm nrog 3, 2V - yog li siv sab hauv 8Mhz (tsis muaj 16Mhz -Crystal):
ΜC ntawm no nrawm txaus los ua haujlwm yam tsis muaj 16MHz-siv lead ua, yog li (nrog 3.2V los ntawm Roj Teeb) peb tuaj yeem siv sab hauv ua ntej programmed 8MHz (ib feem tsawg dua rau qhov muag:-).
Tom qab thauj khoom thiab suav sau qhov Kev Pabcuam "OLED-Clock-2-nl.ino" hauv Arduino-GUI, (rub tawm), luam the.hex-txiaj ntsig rau avrdude-folder.
(the compiled.hex-file is found on the PC's temporary-folder, there on a sub-folder xws li:
"C: / Tmp / arduino_build_646711 / xyz.ino"-nyob ntawd koj tuaj yeem pom qhov xav tau muab tso ua ke-hex-file, hauv qhov no peb "OLED-Clock-2-nl.ino.hex".
Hex-cov ntaub ntawv tam sim no tuaj yeem flashed (ntawm no "tus kheej" rau avrdude ntawm kab lus txib) los ntawm ISP-Txuas, tab sis koj xav tau Tus Kws Tshaj Lij zoo li USBTiny lossis AVRISP2 nrog 6pin ISP-Txuas (kuv ISP-Txuas yog DIY-tawm ntawm qhov me me 6-Pin-Row Connector zoo li tau qhia hauv kuv daim duab kawg, yog li koj tuaj yeem rov ua dua lub rooj tsavxwm txhua lub sijhawm yog tias xav tau).
Tam sim no txuas tus 6-Pin Programmer rau lub rooj tsavxwm (Kuv xav tias paub kev paub nrog Arduino-boards) …
Txuas nrog, ntawm Command-Window (ntawm Windows hloov mus rau avrdude-nplaub tshev, tom qab ntawv sau cmd)-muab cov kab hauv qab no:
avrdude.exe -C avrdude.conf -v -V -p m328p -c usbtiny -e -D -U flash: w: OLED -Clock -2 -nl.ino.ino.hex: i
Tom qab qhov flashing ntawm µController tau ua tiav, pom zoo "fuses" (ntawm µController) yuav tsum tau teeb tsa:
avrdude -p atmega328p -c usbtiny -U lfuse: w: 0xFF: m -U hfuse: w: 0xD7: m -U efuse: w: 0xFF: m -U xauv: w: 0x3F: m
Yog tias koj xav hloov kho ib qho ntawm cov kev teeb tsa no, koj tuaj yeem pom ntau ntxiv txog qhov online Fuse-Calculator.
Kauj ruam 5: Rooj plaub
Tsis yog tsuas yog ua lub rooj tsav xwm hluav taws xob yog qhov nyuaj, tsis tsawg dua yog rooj plaub me thiab hnyav rau lub rooj tsavxwm no!
Nov yog rub kuv cov ntaub ntawv hom phiaj, nrog pssible CR2032 Roj teeb-Adapter, txhawm rau siv roj teeb ntau dua. Lub tshuab hluav taws xob thiab lub roj teeb yuav tsum raug cais tawm ntawm ib leeg nrog Kapton-Polimid-Daim Kab Xev lossis lwm txoj hauv kev muaj zog. Tsis txhob siv daim kab xev-yooj yim, nws tsis muaj zog heev los cais tawm thiab tuaj yeem ua rau lub roj teeb luv!
Kuv tau sim nrog ntau txheej txheej (rau 3D-luam PLA) thiab xaus nrog phab ntsa-tuab li ntawm 1.3 hli. Hauv daim ntawv no lub zog los ntawm lub dab teg-pluaj tau tuav tau zoo los ntawm ob sab ntawm rooj plaub hauv kev sib txuas nrog lub hau ntswj. Lwm sab yuav tawv dua, kwv yees li 1.0 hli …
Yog li, hloov kho qhov siab ntawm rooj plaub (thaum hloov kho lub rooj tsavxwm…?) Yuav tsis yog teeb meem loj.
Tsis tas li, yog tias koj yuav muaj Tswb lossis Timer sab hauv, koj xav tau lwm Cov Ntaub Ntawv, yog li kuv tau ua qhov kev thov yuav ua li cas txhawm rau ntxig me me piezo-tweeter (lossis f.ex. qhov micro-speaker: CUI-15062S) … (Saib Rooj plaub-2).
Tom qab cov ntaub ntawv luam tawm (nrog txheej txheej pom zoo-siab ntawm 0.1 hli thiab kwv yees li 50% ntxiv nrog "phab ntsa-sib tshooj") koj yuav tsum khawb qhov kov yeej txoj hlua sab, ua cov ntug puag ncig txaus, tab sis tsis ntau dhau … qhov nyuaj me ntsis yog ua kom 4 lub snap-ins me me ntawm lub hau raug cai ~ 100-120 ° -angle, yog li ntawd lawv txhawm rau hauv rooj plaub muaj zog txaus, tab sis tsis nthuav tawm lossis tawg nws-tsis ua rau lub hau me me dhau kom nyob ruaj …
Lub xwmfab-qhov rau OLED kuj tseem yuav tsum tau ua tawm-ua tib zoo, ua raws nraim li tus qauv ntawm OLED-iav, yam tsis tawg nws thaum tshuaj xyuas kom ntxig Board+OLED-Display (tam sim no ua ke). Yog li ua tib zoo ua ntaub ntawv thiab sim ntau zaus kom pom tias txhua qhov haum.
Qhov ua tau zoo tshaj yog tshem tawm nrog rab riam ntse.
Tam sim no koj tuaj yeem tso lub dab teg-pluaj nrog ib daim ntawm tooj dag-hlau (ø1mm, ntev: 28.5mm). Txog qhov no 2 qhov ntawm cov ntaub ntawv-kab zauv yuav tsum tau dhuav tawm ntawm qhov zoo li ntawd, xaim mus dhau, tab sis tom qab ntawd lo khov kho rau hauv cov zauv.
Ua ntej koj muab cov ntaub ntawv nrog hluav taws xob thiab txoj hlua - nws muaj peev xwm pleev nws nrog cov xim (Kuv xav kom lub tshuab ua kom tawv -txau - nws qhuav sai dua, ua kom muaj hmoov av tsawg dua ntawm qhov chaw!). Kuv pom zoo tseem yuav kho nws ua ntej nrog (tshuaj pleev) hauv av-txau, uas tom qab ntawd tuaj yeem ua cov xuab zeb-nqes mus rau qhov zoo-du nto yam tsis muaj kab ntawv luam tawm thiab tsis zoo. Kuv tus kheej Kuv nyiam qhov kub lossis nyiaj tiav, lossis tseem ua tiav cov ntoo yuav zoo - qhov no yog qhov koj xaiv …
Kauj Ruam 6: Cov lus xaus
Kev xav txog roj teeb:
CR2432 Li-Ion-Roj teeb muaj txog 300mAh muaj peev xwm, yog li nws tuav nrog lub sijhawm kwv yees li 2 xyoos, yog tias tso saib lub moos txog 10 zaug (txhua seconds 5 vib nas this) ib hnub. Yog li koj tuaj yeem pauv nws nrog ntau qhov muaj (tab sis me dua) CR2032 Li-Ion-Battery, uas tuav txog 1, 4 xyoos nrog nws 210mA.
Kuv kuj tau tshawb nrhiav lub roj teeb Lithium-Rechargeable zoo li (ib txwm muaj) CR2430 thiab pom qhov no: "LIR-2430". Lub roj teeb no tsuas muaj txog 50mA muaj peev xwm, tab sis yog rechargeable f.ex. los ntawm kev hloov pauv hluav taws xob wireless … Rau lub hom phiaj ntawd kuv tau tshawb nrhiav thiab koj tuaj yeem pom qhov tshwm sim hauv cov txheej txheem + txheej txheem suav nrog. Lub zog hloov pauv nws tus kheej ua txoj haujlwm zoo heev. Txhawm rau khawb ib lub tiaj tiaj nrog txog 30 tig hla lub tiaj epoxi-board-hau, tseem yog ToDo … Txhawm rau them lub roj teeb Kuv tau thov qhov yooj yim them-Circuit nrog LED dawb thiab 2 Schottky-Diodes txwv qhov kawg-Them-Voltage rau qhov kev them nyiaj rov qab mus txog qhov siab txog 3.6V…
Thaum kawg - Tseem ceeb heev:
!!! Tsis txhob them tus nqi uas tsis yog-RECHARGEABLE LI-ION roj teeb !!! - nws tuaj yeem tawg thiab tua hluav taws!
Curiously kuv sim nrog (tsis tuaj yeem them rov qab) CR2430 Li-Ion-Button-Cell, -as ua ntej- hauv lub thawv kaw … Tom qab li ib teev, them nrog 3.3V tas li, Kuv pom me me convex deformation ntawm rooj plaub … txawm hais tias Voltage ntawm lub roj teeb no tau nce los ntawm 2.8 txog 3.2V, Lub peev xwm ntawm qhov kawg tau hnyav heev txo! -yog li kev them nyiaj rov qab tsis muaj kev nkag siab: Lub Pob-Cells no tiag tiag tsis tuaj yeem them rov qab.
Yuav tsum ua:
• a (software-based) Timer muaj nuj nqi + (hardware + case) -Tweeter lossis Vibrator-Motor
• Lub Wireless Recharging Circuit
• Glossy hlau- lossis ntoo-tiav.
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
Yuav Ua Li Cas Siv Stepper Lub Cev Ua Li Qub Encoder thiab OLED Zaub rau Cov Kauj Ruam: 6 Cov Kauj Ruam
Yuav Siv Li Cas Stepper Lub Cev Li Qub Encoder thiab OLED Zaub rau Cov Kauj Ruam: Hauv qhov kev qhia no peb yuav kawm paub yuav ua li cas txhawm rau taug qab cov kauj ruam ntawm lub cev muaj zog ntawm OLED Zaub. Saib cov yeeb yaj kiab ua yeeb yaj kiab.Credit rau Thawj qhov kev qhia mus rau youtube tus neeg siv " sky4fly "
Custom Binder Sheet Organizer rau Trading Cards lossis Small Parts: 7 Kauj Ruam
Custom Binder Sheet Organizer for Trading Cards or Small Parts: Kuv tshawb nrhiav cov txheej txheem khaws cia zoo dua rau kuv cov khoom siv hluav taws xob vim tias txog tam sim no kuv tau siv lub thawv ntim khoom los teeb tsa kuv cov resistors thiab cov khoom me me tab sis cov ntawd tsis muaj hlwb txaus los khaws txhua tus nqi hauv ib lub xovtooj sib txawv yog li kuv muaj qee qhov
STANDALONE SMALL ARDUINO: 3 Kauj Ruam
STANDALONE SMALL ARDUINO: Hav! Kuv rov qab los nrog lwm qhov kev qhia paub. Lub hom phiaj tseem ceeb ntawm txoj haujlwm no yog kom tsim khoom PCB me me rau ATMEGA328P micro-controller aka Arduino board me
Arduino Data Logger Shield Small Project: 4 Kauj Ruam
Arduino Data Logger Shield Small Project: Hav guys Hnub no kuv nthuav qhia koj ib qho piv txwv yooj yim nrog Arduino Data logger shield. Qhov no yog txoj haujlwm yooj yim heev los ua thiab koj tsis xav tau ntau qhov los ua nws.Qhov haujlwm yog hais txog kev ntsuas kub thiab av noo nrog dht sensor. Qhov project no