Upload
nader-iznait
View
596
Download
4
Embed Size (px)
DESCRIPTION
InventionStimulator is a unique worldwide Invention Stimulator is a p.c. based creative thought process which allows students from as young as 8 to programme micro control units (MCUs). MCUs are the brains in all of our modern electrical equipment, from washing machines to cars, mobile phones to mobility alarms and they will play an enormous part in our future lives.I am sure you will find interesting because it is working along your vision and will speed the vision achievements and within less than 60 minutes will “inspire and enable students to achieve success and fulfilments as engaged thinkers and ethical citizens with entrepreneurial spirit”.
Citation preview
Invention StimulatorMinimum Teaching – Maximum Learning
It’s not Rocket Science
But
It might make a Rocket Scientist
Micro Computer Unit (MCU) programming for peoplewho don’t do programming!
Many teachers are worried about teaching ICT - not anymore!
Can you write programmes for a computer?
Or would you like to just get on and INVENT SOMETHING NEW?
Now YOU can do both!No need to learn ‘144412 A 000.0’
Try
‘Beep’ or ‘Flash Light’
You’ll be an inventor and
see your inventions work before your
eyes!
It’s so much easier and so much more fun!
And, in no time at all,
What is an MCU?It’s a small computer with its own memory and processor - Just like your brain!
You get to tell it what to do......
And they’re in loads of things that you see everyday.
Here’s the science bit.....Sound outputGeneral input
Output0
Output1
Onboard LED
On-Off Switch
Battery input
USB Cable input
General output
2
And here’s the MCU
Run Program Switch
So, what can I do with it?By using simple instructions on your p.c. screen, you can invent all kinds of things
Your MCU can talk to different sensors and can turn on lights , fans and sounds
A sensor can detect different types of things such as light, heat and movement
With a little imagination, the fans and lights can be anything you want them to be
Remember, an MCU can
control anything,
from a light to a jumbo jet!
Your kit contains the following sensors, which you attach to the SENSOR input on your MCU cardand Output devices, that attach to the Motor and Output sockets
So, what can I do with it?
Light Orientation (which way up)Heat
Infrared Bi-directional LED Fan
Let’s Invent!Here’s an example:
An elderly lady lives on her own and sometimes forgets to turn off the oven
This wastes electricity or gas and could be dangerous
You can tell your MCU to check the temperature of the oven at bedtime, using the heat sensor
If the sensor detects that the oven is hot, it can set off an alarm
This is an invention!What will you invent?
Let’s tell the MCU to do something
A red light flashes in a smoke alarm to show it’s working.It’s an MCU that’s telling it to flash!
Here’s how.....
Here’s the way to talk to the MCU
It’s very easy to use
Here’s where the MCU starts to work
And here’s where it stops
And you just drag instructions from here
And drop them here
Let’s make the light come on
Not hard – was it?
Let’s learn about LOOPSA loop is like a big circle which you run around as many times as you want
LOOPStart here
And ru
n this
way
Pick up a sweet
And
keep
runn
ing
Pick up anothersweet
End here
Keep runn
ing If you want more than 2 sweets just
run around the loop again
This is how we tell the MCUto do things more than once
MCU - LOOP
Let’s learn about LOOPSAnd
run t
his w
ay
Start hereTurn on the
light
And
keep
runn
ing
Turn offthe light
End here
Keep runn
ing
Run around once and the light flashes once
Run around ten times and the light flashes10 times!
And here’s how we tell the MCU to loop
Set how many times the loop should run
It’s so easy!
Back to the flashing light….
Start Loop - ten times
Turn light on (LED=Light emitting diode)
Wait for half a second with the light on
Turn light off
Wait for half a second with the light off
End the loop and go back to the beginning
Stop altogether when the loop has run ten times
Change the timings here
Finally, we have to tell the MCU where theloop starts and ends
We do this with the ‘Draw Line’ instruction
Click ‘Draw Line’ and then click on the startand end of the loop
And that’s it!
Send the instructions to the MCU
Attach USB cable (supplied) between the computer and MCU card
And click ‘Download’
Send the instructions to the MCU
The computer changes yourinstructions into MCU language
Can you believe thatyou wrote this?!
Click ‘Download’ to send the instructions
Let’s see if it works
Disconnect the USB cable and connect a9 volt battery
Now you’re ready!
Push the start buttonYou’ve done it!
Inputs and OutputsAn ‘Input’ is an event that a sensor tells the MCU about.
For example, the heat sensor tells the MCU that it has detected heat.
An ‘Output’ is how the MCU instructs a device to do something. For example, turn on the fan.
We instruct the MCU to look for Inputs through the Sensor command
And we instruct the MCU to control devices using the Moto Forward, Moto Backward and Output commands
Let’s Invent!We’ll tell the MCU to use a light sensor to see if it’s light or dark.
If it’s dark, the MCU will turn on a light.
First, push a light into‘MOTOR0’
And then the Light Sensor into ‘SENSOR0’ at the negative (‘-’) end
Let’s Invent!
This time, we want the loop to run for ever,so, it’s an ‘Unlimited Loop’
Next, tell the MCU to check the sensorwith the ‘Sensor0’ command
If the sensor is Off (not sensing darkness)then Stop the Motor (if it’s on) and Jumpback to the start of the Loop
If the sensor is on (is sensing that it’s dark),then turn on the Motor
End the loop and go back to the beginning
Moto Forward and Backward
This light is called a ‘Bi-directional LED’
It sounds complicated, but it’s easy to understand
It just means that if the electric current goes into the lightfrom one direction, it lights up Green and from the other
direction it lights up Red
If you use the ‘Moto Forward’ command it will light up Redand the ‘Moto Backward’ command will light up Green
Send the instructions to the MCU
Make sure that you’ve used the Draw Line command to join the loops
Note that the Jump command can be used instead of Loop End
And Download the instructions to the MCU
Here’s the MCU language!
Let’s see if it works
Hold your hand over the light sensor
And the Green Light Comes On!
You’ve done it!
What will you invent next?
SUBs
When you want to send the MCUlots of instructions, the computer
screen gets a bit full and looks complicated
A ‘Sub’ is a programme within a programme, which can be added to the command line using a single instruction
We use the New Sub command from the top menu
SUBsClick on ‘New Sub’
And give the Sub a name
A red programme line appears
And you drag and drop commands here as normal
Click ‘OK’
SUBsDrag and drop commands to tell the
onboard LED to flash 10 times
Note that you can drag the commandIcons anywhere on the screen
Draw the line to connect the loop
Double click the Sub command
And it will shrink the Sub to a single command icon
SUBs
Drag and drop the Sub icon
Choose the Sub from the drop down list
And that’s it!
If you download this to the MCU, the LED willflash 10 times, with a single ‘Sub’ command
You can have as many ‘Subs’ as you want
Standard Commands
All Commands are simple to understand
‘Delay 1 Second’ is a pre-determined delay
‘Delay’ is user definable
‘Output on’ and ‘Output off’ control the Output 1 connector
‘Music 1’, ‘Music 2’ and ‘Music 3’ play pre-determined music
Tone is user definable and can play any music that the user requires
Tone and Music
The tone command tells the MCU to play single tones, or a string of tones
Tones are chosen in Bass, Mediant or Alto, with 7 notes available for each and 6 tone lengths
Think ‘Do-re-mi-fa-so-la-ti’ for each of the 7 notes
DO RE MI
SO FA LA TI
This will play a musical scale, with each note lasting one second
Let’s Invent!In schools, the ringing of the lesson bell is often automatic
But although the bell might be automatic, the classroom lights and ventilation systems are not
We can tell the MCU to:
• Ring the bell for the beginning and end of class
• Turn on the lights and air conditioning at the start of class
• Turn off the lights and air-conditioning at the end of class
This will save money and
help the environment
Let’s Invent!
This sub will:
• Ring the bell
• Turn on the light (Motor 0)
• Turn on the fan (Motor 1)
• Wait for the lesson (3 seconds)
• Ring the bell
• Turn off the light
• Turn off the fan
We can significantly simplify our Command Line, by creating a Sub
Let’s Invent!
Start at midnight
Let’s say 1 hour = 2 seconds therefore 9 hours = 18 seconds
Start the lesson at 9am, for 1.5 hours (3 seconds for this example)
Break time. 1 second = 30 minutes
Start next lesson
Lunch Break
Start next lesson
End of day And that’s it!
7 Invention Stimulator KitsThe kits are available in 7 levels, which you will progress through as you learn new techniques
Kit 2, with 5 sensor inputs, 9 outputsand lots more sensors
Inventions change the way we live for the better
What will YOU invent?
Contact Us
You can find us on the Internet: www.inventionstimulator.com
You can email us: [email protected]
You can call us: CANADA +1 (403) 668-9911
UK +44 (0)208 123 9806
We look forward to hearing from you!