Touch sensor

This is a new sensor! The EV3 touch sensor is the simplest of all of the sensors. It has a button on the front and the sensor returns either one of two states: true if the button on the front of the sensor is pressed, or false if it is not pressed. This type of true/false logic is known as boolean logic.

Grunt's touch sensor is plugged into sensor port 1 and is located in his right arm. His right hand, which is made of red LEGO elements, is directly in front of the touch sensor. The hand is designed so that when Grunt's hand is squeezed, it presses the button on the front of the touch sensor, and the sensor returns a true value. A rubber band makes the hand open up again when the person lets go, and the sensor returns a false value. This feature is primarily used for Grunt's interactive handshake function:

Now, we will find out how to program these sensors and hardware to make a cohesive, interactive robot!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.144.32