-
Notifications
You must be signed in to change notification settings - Fork 156
Getting Started With Udoo Neo
Günter Obiltschnig edited this page Apr 16, 2017
·
6 revisions
This page describes how to get started with a Udoo Neo board running Ubuntu 14.04 (UDOObuntu 2), including support for Bluetooth LE and the TI SensorTag.
NOTE: As of 2015-12-21 Bluetooth LE does not seem to work with a SensorTag. While the SensorTag shows up in the scan (hcitool lescan), it's not possible to connect to it from the Neo. Same SensorTag works fine with a Raspberry Pi with external Bluetooth 4.0 dongle.
$ sudo apt-get update
$ sudo apt-get install libssl-dev
$ sudo apt-get install bluetooth
$ sudo apt-get install build-essential libglib2.0-dev libdbus-1-dev
$ git clone https://github.com/macchina-io/macchina.io.git
$ cd macchina.io
$ make -s -j2 DEFAULT_TARGET=shared_release
$ cd ..
$ git clone https://github.com/macchina-io/bluepy.git
$ cd bluepy/bluepy
$ make
$ sudo cp bluepy-helper /usr/local/bin/
$ sudo hciconfig hci0 up
$ sudo hcitool lescan
LE Scan ...
C4:BE:84:72:C5:06 (unknown)
C4:BE:84:72:C5:06 CC2650 SensorTag
^C
Edit macchina.io/server/macchina.properties and add the following lines:
#
# Bluetooth LE/SensorTag
#
btle.bluez.helper = /usr/local/bin/bluepy-helper
sensortag.sensors.1.address = C4:BE:84:72:C5:06
The SensorTag address must match the address discovered with sudo hcitool lescan.
$ cd macchina.io/server
$ bin/Linux/armv7l/macchina