My PIC Journey: PIC16F628A, PWM, RGB LED and HC-S04 ULTRASONIC SENSOR

Просмотров: 156   |   Загружено: 2 год.
icon
Ricardo Caratti
icon
7
icon
Скачать
iconПодробнее о видео
This application utilizes theRGB LED and HC-SR04 sensor to measure the distance of an object and adjusts the color of an RGB LED based on the object's proximity. When an object is less than 10 cm away, the LED turns red, signaling close proximity. For distances between 10 and 30 cm, the LED changes to blue, indicating a medium range. At distances greater than 30 cm, the LED turns green, denoting a more distant object. This setup allows for an intuitive and visual representation of object distance.

See:

#pic16f628a #pwm #hcs04 #ultrasonic #mplab #microchip

Похожие видео

Добавлено: 56 год.
Добавил:
  © 2019-2021
  My PIC Journey: PIC16F628A, PWM, RGB LED and HC-S04 ULTRASONIC SENSOR - RusLar.Me