Skip to content

timeflux/timeflux_upsidedownlabs

Repository files navigation

Connect Upside Down Labs devices with Timeflux

This plugin allows you to stream data from Upside Down Labs BioAmp. Two modes are proposed: through the audio interface and through the USB interface.

Installation

First, make sure that Timeflux is installed. You can then install this plugin in the timeflux environment:

$ conda activate timeflux
$ pip install timeflux_upsidedownlabs

Audio interface

Look at this example graph. You can run it like this:

$ conda activate timeflux
$ timeflux -d examples/audio.yaml

The signal can be visualized here.

USB interface

First, you must install the firmware on the board.

Download the Arduino IDE on your computer, and then:

  • Start the Arduino IDE
  • Select the serial port under "Tools"
  • Select your Arduino board under "Tools"
  • Upload the standard firmata sketch to your Arduino with:
File -> Examples -> Firmata -> Standard Firmata

You're all set!

With this example graph, you can autodetect all the available analog ports and start streaming data.

You can run this graph like this:

$ conda activate timeflux
$ timeflux -d examples/uart.yaml

For an example of filtering and renaming the channels, see this graph.