Users Manual
SCRATCH CODING KIT
Exercise servomotor coding
Using these blocks, we can see the direction of the servomotor.
Like you see above, let the pointer of the servomotor point at a 0 degree angle.
If you can’t do it, take off the red cell and put it back so that it can point at a 0 degree angle.
Let’s make a simple program using the servomotor.
This program lets the servomotor start at a 0 degree angle and go
back to 0 after moving at certain different angles. Make the script
like you see on the right .
Remember!
Servomotor only moves between 0 and 180 degrees.
Even if you put in a number larger than 180, it won’t go
to that number.
Activating the servomotor