Linear Displacement Sensor, also called Linear Transducer or Linear Potentiometer Sensor, is a device used to monitor and measure linear position, which convert mechanical physical quantities into electrical signals. Linear potentiometer is a type of variable resistance sensor, designed to measure the displacement of a slider or wiper in a linear direction. Also known as a slider or pot, linear potentiometers produce a changing rate of resistance, dependent on the position of a slider or wiper.
What is a sensor?
Humans understand the world through various sensory systems, such as touch, smell and taste, and so on. Through our vision, we know that it is an orange carrot with a green cap; through the sense of taste, we can taste the taste of carrot silk.
The sensor is the sense of touch, smell and taste of an object. It is a device or device that allows an object to feel the signal being measured and can convert this input signal into an output signal according to a certain rule. Suppose the robot is beaten, and the pressure is the input signal. The sensor changes it to a signal that the head can understand according to its own rules, and the head will respond when it receives the output signal.
mBlock is a graphical programming learning software for STEAM education, which is based on Scratch 2.0. It not only allows users to create interesting stories, games, animations, etc., but also supports programming of Makeblock motherboards and other Arduino hardware.
This article shows a simple light sensor example program, shows the unique features of mBlock, and can help you learn how to use mBlock faster and discover the fun of mBlock programming.