![]() ![]() One of the sensor’s “eyes” emits an infrared signal that bounces off an object and is detected by the other. Technical details: The motion sensor is an active infrared (IR) sensor. The newer version is generally easier for students to understand. As the distance increases, it shows a smaller number. One difference with the newer version is that version/software displays distance inversely. The previous motion sensor (part 9583) might still be found in schools using the older WeDo 1.0 kit. Consequently, the sensor can detect motion as well as measure distance. It is sometimes called a distance sensor. When an object moves, it changes its distance relative to another object (such as the sensor). The WeDo 2.0 motion sensor (part 45304) can detect objects up to about 15 cm away, depending on the shape of the object and its reflective properties. ![]() Motion sensor The motion (or distance) sensor for the current WeDo kit. These sensors give students the opportunity to experience how robots sense the world around them. I also have a few Linux-loving friends who I can call upon if needed, but I'd like to have first done whatever research I can.Both versions of the WeDo kit (2.0 and 1.0) come with two sensors. I am NOT very proficient with Linux, but I can search for & edit config files, etc, if I have instructions. The special blocks do not appear in Scratch (1.4), nor does any sensor or motor work, even if I make the blocks appear by using the menu, then put them in a program. ![]() I installed the Ubermix (Ubuntu) distro on 2 old-ish Dell Latitude D610's, and the WeDo USB connection does NOT seem to be working/recognized on either laptop. (One can show the blocks manually, through a menu option, but that doesn't necessarily mean they'll work). The Scratch documentation (what I can find) says that Scratch will show these special function blocks only when the WeDo USB hub is recognized. However, not so much luck with Scratch in another Linux version on other computers that I tried.ĭo any of you know someone who worked on, or understands, the Raspbian distribution - who might know something about any drivers or USB or other configurations needed to get the Scratch-WeDo connection working?Īs you may know, in Scratch, there are some special functions (program blocks) that interact with the WeDo motor and sensors through the special WeDo USB hub. I have recently obtained a Raspberry Pi, which came with a Raspbian (Debian) distro, and the included Scratch (version 1.4) worked right away with the USB connection to my LEGO WeDo system (both motor and sensors worked). There is some simple example code for using the WeDo kit with both Scratch and Python here. on_Support, and the actual Python WeDo library is on Github. For this, you will need to install some Python libraries, but the process has been nicely documented here. It's also possible to use Python on a Raspberry Pi to interact with the Lego WeDo kit. No additional software required! Just plug the WeDo USB module into the Pi, start up Scratch, and off you go! See the above link for some details of using the WeDo with Scratch 1.4. I can confirm from personal experience that the LeGo WeDo kit works very nicely, out of the box, with Raspbian Scratch 1.4 on a Raspberry Pi. The previous, non-Flash, version of Scratch (1.4) comes bundled with the Raspbian distribution, and nowadays Scratch 1.4 works really nicely on the Pi, thanks to lots of clever development work by people at the Foundation and elsewhere. Having said that, it seems that the Lego WeDo kit itself does not currently work with Scratch 2.0, although the MIT Scratch team have said they have plans to support it in the future - see their statement here. The Adobe Flash player is not (and I understand will not become) available for the Raspberry Pi, and so Scratch 2.0 cannot be used on the Pi. So far as I understand, Scratch 2.0 has been built using Adobe Flash, and therefore requires the Adobe Flash Player in order to work. I know it's been a while since you posted your question, but I hate to see queries go unanswered - so here's what I can tell you about Lego WeDo, Scratch, and Raspberry Pi:įirstly, you specifically mention using Scratch 2.0. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |