vinagre.blogg.se

Lego education wedo 2.0 app
Lego education wedo 2.0 app












lego education wedo 2.0 app

Scratch 3.0 (online editor) / January 2, 2019 4 years ago ( ).This advanced project uses buttons that send messages to the WeDo Actor, which in turn controls the physical WeDo device. The project then uses an “if” statement in a “forever” loop to constantly check how far an item is in front of the sensor, then change the pitch depending on the distance.įor more ideas about how to program your WeDo, you can look at the “WeDo 2.0 Controller” project in the “Connected Toys” folder of the Workshop. Distance mode sets the motion sensor to detect how far an item is from the front of the sensor. Then it sets the motion sensor to go to its distance mode (as opposed to the count mode, which counts how many times something passes in front of the WeDo’s distance sensor). This program also starts with the “on start” hat block, which will trigger all the blocks attached to it when the “Play” button is pressed. 5 second wait because otherwise the color would change too quickly to notice. Then the code repeatedly changes the light color from 1 (pink) to 2 (purple), with a. That means that the code attached to this block will be triggered as soon as you touch the orange “Play” block.

lego education wedo 2.0 app

This program starts with the “on start” hat block. Here are a couple of ideas for simple projects that you can make using the Tynker app to program the WeDo 2.0. You can combine them with other blocks, like the “on start” or “when actor touched” blocks, to create programs for the WeDo. Touch the image of the brick to make the physical WeDo move.Īll of the WeDo blocks will automatically appear for your WeDo Actor in the “Library” category of code blocks at the very bottom left of the screen. It will show you a screen with an image of the WeDo brick. Click the orange “Play” button on your Tynker project to run the default program. Place the WeDo on a flat surface with enough space in front of it to move. Make sure that your Tynker project with a WeDo Actor is open and check that the iPad is close enough to the WeDo. If the light on your WeDo is blinking, then turns off, it means that it cannot find anything to pair with. Once paired, you will see a green indicator on the WeDo Actor in your Tynker project and the light indicator on your WeDo will be on but not blinking. Simply turn on the WeDo by clicking its on/off button, then wait for it to pair. Now that you’ve created a Tynker project to control your WeDo, you’re ready to pair your iPad with the WeDo. Once you’ve added the WeDo, you can click on the “Code” button and see that it comes with some initial code. You can do this by selecting “+” to add an Actor, choosing the “Connect Device” category, and selecting the WeDo as an Actor. Select the “Workshop” section and start a new blank project.














Lego education wedo 2.0 app