Evothings

Arduino BLE

Status: Idle

Variable resistor value

Instructions

  1. Build the Arduino circuit shown below.
    Note: the sketch is missing the RedBearLab BLE Shield.
  2. Connect the Arduino to your computer.
  3. Start the Arduino IDE. If it's your first time using the BLE Shield then go to Getting Started with BLE Shield and follow the instructions regarding libraries setup.
  4. Press the Code button in the Evothings Workbench and go to the 'arduinoble' folder.
  5. Open the file arduinoble.ino with the Arduino IDE and press the Upload button.
  6. Reload this app by pressing the Run button in Evothings Workbench.

How it works

The LED ON & LED OFF buttons controls digital pin 2 on the Arduino which is here connected to an LED. The plot shows the input from analog pin A0 which is here connected to a variable resistor.

Notes

Make sure to run this app in the Evothings client app, or build a Cordova app with the plugin "com.evothings.ble". A mobile device having iOS 7 or Android 4.3 or higher is required.

Troubleshooting

There are known problems with that BLE stops working when switching between apps or doing multiple reloads. In this case restart the Evothings client app. Additionally, you can use the Evothings Workbench Tools to see any error messages that may help in your investigation.