Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
GPIO.xcodeproj Brought GPIO and Beacon Storage back. Oct 20, 2017
GPIO Added GPIO app icon. Oct 20, 2017
README.md Brought GPIO and Beacon Storage back. Oct 20, 2017

README.md

GPIO

This example shows how to use the GPIO ports in Estimote Location Beacon, to develop apps that wirelessly (over Bluetooth LE) interact with devices connected to beacons.

Hardware prerequisites

This project requires a few elements that you can easily find at your local hardware store:

  • 2 Estimote Location Beacons (one for Input and one for Output)
  • breadboard (to connect wires, button and resistor)
  • wires
  • LED (for visualizing the Output)
  • push button (for Input)
  • resistor

Example Output setup

You need to remember that the longer leg ("+", "positive", "anode") of the LED goes to the port you've set to the 'Output' mode, and shorter one ("-", "negative", "cathode") to GND.

Example Input setup

In this case you connect one wire to GND and the other one to the port you've set to the 'Input' mode. You should also remember about adding a resistor in between the latter connection.

Software prerequisites

Before running the example app, configure the GPIO ports with the Estimote App:

Something doesn't work, what do I do?

Check if it works in the Estimote app:

  • for Output, switching from low to high should light up the LED;
  • for Input, pushing the button should change the input state.

If it doesn't, double-check your connections and the components you used. If it does, the problem is most likely in the app's code.

You can always ask for help on Estimote forums, or browse our Knowledge Base for answers to general questions.

Additional resources