Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!


Project description

The BITalino (R)evolution Python API provides the needed tools to interact with BITalino (R)evolution using Python.


pip install bitalino

Usage Example

use your macAddress:

# This example will collect data for 5 sec.
macAddress = "00:00:00:00:00:00"
# macAddress = "/dev/tty.BITalino-XX-XX-DevB" # on Mac OS replace XX-XX by the 4 final digits of the MAC address
running_time = 5

batteryThreshold = 30
acqChannels = [0, 1, 2, 3, 4, 5]
samplingRate = 1000
nSamples = 10
digitalOutput = [1,1]

# Connect to BITalino
device = BITalino(macAddress)

# Set battery threshold

# Read BITalino version

# Start Acquisition
device.start(samplingRate, acqChannels)

start = time.time()
end = time.time()
while (end - start) < running_time:
        # Read samples
        end = time.time()

# Turn BITalino led on

# Stop acquisition

# Close connection

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bitalino, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size bitalino-1.2.1-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size bitalino-1.2.1.tar.gz (7.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page