Skip to Main Content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

Robots @ SIT

Get hold of one of the available Robots at SIT Library and start your robotics journey today!


Using Sensors to Sense the Environment

Sensors are used to estimate a robot's condition and environment. These signals are passed to a controller to enable appropriate behavior. Sensors in robots are based on the functions of human sensory organs such as eyes and ears. Robots require extensive information about their environment in order to function effectively.

Yanshee comes with 5 different sensors are included: Infrared sensor, touch sensor, pressure sensor, temperature and humidity sensor, ultrasonic sensor.

In this simple project, we will show you how to read and use sensor data in a few steps.

Required Knowledge

Please ensure that you have gone through the below resources before starting this project:

  1. Yanshee introduction video


Step 1: Connect the sensor to the robot.

Step 2: Ensure the sensor is detected by the robot. Make sure you can see the sensor data using your Yanshee App.

Step 3: Read the sensor using Blockly, compare the value, and show the result using TTS.

Step 4: Click the Run button at the bottom right corner to execute the program.