To Interface signals for LCD are D4-D7, RS and E. 4-bit It was interfacing, no busy checking. D0-D3 and R / W # is not Used, so We must tie to GND. Since We Can not check Busy bit, so the delay routine must be ready LCD Used to wait for command and writing data. The sensor inputs are PTA2 for reed switch contact and PTA0 for 0 / +5 V analog input can use a small phone jack for both sensors. in the image below shows a sample sensor and cable making. Later shrinkage tube We need to protect the sensor. The position sensor Pls Pls fix to the bicycle wheel Also Important. We need the magnetic flux perpendicular to the contact.
Software/program
Software for write to68HC908QY4 microcontroller is s-record.hex ,which was written by C-language ,the source code is firmware source code.
source http://chaokhun.kmitl.ac.th
Terima kasih telah membaca artikel tentang Rangkaian Pengukur Jarak di blog Kumpulan Skema Elektronika jika anda ingin menyebar luaskan artikel ini di mohon untuk mencantumkan link sebagai Sumbernya, dan bila artikel ini bermanfaat silakan bookmark halaman ini diwebbroswer anda, dengan cara menekan Ctrl + D pada tombol keyboard anda.