Cov txheej txheem:

Yuav Ua Li Cas Txuas FT232RL Programmer rau Arduino ATMEGA328 rau Kev Tshaj Tawm Cov Duab: 4 Kauj Ruam
Yuav Ua Li Cas Txuas FT232RL Programmer rau Arduino ATMEGA328 rau Kev Tshaj Tawm Cov Duab: 4 Kauj Ruam

Video: Yuav Ua Li Cas Txuas FT232RL Programmer rau Arduino ATMEGA328 rau Kev Tshaj Tawm Cov Duab: 4 Kauj Ruam

Video: Yuav Ua Li Cas Txuas FT232RL Programmer rau Arduino ATMEGA328 rau Kev Tshaj Tawm Cov Duab: 4 Kauj Ruam
Video: Управление цифровым потенциометром с помощью Arduino — X9C103 2024, Kaum ib hlis
Anonim
Image
Image

Hauv cov lus qhia me me no koj yuav kawm paub txuas lub FT232RL nti mus rau ATMEGA328 microcontroller kom xa cov duab kos.

Koj tuaj yeem pom Cov Lus Qhia ntawm tus sawv ntsug ib leeg microcontroller ntawm no.

Kauj Ruam 1: Daim Ntawv Teev Npe

Kev sib txuas rau Kev Tshaj Tawm Sketches
Kev sib txuas rau Kev Tshaj Tawm Sketches

1 x FT232RL nti (tau txais kuv ntawm no)

1 x ATMEGA328P-PU microcontroller (tau txais kuv ntawm no)

Hlau

USB cable

0.1 uf capacitor

Kauj Ruam 2: Kev Sib Txuas rau Kev Tshaj Tawm Sketches

Kev sib txuas rau Kev Tshaj Tawm Sketches
Kev sib txuas rau Kev Tshaj Tawm Sketches
Kev sib txuas rau Kev Tshaj Tawm Sketches
Kev sib txuas rau Kev Tshaj Tawm Sketches

Cov lus qhia no tau ua sai thiab kuv xav tias kev sib txuas hauv cov duab tsis raug. Yuav tsum yog RX -> tus pin 3 thiab TX rau tus pin 2.

FT232RL -> ATMEGA328

DTR ntawm 0.1 uf capacitor> tus pin 1

RX -> pin 3

TX -> pin 2

VCC -> pin 7

GND -> pin 8

TIAB SA 328

Pin 7 (+) -> pin 20 (+)

Txhawm rau rub cov duab kos yog tib yam li ib txwm muaj.

Xyuas kom koj xaiv qhov chaw nres nkoj raug.

Yog tias koj lub ATMEGA328 khiav ntawm 8Mhz xaiv "Cov Cuab Yeej → Board" thiab xaiv "Atmega 328 ntawm lub khob cij (8MHz sab hauv)".

Yog tias koj lub ATMEGA328 tab tom khiav ntawm 16Mhz xaiv "Tools → Board" thiab xaiv "Arduino Uno".

Kauj ruam 3: Ntsis

Tswv yim
Tswv yim
Tswv yim
Tswv yim
Tswv yim
Tswv yim

Kuv tau siv lub tshuab hluav taws xob thiab cov xov hlau rau kuv FT232RL nti yog li tam sim no nws yooj yim heev rau siv.

Nws yog qhov kev coj ua zoo los txuas tus txiv neej lossis tus poj niam lub taub hau taub hau rau tus pin 1, 2, 3 thiab rau + thiab - yog li koj tseem tuaj yeem rub tawm thiab hloov qhov haujlwm ntawm lub microcontroller yam tsis tas yuav tshem tawm cov nti.

Kauj Ruam 4: Lus Cim Kawg

Cov Ntawv Qhia Me Me no yog cov lus teb rau cov lus hais hauv lwm Cov Lus Qhia hu ua "$ 2 Arduino. ATMEGA328 ua tus sawv ib leeg. Yooj yim, pheej yig thiab me me heev. Phau ntawv qhia ua tiav."

Koj puas nyiam qhov qhia no, nyem lub pob Nyiam thiab sau npe yuav.

Pom koj hauv Cov Lus Qhia tom ntej.

Ua tsaug, Tom Heylen

Pom zoo: