Using the MBED BLE library and Nordic Puck library this is a simple scoring application using Bluetooth LE. It monitors three analog inputs and triggers on reception of a pulse on any one recording data for a short period on all three. This is then published via BLE characteristics. It's a demonstrator for a new UI dev toolkit that is under development.

Dependencies:   Puck mbed

Fork of Example_Puck_BLE by Nordic Semiconductor

History

Working with 3 channels default tip

2014-08-26, by Bobty [Tue, 26 Aug 2014 14:13:31 +0000] rev 10

Working with 3 channels


Works ok with 3 channels but fails when Timer exceeds 2^31 us

2014-08-24, by Bobty [Sun, 24 Aug 2014 20:50:22 +0000] rev 9

Works ok with 3 channels but fails when Timer exceeds 2^31 us


Working on single channel

2014-08-23, by Bobty [Sat, 23 Aug 2014 20:50:06 +0000] rev 8

Working on single channel


Works now with Timeout instead of Ticker. But odd result is that when sample interval is 50ms get 30 puckDrive loops per sec but when reduced to 10ms get 117 loops - the two things should be independent!

2014-08-23, by Bobty [Sat, 23 Aug 2014 20:44:36 +0000] rev 7

Works now with Timeout instead of Ticker. But odd result is that when sample interval is 50ms get 30 puckDrive loops per sec but when reduced to 10ms get 117 loops - the two things should be independent!


Still failing (eventually) on 50ms intervals

2014-08-23, by Bobty [Sat, 23 Aug 2014 20:04:36 +0000] rev 6

Still failing (eventually) on 50ms intervals


Working with 100ms ticker and puck drive as fast as possible

2014-08-23, by Bobty [Sat, 23 Aug 2014 09:44:15 +0000] rev 5

Working with 100ms ticker and puck drive as fast as possible


Ticker working on 100ms intervals with BLE enabled but no analog activity

2014-08-23, by Bobty [Sat, 23 Aug 2014 09:31:01 +0000] rev 4

Ticker working on 100ms intervals with BLE enabled but no analog activity


Working but misses some quick pulses (thows)

2014-08-21, by Bobty [Thu, 21 Aug 2014 11:26:26 +0000] rev 3

Working but misses some quick pulses (thows)


Added characteristics for threshold, sample offset, divisor and sample rate

2014-08-21, by Bobty [Thu, 21 Aug 2014 07:48:18 +0000] rev 2

Added characteristics for threshold, sample offset, divisor and sample rate


Initial version - fixed threshold, 10ms sampling, samples characteristic is a 20 byte array

2014-08-20, by Bobty [Wed, 20 Aug 2014 09:49:41 +0000] rev 1

Initial version - fixed threshold, 10ms sampling, samples characteristic is a 20 byte array