Cov txheej txheem:

AT89S52 - Veroboard & Upcycling Cheebtsam: 4 Cov Kauj Ruam
AT89S52 - Veroboard & Upcycling Cheebtsam: 4 Cov Kauj Ruam

Video: AT89S52 - Veroboard & Upcycling Cheebtsam: 4 Cov Kauj Ruam

Video: AT89S52 - Veroboard & Upcycling Cheebtsam: 4 Cov Kauj Ruam
Video: How to program 8051 using Arduino! | AT89S51, AT89S52, and P89V51RD2 2024, Kaum ib hlis
Anonim
AT89S52 - Veroboard & Upcycling Cheebtsam
AT89S52 - Veroboard & Upcycling Cheebtsam

Tsim koj tus kheej cov poj koob yawm txwv ntawm Arduino nrog cov khoom qub.

32 I/O programmable. Qhov no puas yog ISP programmable microcontroller.

Yooj yim thiab qhia tsim txoj haujlwm.

(Ok … kuv yuav Veroboard rau qhov no, lossis koj tuaj yeem ua nws ntawm daim txiag ntoo)

Khoom siv

www.instructables.com/id/Program-8051- Nrog …

www.instructables.com/id/Getting-started-w…

Kauj Ruam 1: Nrhiav Cheeb Tsam

Nrhiav Cheebtsam
Nrhiav Cheebtsam

- 2 x 22 pF Ceramic capacitors

2 x 180 ohm Resistor 1/4W

- 1 x 10k ohm Resistor 1/4W

- 2 capacitor 10uF (tuaj yeem tso 10uF lossis 1uF rau rov pib dua)

- 1 lub capacitor 1uF

- 1 x 20 MHz Oscillator 2 ntsiab lus

- 1 x LM7805 Tus Tswj 5V

- 1 x Tus cuam tshuam 2 txoj haujlwm

- 1 x USB B poj niam txuas

- 4 x 8 pins txiv neej lub taub hau

- 2 x 4 pins txiv neej lub taub hau

- 1 x AT89S52 Microcontroller

- 1 x Veroboard

- 2 x Leds 3mm (1 liab thiab 1 ntsuab) rau kev kos khoom

Yuav tsum tau: Cov khoom rau soldering.

Nco tseg, tag nrho cov khoom tau hloov pauv. Koj tuaj yeem pom lawv ntawm cov khoom siv hluav taws xob pov tseg.

Kuv nyuam qhuav yuav Veroboard.

Kauj ruam 2: Soldering

Soldering
Soldering

Ua raws cov txheej txheem yav dhau los rau cov khoom sib txuas ntawm Veroboard.

Lus Ceeb Toom: Sim rau ntawm daim txiag ntoo ua ntej yuav laug.

Kauj Ruam 3: Txheeb Xyuas

Txheeb xyuas
Txheeb xyuas

Txheeb xyuas lub hwj chim nrog Leds.

Muab lub microcontroller tso rau hauv txoj haujlwm zoo. Taw tes rau ntawm kaum ntawm AT89S52 yog tus pin thawj.

Nws yog Arduino zoo li nrog cov khoom qub.

Kauj Ruam 4: Tshaj Tawm Koj Txoj Haujlwm

Rub tawm Koj Txoj Haujlwm
Rub tawm Koj Txoj Haujlwm
Rub tawm Koj Txoj Haujlwm
Rub tawm Koj Txoj Haujlwm

Tam sim no nws yog lub sijhawm rau programming microcontroller. Xaiv koj txoj kev, thiab sim Blink code rau kev sim nws.

Kuv siv tus kws tshaj lij ISP tus kws tshaj lij nrog ZIF qhov ntsaws rau xa cov ntaub ntawv hex. Koj tuaj yeem ua haujlwm nrog Arduino Uno thiab siv cov khoom lag luam.

Upcycle rau kev lom zem.

Pom zoo: