Cov txheej txheem:

Ua Koj Tus Kheej Kev Txhim Kho Nrog Microcontroller: 3 Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Kev Txhim Kho Nrog Microcontroller: 3 Kauj Ruam (nrog Duab)

Video: Ua Koj Tus Kheej Kev Txhim Kho Nrog Microcontroller: 3 Kauj Ruam (nrog Duab)

Video: Ua Koj Tus Kheej Kev Txhim Kho Nrog Microcontroller: 3 Kauj Ruam (nrog Duab)
Video: Hlub Yus Tus Kheej | Kong Chue (Full Audio with Lyrics) New Hmong Song Nkauj Tawm Tshiab 2021 2024, Hlis ntuj nqeg
Anonim
Ua Koj Tus Kheej Kev Txhim Kho Nrog Microcontroller
Ua Koj Tus Kheej Kev Txhim Kho Nrog Microcontroller

Koj puas tau xav ua koj tus kheej lub rooj tsav xwm kev txhim kho nrog microcontroller thiab koj tsis paub yuav ua li cas. Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas. Txhua yam koj xav tau yog kev paub txog hluav taws xob, tsim hluav taws xob thiab tsim cov phiaj xwm.

Yog tias koj muaj lus nug lossis teeb meem koj tuaj yeem tiv tauj kuv ntawm kuv tus email: [email protected]

Mus ntsib kuv tus youtube channel:

www.youtube.com/channel/UCuS39O01OyPeChjfZm1tnQA

Yog li cia pib.

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv

Txhua cov ntaub ntawv rau txoj haujlwm no tuaj yeem nrhiav tau ntawm UTSource.net

Sponsor Txuas:

UTSource.netReviews

Nws yog lub vev xaib ntseeg tau rau kev xaj cov khoom siv hluav taws xob nrog tus nqi pheej yig thiab zoo tshaj

-Bascom AVR rau kev ua haujlwm

-Attiny2313A-PU 8-ntsis

-USBasp AVR Programmer

-Stabilisator L78L05 Qhov no yog stabilisator uas ruaj khov voltage rau 5V

-two 100nF condensators

-two 33pF condensators

-Ib qho 10k ohm resistor

-Crystal 11 MHz

-8 liab LED diodes

-yim 100 ohm resistors

-11 pin

-10 tus pin ISP Txiv neej Txuas Txuas Lub Taub Hau

Yog tias koj xav tau koj tseem tuaj yeem tsim cov kev xa tawm tawm.

-12V DC tso tawm

-1 k ohm resistor

-1 LED diode

-1 Rectifier Diode IN4001

-NPN BC238 transistor

-Peb tus pin

Tus lej 2313A

Hauv qhov haujlwm no kuv siv 8-ntsis nti los ntawm ATMEL tsev neeg uas tuaj yeem pom ntawm Arduino. Nws yog tsev neeg TTL yog li nws ua haujlwm ntawm 5V+.

Nws muaj 12 digital outputs lossis inputs. Pins 2, 3, los ntawm 6-9 thiab los ntawm 11-16

Pin 12 thiab 13 kuj tseem tuaj yeem siv rau qhov sib piv qhov tseem ceeb

Pin 1 tau rov pib dua

Pin 4 thiab 5 txuas nrog GND nrog 33pF condensators.

Pin 10 is GND

Tus Pin 17 yog MOSI

Pin 18 is MISO

Tus pin 19 yog SCK

Pin 20 yog Vcc+

Txog rau lub cajmeem no kuv siv USBASP AVR Programmer

Kauj ruam 2: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv

Koj tuaj yeem pab koj tus kheej txuas qhov no los ntawm daim duab kuv tso tawm. Muaj ob lub 100nF condensators ntawm daim duab tab sis lub sijhawm no kuv tsuas siv ib qho xwb.

5V+ txuas nrog tus stabilisator L7805 tom qab ntawd muaj ib qho 100nF condensator rau qhov ua kom muaj zog. Voltage mus rau tus pin 20 thiab txuas tus pin 1 txog 10k ohm resistor. Pin 4 thiab 5 txuas nrog GND nrog 33pF. Crystal txuas nrog txuas ntawm tus pin 4 thiab 5.

Resistor thiab LED diode ntawm tus pin 11 tsuas yog ua piv txwv.

Yuav ua li cas txuas 10 tus pin ISP Txiv neej Txuas Txuas Lub Taub Hau

Koj tau suav tus lej ntawm daim duab yog li koj yuav paub pib qhov twg.

Tus Pin 1 txuas nrog MOSI (tus pin 17 ntawm Attiny 2313)

Tus Pin 2 txuas nrog Vcc+

Pin 3 tsis muaj kev sib txuas

Tus Pin 4, 6, 8 thiab 10 txuas nrog GND

Tus Pin 5 txuas nrog rov pib dua tus pin ntawm Attiny2313 (tus pin 1)

Tus Pin 7 txuas nrog SCK (tus pin 19 ntawm Attiny2313)

Tus pin 9 txuas nrog MISO (tus pin 18 ntawm Attiny2313)

Relay tso zis

Relay cov zis tuaj yeem siv rau cov neeg siv khoom siv hluav taws xob nrog qhov loj dua tam sim no thiab qhov hluav taws xob. Relay yog tswj nrog transistor. Base ntawm transistor txuas nrog cov khoom siv digital, tus neeg khaws khoom tau txuas nrog kev xa xov hluav taws xob thiab xa tawm tau txuas nrog GND. Rectifier Diode IN4001 yog siv los tiv thaiv circuit. LED diode nyob hauv Circuit no yog li koj tuaj yeem pom thaum kev xa xov yog ON.

Kauj Ruam 3: Tsim Lub Rooj Tswjhwm Saib Circuit

Tsim cov Circuit Board
Tsim cov Circuit Board

Kuv tau ua qhov Circuit no los ntawm kuv tus kheej. Rau qhov kos rau hauv Circuit yog siv SprintLayout. Qhov no yog qhov program rau kos cov kab hluav taws xob, hauv txoj haujlwm no koj muaj txhua qhov ntev ntawm cov khoom siv hluav taws xob yog li yooj yim koj tuaj yeem ua Circuit rau txhua yam uas koj xav tau.

Rau kev kos duab lub rooj tsavxwm no siv CNC engraving milling tshuab. Kuv siv lub rooj tsav xwm ib txwm rau cov kab hluav taws xob uas tau pom nrog tooj liab ntawm ib sab. Thaum lub rooj tsavxwm tiav kuv tau txhuam nws nrog cov xuab zeb zoo heev. Kuv siv cov cawv thiab cov paj ntoo ua hmoov. qhov sib xyaw no kuv tau coatted tooj liab sab los tiv thaiv nws.

Pom zoo: