Result and analysis :
Maxsonar-EZ1
The Maxsonar-EZ1 sensor offer a very short to long range detection which is from 0-inches to 254-inches plus with a very low power consumption. It has provided sonar range information from 6-inches out to 254-inches with 1-inches resolution. Object from 0-inches to 6-inches are range as 6-inches. It has 3 modes selection for the output range which is:
~ Serial, 0V – 5V, 9600 Baud
~ Analog, 10mV/inch
~ Pulse Width, 147us/inch
EUART of PIC16F887
The Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) module is a serial I/O communication peripheral. It is also known as Serial Communications Interface (SCI). It contains all clock generators, shift registers and data buffers necessary to perform an input or output serial data transfer independently of the device program execution. As its name states, apart from the usage of clock for synchronization, this module can also establish asynchronous connection, which makes it irreplaceable in some applications.