Interface: Photon Draw

Modified on Tue, 9 May, 2023 at 3:46 PM

An interface that allows you to control the robot by drawing a travel path on a tablet’s screen. You can add actions to your route on the fly, such as changing the color of the robot’s eyes and ears, playing sounds, or making it wait for interaction with any of the built-in sensors).

PL3

1. To start drawing the robot’s travel path, place your finger on the image of the robot, hold it, and then drag it across the screen. If you stop your finger for a moment, you will see a circle – this allows you to add actions to that point, such as having the robot make a sound.
2. Drawing the robot’s travel path is a part of the programming stage. To have the robot perform programmed actions, click “Play”.
3. To clear the screen, i.e., delete the program, hold down the arrow button.
4. You can also decide how long is a single robot’s “step”, i.e., how far the robot travels in one move. The default value is 30 cm (one foot) – this is the length of one field on all our educational mats.
5. Whenever you create a program, you can save it for later use (for example, in your next class). This is also where you can load a previously saved program.

PL4

6. You can add three types of actions to a drawn robot’s travel path: play a sound (the musical note symbol), change eyes and ears color (the light bulb symbol), and pause program execution until a trigger action is detected by one of the selected built-in sensors (such as touch sensor – stroking the robot’ head).
7. To add an action to your program, drag its symbol and place it in the circle of your choice. To remove an action, click on its symbol in the circle.




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article