Cov txheej txheem:

Yuav Ua Li Cas Thiaj Li Tiv Thaiv Tus Kheej Spike Buster lossis Hloov Pawg Siv Standalone Atmega328P: 6 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Tiv Thaiv Tus Kheej Spike Buster lossis Hloov Pawg Siv Standalone Atmega328P: 6 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Thiaj Li Tiv Thaiv Tus Kheej Spike Buster lossis Hloov Pawg Siv Standalone Atmega328P: 6 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Thiaj Li Tiv Thaiv Tus Kheej Spike Buster lossis Hloov Pawg Siv Standalone Atmega328P: 6 Kauj Ruam (nrog Duab)
Video: YUAV UA LI CAS LUAG THIAJ SAIB TAUS YUS 2024, Hlis ntuj nqeg
Anonim
Image
Image

Hauv qhov haujlwm no kuv yuav qhia yuav ua li cas thiaj tsim tau chaw taws teeb tswj Spike Buster lossis Hloov Board siv Standalone Atmega328P. Txoj haujlwm no tau tsim los ntawm Custom PCB pawg thawj coj nrog cov khoom siv tsawg heev. Yog tias koj nyiam saib cov vis dis aus ces kuv tau kos tib yam lossis yog tias koj nyiam nyeem thov txuas ntxiv nrog tus tshaj tawm.

Kauj Ruam 1: Cov Khoom Siv & Cov Khoom Siv

Rau qhov haujlwm no peb xav tau cov khoom xws li

  1. Atmega328P-PU
  2. 16 MHz Crystal
  3. 2*22pF Capacitor
  4. 10K Ohm tus tiv thaiv
  5. 4*1K Resistor
  6. 4*LED teeb
  7. 4*5 Volt Relay
  8. TSO 1738
  9. UL2003A
  10. Custom PCB Board (Cov ntaub ntawv Gerber yuav muab tso rau hauv kab ntawv) lossis txhua lub rooj sib txig sib luag
  11. Cov Ntaub Ntawv nrog Poj Niam Plug

Yog tias koj xav yuav online ntawm no yog ob peb qhov kev sib txuas uas koj tuaj yeem sim

Amazon IND

  1. Atmega328P -PU -
  2. 16MHz Crystal -
  3. 4*5 Volt Relay -
  4. Tsop 1738 -
  5. UL2003A -
  6. Arduino UNO -

Amazon Asmeskas

  1. Atmega328P -PU -
  2. 16MHz Crystal -
  3. 4*5 Volt Relay -
  4. Tsop 1738 -
  5. UL2003A -
  6. Arduino UNO -

Banggood

  1. Atmega328P -PU -
  2. 16MHz Crystal -
  3. 4*5 Volt Relay -
  4. Arduino UNO -

AliExpress

  1. Atmega328P -PU -
  2. 16MHz Crystal -
  3. 4*5 Volt Relay -
  4. Tsop1738 -
  5. UL2003A -
  6. Arduino UNO -

Kauj Ruam 2: Daim Duab Duab Circuit & Layout Design

Circuit Diagram & Layout Design
Circuit Diagram & Layout Design
Circuit Diagram & Layout Design
Circuit Diagram & Layout Design
Circuit Diagram & Layout Design
Circuit Diagram & Layout Design

Nov yog daim duab qhia chaw uas kuv tau tsim ntawm KiCAD. Cov Circuit feem ntau yog nyob ib puag ncig Atmega328P-PU uas yog Micro-Controller siv hauv Arduino UNO. Hloov chaw ntawm kev siv tag nrho Arduino UNO, Kuv tab tom siv cov khoom txwv ntawm Arduino UNO ntawm cov kev cai PCB Board (Yog xav paub ntau ntxiv txog qhov txwv ntu ntu ntawm Arduino UNO koj tuaj yeem nyeem kab lus sib qhia hauv Arduino official lub vev xaib los ntawm Nyem qhov no). Qhov no feem ntau yog txhawm rau txo qhov chaw & tus nqi. Koj tseem tuaj yeem tsim txoj haujlwm no siv Arduino Uno & 4 channel relay board nrog rau kev tswj chaw taws teeb.

TSOP1738 hauv kev siv hluav taws xob yog IR Chaw Txais Chaw Taws Teeb.

Txhawm rau tsav cov kis kuv tab tom siv ULN2003A IC uas yog ntu ntawm xya NPN Darlington transistors.

Tom qab tsim daim duab qhia chaw kuv tau tsim cov qauv tsim & tsim Gerber & Laum cov ntaub ntawv rau kev tsim khoom ntawm PCB Board. Kuv siv JLCPCB rau kev tsim khoom ntawm kuv lub rooj tsav xwm PCB vim lawv muab tau zoo heev & ua tiav PCB tus nqi qis heev. Feem ntau 10 pcs yuav raug nqi koj 2 $ & yuav raug xa tawm hauv 48 teev thiab yog tias koj xaj 5 pcs PCB yuav raug xa tawm hauv 24 teev. Yog tias koj xav tso qhov kev txiav txim rau tib lub rooj tsavxwm koj tuaj yeem rub kuv li Gerber File los ntawm Nyem rau ntawm no.

Kauj Ruam 3: Txhim Kho IR Lub Tsev Qiv Ntawv & Nrhiav IR Codes

Txhim kho IR Tsev Qiv Ntawv & Nrhiav IR Cov Cai
Txhim kho IR Tsev Qiv Ntawv & Nrhiav IR Cov Cai
Txhim kho IR Tsev Qiv Ntawv & Nrhiav IR Cov Cai
Txhim kho IR Tsev Qiv Ntawv & Nrhiav IR Cov Cai
Txhim kho IR Tsev Qiv Ntawv & Nrhiav IR Cov Cai
Txhim kho IR Tsev Qiv Ntawv & Nrhiav IR Cov Cai

Txhawm rau nrhiav IR Cov lej ua ntej koj yuav tsum teeb tsa IR Lub Tsev Qiv Ntawv. Koj tuaj yeem rub tawm lub tsev qiv ntawv los ntawm GitHub. Tom qab rub tawm teeb tsa Lub Tsev Qiv Ntawv hauv koj phau ntawv Arduino Libraries.

Tom qab ntawd tsim lub Circuit Court raws li qhia hauv daim ntawv qhia zaub mov siv TSOP1738 & Arduino Uno. Tom qab Kev Tsim Kho, ua kom muaj zog hauv Circuit & upload cov duab kos. Tom qab ntawd nyem lub pob uas koj xav siv ntawm cov chaw taws teeb & sau cia cov lej uas tshwm ntawm koj Arduino IDE tus lej saib. Txog qhov haujlwm no kuv tab tom siv 4 lub nyees khawm yog li koj yuav tsum ua kom nco txog plaub tus lej rau plaub lub khawm sib txawv.

Kuv tau qhia qhov rub tawm txuas ntawm daim duab kos hauv cov kauj ruam dhau los.

Hauv cov vis dis aus cov kauj ruam no pib @ 1:07 lossis koj tuaj yeem nyem ntawm no

Kauj Ruam 4: Daim Duab Kawg Kawg los Tswj Kev Sib Txuas

Daim Sketch kawg los tswj kev xa xov
Daim Sketch kawg los tswj kev xa xov
Daim Sketch Kawg los Tswj Kev Sib Txuas
Daim Sketch Kawg los Tswj Kev Sib Txuas

Tom ntej no kuv tau xa daim duab kos zaum kawg rau kuv Qhov Tsis Txaus Siab Atmega328P-PU. Qhov sawv ntsug ntawm Atmega328P tau tsim tsa ntawm lub rooj noj mov thiab tau siv lub Arduino UNO.

Koj tuaj yeem rub tawm daim duab no los ntawm txhaj qhov txuas sib qhia hauv kauj ruam Circuit Diagram & Layout Design.

Ua ntej xa cov duab kos koj yuav tsum hloov pauv me me. Rau koj, IR Cov Cai yuav hloov pauv yog li koj yuav tsum hloov cov lej uas twb muaj lawm nrog koj li IR Cov Cai hauv cov ntaub ntawv.

Ntxiv: Yog tias koj tsis paub yuav ua li cas rau khau raj lossis thauj khoom kos duab mus rau ib leeg Atmega328P-PU, kuv tau ua qhov sib cais hauv qhov tob video piav qhia qhov ntawd. Koj tuaj yeem saib qhov ntawd los ntawm txhaj ntawm no

Hauv cov vis dis aus cov kauj ruam no pib puag ncig 2:33 lossis koj tuaj yeem nyem ntawm no

Kauj Ruam 5: Pawg Rooj Sib Tham

Pawg Rooj Sib Tham
Pawg Rooj Sib Tham
Pawg Rooj Sib Tham
Pawg Rooj Sib Tham

Tom qab tau txais lub rooj tsavxwm los ntawm JLCPCB, kuv tau teeb tsa tag nrho cov khoom siv kom haum & ruaj ntseg lawv siv cov laug.

Kauj Ruam 6: Ua tiav Txoj Haujlwm

Tiav Txoj Haujlwm
Tiav Txoj Haujlwm
Tiav Txoj Haujlwm
Tiav Txoj Haujlwm
Tiav Txoj Haujlwm
Tiav Txoj Haujlwm
Tiav Txoj Haujlwm
Tiav Txoj Haujlwm

Tom qab lub rooj sib txoos ua ke, kuv tau teeb tsa lub rooj tsavxwm ntawm lub thawv ntawv & ruaj ntseg nws nrog M3 cov ntsia hlau ntsia hlau & tom qab ntawd txuas lub rooj tsavxwm thiab poj niam ntsaws raws li.

Pawg Thawj Coj & Cov Rooj Sib Tham:

  1. Ua ntej txuas txhua qhov nruab nrab ntawm tus poj niam ntsaws ua ke & tom qab ntawd txuas nruab nrab xaim ntawm lub xov tooj tseem ceeb rau nws
  2. Tom ntej txuas Cov Xov Tooj Hluav Taws Xob ntawm Cov Kab Hluav Taws Xob rau Tus Pin "IN" ntawm lub rooj tsavxwm
  3. Tus Pin 1, 2, 3 & 4 ntawm lub rooj tsavxwm mus rau tus pin nyob ntawm Tus Poj Niam Plug tus kheej
  4. Koj kuj yuav tsum txuas DC jack rau tus Pin 5V thiab GND ntawm tus npua teb

Thaum tag nrho cov kev sib txuas ua tiav, ua kom lub rooj tsav xwm PCB siv 5V 1Amp adapter & txuas lub xov tooj tseem ceeb rau AC.

Hauv cov vis dis aus ntu no pib ncig 5:42 lossis koj tuaj yeem nyem ntawm no

Kev xeem pib @ 8:03

Pom zoo: