Interactive Project
Ultrasonic wave&RGB light
For this project, I was using ultrasonic to measure different distance will interact different colors of RGB light.
Circuit diagram
Inner picture
If the distance beyond 30cm, the light will be green high,between 30-50cm,the light will be blue high and the distance less than 10cm, the light will be red high.