Digital Input Pullup Example for Intel® Galileo Board

Documentation

Install & Setup

000006471

02/13/2020

This example uses a momentary push button and the serial monitor to view the value of the push button. We are using the code provided under examples for Arduino* IDE.

Hardware

  • Intel® Galileo Board
  • 10k ohm Resistor
  • Wires
  • Breadboard
  • Momentary push button

Instructions

  1. Place the momentary push button in the middle of the breadboard with the divider underneath. Make the following connections:

    Intel® Galileo Board Breadboard Momentary push button Resistor
    5 V Positive strip    
    GND Negative strip    
      Positive strip Left-bottom side  
      Negative strip Right-bottom side Connect
    Pin 2   Top-right side  

  2. Connect the power supply and the USB to USB Client Port on the Intel Galileo Board.
  3. Open Arduino IDE. Click Tools > Board and select Intel Galileo.
  4. Click Tools > Serial Port and select the Com # that the Intel Galileo Board is connected to.
  5. Click File > Examples > 02.Digital and select DigitalInputpullup.
  6. Click upload icon.

Circuit

Digital Input Pullup Example

 

Note This image was created using Fritzing*.