SlideShare a Scribd company logo
www.BrainPad.com
• Fun and evolving career
• Higher pay
• Global Need
• Held by every race and gender
Why STEAM Jobs?
• Ranges from hardware to software programming
• Differ from web to mobile to IoT specialty
• Possible remote work
• Schooling is optional
Why CS and Programming?
Our brain helps us in sensing the world
Information flow, with our brain!
See the Apple Draw the Apple
The inputs are the buttons and door sensor, the outputs are
the display, the buzzer and the heating elements.
Information flow, on an oven!
Buttons
Door Sensor
Display
Heating Element
Buzzer
Information flow, on the BrainPad!
INPUT >> PROCESS >> OUTPUT
Let the games begin!
Microsoft MakeCode Designer
Computers run very fast, you will not see any change
The Light Bulb
Pause … let me see it!
Pull straight UP, not forward or sideways
Using the BrainPad, Safely!
The Programming mode
Press and Hold the Reset Button
Green means Go!
Showing images on the Display
Click download and save the program into the BrainPad.
Downloading into the BrainPad
Drag the unneeded blocks back to remove them.
Remove what you do not need
Congratulations!
You are now an expert!
Blocks vs JavaScript
Peek under the hood
Note how we used the until done block.
Playing Sounds
Mary had a little lamb…
… the hard way!
Reading a button using if-statement
… the easy way.
Reading a button using an event
This can also work in the simulator.
Can you see the light?!
Fancy Graphs!
Decision making is very basic to processors
Artificial Intelligence (AI)
Getting smarter!
It’s getting hot in here!
Turn the LED red when the temperature is above 74 degrees.
Also, sound the alarm when temp is above 78 degrees.
A challenge for you, the expert!
Variables are a way to remember something, in memory.
Each variable has a unique name.
Variables are Memory Units
Increment and decrement a variable using buttons
Changing variables
What is the highest frequency you can hear?
Check your ears!
What happened when you tap the table?
An Earthquake Detector
Detecting gravity
Theft Detector
Connecting Motors to the BrainPad
Two types of servo motors
Behold, the Servo Motor!
Push the buttons to make the servo dance!
Use the map block to scale values easily.
Show the temperature on a home-made gauge.
Home-made Light Gauge
Home-made Temperature Gauge
Show the temperature changes on a home-made gauge.
The Robo-dance!
With today’s activity, you now have enough knowledge to determine if
programming is something you are interested in.
You Tell Me…
Program a Video Game?
Make a Robot?
Make a Mobile App?
What is next?

More Related Content

What's hot

Using the mouse
Using the mouseUsing the mouse
Using the mouse
Frya Lora
 
6 Keys to Creating the Best Work-From-Home Office Setup
6 Keys to Creating the Best Work-From-Home Office Setup6 Keys to Creating the Best Work-From-Home Office Setup
6 Keys to Creating the Best Work-From-Home Office Setup
Samsung Business USA
 
p2 unit 3
p2 unit 3p2 unit 3
p2 unit 3
Sophiepfc
 
Presentation on mouse, keyboard and scanners
Presentation on mouse, keyboard and scannersPresentation on mouse, keyboard and scanners
Presentation on mouse, keyboard and scanners
Ramesh Pant
 
Dukane products
Dukane products Dukane products
Dukane products
SchoolVision Inc.
 
The Future Of Computers
The Future Of ComputersThe Future Of Computers
The Future Of Computers
skyhighphoto83
 
QS Tools for Emotions and Communication
QS Tools for Emotions and CommunicationQS Tools for Emotions and Communication
QS Tools for Emotions and Communication
Hirotaka Niisato
 
PC ARCHITECTURE
PC ARCHITECTUREPC ARCHITECTURE
PC ARCHITECTURE
ricardo
 
SmartBoard Care and Feeding.
SmartBoard Care and Feeding.SmartBoard Care and Feeding.
SmartBoard Care and Feeding.
Rene Torres Visso
 
input devices
input devicesinput devices
input devices
Thenmozhi Divya
 
Xbox kinect pet 673 pe geek
Xbox kinect  pet 673 pe geekXbox kinect  pet 673 pe geek
Xbox kinect pet 673 pe geek
smdipaolo15
 
Presentation(tw roy)
Presentation(tw roy)Presentation(tw roy)
Presentation(tw roy)
Takamasa Hirasawa
 
Computer Parts Lesson 1
Computer Parts Lesson 1Computer Parts Lesson 1
Computer Parts Lesson 1
yesserNoueiry
 
DISABILTY
DISABILTYDISABILTY
DISABILTY
Karen Baker
 
Computer lesson(charm and gleny)
Computer lesson(charm and gleny)Computer lesson(charm and gleny)
Computer lesson(charm and gleny)
CharmKK
 
Smart furniture for seniors: Magic Mirror, Smart Chair, 3D-printed functional...
Smart furniture for seniors: Magic Mirror, Smart Chair, 3D-printed functional...Smart furniture for seniors: Magic Mirror, Smart Chair, 3D-printed functional...
Smart furniture for seniors: Magic Mirror, Smart Chair, 3D-printed functional...
Tsenter
 

What's hot (16)

Using the mouse
Using the mouseUsing the mouse
Using the mouse
 
6 Keys to Creating the Best Work-From-Home Office Setup
6 Keys to Creating the Best Work-From-Home Office Setup6 Keys to Creating the Best Work-From-Home Office Setup
6 Keys to Creating the Best Work-From-Home Office Setup
 
p2 unit 3
p2 unit 3p2 unit 3
p2 unit 3
 
Presentation on mouse, keyboard and scanners
Presentation on mouse, keyboard and scannersPresentation on mouse, keyboard and scanners
Presentation on mouse, keyboard and scanners
 
Dukane products
Dukane products Dukane products
Dukane products
 
The Future Of Computers
The Future Of ComputersThe Future Of Computers
The Future Of Computers
 
QS Tools for Emotions and Communication
QS Tools for Emotions and CommunicationQS Tools for Emotions and Communication
QS Tools for Emotions and Communication
 
PC ARCHITECTURE
PC ARCHITECTUREPC ARCHITECTURE
PC ARCHITECTURE
 
SmartBoard Care and Feeding.
SmartBoard Care and Feeding.SmartBoard Care and Feeding.
SmartBoard Care and Feeding.
 
input devices
input devicesinput devices
input devices
 
Xbox kinect pet 673 pe geek
Xbox kinect  pet 673 pe geekXbox kinect  pet 673 pe geek
Xbox kinect pet 673 pe geek
 
Presentation(tw roy)
Presentation(tw roy)Presentation(tw roy)
Presentation(tw roy)
 
Computer Parts Lesson 1
Computer Parts Lesson 1Computer Parts Lesson 1
Computer Parts Lesson 1
 
DISABILTY
DISABILTYDISABILTY
DISABILTY
 
Computer lesson(charm and gleny)
Computer lesson(charm and gleny)Computer lesson(charm and gleny)
Computer lesson(charm and gleny)
 
Smart furniture for seniors: Magic Mirror, Smart Chair, 3D-printed functional...
Smart furniture for seniors: Magic Mirror, Smart Chair, 3D-printed functional...Smart furniture for seniors: Magic Mirror, Smart Chair, 3D-printed functional...
Smart furniture for seniors: Magic Mirror, Smart Chair, 3D-printed functional...
 

Similar to BrainPad STEM STEAM introduction

NSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoNSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and Arduino
Brian Huang
 
MacBook Pro Out of the Box - Secondary Faculty
MacBook Pro Out of the Box - Secondary FacultyMacBook Pro Out of the Box - Secondary Faculty
MacBook Pro Out of the Box - Secondary Faculty
Chinese International School
 
Learning to Code with Minecraft & Grasshopper Booklet.pptx
Learning to Code with Minecraft & Grasshopper Booklet.pptxLearning to Code with Minecraft & Grasshopper Booklet.pptx
Learning to Code with Minecraft & Grasshopper Booklet.pptx
ethanbao10
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
Logical technology
Logical technologyLogical technology
Logical technology
mrtrevor3
 
iPads in the Early Years Classroom
iPads in the Early Years ClassroomiPads in the Early Years Classroom
iPads in the Early Years Classroom
karlaholt
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
sdcharle
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
mkarlin14
 
Introduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPadIntroduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPad
Brian Huang
 
Computer control using hand gestures
Computer control using hand gesturesComputer control using hand gestures
Computer control using hand gestures
RohithND
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
Kishor Mhaske
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
ZainIslam20
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
AkhandPratapSingh86
 
Computer hardware troubleshooting
Computer hardware troubleshootingComputer hardware troubleshooting
Computer hardware troubleshooting
thehackerconcept .
 
arduino
 arduino arduino
arduino
jhcid
 
Designers, please mind the gap! Let's get started with Arduino
Designers, please mind the gap! Let's get started with ArduinoDesigners, please mind the gap! Let's get started with Arduino
Designers, please mind the gap! Let's get started with Arduino
Fahed Al Riachi
 
Presentation(Input,output,stoarage)
Presentation(Input,output,stoarage)Presentation(Input,output,stoarage)
Presentation(Input,output,stoarage)
Maribel subteniente
 
Microbit madness lesson 2
Microbit madness lesson 2Microbit madness lesson 2
Microbit madness lesson 2
Mr K Dudley
 
Basic of computer by vishal
Basic of computer by vishalBasic of computer by vishal
Basic of computer by vishal
VishalSingh50336
 
13223971.ppt
13223971.ppt13223971.ppt
13223971.ppt
SuYee13
 

Similar to BrainPad STEM STEAM introduction (20)

NSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoNSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and Arduino
 
MacBook Pro Out of the Box - Secondary Faculty
MacBook Pro Out of the Box - Secondary FacultyMacBook Pro Out of the Box - Secondary Faculty
MacBook Pro Out of the Box - Secondary Faculty
 
Learning to Code with Minecraft & Grasshopper Booklet.pptx
Learning to Code with Minecraft & Grasshopper Booklet.pptxLearning to Code with Minecraft & Grasshopper Booklet.pptx
Learning to Code with Minecraft & Grasshopper Booklet.pptx
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Logical technology
Logical technologyLogical technology
Logical technology
 
iPads in the Early Years Classroom
iPads in the Early Years ClassroomiPads in the Early Years Classroom
iPads in the Early Years Classroom
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 
Introduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPadIntroduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPad
 
Computer control using hand gestures
Computer control using hand gesturesComputer control using hand gestures
Computer control using hand gestures
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
 
Computer hardware troubleshooting
Computer hardware troubleshootingComputer hardware troubleshooting
Computer hardware troubleshooting
 
arduino
 arduino arduino
arduino
 
Designers, please mind the gap! Let's get started with Arduino
Designers, please mind the gap! Let's get started with ArduinoDesigners, please mind the gap! Let's get started with Arduino
Designers, please mind the gap! Let's get started with Arduino
 
Presentation(Input,output,stoarage)
Presentation(Input,output,stoarage)Presentation(Input,output,stoarage)
Presentation(Input,output,stoarage)
 
Microbit madness lesson 2
Microbit madness lesson 2Microbit madness lesson 2
Microbit madness lesson 2
 
Basic of computer by vishal
Basic of computer by vishalBasic of computer by vishal
Basic of computer by vishal
 
13223971.ppt
13223971.ppt13223971.ppt
13223971.ppt
 

Recently uploaded

Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 

Recently uploaded (20)

Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 

BrainPad STEM STEAM introduction

Editor's Notes

  1. This presentation, combined with the BrainPad, provides an fun and easy introduction to computer science, for anyone age 10 and up. Having a BrainPad per student is not required but highly recommended.
  2. Our senses feed info into the brain, which in turn process all incoming information and determines what actions to take. You may see an apple and decide you want to draw it or want to eat it. The flow here is input  process  output.
  3. Even an oven, like any typical microwave oven, has inputs to feed in info and it has a processor to handle the info, and then it has outputs that the processor controls.
  4. The BrainPad works just like that. There are four inputs feeding information into the “brain”. The brain in this case is a tiny processor. This is just like the processor in your phone or computer, but much smaller.
  5. Enough with theories and let us have some fun. Go ahead and visit makecode.brainpad.com and from there click the New Project button. It si the one with the big plus sign.
  6. You now have the designer window. The simulator on the left, with block options in the middle and then your program goes on the right. We now see “On Start” and “Forever” loops. The first one will run only one time, when the BrainPad is powered up, or if you hit reset. The forever area runs … well, forever!
  7. We want to control the light bulb in this example. So, go ahead and from under Light Bulb, click and drag the set light bulb to block to under the forever loop. Select red for color and then do the same except set the color to blue. Observe the simulator. The light bulb will not work as expected, but why?
  8. Processors run very, very fast! The light bulb is in fact changing red to blue but it is happening very quickly for you to see it. This is like if you are holding flashcards and going through them quickly. I may not be able to see what is on the cards. We want to turn the bulb red, wait for a bit, then turn it blue and now wait one more time, then finally we can repeat the steps using the forever loop.
  9. Always pull the USB cable the same way you pushed it in. Pulling the cable sideways will rip the connector off the board and damage the BrainPad. The BrainPad is a raw circuit that might have rough edges. Observe caution when handling the board.
  10. Press and hold down the reset button till you see the Light Bulb turn green. This only takes a second and it is an indication that the BrainPad is ready to take a new program.
  11. If you already have the light bulb blinking project up, leave it as is. Or you can start a new project. Now, find the show image block and drag it to inside the on start. This is telling the BrainPad to show an image when it starts up. Go ahead and pick one of the images. Verify that the program does what it should do on the simulator. The on start and forever blocks are found under loops, in case you lost them.
  12. When you click download, the browser will show you the program file that you can download. Go ahead and save it into the BrainPad drive that shows whenever you put the BrainPad in programming mode, that is when you hold the reset button till the bulb turns green.
  13. Simply drag what you do not need back to remove them. The on start and forever blocks are found under loops, in case you lost them.
  14. Go ahead, change the image on the screen and the light bulb. Do not forget to test use the pause block as well. Break and Q&A.
  15. This course does not cover coding in JavaScript but it is always beneficial to peek at the code whenever you make changes to block. In the future, once you are comfortable, you can switch to using JavaScript.
  16. Add play sound block to the program. You may want to place it in the on start vs the forever loop. We also used until done so the BrainPad will not continue to the next block until the sounds is done playing. Otherwise you may have multiple sounds overriding each other. Select different sounds and try on the simulator and on the actual BrainPad. Try using two sounds back to back.
  17. Try playing different tones and make some beautiful melodies as you like.
  18. To read the button, we can repeatedly check if the button is pressed (do not use was pressed). We used the if statement to give the program some intelligence. And if we determined the button is pressed then the BrainPad would play a sound.
  19. The other option to read a button is using an event. Event basically a piece of program that runs whenever something (an event) happen. On this case, th even on button will fire whenever a button is changes. What button and what change is determined by the drop-down options.
  20. Yes you can see the light but let us see it how physics see it. Try this in the simulator and try to adjust the light level. Then try it on the BrainPad and try to cover the light sensor. Then shine a flashlight on it and observe the display.
  21. This is useful to see the light change graphed over time.
  22. We want to change the light bulb color depending on the status of the left button. Processors understand very small operations and we have to be very specific. Pressing the left button will turn the light bulb red but releasing the button will not do anything, simply because we didn’t tell it what to do! We have to specifically state what to do when the button is not pressed or use the else statement.
  23. It is possible to nest if statements, meaning put an if inside an if. But a better approach is to use operations like and and or. This works exactly how you read it. If the left button is pressed and the right button is pressed, then do something.
  24. Show the temperature on the screen and also give an indicator when the temperature is too hot. Testing this program on the simulator is easier since changing the room temperature won’t be quick! However, you can touch the temperature sensor and it will go up a couple of degrees in a few seconds.
  25. Run through this exercise by modifying the previous example. Time for a break and Q&A.
  26. If I say Gus is 12-years-old. You now have a variable in your brain called Gus’s Age! Anytime I refer to Gus’s Age, you know it is 12. I can now say that Greg is 2 years older than Gus and you will automatically know that Greg is 14-years-old. That is because you have accessed the variable in your memory, called Gus’s Age!
  27. When the left button is pressed down, we will change the variable called number but -100. Since this is a negative number, we are decrementing by 100. We then also increment the number when the right button is pressed.
  28. The older we get, the lower frequency we can hear. This exercise shows the frequency on the display and play it on the buzzer. Keep pushing the right button to raise the frequency until you can’t hear the buzzer from 10 inches away.
  29. One of the inputs on the BrainPad is called and accelerometer. It is used to measure acceleration. Any movement introduced to the BrainPad is translated into acceleration. This can be used to detect any shakes, like earthquakes, or you taping on the table.
  30. Change acceleration from strength to X and tilt the BrainPad while observing the value on the screen.
  31. By adding a siren sound that plays when acceleration is high, you can detect if someone is trying to take your BrainPad.
  32. The BrainPad is equipped with two servo motor ports. There are two kinds of servo motors, the ‘continuous servo’ and the ‘positional servo’. The continuous spins continuously, while the positional servos are set from 0 to 180 degrees.
  33. As mentioned, positional servo motors can be set to specific degree, 0 to 180. These blocks demonstrate that movement using buttons.
  34. Read the light level and then scale it to 0 to 180 degrees, then use the result to control the position of a servo motor. Let’s also show the light level on the screen. You can attach a straw to the servo motor to make a much larger and cooler guage. Can you modify the code to show the degrees on the screen as well?
  35. The other type of servos is full rotational. Those can be used to move a robot for example.