muhaaden913

A fine WordPress.com site

hy-srf05, BUZZER, LED, LCD1602 menggunakan CodeVisionAVR Ver.2.05 bersama Trainer YZ200 Maret 29, 2013

Filed under: Uncategorized — muhaaden9 @ 8:23 pm

cendhol

Sistem kerja, Buzzer akan berbunyi jika ada obyek dengan jarak dibawah 10Cm. Led hanya berfungsi sebagai indikator, LCD berfungsi menampilkan jarak obyek.

Setting Pin :

Buzzer = PIND.5
LED = PORTA
Echo = PIND.0
Triger = PORTD.1
LCD = RS – PORTC Bit 0             RD – PORTC Bit 1
EN – PORTC Bit 2             D4 – PORTA Bit 4
D5 – PORTA Bit 5             D6 – PORTA Bit 6
D7 – PORTA Bit 7


HY-SRF05

Berikut adalah Listing Programnya :

Lihat pos aslinya 188 kata lagi

Iklan
 

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s