Getting Started Guide

SCRATCH CODING KIT
Coding the mini windmill with ultrasonic sensor
The flowchart should be exactly the same except for the condition.
When you close the object to the ultrasonic sensor, the motor will turn on. Beyond the
standard, the motor will turn off!
Check Again!
Program
start
True
Is the analog
value
less than 30?
False
Turn on motor
STOP
Check Again!
Turn off motor
Ultrasonic Sensor Coding Experience