![]() If the sensor detects a distance between 0 to 20 cm, then the red color will light up. The detection mechanism will still be the same where the color will change based on the distance detected. RGB LED stands for red, green and blue color. Instead of using three different colors of LED, we are going to use only one LED which is called RGB LED. For the distance beyond 50 cm, green LED will light up while the rest will not light up.įor this project, we will modify a little bit with the initial configuration. If the sensor detects distance somewhere between 20 cm and 50 cm, only the yellow LED will light up while the other two LEDs light off. For instance, if the sensor detects a distance between 0 to 20 cm, then only the red LED will light up while the other two LEDs will not light up. The colors will change based on the distance that the ultrasonic sensor detected. The colours are red LED, yellow LED and green LED. Initially, referring to KPortal KidoCode, this Arduino project used three different colours of LEDs. ![]() Along with the sensor, we will also use RGB LED to indicate the colour based on the distance that the ultrasonic sensor detected. ![]() In this documentation, we will conduct a very interesting Arduino project using this ultrasonic sensor. In comparison to infrared (IR) sensors in proximity sensing applications, ultrasonic sensors are not as susceptible to interference of smoke, gas, and other airborne particles (though the physical components are still affected by variables such as heat). Ultrasonic sensors are also used in robotic obstacle detection systems, as well as manufacturing technology. They can be found in automobile self-parking technology and anti-collision safety systems. Ultrasonic sensors are used primarily as proximity sensors. Ultrasonic sensors have two main components: the transmitter (which emits the sound using piezoelectric crystals) and the receiver (which encounters the sound after it has travelled to and from the target). ![]() Ultrasonic waves travel faster than the speed of audible sound (i.e. An ultrasonic sensor is an electronic device that measures the distance of a target object by emitting ultrasonic sound waves, and converts the reflected sound into an electrical signal. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |