Cov txheej txheem:

ATtiny Arduino Programming Shield: 7 Kauj Ruam
ATtiny Arduino Programming Shield: 7 Kauj Ruam

Video: ATtiny Arduino Programming Shield: 7 Kauj Ruam

Video: ATtiny Arduino Programming Shield: 7 Kauj Ruam
Video: Programming an Attiny Arduino board (Using a DIY shield) 2024, Kaum ib hlis
Anonim
Image
Image
Ntshuam Koj Cov Ntaub Ntawv
Ntshuam Koj Cov Ntaub Ntawv

Hauv txoj haujlwm no tsim, peb qhia koj yuav ua li cas ua koj tus kheej ATtiny Arduino programmer shield siv Bantam Tools Desktop PCB Milling Machine. Qhov tseem ceeb no tso cai rau koj ntsaws thiab ua haujlwm ATtiny chips los ntawm Arduino IDE. Txoj haujlwm no xav tau teeb tsa me ntsis thiab lub sijhawm ua kom tiav cov khoom tiav. Cia peb pib!

Kauj Ruam 1: Sau Koj Cov Cuab Yeej thiab Cov Khoom

Cov cuab yeej

Bantam Cuab Yeej Desktop PCB Milling Tshuab

Khoos phis tawj nrog Bantam Cuab Yeej Duab Milling Tshuab Software teeb tsa

Arduino IDE program tau teeb tsa

Tiaj kawg zeb, 1/32"

PCB engraving ntsis, 0.005"

Kev sib dhos sib dhos

Soldering hlau

Kab pheeb ces kaum hlau clippers

USB cable

Cov ntaub ntawv

PCB dawb paug, FR-1, ib leeg-sab

Daim kab xev, siab zog, ob tog

Suab taub hau, 2.54mm (32)

Cov neeg tiv taus (3)

LEDs (1 liab, 1 ntsuab, 1 daj)

Dip qhov (socket), 2x4

Dip qhov (socket), 2x7

Capacitor, 10 uF

Cov ntaub ntawv

Rub tawm ATtiny-Jig-Final-Bantam-Tools.brd cov ntaub ntawv.

Kauj Ruam 2: Teeb Koj Txoj Haujlwm

Ua ntej tshaj, peb yuav tsum tau teeb tsa thiab nrhiav cov kab sib dhos. Tom qab koj xa cov kab ntawv sib dhos, hauv Fixturing, xaiv Nrhiav, thiab ua raws cov lus qhia ntawm lub vijtsam. Siv cov kab sib dhos sib dhos yuav ua kom ntseeg tau tias koj lub rooj tsav xwm tau zoo ua ke nyob rau hauv kaum sab laug.

Nco tseg: Yog tias koj tsis tau teeb tsa kab sib dhos ua ntej, ua raws cov theem hauv phau ntawv qhia kev txhawb nqa no.

Nrog cov kab ke sib dhos tau teeb tsa, nws yog lub sijhawm los teeb tsa koj txoj haujlwm. Peb yuav khiav dhau qhov teeb tsa no sai. Yog tias koj xav tau kev qhia ntau ntxiv yuav ua li cas thauj koj lub cuab yeej thiab nkag mus rau cov ntaub ntawv rau hauv Bantam Tools Desktop Milling Machine Software, xa mus rau Light-Up PCB Badge project.

  1. Nqa lub Desktop PCB Milling Tshuab thiab qhib Bantam Cov Cuab Yeej Duab Milling Tshuab Software.
  2. Lub tsev zeb.
  3. Txheeb ob zaug kom ntseeg tau tias nws hais tias Bracket under Fixturing.
  4. Xaiv 1/32 "Flat End Mill, ntsaws nws nrog lub kiv cua me ntsis txuas, thiab nrhiav lub cuab yeej.
  5. Hauv cov ntawv qhia zaub mov nco, xaiv Ib Leeg Ib Sab FR-1.
  6. Ntsuas thiab nkag qhov ntev hauv X, Y, thiab Z qhov tseem ceeb hauv Cov Khoom. Tom qab ntawd siv lub zog muaj zog, daim kab xev ob npaug rau ntawm ib sab ntawm PCB, thiab muab tso rau ntawm daim txiag ntoo kom nws thiaj li haum nrog lub ces kaum ntawm kab sib dhos.

Kauj ruam 3: Ntshuam Koj Cov Ntaub Ntawv

Hauv Bantam Cov Cuab Yeej software, nyob hauv Plans, nyem Qhib Cov Ntaub Ntawv thiab xaiv ATtiny-Jig-Final-Bantam-Tools.brd. Tom qab ntawd, xaiv 1/32 "Flat End Mill thiab 0.005" PCB Engraving Bit. Koj lub sijhawm zeb yuav txawv nyob ntawm qhov nrawm thiab txau daim ntawv qhia koj siv. Rau qhov haujlwm no, peb siv cov zaub mov hauv qab no.

Rau 1/32 tiaj tiaj zeb:

  • Pub Tus Nqi: 59 hauv/min
  • Plunge Tus Nqi: 15 nyob rau hauv
  • Spindle Ceev: 25, 000 RPM
  • Tus nqi kawm tiav: 49%
  • Pass qhov tob: 0.010in

Rau 0.005 PCB engraving ntsis:

  • Pub Tus Nqi: 4.00 hauv/min
  • Plunge Tus Nqi: 5.00 nyob rau hauv
  • Spindle Ceev: 25, 000 RPM
  • Cov nyiaj pab: 50%
  • Pass qhov tob: 0.006 nyob rau hauv

Yog tias koj xav kho koj qhov nrawm thiab txau kom haum rau peb, nyem Cov Ntaub Ntawv> Cov Tsev Qiv Ntawv> Ntxiv Cov Cuab Yeej. Npe koj cov cuab yeej tshiab thiab tom qab ntawd nkag mus rau qhov nrawm thiab pub zaub mov txawv. Koj tuaj yeem kawm paub ntau ntxiv txog kev hloov kho koj li Tool Library ntawm no.

Kauj Ruam 4: Pib Milling

Pib Milling
Pib Milling

Npaj? Nyem Pib Milling.

Nco ntsoov, txoj haujlwm no yuav xav tau cov cuab yeej hloov pauv. Thaum hais kom sai, teeb tsa 0.005 PCB engraving me ntsis nrog lub kiv cua me ntsis txuas, nrhiav lub cuab yeej, thiab xaiv Pib Milling kom tiav lub rooj tsavxwm.

Kauj Ruam 5: Muab Tshuaj Txhuam Txhuam

Solder cov Cheebtsam
Solder cov Cheebtsam
Solder cov Cheebtsam
Solder cov Cheebtsam

Zoo, nws yog lub sij hawm kom solder! Lob koj cov khoom thiab koj cov hlau txuas. Nws yog qhov yooj yim tshaj plaws kom muab cov khoom sib xyaw ua cov hauv qab no:

  1. Resistors
  2. 2x4 lossis 2x7 dip socket
  3. 2.54mm suab taub hau
  4. Daj, ntsuab, thiab liab LEDs
  5. 10 uF capacitor

Thaum koj ua tiav cov laug, lub rooj tsavxwm yuav zoo li qhov uas tau qhia ntawm no. Nco tseg li cas cov khoom siv hla mus rau sab nraub qaum ntawm FR-1.

Nrog koj zoo siab! Koj tau ua koj tus kheej li ATtiny Arduino programmer shield siv Bantam Tools Desktop PCB Milling Machine.

Kauj Ruam 6: Program Koj Arduino Chips

Program Koj Arduino Chips
Program Koj Arduino Chips

Txuas ATtiny lub caj dab jig koj nyuam qhuav milled rau Arduino pawg thawj coj koj xav ua haujlwm. Qhib Arduino IDE. (Yog tias koj tseem tsis tau muaj, rub tawm nws ntawm no.)

  1. Upload ArduinoISP Sketch rau Arduino Uno.
  2. Nruab ATTinyCore los ntawm Spence Konde ntawm Arduino Board Manager.
  3. Nyem Cov Cuab Yeej> Pawg Thawj Coj> ATTiny 25/45/85 (lossis 24/44/84).
  4. Nyem Cov Cuab Yeej> Moos - 8 MHz (Sab Hauv).
  5. Nyem Cov Cuab Yeej> Chip> ATTiny85 (lossis ATTiny84).
  6. Nyem Cov Cuab Yeej> LTO - "Xiam Oob Qhab".

Plug ATtiny rau hauv lub qhov (socket). Nrog Arduino's USB chaw nres nkoj taw tes nqis, tus pin 1 yuav tsum nyob rau sab xis. Tom qab ntawd ntsaws qhov program jig koj milled rau hauv Arduino thiab qhib nws. LED daj yuav tsum pib ua pa tom qab pib ua ntu zus.

Tom ntej no, nyem Cov Cuab Yeej> Programmer> Arduino Raws li ISP, thiab tom qab ntawd xaiv Cov Cuab Yeej> Hlawv Bootloader. Cov kauj ruam no tsuas yog yuav tsum tau ua ib zaug ib zaug. Tom qab koj tau hlawv Arduino Bootloader mus rau ATTiny, koj tuaj yeem tso cov duab kos los ntawm cov piv txwv piv txwv hauv Arduino IDE, lossis koj tuaj yeem sau koj tus kheej. Nco ntsoov tias koj xaiv "Upload Siv Programmer" los ntawm Sketch menu. Nco tseg: Yog xav paub ntxiv txog kev ua haujlwm koj li Arduino nti, txheeb xyuas Arduino cov lus qhia rau kev ua haujlwm Arduino Uno.

Thaum ua haujlwm rau koj daim tawv nqaij, ntawm no yog qee cov ntawv sau tsim kom nco ntsoov

LEDs: Cov LEDs tau txuas rau Arduino pins 7, 8, thiab 9 los qhia kev ua haujlwm, ua yuam kev, thiab lub plawv dhia. Cov no yog cov xwm txheej LEDs thaum ua haujlwm thiab tsim rau hauv ArduinoISP kos duab. LED daj "ua pa" thaum koj txuas nrog; lub ntsuab LED ntsais muag thaum lub sijhawm pib ua haujlwm; thiab lub LED liab tig rau thaum muaj qhov ua yuam kev thiab thaum kos duab ua tiav uploading.

  • Tus Pin 7 - Txoj Haujlwm
  • Pin 8 - Yuam kev
  • Pin 9 - Lub plawv dhia

Serial Peripheral Interface (SPI): SPI yog siv los ntawm microcontrollers rau kev sib txuas lus nrawm nrog ib lossis ntau qhov khoom siv sab nraud, lossis hauv qhov xwm txheej no. Ib txwm muaj ib tus tswv cuab yeej uas tswj hwm lwm lub cuab yeej.

  1. Tus Pin 10 - Salve Xaiv (SS)
  2. Tus Pin 11 - Tswv Qhia Tawm Qhev Hauv (MOSI)
  3. Tus Pin 12 - Tus Xib Hwb Hauv Qhua Tawm (MISO)
  4. Tus Pin 13 - Caij Nplooj Ntoos Zeeg (SCK)

Ntiaj teb Programming

  • 5V - Hwj chim
  • GND - Hauv av
  • Pib dua

Kauj Ruam 7: Kuaj Koj Lub Rooj Tswjhwm Saib Arduino

Ntsuam Xyuas Koj Pawg Arduino
Ntsuam Xyuas Koj Pawg Arduino

Hauv theem kawg no, nws yog lub sijhawm los ntsuas koj lub rooj tsavxwm. Kom paub tseeb tias koj lub rooj tsavxwm ua haujlwm, ua tiav cov theem hauv qab no:

  • Nyem Cov Ntaub Ntawv> Piv txwv> 01. Basics> Blink. Hloov tus pin LED rau 3. Qhov no yog tus pin 2 ntawm 85 thiab tus pin 10 ntawm 84.
  • Nyem Cov Cuab Yeej> Programmer. Xaiv Arduino ua ISP.
  • Nyem Sketch> Upload> Programmer.

Puas muaj ib lub ncauj lus koj xav kom peb npog hauv peb cov vis dis aus tom ntej? Email [email protected] lossis hu rau peb ntawm peb cov kev tshaj xov xwm. Nco ntsoov ua raws peb ntawm Instagram, Facebook, thiab Twitter rau qhov ua ntej-tos, CNC cov phiaj xwm, thiab hloov tshiab!

Pom zoo: