Cov txheej txheem:

01//atch: 12 Cov kauj ruam
01//atch: 12 Cov kauj ruam

Video: 01//atch: 12 Cov kauj ruam

Video: 01//atch: 12 Cov kauj ruam
Video: Kauj vab kauj le _(1 tsug 13 hnub part #9)_ Phees lauj Ft Maiv xis fullmusic Mv 2023 2024, Hlis ntuj nqeg
Anonim
01/\/ua
01/\/ua
01/\/ua
01/\/ua
01/\/ua
01/\/ua

01/\/atch, vim tias … "muaj 10 hom neeg hauv ntiaj teb no, cov uas nyeem binary, thiab cov uas tsis" - tus slashdot tag kab. 01/\/atch yog binary dab teg saib nrog LED zaub. Cov yam ntxwv ntxiv tuaj yeem nkag tau los ntawm kab ntawv qhia zaub mov kab ke ntawm nws 3x4 LED matrix. Cov yam ntxwv tam sim no suav nrog: ntsuas qhov ntsuas hluav taws xob, ntsuas binary, hom qws thiab sijhawm tso saib. Lub moos tuaj yeem ua haujlwm tau zoo. Kev hloov kho lub khoos phis tawj yav tom ntej yuav suav nrog: stopwatch/timer, tswb, tsheb kauj vab speedometer/odometer, cov ntaub ntawv txiav tawm, thiab cov ntawv qhia ua kom zoo tshaj plaws. Mus saib nws li cas: https://www.youtube.com/embed/l_tApl3JmmMAll nyob rau hauv.zip archive ntawm nplooj ntawv no. Schematic thiab PCB hauv Cadsoft Eagle hom. Firmware hauv mikroBasic. Cov ntawv ntawm cov lus qhia no suav nrog.odt (OO.org/open text) thiab.pdf cov ntaub ntawv. Sab saum toj txheej PCB daim duab (tsom iav) suav nrog. PDF npaj rau kev hloov pauv toner lossis txheej txheem yees duab. Nws tau theej ob peb zaug ntawm ib daim ntawv vim tias kuv yuav tsum tau muab ob npaug rau ntawm qhov sib npaug. 01/\/atch tau tshwm sim los ntawm Mini Dotclock, thiab sib tham tom ntej hauv cov lus pom: https://www.instructables.com /ex/i/47F2F12223BA1029BC6B001143E7E506This kuj tseem yog ib nrab ntawm ib sab mus rau saum npoo nixie saib kuv tab tom ua haujlwm. Txoj haujlwm 01/\/atch yog kev qhia rau ntu ntu ntu ntu thiab lub sijhawm khaws cov laj thawj yam tsis muaj qhov nyuaj ntxiv ntawm nixie raj fais fab mov. (https://www.instructables.com/ex/i/2C2A7DA625911029BC6B001143E7E506/?ALLSTEPS) Me ntsis googling tig lub binary saib ntawm thinkgeek: https://www.thinkgeek.com/gadgets/watches/6a17/ \/atch raws li PIC16F913/6. PIC no tau xub xaiv vim nws muaj lub khoos phis tawj LCD tsav tsheb. Kuv xav tias kuv tuaj yeem tig lub LCD tsav tsheb mus rau hauv LED multiplexer nrog ob peb lub transistors. Qhov no muab tawm tsis yog qhov xwm txheej. Nws tseem yog qhov kev xaiv zoo vim tias nws muaj ntau qhov chaw sau ua haujlwm thiab tsawg tsawg txwv I/O pins. F913 kwv yees li $ 2.00 ntawm Mouser. PIC16F913 Paub meej: https://www.microchip.com/stellent/idcplg? IdcService = SS_GET_PAGE & nodeId = 1335 & dDocName = en020199PIC16F916 Paub meej (tib yam li 913, nrog rau ntau qhov chaw pabcuam): https:// www. microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=en020201PIC16F913/6 Datasheet (hom ntawv PDF): https://ww1.microchip.com/downloads/en/DeviceDoc/41250E.pdf Cov duab 3D tau siv hauv qhov no los ntawm Eagle Board cov ntaub ntawv nrog Eagle3D thiab POV ray: https://www.matwei.de/doku.php? id = en: eagle3d: eagle3d

Kauj ruam 1: Zaub

Zaub
Zaub
Zaub
Zaub
Zaub
Zaub

Cov duab binary yog ua los ntawm 12 LEDs hauv 3x4 matrix. Txhua kab ntawm plaub LEDs sawv cev rau plaub ntsis 'nibble', lossis ib nrab byte. Txhua kab ntawv tuaj yeem tso tawm 0-15 hauv binary (1+2+4+8 = 15). Lub sijhawm tau tshwm sim hauv peb kab raws li teev/kaum tawm feeb/feeb. Qhov no tsis yog qhov tseeb binary, tab sis cov ntawv yooj yim uas ua rau lub moos nyeem tau yooj yim dua. Piv txwv saib, piv txwv, siv 'truer' binary los sawv cev rau feeb nrog tag nrho byte. Qhov twg kuv yuav nyiam, qhov tseeb geek yuav tso saib lub sijhawm siv Unix lub sijhawm, hauv binary! (https://en.wikipedia.org/wiki/Unix_timestamp) LED multiplex yog qhov ncaj. Kab (4) txuas rau tus pin ntawm PIC los ntawm kev txwv tam sim no. Tsuas yog ib qho kev txwv tam sim no tau siv rau txhua kab vim tsuas yog ib qho LED ib kab xwb puas tau teeb. Cov LEDs tau khiav ntawm 20ma, siv 56 ohm resistors (56ohm @ 3 volts = 20ma). Cov LEDs tuaj yeem ua haujlwm siab dua vim tias lawv tau sib npaug, cov ntawv teev tseg qee yam ib puag ncig 40ma. Kuv pom lawv kom ci dhau ntawm tsuas yog 20ma-multiplexed. Columns (3) txuas nrog hauv av los ntawm NPN transistors. Cov transistors tau hloov pauv los ntawm PIC pins los ntawm 1Kohm resistors. Kev ua haujlwm sib luag los ntawm kev tsaws ib kab ntawm LEDs los ntawm transistor thaum teeb pom kev zoo ntawm kab LED rau kab ntawv ntawd. Qhov no tau rov ua dua rau txhua kab lus luv luv ua tiav, ua rau lub zeem muag zoo li pom kev tas li. PIC Timer0 yog tsav lub multiplex. Nws suav mus rau 256 tom qab ntawd hloov pauv qhov tseem ceeb thiab cov kab hauv av. Transistor: NPN Transistor, NPN/ 32V/ 100mA, (Mouser #512-BCW60D $ 0.05).

Kauj Ruam 2: Xaiv LED

Xaiv LED
Xaiv LED
Xaiv LED
Xaiv LED

Ntawm lub moos no, daj thiab liab '1206' LEDs loj tau siv nrog 56 ohm tam sim no txwv kev tiv thaiv. Cov xim tau xaiv rau tus nqi qis. Liab, daj, thiab txiv kab ntxwv LEDs yog kwv yees li 10 xees txhua, thaum xiav LEDs yog 40 xees thiab siab dua. Dhau li, LED xiav tau txiav txim siab tsis raug tam sim no. Yog tias koj pom qee cov ntshav, qhia rau kuv paub.

Daim duab qhia pom 5 hom LED uas kuv tau xaiv. Mouser Tshooj # Chaw Tsim Tshuaj Xim Tus Nqi 859-LTST-C171KRKT Lite-On SMT LED Liab, Ntshiab $ 0.130 859-LTST-C171KSKT Lite-On SMT LED Daj, Clear $ 0.130 859-LTST-C150KFKT Lite-On SMT LED Txiv Kab Ntxwv, Ntshiab $ 0.130 638- 121SURCS530A28 Everlight LED SMD Dej Dej Ntshiab $ 0.110 638-1121UYCS530A28 Everlight LED SMD Dej Dej Ntshiab $ 0.110 Everlight liab thiab daj tau siv rau ntawm lub qauv saib. Kuv nyiam Lite-On liab thiab txiv kab ntxwv zoo dua, lawv yuav siv rau ntawm lub moos tom ntej uas kuv ua.

Kauj ruam 3: Interface/Nyees khawm

Interface/Nyees khawm
Interface/Nyees khawm

Lub geeky saib xav tau lub interface geeky. Capacitive touch sensors yog txhua qhov npau taws tam sim no, tab sis xav tau ob peb yam ntxiv. Hloov chaw, Kuv tau mus nrog Darlington transistor raws li kov lub sensor nrog tus pin headers raws li qhov chaw sib cuag. Dab tsi geekier dua tus pin header? Tsis muaj dab tsi. Kuv pom thawj lub tswv yim ntawm no: (https://www.kpsec.freeuk.com/trancirc.htm): Tus khub Darlington muaj kev txaus txaus los teb rau qhov me me tam sim no dhau los ntawm koj cov tawv nqaij thiab nws tuaj yeem siv rau Ua qhov kov-hloov raws li tau qhia hauv daim duab. PNP transistor tau ntxiv rau qhov tsim qauv yooj yim no (hloov chaw ntawm LED hauv daim duab) kom nws tuaj yeem muab qhov siab/qis tso rau PIC. Ib qho rub tawm tus tiv thaiv tau ntxiv ntawm PIC tus pin thiab hauv av los pab tiv thaiv khawm tsis raug cai. Qhov kev hloov pauv no yog lub xeev ruaj khov, pov thawj dej, thiab lub zog qis - nrog rau kev ntxiv qhov zoo ntawm tus pin headers. Switches yog de -bounced siv Timer2 ntawm PIC. Thaum hloov mus, Timer2 (8 ntsis timer) tau pib nrog 16 prescaler thiab 16 postscaler. Ntawm Timer2 cuam tshuam PIC cov tshev kom pom tias cov nyees khawm tseem raug nias. Tom qab ob qhov cuam tshuam cuam tshuam nrog tsis muaj cov nyees khawm nias lub timer tau nres thiab cov nyees khawm tau teeb tsa rau kev nkag mus ntxiv. Qhov hloov pauv tau txuas nrog PIC cuam tshuam tus pin. Cov tswv yim ntawm tus pin no tuaj yeem coj PIC tawm ntawm hom pw. Qhov no cia peb siv cov txheej txheem tswj hwm lub zog kom zoo: PIC nyob hauv lub zog qis thaum cov zaub tsis siv. Cov tswv yim ntawm cov nyees khawm ua rau PIC thiab rov pib ua haujlwm. Transistors: Darlington Transistor, SOT-23, (Mouser #512-MMBT6427, $ 0.07). PNP Transistor, SOT-23, (Mouser #512-BCW89, $ 0.06).

Kauj ruam 4: Lub Sijhawm Khaws Tseg

Lub Sijhawm Khaws
Lub Sijhawm Khaws

Microchip app note 582 piav qhia cov hauv paus ntsiab lus tom qab lub zog qis, PIC raws lub moos. (Http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en011057) Lub moos yooj yim thiab ntxim nyiam 32.768kHz saib siv lead ua txuas nrog lub timer1 oscillator pins ntawm PIC. Timer1 yog qhov zoo rau qhov no vim tias nws tuaj yeem nce ntxiv txawm tias thaum PIC tsaug zog. Timer1 tau teeb tsa los suav rau 65536 (2 vib nas this ntawm 32.768kHz) thiab tsa PIC los ntawm kev tsaug zog nrog kev cuam tshuam. Thaum PIC tsim, nws nce sijhawm ntxiv ob vib nas this. PIC tsuas yog siv thiab siv lub zog rau lub sijhawm luv luv ob peb feeb xwb. Kuv txawm hais tias Xam Xaj lub npe yuav ua rau kuv saib raug cai. CFS206 (12.5pf) muaj txog +/- 1.7 feeb raug qhov tseeb hauv ib xyoos (20ppm). Ob lub 33pF capacitors ua tiav sab nrauv siv lead ua. 33pF yog tej zaum tad ntau, tab sis nws muaj nyob hauv zos ntawm tus nqi tsim nyog. Crystal siv tau zoo dua tuaj yeem siv sijhawm kom raug dua. Crystal: Citizen KHz Range Crystals, 32.768 KHZ 12.5pF, (mouser #695-CFS206-327KFB, $ 0.30). Capacitors: 2x33pF, 1206 SMD.

Kauj Ruam 5: Voltage Meter

Voltage Meter
Voltage Meter

Raws li yog tias peb tsis tau poob mus rau qhov tob ntawm geekerie nrog lub binary saib, peb npuaj rau qhov ntsuas hluav taws xob thiab tus lej nkag mus ua lub ntsuas hluav taws xob. Qhov ntsuas hluav taws xob yog Microchip MCP1525. Qhov no yog 2.5 volt siv nrog kev ua haujlwm ntau ntawm 2.7 txog 10+ volts. Hauv daim duab saib lub pob TO-92 tau siv, txawm hais tias yav tom ntej saib yuav siv cov txheej txheem saum npoo av (SOT-23). Cov ntaub ntawv siv tau los ntawm tus pin PIC yog li nws tuaj yeem raug tua kom txuag lub zog. Lub sijhawm no peb tuaj yeem ntsuas txog 2.5 volts siv PIC's Analog Digital Converter. Peb ua qhov no ib kauj ruam ntxiv thiab ntxiv cov resistor qhov faib hluav taws xob rau cov tswv yim multimeter. Siv ob lub resistors (100K/10K) peb faib cov khoom siv hluav taws xob los ntawm 11 muab cov khoom siv tshiab ntawm ~ 30 volts. Qhov no yog lub ntsiab lus zoo uas suav nrog txhua qhov qis qis uas peb yuav ntsib (1.2/1.5 volt roj teeb, 3 volt npib hlwb, 5 volt logic, 9 volt roj teeb, thiab 12 volt fais fab ntsia). 22Kohm resistor tuaj yeem hloov pauv rau 10K resistor muab qhov me me tab sis kev daws teeb meem siab dua. Daim ntawv nthuav qhia nrog rau cov lus qhia no tuaj yeem pab koj xaiv qhov muaj nuj nqis tiv thaiv. Qhov av thiab ntsuas kev ntsuas txuas mus rau lub phiaj xwm kev hais lus tom qab ntawm lub moos. MCP1525 Paub meej: https://www.microchip.com/stellent/idcplgidcplg? IdcService = SS_GET_PAGE & nodeId = 1335 & dDocName = en019700

Kauj Ruam 6: Lub Hau Haujlwm/Kev Sib Txuas Sab Nraud

Programming Header/Kev Sib Txuas Sab Nraud
Programming Header/Kev Sib Txuas Sab Nraud
Programming Header/Kev Sib Txuas Sab Nraud
Programming Header/Kev Sib Txuas Sab Nraud

Lub moos yog 'programmable'. Ib lub taub hau ICSP raug coj tawm mus rau tom qab kom cov khoos phis tawj tshiab tuaj yeem ntsia tau. Lub taub hau yog kab ntawm cov poj niam-tus poj niam tus pin ntsaws kuv pom ntawm kuv lub khw hluav taws xob hauv zos. Tib yam tuaj yeem muaj los ntawm kev txiav qhov DIP qhov zoo hauv ib nrab ntawm txoj kev ntev. Kuv txuas kuv tus ICSP ntsaws nrog tus pin-header "poj niam-hloov pauv"-ntxig ib daim ntawm tus pin-header rau hauv lub qhov (socket), tom qab ntawd txuas ICSP ntsaws rau tus pin header. Koj yuav xav tau tus programmer ICSP los tso software tshiab hauv lub moos. Ib qho yooj yim JDM2 ICSP programmer suav nrog Cadsoft Eagle cov ntaub ntawv.

Thaum tsis siv rau lub cajmeem, ICSP lub taub hau tuaj yeem siv rau kev khaws cov ntaub ntawv, kev kaw lub rooj sib tham, thiab lwm yam. Txhua yam ntawm ICSP pins muaj rau siv, raws li tau hais hauv cov lus hauv qab no. Tus ntsuas hluav taws xob ntsuas tus pin (tus pin 1/6) zoo nkauj npaum li cas rau qhov siv vim qhov faib hluav taws xob. Multimeter - ADC, I/O, nrog resistor faib (PIN2, PORTA0/AN0) MCLR - cov tswv yim nkaus xwb tus pin. Schmitt ua rau cov suab nrov nrov. (PIN1, RE3) Vcc - +3 volts Vss - av pin Cov Ntaub Ntawv - Cov tswv yim/Cov zis nrog cuam tshuam ntawm kev hloov pauv, xaiv tsis muaj zog rub tawm (PIN27, RB6) Clock - I/O nrog cuam tshuam ntawm kev hloov pauv, xaiv tsis muaj zog rub tawm (PIN28, RB7)

Kauj ruam 7: Firmware

Firmware
Firmware

Firmware tau sau siv mikroBasic freeware version. Tam sim no firmware yog v0.1. Cov khoom lag luam yav tom ntej yuav zaum tau sau rau hauv C. Kev xaiv teeb tsa tau teeb tsa hauv cov firmware. Lawv yuav tsum yog raws li hauv qab no: MCLR - DISABLEDBODEN/BOREN - DISABLEDWDT - DISABLEDOscillator -Internal Osc, Tsis muaj lub sij hawm tawm. Kuv tsis tuaj yeem ua haujlwm 16F913 nrog kuv nyiam PIC programming software (WinPIC800), tab sis DL4YHS 'WinPIC ua haujlwm zoo (https://www.qsl.net/dl4yhf/winpicpr.html).v0.1Configuration/Menu System - Cov ntawv qhia zaub mov xaiv hla hla cov zaub thiab tau xaiv/nce qib siv ob lub khawm nkag. Sijhawm - qhia lub sijhawm hauv binary (lub neej ntawd thaum lub pob nyem). Klik - lub txee Kuv, qee lub sijhawm, pom kuv tus kheej ua suav. Kev suav tsheb, suav suav, yam twg los xij. 01/\/atch subs ua tus lej binary. Club Hom - Tus nqi tiag ntawm txhua lub moos tau txiav txim siab los ntawm nws 'qws' hom. Lub 01/\/atch siv lub tshuab hluav taws xob tus lej tsis zoo los nyem cov qauv ntawm LED zaub. Nws kuj tseem tuaj yeem suav nrog cov lus tawg uas siv sab hauv lub tsev qiv ntawv font (ntau dua tuaj). Kev nrawm tuaj yeem hloov kho nrog khawm 1. Qhov kawg pob txhim kho pob yuav suav nrog qhov ntsuas kub uas tswj tus nqi ntawm kev hloov pauv. Raws li tus neeg hnav sov, cov qauv hloov pauv sai dua. Volt - ntsuas hluav taws xob. Tam sim no qhia pom nyeem ntawv ADC nyoos hauv 10 khoom. Yuav hloov kho dua tshiab rau tus nqi volt hauv v0.2. Set - Teem sijhawm. Exit - Tawm ntawm cov ntawv qhia zaub mov, tso PIC hauv hom pw.

Kauj Ruam 8: Scrolling Menu System

Scrolling Menu System
Scrolling Menu System

Scrolling Menu System Kev ua haujlwm tau nkag los ntawm kab ntawv tshuab raj scrolling. Cov ntawv qhia zaub mov tau thauj khoom raws li bitmaps hauv ib qho array thiab txuas ntxiv mus "nce mus". Scroll yog ua raws ntau yam ntawm Timer0 mux tsav tsheb. Cov ntawv qhia zaub mov scrolling "sijhawm tawm" siv ntau lub Timer1 (vib nas this counter) tom qab li 10 vib nas this. Menu Options (Siv Saib) (Qhov no siv rau firmware version 0.1) Thaum lub roj teeb tshiab tau muab tso rau hauv lub saib nws qhia "SET" 'ntawv qhia zaub mov xaiv los ntawm lub neej ntawd. Kov khawm 2 kom nkag mus rau hom teeb tsa. Lub sijhawm tam sim no yuav tshwm sim (12:11). Siv khawm 1 txhawm rau ua kom cov sijhawm teev, kov lub pob 2 txhawm rau nce mus rau chav ua haujlwm tom ntej (teev, 10 feeb, feeb). Kov khawm 2 tom qab feeb tau teeb tsa kom txuag lub sijhawm thiab rov qab mus rau cov ntawv qhia zaub mov kom txuag lub zog, cov zaub thiab PIC feem ntau tawm. Kov khawm 1 kom tsa PIC thiab tso saib lub sijhawm tam sim no rau 10 vib nas this. Kov khawm 2 thaum lub sijhawm raug tso tawm kom nkag mus rau lub tshuab raj tshuab raj. Lub ntsej muag saib yog nkag tau los ntawm cov ntawv qhia zaub mov. Kov khawm 1 txhawm rau nce mus rau cov ntawv qhia zaub mov tom ntej, kov lub pob 2 txhawm rau xaiv cov ntawv qhia zaub mov. Saib nws hauv kev nqis tes ua: https://www.youtube.com/embed/l_tApl3JmmMButton ua haujlwm rau txhua lub tshuab raj xaiv tau hais tseg hauv kab lus hauv qab no B1 thiab B2 yog cov ntawv luv ntawm khawm 1 thiab khawm 2.

Kauj ruam 9: Firmware Roadmap

Daim ntawv qhia kev Firmware
Daim ntawv qhia kev Firmware

v0,2 ib

Kev Pom Zoo Tawm/Dialog. Teeb-Nthuav teeb kev xaiv kom suav nrog: Sijhawm-sijhawm/ntawv qhia zaub mov-sijhawm tawm (thiab ib txwm ua-nyob rau hom). Brightness (lub voj voog ua haujlwm). Scroll Ceev. Ntawv qhia zaub mov hloov kho dua tshiab -'E 'thiab' B 'zoo li tsis zoo, siv' e ',' b '. Tsiv mus rau 1Mhz lossis 32.768khz oscillator (4MHz hauv v0.1). v0.3 Stopwatch (lub sijhawm nce mus rau tom ntej) -Pib suav vib nas this, tom qab ntawd ntxiv feeb thiab teev tom qab 15:59 cov khoom txwv. Timer/Tswb (lub sijhawm nce rov qab) -Txoj kev ncua sij hawm, txhua lub teeb nyem thaum lub sijhawm nce mus txog 0. EEPROM (txiav txim siab qhov tseem ceeb rau lub cim xeeb flash) -Save voltages, suav, xaiv, nres lub sijhawm, thiab lwm yam rau nyem EEPROM nco. -Log tus naj npawb ntawm cov hnub ua haujlwm txij thaum hloov roj teeb. Tsis tas li: tus lej teev nrog tso saib. v0.4 Cov cuab yeej kho vajtse sab nraud (siv ICSP lub taub hau): Kev tshwm sim nkag rau cuam tshuam. Tsheb kauj vab Odometer/Speedometer. Cov Khoos Phis Tawj Khoos phis tawj (binary lossis decimal-font).

Kauj Ruam 10: PCB

PCB
PCB
PCB
PCB
PCB
PCB

PCB thiab Circuit Court nyob hauv hom dav dav. Kuv kuj suav nrog cov tsev qiv ntawv uas kuv tau siv los ua pawg thawj coj uas tej zaum xav tau.

PCB tau tsim nrog feem ntau ntu ntu ntu ntu. Lub Rooj Tswjhwm Saib tau ua nrog cov xim sib txawv ntawm daim duab ntawm lub rooj tsavxwm zoo. Nov yog kuv thawj ntu saum lub rooj tsavxwm (ob qho tib si thiab sib dhos). Kuv tau ua ib lub rooj tsavxwm ib sab thiab siv cov hlua txuas rau cov kab hauv qab. Lub rooj tsavxwm tau tsim nrog kev tsim khoom los ntawm Olimex hauv siab, yog li lawv 10mill txoj cai tshawb xyuas cov ntaub ntawv tau siv thaum tsim lub rooj tsavxwm. Tsis muaj dab tsi yog qhov me me, tab sis nws yeej nyuaj. Txhua yam tau muab txhais tes siv lub 10 euro hlau, lo nplaum, thiab lub teeb ci. Tsis xav tau lub tsom iav loj. Cov siv lead ua tau sab laug ua ntu ntu ntu. Cov hlau tuaj yeem yog lub ntsej muag sib txawv, thiab muaj ntau yam tuaj yeem txheeb xyuas tau zoo tshaj qhov saum npoo dub lub thawv. Cov qauv hauv daim duab kuj tseem siv TO-92 qhov ntsuas hluav taws xob-PCB kawg qhia txog SOT-23 version uas kuv tsis tau (tseem) muaj ntawm tes thaum kuv ua lub rooj tsavxwm. Circuit thiab PCB nyob hauv txoj haujlwm khaws cia (Cadsoft Eagle hom - freeware version www.cadsoft.de). Kev tso cov khoom tuaj yeem pom hauv PCB cov ntawv. Kuv kuj tau ua PDF nrog txheej saum toj kawg nkaus tsom iav thiab theej ob peb zaug. Qhov no yuav tsum tau npaj rau kev hloov pauv toner lossis txheej txheem yees duab. Daim ntawv teev npe (hla qhov) 32.768kHz Saib Crystal (0206 hlau tuaj yeem) Pin header -x4 Programming header - 6 pins Tshooj npe (nto mount) SO -300 PIC16F1206 0.1uF capacitor 1206 33pf capacitors - x2 1206 LED (daj, liab, txiv kab ntxwv), thiab lwm yam) -x12 1206 Resistor - 4x56 ohms 1206 Resistor - 3x1Kohm 1206 Resistor - 3x10Kohm 1206 Resistor - 3x100Kohm SOT -23 NPN transistor (100ma lossis ntau dua) SOT -23 PNP transistor (lub hom phiaj) SOT -23 NPN Darlington transistor (lub hom phiaj dav dav), hfe ntawm ~ 10000) SOT-23 MCP1525 Kev Siv Hluav Taws Xob (2.5 volts) Roj teeb CR2032 3v lithium

Kauj Ruam 11: Ua Tus Saib

Potting Tus Saib
Potting Tus Saib
Potting Tus Saib
Potting Tus Saib
Potting Tus Saib
Potting Tus Saib

Txhawm rau saib lub sijhawm kom haum rau siv txhua hnub nws xav tau rooj plaub. Kuv tau mus ntsib AFF Cov Khoom Siv (https://www.aff-materials.com/) mus yuav polyester cob. Ib tug txiv leej tub zoo nyob ntawd qhia tias kuv siv cov tshuaj epoxy ntshiab. Raws li nws, polyester polyester shrinks ~ 5% uas yuav cuam tshuam kev sib txuas ntawm PCB. Qhov tseeb epoxy tsuas yog txo qis ~ 2%. Nws kuj tau hais qhia tias cov pa roj los ntawm polyester tuaj yeem ua rau cov khoom puas tsuaj thaum nws kho tau. Koj yeej tsis tau ua haujlwm nrog epoxy meej ua ntej, Kuv tau ua qee qhov kev ntsuas pov tseg. Kuv pib los ntawm kev nrum qee qhov piv txwv hauv lub tais khov nab kuab. Cov noob paj noob hlis roj, cov roj nplua nyeem silicone, thiab cov roj tsheb kauj vab silicone tau raug kuaj ua tus tso tawm. Ib qho piv txwv tau ua tiav yam tsis muaj tus sawv cev tso tawm. Cov roj nplua nyeem silicone ua rau hauv qab ntawm cov pwm thiab sab laug lub cim cim ntawm epoxy. Kev tswj nqus mus rau hauv qab ntawm cov pwm. Cov roj ua haujlwm zoo heev, tab sis tshuav qhov seem me me hauv epoxy. Ntau, kuv xav paub yuav ua li cas thiaj ua tau ntau txheej txheej nrog cov khoom siv no. Cov polyester cob qhia feem ntau yog nchuav rau hauv txheej. Thawj txheej raug tso cai teeb (li 15 feeb) rau cov gel. Ib qho khoom tau muab tso rau ntawm thawj txheej thiab txheej thib ob ntawm cov tshuaj tshiab tau nchuav rau saum. Lub sijhawm ua haujlwm ntawm kuv epoxy yog li 60 feeb. Kuv nchuav thawj txheej thiab tshawb xyuas nws tom qab 30 feeb - tseem mos. Tom qab li 1 teev thiab 15 feeb thawj txheej tau khov txaus los tso ib qho khoom rau ntawm nws. Txog qhov kev ntsuas no kuv tso cov ntawv ntsuas LED pom hauv qib 2 lub ntsej muag nyob rau ntawm thawj txheej, thiab npog nrog txheej txheej ntawm epoxy tshiab. Qhov no ua haujlwm zoo, LEDs tsis tawm ntawm lub rooj tsavxwm. Kuv xaus qhov no uas tsis tuaj pwm zoo, qhov pom tseeb tshaj plaws kuv tuaj yeem ua tau yog huab cua/epoxy interface. Qhov 'sab saum toj' ntawm cov casting muaj qhov yuam kev tseem ceeb. Qhov ua txhaum cai tsuas yog siv rau ntawm ntug ntawm lub casing thiab tshem tawm tau yooj yim nrog lub zom zaws. Qhov kev xaiv zoo tshaj plaws kuv pom yog lub thawv 'smeer kaas'. Nws tsis zoo tag nrho, yog li kuv tau ua nws me me nrog ob peb txheej ntawm daim kab xev-qhwv ua npuas ncauj. Qhov no tsis yog pwm lub hnub qub, tab sis xaiv sab saum toj raws li cov duab tso saib tau muab rau kuv qee qhov. Cov pwm tau maj mam so nrog cov roj ntawm daim ntawv so tes. Kuv ditched txheej txheej txheej txheej los ntawm saum toj no. Kuv tau siv cov hlau lead los ntawm lub npib ntawm tes tuav lub roj teeb mus rau PCB. Lub xov tooj ntawm tes tau kub-glued (ok, stickie-tacked) mus rau hauv qab ntawm PCB. Lub roj teeb tuav tau ntim nrog stickie-tack, thiab lub caj dab lub cajmeem tau tiv thaiv nrog ntau ntxiv lo nplaum (plasticine tseem yuav ua haujlwm zoo). Qhov no tau muab tso rau, ntsej muag, hauv cov pwm. Cov nplaum nplaum tiv thaiv lub roj teeb thiab lub taub hau tau nias khov kho mus rau hauv qab ntawm cov pwm, ua kom pom lub moos nyob hauv qhov chaw. Ntshiab epoxy tau nchuav rau hauv cov pwm kom txog thaum nws npog lub moos. Tus pin-headers tseem nyob ntev heev, tab sis tuaj yeem txiav tom qab epoxy qhuav. Qhov saib tau tso tawm los ntawm pwm tom qab li 36 teev. Cov tshuaj tiv thaiv kab mob raug tshem tawm nrog tus ntsia hlau tsav. Cov npoo tau du nrog lub laum-xovxwm grinder me ntsis. Lub moos tau pov tseg me ntsis loj los hnav ua lub dab teg saib. Kuv yuav sim txiav nws yog tias kuv tuaj yeem pom cov hlua pom. Rau lub sijhawm tam sim no, nws yuav yog lub hnab tshos saib. Daim kab xev-dhau-foamcore muab cov ntawv ntxig txias thiab qhov tseeb ntawm qhov tseeb. Lub sijhawm tom ntej no kuv yuav sim ua kom tag nrho cov pwm siv cov khoom siv no, qee yam ntxiv hauv zej zog ntawm lub dab teg saib me me.

Kauj Ruam 12: Kev Txhim Kho Ntxiv

Kev Txhim Kho Ntxiv
Kev Txhim Kho Ntxiv

Ntxiv nrog rau kev hloov kho software tau hais tseg hauv txoj kev qhia, muaj ntau qhov chaw rau kev txhim kho.

Kho vajtse 4x5 matrix ntawm 0805 LEDs yuav siv tib qhov chaw ib yam li 1206 array uas twb muaj lawm. Kuv yuav ntau hom 0805 LEDs los sim ua yav tom ntej. Qhov ntsuas kub tau hais los yav dhau los tuaj yeem muab ntxiv ua kom zoo dua 'qws-hom' hloov kho pob. PCB tau tsim los rau kev tsim khoom los ntawm Olimex ua pawg thawj coj ob tog (~ $ 33). Lawv ua haujlwm ncaj qha los ntawm Eagle cov ntaub ntawv thiab ua vaj huam sib luag (ua ntau lub rooj me me los ntawm ib lub rooj loj) dawb. Kuv tsis tau ua qhov no, tab sis kuv yuav yuav ib qho yog tias lwm tus muaj lawv ua. Software Muaj ntau qhov chaw ntxiv ntawm PIC. Lub phiaj xwm ceev/odometer tau npaj tseg. Kev ua si tuaj yeem muab ntxiv.

Pom zoo: