Coder Social home page Coder Social logo

vader7071 / ble-app-inventor-2-and-adafruit-nrf52832 Goto Github PK

View Code? Open in Web Editor NEW
5.0 0.0 3.0 701 KB

The *.aia project for MIT App Inventor 2 and the arduino sketch for the Adafruit nRF52832 to communicate via Bluetooth Low Energy (BLE)

C++ 100.00%
nrf52832 adafruit appinventor android arduino bluetooth-low-energy bluetooth-arduino bluetooth-le ble adafruit-feather

ble-app-inventor-2-and-adafruit-nrf52832's Introduction

BLE-App-Inventor-2-and-Adafruit-nRF52832

The *.aia project for MIT App Inventor 2 and the arduino sketch for the Adafruit nRF52832 to communicate via Bluetooth Low Energy (BLE)

I started this repository to house my examples to use the MIT App Inventor 2 platform to send integer data to an Adafruit nRF52832 controller via Bluetooth Low Energy (BLE).

When I started, there was not a clear cut example of how to get the App Inv 2 to send BLE data to the nRF52. So I created this base test code.

Critical

You MUST follow the instructions at https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/arduino-bsp-setup on how to setup the Arduino IDE to program the Adafruit nRF52. This is highly important.

In the App Inventor, you MUST install the BluetoothLE extension from http://appinventor.mit.edu/extensions/

Things to note.

As of this version, this is one way only. From the Android phone app to the nRF52. Currently there is no data coming from the nRF52 to the phone.

As of this version, this is integer only. Depending on the mode selected (array mode or single value mode), the data sent from the phone is an unsigned integer (either four sets of 0-255 or one number 4,294,967,295).

If Array Mode is selected, this example only sends data in array spot 0 and 1. Array spots 2 and 3 will always be 0.

ble-app-inventor-2-and-adafruit-nrf52832's People

Contributors

vader7071 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.