Application example on how to connect a PunchThrough Bean board to an Android phone
##What This is a proof of concept of how to connect a PunchThrough Bean to an Android phone. There are two folders in this repository:
- beanlib: this is the library that can be found here:
https://bitbucket.org/littlerobots/beanlib
and that creates an API to get a Bean (which is a BLE device) to talk to an Android device.
Note: beanlib is licensed under MIT License and therefore that code will remain licensed like that and it has to be mentioned here.
- bean_test: this is my small contribution, it is a simple app that connects to the first Bean it finds and allows you sending three commands from the interface: LED ON, LED OFF and lalala. You should connect an LED to pin 0 on the Bean. There is a bean_test.ino application you should upload to the Bean if you want things to work
Note: this last chunck of code should be GPLv3 licensed, just because. The Arduino example included.
##Why Mainly for three reasons:
-
we needed it for a project at Arduino LLC, we are running the http://nordiciothackathon.com and we need to display cases where BLE devices can be used in various configurations
-
I hadn't been coding anything fun for a while
-
I happened to have a couple of hours off this Monday night (20150316)
##Who So far the main contribution to this proof of concept comes from: D. Cuartielles, [email protected].
The Beanlib library is made by Hugo Visser, from http://littlerobots.nl. Visit his site for more code awesomeness.
##How to contribute For questions, issues and contributions, use github.