Spaceship Interface Example for Intel® Galileo Board
Description
For this example, we are using a momentary push button to reset the LED lights, and the code provided under the examples for Arduino* IDE 1.5.3.
Hardware
- Intel® Galileo Board
- Breadboard
- Momentary push button
- Wires
- Three 220 ohm resistors
- One 10K ohm resistor
- One green LED
- Two blue LED
Instructions
- Make these Intel Galileo Board connections, then place the three LEDs on the breadboard, connecting all three LEDs to the GND strip.
Intel® Galileo Board Breadboard LEDs GND GND Strip 5V 5V strip GND strip Negative leg - Place the 200 ohm resistors on the breadboard, lining up with the negative side of the LED. Make the following connections:
220 ohm resistor Breadboard Intel Galileo Board Negative Connect Negative Connect Negative Connect Positive Pin-out 3 Pin-out 4 Pin-out 5 - Place the 220 ohm resistor from negative side of LED to the negative strip of the breadboard.
- From left to right, connect the other side of the resistors to pin-outs 3–5 on the Intel Galileo board.
- Place the momentary push button on the breadboard and make these connections.
Momentary push button Breadboard 10K ohm resistor Intel Galileo Board Left-bottom pin 5V Right-bottom pin Negative strip Pin-out 2 - Connect the push button from the 5V strip to the left-bottom pin and the 10K resistor from the negative strip to the right-bottom pin.
- Connect a wire from the bottom-right leg to pin-out 2 on the Intel Galileo Board.
- Connect the power supply to the Intel Galileo Board and the USB to USB Client Port on the board.
- Open Arduino* IDE. Under Tools > Board, select Intel Galileo.
- Under Tools > Serial Port, choose the Com # where the Intel Galileo Board is connected to.
- Under File > Examples > 05.Control, select the switchCase2 example.
- Upload to the Intel Galileo Board by clicking the upload button.
Circuit

| Note | This image was created using Fritzing*. |
