Top Banner
ARTRON Cara Kon USBAsp NICS, https:// Tutorial neksi UsbAsp Versi 3 /www.tokop l Penggu p Downloade pedia.com/ar unaan Kit er versi 3 ke rtronics/ ; h t AVR AT Kit AVR ATm https://mikro Tmega16 mega16 Type obandung.wo 6/32/853 3, seperti ga ordpress.com 35 Type3 ambar dibaw m/, wah ini:
13

Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

Feb 15, 2018

Download

Documents

tranthien
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

Cara Kon

 

USBAsp 

 

 

 

 

 

 

 

NICS, https://

Tutorial

neksi UsbAsp

 Versi 3 

/www.tokop

l Penggu

p Downloade

pedia.com/ar

unaan Kit

er versi 3 ke 

rtronics/ ;   h

t AVR AT

Kit AVR ATm

https://mikro

Tmega16

mega16 Type

obandung.wo

6/32/853

3, seperti ga

ordpress.com

35 Type3 

ambar dibaw

m/,  

wah ini: 

 

 

Page 2: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

 

  

NICS, https://

Gam

/www.tokop

mbar Konek

pedia.com/ar

si Kit AVR AT

rtronics/ ;   h

TMega16 Ty

https://mikro

ype3 dengan

obandung.wo

 USBAsp Ver

ordpress.com

rsi 2 

m/,  

 

 

 

Page 3: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

Keterang

 

 

 

 

 

 

 

NICS, https://

gan Pin Kit M

/www.tokop

Mikrokontrol

pedia.com/ar

er AVR  ATm

rtronics/ ;   h

mega16 Type

https://mikro

 3 

obandung.woordpress.comm/,  

 

Page 4: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRONICS, https://www.tokopedia.com/artronics/ ;   https://mikrobandung.wordpress.com/,  

 

 

 

 

 

 

 

 

 

 

PB0 (XCK/T0)1

PB1 (T1)2

PB2 (AIN0/INT2)3

PB3 (AIN1/OC0)4

PB4 (SS)5

PB5 (MOSI)6

PB6 (MISO)7

PB7 (SCK)8

RESET9

PD0 (RXD)14

PD1 (TXD)15

PD2 (INT0)16

PD3 (INT1)17

PD4 (OC1B)18

PD5 (OC1A)19

PD6 (ICP)20

PD7 (OC2)21

XTAL212

XTAL113 GND 11

PC0 (SCL) 22

PC1 (SDA) 23

PC2 (TCK) 24

PC3 (TMS) 25

PC4 (TDO) 26

PC5 (TDI) 27

PC6 (TOSC1) 28

PC7 (TOSC2) 29

AREF 32AVCC 30

GND 31

PA7 (ADC7) 33PA6 (ADC6) 34PA5 (ADC5) 35PA4 (ADC4) 36PA3 (ADC3) 37PA2 (ADC2) 38PA1 (ADC1) 39PA0 (ADC0) 40

VCC 10

ATMEGA16

1 2X1

11.0592MHz

22pF 22pF

10uF/25V

4K7R0

S0

VCC

RSTRST

A0A1A2A3A4A5A6A7

B0B1B2B3B4B5B6B7

D1D2D3D4D5D6D7

GNDGND

VCCVCC

VCC

D0

Vin VoutGND

LM 7805

100uF/25V

330

LED1

VCC

VCC

12

JACK POWER DC

123456789

10111213141516

LCD

VCCGND

GND

12VDC

100VCC

220

220

220

220

220

220

220

220

VCC

C0C1C2C3C4C5C6C7

C0

C1

C2

C3

C4

C5

C6

C7

C0C1C2

C4C5C6C7

Page 5: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRONICS, https://www.tokopedia.com/artronics/ ;   https://mikrobandung.wordpress.com/,  

Langkah‐langkah pemrograman  kit Evaluation Board Mikrokontroler AVR ATMega16: 

1. Hubungkan  Konektor ISP Downpoder ke Programmer USBAsp  

 

Susunan pin ISP pada Kit  Evaluation Board Mikrokontroler AVR ATMega16 

GND RST SCK MISO MOSI VCC  

Hubungkan pin ISP pada Kit  Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp 

GND‐‐‐GND 

RST‐‐‐RST 

SCK‐‐‐SCK 

MISO‐‐‐MISO 

MOSI‐‐‐MOSI 

VCC‐‐‐VCC 

Gambar koneksi USBasp programmer degan kit mikrokontroler 

 

 

 

 

 

 

 

 

 

 

Page 6: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

 

Langkah

 

1. 2. 3.

4. 5. 6.

7.

NICS, https://

h‐langkah ins

Pasang USB Install  windCek dengan 

Install progrUSB downloUntuk memkemudian pJika terjadi mlalu pilih Progambar diba 

/www.tokop

stalasi UsbAs

downloaderow driverdevice mana

ram Khazamaoader siap digasukan file hilih file hex dmasalah tidaogram Optionawah ini. 

pedia.com/ar

sp download

r usbasp‐windager, harus m

a  Khazamagunakan. hex ke IC mikdari project yk dapat  down. Pada bagia

rtronics/ ;   h

er  : 

driver.2011‐0muncul USBa

aAVRProgram

krokontroler,yang kita buawnload, cobaan ISP CLK S

https://mikro

05‐28 asp 

mmer V1.7

, pilih menu at, kemudianalah atur clocpeed: atur cl

obandung.wo

File >> Load n pilih Auto Pcknya, pada locknya men

ordpress.com

Flash file to Program. menu Commnjadi 32 KHZ.

m/,  

Buffer, 

mand, . Seperti 

 

Page 7: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

 

 

 

Sumber

Are youguide y

NICS, https://

 

Jika OS yangdijalankan laWindows XP

r : http://lets

u having proyou to instal

/www.tokop

g digunakan Wakukan klik kP SP3. 

smakerobot

oblems instling those d

pedia.com/ar

 

Windows 7 akanan pada ic

ts.com/node

alling usbasdrivers :)

rtronics/ ;   h

atau Windowcon khazama

e/36841

sp drivers o

https://mikro

 

ws 8, maka sua.exe, lalu pi

on windows

obandung.wo

upaya progralih compatib

8 ? This wa

ordpress.com

am khazamability, lalu pil

 

alkthrough

m/,  

a dapat ih 

will

Page 8: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

Actually'digitallaround way thr

1) Movoptions

2) After

3) Chooside.

4) Selec

NICS, https://

y the main ply signed' dithis you mu

rough which

ve the cursoron the righ

r this chose

ose General

ct troublesh

/www.tokop

problem is irectly (or eust temporah you can do

r over the toht side of the

'Change PC

l in the left m

hoot

pedia.com/ar

that microseasily) on warily disableo this-

op or bottome screen. C

C Settings'

menu and c

rtronics/ ;   h

oft doesn't awindows viste the signat

m right cornChoose the S

click on the

https://mikro

allow you tota and later ture verific

ner or the scSettings opti

'Restart No

obandung.wo

o install drivversions (7 ation proce

reen and it ion (icon lo

w' in the bo

ordpress.com

ivers which and 8). Toess. So, her

will show eooks like a G

ottom on the

m/,  

are not o get e is a

extra Gear).

e right

Page 9: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

5) Thensomethi

6) Cho

Now yowhateve

Now comessag

NICS, https://

n select 'Adving like this

oose 'Disable

ou have sucer you want

onnect your e that 'Devi

/www.tokop

vanced optis-

e Driver Sig

cessfully dit!

USBasp price driver so

pedia.com/ar

ons' and the

gnature Enf

isabled the d

rogrammer toftware was

rtronics/ ;   h

en 'Startup S

forcement' a

driver signa

to the USB s not succes

https://mikro

Settings'. A

and hit the E

ature verific

port of youssfully insta

obandung.wo

fter this you

Enter key to

cation and y

ur PC/laptoplled'.

ordpress.com

u will see

o start Wind

you can insta

p. Ignore the

m/,  

dows.

all

e

Page 10: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

Downlo28.zip a

Go to Dit and se

select 'Bhave ex

NICS, https://

oad USBaspand extract i

Device Manelect 'Updat

Browse my xtracted the

/www.tokop

p drivers heit somewhe

ager in contte Driver So

computer fUSBasp dr

pedia.com/ar

re- http://were on your P

trol Panel aoftware...'

for driver soivers

rtronics/ ;   h

www.fischl.dPC/Laptop.

and you will

oftware'. Aft

https://mikro

de/usbasp/u

l find 'LibU

fter this brow

obandung.wo

usbasp-wind

SB-Win32

wse to the lo

ordpress.com

driver.2011-

Devices'. C

ocation whe

m/,  

-05-

Click on

ere you

Page 11: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

Click nesoftwar

Woot! i

NICS, https://

ext and ignore' and selec

if everythin

/www.tokop

ore the secuct 'Install thi

ng goes alrig

pedia.com/ar

urity warninis driver sof

ght you will

rtronics/ ;   h

ng 'Windowftware anyw

l see someth

https://mikro

ws can't verifway'

hing like thi

obandung.wo

fy the publis

is -

ordpress.com

sher of this

m/,  

driver

Page 12: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

That's it

Untuk m

 

 

 

 

 

 

 

 

 

 

 

 

NICS, https://

t! :D

mencari pos

/www.tokop

sisi trouble

pedia.com/ar

shoot di wi

rtronics/ ;   h

indows 8

https://mikro

Search: mas

obandung.wo

sukan kata k

ordpress.com

kunci boot

m/,  

Page 13: Tutorial Penggunaan Kit AVR ATmega16/32/8535 Type3 · PDF fileHubungkan pin ISP pada Kit Evaluation Board Mikrokontroler AVR ATMega16 dengan pin ISP USBasp GND

ARTRON

 

 

Cara

 

 

 

 

NICS, https://

a Memasuka

Setelah progcompile & bLalu file hex atau progispProgram.   Menggunak

Menggunak

/www.tokop

n  Program k

gram dibuat build, file hextersebut aka

p, dengan pil

an Khazama 

an ProgIsp 

pedia.com/ar

ke IC Mikrok

menggunakax tersimpan dan dimasukaih menu File

rtronics/ ;   h

kontroler  

an CodeVisodirektori proan ke IC mikre ||Load FLA

https://mikro

onAVR, BASCjek yang dibrokontroler mASH file to Bu

  

obandung.wo

OMAVR, dll,uat,  menggunakaffer,  kemud

ordpress.com

 kemudian d

n program kdian pilih Aut

m/,  

di 

khazama to