Cov txheej txheem:

Attiny85 Keyboard rau Hauv $ 8!: 11 Kauj Ruam (nrog Duab)
Attiny85 Keyboard rau Hauv $ 8!: 11 Kauj Ruam (nrog Duab)

Video: Attiny85 Keyboard rau Hauv $ 8!: 11 Kauj Ruam (nrog Duab)

Video: Attiny85 Keyboard rau Hauv $ 8!: 11 Kauj Ruam (nrog Duab)
Video: Digispark ATTINY85 Keyboard Emulation 1 2024, Hlis ntuj nqeg
Anonim
Attiny85 Keyboard rau Hauv $ 8!
Attiny85 Keyboard rau Hauv $ 8!

Cov keyboard me me no tau ua nrog ob peb yam tsis sib xws, qee cov khoom siv PCB dawb paug, lub suab nrov, ib qho LED, Attiny85 thiab ntau txoj kev hlub! Lub hom phiaj ntawm txoj haujlwm yog ua kom cov keyboard uas lom zem thiab yooj yim los ua thiab uas yuav tsis raug nqi hmoov zoo los ua.

Kauj Ruam 1: Cov Ntaub Ntawv thiab Cov Cuab Yeej Yuav Tsum Tau

Kuv tau ntxiv tus nqi ntawm tus nqi ntawm txhua yam khoom hauv qee kis kuv yuav tsum tau ntim ntau dua ib yam khoom ib zaug. Kuv nyob hauv South Africa yog li kuv tsuas yog hloov pauv tus nqi ntawm txhua yam khoom raws li tus nqi pauv tam sim no tsuas yog muab lub tswv yim ntawm qhov haujlwm no yuav raug nqi ntau npaum li cas. Qee yam khoom, xws li Arduino uno tuaj yeem qiv tau vim nws tsuas yog siv los nyem qhov program mus rau Attiny85 micro maub los yog li kuv tau suav qhov no los ntawm tus nqi ntawm cov keyboard.

  1. Toner hloov daim ntawv x 1 ($ 0.3)
  2. Attiny85 x 1 ($ 2)
  3. 1206 SMD LED x 1 ($ 0.2)
  4. 2k Resistors x 13 ($ 0.25)
  5. 1M resistor x 1 ($ 0.25)
  6. 47 Ohm resistor x 1 ($ 0.25)
  7. 0.1uF Capacitor x 1 ($ 0.07)
  8. 10uF Capacitor x 1 ($ 0.2)
  9. 3V passive buzzer x 1 ($ 0.3)
  10. 5V qhov ntsuas hluav taws xob x 1 ($ 0.35)
  11. 9V roj teeb x 1 ($ 1.75)
  12. 9V roj teeb txuas x 1 ($ 0.5)
  13. 1 tus pin txiv neej header x 1 ($ 0.25)
  14. Poj niam rau Txiv neej jumper hlau x 1 ($ 0.1)
  15. Plab ib sab PCB x 1 ($ 1.11)
  16. Qhov (socket) IC 8 Pin x 1 ($ 0.07)

Tus nqi tag nrho ntawm cov ntaub ntawv tsuas yog $ 7.95!

Cov cuab yeej xav tau

  1. Ib qho Soldering Iron
  2. Hlau
  3. Ib lub tshuab luam ntawv laserjet
  4. Tus cim ruaj khov
  5. Ferric Chloride lossis lwm yam tshuaj lom neeg
  6. Ntawv xeb
  7. 0.6mm laum ntsis (nws tsis tas yuav yog qhov loj me me)
  8. Lub laum lossis cov cuab yeej teb
  9. Ib Arduino Uno
  10. Txiv neej rau txiv neej jumper xov hlau
  11. Ib daim ntawv qhia zaub mov
  12. Ib lub PC lossis lub khoos phis tawj uas tuaj yeem ua haujlwm Arduino IDE
  13. USB cable rau Arduino

Kauj Ruam 2: Luam Tus Tsim Rau Hauv Toner Paper

Luam Tus Tsim Rau Ntawm Cov Ntawv Toner
Luam Tus Tsim Rau Ntawm Cov Ntawv Toner

Rau cov kauj ruam no koj tsuas yog yuav tsum luam tawm PDF uas tau txuas nrog rau cov lus qhia no rau koj li A4 qhov loj me toner hloov ntawv. Qhov no yuav tsum ua tiav nrog lub tshuab luam ntawv laser thiab cov chaw luam ntawv yuav tsum nyob rau qhov siab tshaj plaws tau dpi thiab qhov tsaus ntuj tshaj plaws ua tau qhov kev xaiv toner! Ceev faj tsis txhob kov tus lej tom qab nws tau luam tawm txij li nws poob tawm yooj yim heev! Tom qab tus qauv tsim tau luam tawm lawm koj yuav tsum txiav tawm tus qauv raws li qhia hauv daim duab.

Kauj Ruam 3: Npaj Qhov Tsis Txaus Siab PCB

Npaj Plank PCB
Npaj Plank PCB

Hauv cov kauj ruam no, koj yuav tsum tau txiav qhov PCB kom tsawg. Qhov no tuaj yeem txiav nrog cov hlau pom, riam riam lossis lwm txoj hauv kev txiav uas koj nyiam vim qhov kev txiav no tsis tas yuav ua tiav. Ntsuas tawm 75mm, uas yog ib nrab ntawm 150mm x 100mm PCB. Xuab zeb PCB nrog ib puag ncig 400 txog 800 cov ntawv xuab zeb raws li qhia hauv daim duab saum toj no.

Kauj Ruam 4: Hloov Tus Qauv thiab Tev Tawm Daim Ntawv Hloov

Hloov Tus Qauv thiab Peel Tawm Daim Ntawv Hloov
Hloov Tus Qauv thiab Peel Tawm Daim Ntawv Hloov
Hloov Tus Qauv thiab Peel Tawm Daim Ntawv Hloov
Hloov Tus Qauv thiab Peel Tawm Daim Ntawv Hloov
Hloov Tus Qauv thiab Peel Tawm Daim Ntawv Hloov
Hloov Tus Qauv thiab Peel Tawm Daim Ntawv Hloov
Hloov Tus Qauv thiab Peel Tawm Daim Ntawv Hloov
Hloov Tus Qauv thiab Peel Tawm Daim Ntawv Hloov

Rau cov kauj ruam no kuv tau siv hom toaster uas siv los ua kom sov hloov cov qauv mus rau tooj liab tab sis kuv hais tias ib tus xav tau hlau ua qhov no hauv cov npe cuab yeej uas xav tau. Cov kauj ruam tib yam siv. Ib tus xav tau tso tus qauv tsim mus rau tooj liab nrog lub toner tig rov qab (lub toner xav tau kov kov tooj liab). Thaum tshav kub kub yuav tsum tau thov nyob ib ncig ntawm 2 feeb (Cov hlau yuav tsum yog ntawm nws qhov kub siab tshaj plaws). Tom qab ob feeb cov hlau yuav tsum tau tig thiab nias rau lwm feeb kom ntseeg tau tias nws hloov pauv txhua qhov chaw. Tom qab ua qhov no, tawm ntawm lub rooj tsavxwm rau ob peb feeb kom txias thiab muab tso rau hauv dej sov kom sov li ntawm 10 feeb. Daim ntawv yuav pib tev tawm ntawm nws tus kheej. Tam sim no ib tus tuaj yeem maj mam rub tawm daim ntawv xa mus. Qee tus number case yuav tsis hloov pauv kom raug tab sis qhov no yuav raug kho nyob rau theem tom ntej.

Kauj Ruam 5: Sau rau Qhov Chaw Qhov Ink Tsis Hloov

Sau rau hauv Qhov Chaw Qhov Ink Tsis Hloov
Sau rau hauv Qhov Chaw Qhov Ink Tsis Hloov

Hauv cov theem no yuav tsum muaj tus tsim khoom. Ua tib zoo yuav txhua qhov ntawm qhov chaw uas tus number case hloov pauv tsis raug. Ib tus kuj tuaj yeem khawb tawm ntawm cov khoom xa tawm tsis raug vim yog tshav kub lossis siab dhau.

Kauj Ruam 6: Txheeb thiab ntxuav lub Rooj Tswjhwm Saib

Etch thiab ntxuav lub Rooj Tswjhwm Saib
Etch thiab ntxuav lub Rooj Tswjhwm Saib
Etch thiab ntxuav lub Rooj Tswjhwm Saib
Etch thiab ntxuav lub Rooj Tswjhwm Saib

Hauv theem no kuv tau siv Ferric Chloride los ua cov laug cam tab sis muaj ntau txoj kev xaiv uas muaj. Nws yog ib qho tseem ceeb heev uas siv hnab looj tes nyob rau theem no thiab nws tau ua tiav hauv thaj chaw muaj cua nkag tau zoo! Dilute ferric chloride nrog dej thiab sib tov nrog ib puag ncig 1: 1 nrog dej. Ib qho yuav tsum tso nws tseg ib puag ncig 10 txog 15 feeb thiab tshawb xyuas tas li yog tias tag nrho cov tooj liab tau raug tshem tawm ntawm PCB. Tom qab ntawd ntxuav lub rooj tsavxwm hauv lub tais dej cais kom txog thaum nws huv. Thov nco ntsoov tias ferric chloride tsis tuaj yeem pov tseg ntawm qhov dej ntws vim nws tsis zoo rau ib puag ncig, nws yuav tsum tau muab pov tseg kom muaj lub luag haujlwm.

Kauj Ruam 7: Ntxuav Cov Ntug thiab Laum Txhua Qhov

Ntxuav Cov Ntug thiab Laum Txhua Qhov
Ntxuav Cov Ntug thiab Laum Txhua Qhov
Ntxuav Cov Ntug thiab Laum Txhua Qhov
Ntxuav Cov Ntug thiab Laum Txhua Qhov

Rau cov kauj ruam no ib qho yuav tsum tau txiav lub rooj tsavxwm kom raug ib puag ncig cov qauv tsim nyob rau hauv kev tsim qauv thiab xuab zeb cov npoo nrog ib puag ncig 100 pob zeb xuab zeb txhawm rau txhawm rau ua kom pawg thawj coj saib zoo dua qub. Tom qab qhov no tau ua tiav ib qho xav tau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau npaj lub rooj tsavxwm rau xim tha xim thiab tha xim. Thov hnav daim npog qhov ncauj thiab hnab looj tes thaum ua qhov no zoo li koj tab tom ua daim iav fiberglass board uas tuaj yeem tsim kev phom sij rau koj kev noj qab haus huv! Tom qab lub rooj tsavxwm tau ua kom huv ib qho tuaj yeem pib nrog cov txheej txheem drilling. Laum txhua qhov (nyiam dua nrog qee qhov kev nias ntawm qhov nias) thiab cov kauj ruam no tau ua tiav tam sim no!

Kauj Ruam 8: (Tsis teb los tau) pleev xim rau PCB

(Tsis teb los tau) Xim PCB
(Tsis teb los tau) Xim PCB

Pleev xim PCB nrog cov xim tsuag xim uas koj xaiv. Tom qab pleev xim tsuas yog xuab zeb sab ntawm pcb nrog 400 cov ntawv xuab zeb thiab tsuas yog cov tooj liab yuav raug xuab zeb txij li qhov seem ntawm pawg thawj coj saib qis dua tooj liab.

Kauj Ruam 9: Lub Sijhawm Solder

Lub Sijhawm Solder!
Lub Sijhawm Solder!
Lub Sijhawm Solder!
Lub Sijhawm Solder!
Lub Sijhawm Solder!
Lub Sijhawm Solder!
Lub Sijhawm Solder!
Lub Sijhawm Solder!

Ua ntej muab tshuaj txhuam SMD LED rau ntawm ib sab ntawm lub rooj tsavxwm. Kuv tau pom nws yooj yim tshaj plaws thaum xub thawj muab cov pawm los nyob ib leeg thiab tom qab ntawd tso cov khoom SMD rau hauv ncoo nrog cov laug rau ntawm nws. Thaum tshav kub kub yuav tsum tau siv nrog cov hlau txuas rau ib sab ntawm LED thiab tom qab ntawd sov rau lwm sab txhawm rau txhawm rau txhawm rau tiv thaiv cov khoom siv. Kuv tau hais qhia rau ntawm daim duab saum toj no qhov twg qhov me me ntsuab nyob ntawm LED yuav tsum tau ntsej muag Tom ntej no peb yuav tsum tig lub rooj tsavxwm ib puag ncig thiab muab cov khoom seem txuas ntxiv. Kuv tau ntxiv cov duab nrog cov ntawv lo ntawm txhua qhov khoom siv hauv txoj haujlwm raug. Muab cov khoom siv tso rau hauv cov lus hauv qab no kom nws yooj yim dua; resistors, 0.1uF capacitor, IC qhov (socket), tus tswj hluav taws xob, lub suab nrov thiab thaum kawg tus pin nkaus xwb. Schematic tau ntxiv rau saum toj no. Lub hauv paus tsuas yog kev sib txuas ntawm cov neeg tawm tsam uas faib 5V op rau 12 qhov sib txawv uas yog tom qab ntawd nyeem los ntawm lub microcontroller uas ua lub suab nrov dhau los ntawm lub suab nrov.

Kauj ruam 10: Programing Attiny85 thiab Ntxiv IC

Programing Attiny85 thiab Ntxiv IC
Programing Attiny85 thiab Ntxiv IC
Programing Attiny85 thiab Ntxiv IC
Programing Attiny85 thiab Ntxiv IC
Programing Attiny85 thiab Ntxiv IC
Programing Attiny85 thiab Ntxiv IC
Programing Attiny85 thiab Ntxiv IC
Programing Attiny85 thiab Ntxiv IC

Nov yog cov kauj ruam kawg! Tom qab qhov no tau ua tiav IC tuaj yeem yog qhov chaw hauv lub qhov (socket), jumper tuaj yeem txuas nrog thiab thaum kawg lub roj teeb tuaj yeem txuas nrog thiab nws tau npaj ua si! Cov kauj ruam no txawm li cas los xij yog qhov nyuaj tshaj plaws yog li cov kauj ruam yuav tsum tau rov ua raws nraim. Txog rau pib Arduino 1.6.4 xav tau rub tawm thiab tuaj yeem rub tawm los ntawm qhov txuas no;

www.arduino.cc/en/Main/OldSoftwareReleases… xaiv version 1.6.4 ntawm qhov yuav tsum tau ua haujlwm.

Qhib cov cai uas tau txuas nrog cov lus qhia no uas hais tias "Keys".

Tom ntej no peb yuav tsum mus rau qhov nyiam, hauv qab cov ntaub ntawv raws li pom hauv daim duab saum toj no thiab muab cov kab ntawv txuas hauv qab no uas nws hais tias "Tus Thawj Saib Xyuas Ntxiv URLs"

drazzy.com/package_drazzy.com_index.json

Tom ntej no peb yuav tsum teeb tsa lub rooj tsav xwm hauv qab cov thawj tswj hwm tab raws li qhia hauv daim duab saum toj no.

Attiny85 tuaj yeem muab tso rau hauv lub khob cij raws li qhia saum toj no. Lub 10uF capacitor xav tau txuas nrog kev rov pib dua thiab hauv av pins ntawm Arduino Uno. Hauv av thiab 5V los ntawm arduino xav tau txuas nrog tus pin 4 thiab 8 feem ntawm Attiny85. Arduino Pin 13 yuav tsum txuas nrog Attiny85 tus pin 2. Arduino Pin 12 yuav tsum txuas nrog Attiny85 tus pin 1. Arduino Pin 11 yuav tsum txuas nrog Attiny85 tus pin 0 thiab Arduino tus pin 10 xav tau txuas nrog Attiny pin 1.

Xaiv Attiny25/45/85 ua pawg thawj coj. Attiny85 raws li lub nti, 8Mhz (sab hauv) raws li lub moos, thiab khaws cov kev xaiv seem raws li lawv muaj. tam sim no ua tus programmer "Arduino as ISP".

Tom ntej no peb tuaj yeem nias upload thiab ib yam li qhov Attiny85 tau ua haujlwm lawm!

Highlowtech muaj kab lus zoo ntawm qhov no uas piav qhia txhua yam zoo dua li kuv tuaj yeem ua tau, qhov txuas rau qhov ntawd yog;

highlowtech.org/?p=1706

Tam sim no Attiny85 tam sim no tuaj yeem muab tso rau hauv IC qhov (socket) ntawm PCB soldered. Kev taw qhia yog ib qho tseem ceeb heev! Sab ntawm IC nrog qhov me me ntawm nws yuav tsum tig mus rau sab laug ntawm lub rooj tsavxwm.

Kauj ruam 11: Sijhawm Ua Si

Ntsaws rau hauv lub roj teeb thiab jumper hlau thiab cia koj lub tswv yim mus qus! Tsuas yog zam txim rau kuv qhov kev ua si txaus ntshai.

Pom zoo: