Showing posts with label Demonstration. Show all posts
Showing posts with label Demonstration. Show all posts

Thursday, March 12, 2015

Command motor to move in 41 languages

Video demonstrating voice command MOVE in 41 languages to make LEGO Power Function motor move using LEGO Wedo robotic program. Earlier post with explanation and program at Sound activated motor.



Footnote: pronunciation of MOVE in 41 languages made with Google Translate:

The word MOVE in 41 languages

English,
Afrikans,
Albanian,
Arabic,

Wednesday, March 11, 2015

Sound controlled LEGO WeDo motor

This post will demonstrate how to program a LEGO Power Function motor to move on sound input. We do not need a specific sensor to do this but it will use the computer microphone as the sensor to pick up sound. The Wedo program will consist of a START block, Wait for block, Motor turn this way block, Motor turn for 4 seconds block, Wait block and Repeat block plus a sound input as shown below:

Lego Wedo Robotics sound controlled motor program

On clicking START, the Wait block will wait for input of sound from the "sound sensor" (computer mike). On hearing sound, the next block turn the motor this way (clockwise) and following block set the motor to turn 3 seconds. The final WAIT 2 seconds block have to be added in to force an interval before the program loop back to the START to repeat. If this is not added, the sound of the motor turning itself will then trigger to motor to move again and the program will go through continuous looping without waiting for the intended sound to start.

See video below. Also see how we can use this to have a Sound controlled car which moves on a sound command eg. clap hands.



Application: Sound controlled car


There is an earlier post about Building computer controlled car. All we need to do to have a sound controlled car is to connect the motor shown below to the computer and setup the above program to make the car move on sound command such as clap of the hands:

Add wheels onto axles
Connect motor to computer plus above program to make car move on sound input


Monday, December 22, 2014

Introducing random number to children

The LEGO Wedo software has a neat random number generator Lego Wedo software random number input to input random numbers into selected programming blocks. This gives parents or teachers a wonderful chance to introduce the concept of random numbers to children. (skip explanations to view demo video)

If your kids have played the Snake and Ladder board game, they would be familiar with the 6 sided dice, but if not, then watch this video and watch how a roll of the dice can generate random number from 1 to 6.

Random number demonstration with numeric screen

The Wedo random number input can reinforce the understanding of random numbers. Setup the following programs (see screenshot below):
Related Posts Plugin for WordPress, Blogger...