Projek pengukur jarak kedalaman air ini bertujuan untuk mengukur jarak kedalaman air ditempat-tempat tertentu. Terdapat beberapa bahagian litar dalam projek ini iaitu dibahagian penjana dan pemancar isyarat, penerima dan penguat, dan dibahagian pembanding. Mikro pengawal digunakan untuk mengawal keseluruhan kerja dan mengira jarak kedalaman air dalam projek ini. Mikro pengawal yang digunakan adalah BASIC STAMP 2. Mikro pengawal ini diprogramkan agar berupaya mengawal litar litar-litar dalam projek ini dan mengukur jarak kedalaman air. Dalam projek ini, gelombang bunyi berfrekuensi 2 kHz digunakan sebagai medium pengukuran. Gelombang ini dijana mengunakan pemasa 555 dan dipancarkan mengunakan speaker pemancar. Pemancaran gelombang ini dikawal oleh mikro pengawal melalui litar pembanding. Gelombang yang dipancar ini akan terpantul pada dasar kedalaman air dan akan diterima oleh speaker penerima. Speaker penerima bertindak menukarkan isyarat gelombang kepada isyarat elektrik. Isyarat yang diterima ini adalah lemah. Ia kemudiannya ditingkatkan oleh penguat. Isyarat yang ditingkatkan ini kemudiannya dibandingkan oleh litar pembanding. Mikro pengawal akan menterjemahkan isyarat yang keluar dari litar pembanding ini kepada masa yang diambil oleh gelombang kedasar yang dituju. Hasilnya adalah jarak kedalaman air tersebut.
_________________________________________________________________________________________
Objective for design a water depth meter is to measure depth of water. In this project there is a certain circuit that have been design. Such as, circuit in generate and transmit division and circuit in receive and amplify division. All of this circuit is control by Microcontroller BASIC STAMP 2 (BS2). Pulse wave is the medium to measure depth of water. In this project pulse wave that has been generate by timer 555. Frequency for this pulse is 2 kHz. Comparator LM339 has been use in this circuit. Input positive is connect to output of the timer 555 and negative input is connect to voltage divider circuit and pin ‘0’ BS2. After timer generate the pulse, output of this timer is connected to comparator circuit for control the pulse to transmit. After the transmit speaker transmit the pulse signal hit water bed and reflect and then receive by receiver speaker. This receive signal will amplified in the two stage amplifier. In this project LM358 has been use to amplified the receive signal. Output of this amplifier connect to comparator. In receiver division also used comparator LM 339. Output of this comparator is connect to the pin ‘1’ BS2. In the an microcontroller will translate the signal and measure the depth of water.