Page 1
UNIT PLAN Build a Mini Arcade with the Intel® Galileo Gen 2 board Created by Oliver Chen, Cheryl Daisin, Shammi Jayaraj, Dustin Byars, Sruti Chigullapalli, Luke Filose, Romanna Flores on August 30, 2014 Last modified by Tom Seaman on September 25, 2015...
Page 2
What Are Sensors? A sensor is a device that responds to a stimulus, such as heat, light, or pressure. It then generates a signal that can be measured or interpreted. Humans, animals and even plants have sensors that can detect the world around them.
Page 3
The Intel ® Galileo Circuit Board What will you make?
Page 6
Practice with Resistors 220 Ohms 47 KOhms 10 MOhms Figure
3
...
Page 7
Mini Arcade 8x8 LED Matrix To load the code for the 8x8 LED Matrix, open a browser and select File à Open and locate and select the file dot-matrix-code-generator/dot-matrix-code-generator.html Figure 5...
Page 8
Coding Tips { Curly Brackets } Blink Turns on an LED on for one second, then off for one second, repeatedly. Any code you write inside the curly brackets will be executed This example code is in the public domain. when the function is called.
Page 9
Note: If the set-up is done ahead of time, skip this step and proceed to the next slide, Build the Circuit. Step-by-step instructions for connecting Galileo are found here: https://software.intel.com/en-us/iot/ library/galileo-getting-started. Within the step-by-step instructions, when prompted to choose a development environment, choose Arduino.
Page 10
1. Download to the PC’s desktop the file called IESC.zip. (The file is attached to the unit plan “Make a Mini-Arcade” housed in the Idea Showcase in engage.intel.com.) 2. Unzip the file. This will unpack the zip file and place all the relevant files in a folder called IESC it creates for you on the desktop.
Page 11
MINI ARCADE ACTIVITIES Stacker Sprites Rock Paper Scissors...
Page 12
Mini Arcade Stacker Build the Circuit You will need 1. 8x8 LED 2. Three buttons 3. 24 male-to-male jumper wires 4. Three 10K-ohm resistors Load the Sketch 1. In Arduino IDE: File à Open 2. On the desktop, open in succession the folders IESC à...
Page 15
Mini Arcade: Sprites Build the Circuit You will need 1. 8x8 LED 2. Three buttons 3. 24 male-to-male jumper wires 4. Three 10K-ohm resistors: Brown Black Orange Load the Sketch 1. In Arduino IDE: File à Open 2. On the desktop, open in succession the folders IESC à...
Page 16
Challenge! Can you create your own animation with an 8x8 Character Generator? Instructions: 1. Open a browser such as Chrome, Firefox, or Safari. 2. In the browser menu bar, click on File à Open and navigate to the dot-matrix-code-generator folder. Do this by starting at the desktop, and open in succession the folders IESC à Mini_Arcade à...
Page 17
Mini Arcade - Rock Paper Scissors Build the Circuit You will need 1. 8x8 LED matrix 2. Three buttons 3. 24 male-to-male jumper wires 4. Three 10K-ohm resistors: Load the Sketch 1. In Arduino IDE: File à Open 2. On the desktop, open in succession the folders IESC à...
Page 18
Wrap-Up Discussion What did we learn? Using the Intel® Galileo board and the same set of sensors and output devices, what are some other types of video games we could create? Can you think of any interesting ideas for innovative...
Troubleshooting Guide Problem Resolution Sketch not working 1. Check Arduino IDE set to correct model, and Port 2. Check Galileo Port visible in device manager 3. Try resolution for port not visible 4. Try upgrading the firmware 1. Aurdino IDE Help -> Galileo Firmware Update 2. ...
Page 21
Bill of Materials Part Where to buy Price Extended Intel® Galileo board http://www.intel.com/buy/us/en/product/ emergingtechnologies $ 65.00 ea $ 65.00 /intel-galileo-gen-2-board-462661 USB Cable – A/Micro B http://www.adafruit.com/products/592 $ 2.95 $ 2.95 Mini Pushbutton Switch https://www.sparkfun.com/products/97 $ 0.35 ea $ 1.05 Resistors 10k-ohm https://www.sparkfun.com/products/11508...
Page 22
Unlocking Possibilities Inspiring Young Engineers Make a Pong Video Game Make a Mini Arcade Make a Smart Toy Make a Smart Light Sensor Make a Smart Temperature Sensor To download these and other open-source unit plans, please visit https://engage.intel.com/community/teachersengage/showcase http://innovationtoolbox.intel.com.au/wp-content/uploads/2015/05/18009_IntelEdu_Guide2Making_FA_LR_singles.pdf...
Need help?
Do you have a question about the Galileo Gen 2 and is the answer not in the manual?
Questions and answers