Ultrasonic Distance Sensor with PIC16F630 Microcontroller
The LED distance warning sensor includes a HC-SR04 ultrasonic module connected to a PIC16F630 microcontroller. This simple circuit flashes the diode when an object is within 1 metre with the relevant rate of its distance; the closer the faster.