Microcontroller Unit (MCU) Block Data Sheet

Similar documents
biosignal acquisition tool-kit for advanced research applications MATLAB compatibility with biosignalsplux Python TM API

biosignal acquisition tool-kit for high-level research applications user manual

NXP AN11528 sensor Application note

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

APPLICATION NOTE. AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I. Atmel AVR XMEGA. Introduction. Features

AT11512: SAM L Brown Out Detector (BOD) Driver. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE

Wasp Embedded Controller

EDBG. Description. Programmers and Debuggers USER GUIDE

USER GUIDE EDBG. Description

Anybus Wireless Bridge Ethernet Bluetooth Access Point Product Guide

Product Change Notification

CEC1702 clicker. a great idea is just a click away

How to use the NTAG I²C plus for bidirectional communication. Rev June

ED1021 I/O Expander with UART interface & analog inputs

UM10766 User manual for the I2C-bus RTC PCF85263A demo board OM13510

UIO-HMI Digital I/Os & DAQ Board User Manual

KBC1122/KBC1122P. Mobile KBC with Super I/O, SFI, ADC and DAC with SMSC SentinelAlert! TM PRODUCT FEATURES. Data Brief

VENUS_ Driving Board and 39.6 Prism Display

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE

AN10917 Memory to DAC data transfers using the LPC1700's DMA

BV511 Hardware Guide ByVac ByVac Revision 1.0

APPLICATION NOTE. Atmel AT01080: XMEGA E Schematic Checklist. Atmel AVR XMEGA E. Features. Introduction

OM13071 LPCXpresso824-MAX Development board

HUAWEI H30-U10. Quick Start Guide

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

DSD: Delta Sigma Demodulator. XMC microcontrollers September 2016

1 General Description

UM OM13500 & OM13500A, PCA9620 & PCx8537 demo board. Document information. Keywords

UM User Manual for LPC54018 IoT Module. Rev November Document information

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

VM-10 USB Desktop Audio Device Installation Guide

HMC1022 Digital Compass

UM LPC54018 IoT module. Document information. LPC54018, OM40007, Amazon FreeRTOS, AWS, GT1216 LPC54018 IoT module user manual

D (double) Package type descriptive code. SMT3; MPAK Package type industry code. SMT3; MPAK Package style descriptive code

plastic surface-mounted package; 5 leads D (double) Package type descriptive code TSOP5 Package type industry code

BLUETOOTH SPEAKER. for ipod/iphone/ipad/android. User s Manual. Item #TA-11BTSP. PC Mac Ultrabook COMPATIBLE BLUETOOTH WIRELESS USB

CA-A480-A Elevator Controller. Reference & Installation Manual

SOT404-REFLOW REL Major version date Minor version date Security status

AN CBTL08GP053 Programmer's Guide. Document information. Keywords Abstract

LAN bit Non-PCI Small Form Factor 10/100 Ethernet Controller with Variable Voltage I/O & HP Auto-MDIX Support PRODUCT FEATURES.

AN QN902x Quick Start Guide. Document information

UM NXP USB PD shield board user manual COMPANY PUBLIC. Document information

FMC-MCM-1000 Evaluation and Product Development Platform. Instruction Sheet SOC Technologies Inc.

UM1719 User manual. The STPM3x evaluation software. Introduction

QN908x. DK User s Guide. Document information. QN9080-DK, QN9080, QN9083, BLE, USB Dongle This document is an introduction to the QN908x DK V1.

LPGD SBDN GND 4VR PZVS VLMU VLML PZVO PIZO. 3 GND Signal ground Signal ground pin. Connect ADC and DAC grounds to here.

BlackBerry Java Development Environment (JDE)

Section 1 Introduction

Color 7 click. PID: MIKROE 3062 Weight: 19 g

QPP Proprietary Profile Guide

ChipWhisperer Capture Rev2

Cricket Embedded Processor Dual H-Bridge/Bipolar Stepper Controller

University Program Advance Material

[Type here] M907. Bluetooth 4.2 Low Energy/Zigbee/RF4CE/Thread SiP Module with MCU and integrated antenna

AN LPC82x Touch Solution Quick Start Guide. Document information. Keywords

For the LAN91C111 TQFP package, the Vdd and AVdd pins are located as follows: Pin #1, #11, #16, #33, #44, #62, #77, #98, #110, #120.

RN-171-EK Evaluation Board

Mini Tracker Model:MT-800. Data Sheet

QSG DAC1x08D+ECP3 DB

STB-CE v Overview. 2 Features. Release notes for STB-CE v What's new in STB-CE v2.5

AT03262: SAM D/R/L/C System Pin Multiplexer (SYSTEM PINMUX) Driver. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE

DGILib USER GUIDE Atmel-42771A-DGILib_User Guide-09/2016

EVB-USB2640 Evaluation Board Revision A

SNC Four Channels Speech Controller

Smart Card Bridge to Full-Speed USB, SPI, and UART Interfaces

Preliminary F40 SoC Datasheet

AppNote-US2400-EVB Low Power 2.4GHz Transceiver

GSV-6BT GSV-6BT. Description

DEVELOPMENT TEAM: Jeremiah Prousalis: Project Lead Firmware Lead Bluetooth Module Interfacing

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

Ethernet1 Xplained Pro

AVR4018: Inertial Two (ATAVRSBIN2) Hardware User's Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

BTH-808 WIRELESS BLUETOOTH HEADSET USER S MANUAL

USER GUIDE. Atmel Segment LCD1 Xplained Pro. Preface

DT7837. ARM Module for Embedded Applications. Overview. Key Features. Supported Operating Systems

RN-174 WiFly Super Module

ATECC108/ATSHA204 USER GUIDE. Atmel Firmware Library. Features. Introduction

Wireless Audio Processor with Tri-Band Support and Embedded Multi-Channel USB 2.0 Audio Controller

USER GUIDE. ZigBit USB Stick User Guide. Introduction

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

Brushless DC Motor Controller Specification Assembly 025A0053

Preliminary File System User Manual

UM LPCXpresso Rev th November Document information. LPCXpresso54102, LPC54100 LPCXpresso54102 User Manual

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia (

Winford Engineering ETH32 Protocol Reference

USER GUIDE. Atmel QT1 Xplained Pro. Preface

SNC36060 Four Channels Speech Controller

APPLICATION NOTE. Atmel AT03782: Using Low Power Modes in SAM4N Microcontroller. Atmel 32-bit Microcontroller. Features.

QT2 Xplained Pro. Preface. Atmel QTouch USER GUIDE

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

SOD123W. 1. Package summary. plastic, surface mounted package; 2 terminals; 2.6 mm x 1.7 mm x 1 mm body 9 April 2018 Package information

ATAES132A Firmware Development Library. Introduction. Features. Atmel CryptoAuthentication USER GUIDE

COL862 - Low Power Computing

Ant6. 6 Channel H Bridge 3-Axis Bipolar Stepper Motor Controller. Technical Reference Manual PCB Rev 1.0.

AVR32917: picopower Board getting started. 32-bit Microcontrollers. Application Note. Preliminary. Features. 1 Introduction

PCI GS or PCIe8 LX Time Distribution Board

Application Note: AS3935-AN01 Demo Board Description AS3935. Franklin Lightning Sensor Demo Board. Revision 1.1 / 21/11/12 page 1/20

UM NVT2008PW and NVT2010PW demo boards. Document information

APPLICATION NOTE. AT04470: Differences between SAM D21 Variants A, B, and L. 32-bit Microcontroller. Introduction

UM LPC54114 Audio and Voice Recognition Kit. Rev February Document information. Keywords

Transcription:

Microcontroller Unit (MCU) MCU 140616 SPECIFICATIONS > Sampling Rate: 1, 10, 100 or 1000Hz > Analog Ports: 6 in (A1-A6) + 1 out (PWM) > Digital Ports: 2 in (I1&I2) + 2 out (O1&O2) > Auxiliary Ports: 1 in (ABAT) > Resolution: 10-bit (A1-A4) + 6-bit (A5&A6) > Communication: UART > Operating Voltage: 3.3V > Input Voltage Range: 3.0-5.5V > Consumption: ~5mA FEATURES > Real-time data sampling and streaming > High performance open-source firmware > Crystal oscillator for maximum precision > Status and low-battery indicators > Cross-talk attenuation > Raw data sampling and output > Plug & play operation > Easy-to-use OpenSignals software & APIs Fig. 1. Pin-out and physical dimensions. APPLICATIONS > Rapid prototyping of custom hardware > Biosignal research > Real-time data visualization > Real-time data recording GENERAL DESCRIPTION Our MCU block is designed for accurate and reliable real-time data streaming over any UART-compatible interface (e.g. Bluetooth, FTDI). Its high performance firmware, made available in open source, can acquire and control up to 6 analog inputs, 1 analog output, 2 digital inputs and 2 digital outputs at up to 1kHz. Together with the OpenSignals software and a wide array of programming APIs, our MCU enables hassle-free access to raw data, making it ideal for rapid prototyping of cross-platform real-time applications. Fig. 2. Our MCU can be used with any UART-compatible accessory (although minor adaptations may be needed). Fig. 3. Prototype wearable device using our MCU and Bluetooth blocks for real-time wireless data streaming. PLUX Wireless Biosignals, S.A. Av. 5 de Outubro, n. 70 8. 1050-059 Lisbon, Portugal bitalino@plux.info http://bitalino.com/ REV A 2016 PLUX This information is provided "as is," and we make no express or implied warranties whatsoever with respect to functionality, operability, use, fitness for a particular purpose, or infringement of rights. We expressly disclaim any liability whatsoever for any direct, indirect, consequential, incidental or special damages, including, without limitation, lost revenues, lost profits, losses resulting from business interruption or loss of data, regardless of the form of action or legal theory under which the liability may be asserted, even if advised of the possibility of such damages. BEWARE: DIRECT OR INDIRECT COUPLING TO THE MAINS MAY RESULT IN SHOCKING HAZARD

STATE COMMANDS The BITalino (r)evolution firmware is prepared to receive a set of commands that can be used to control the state of the device (Fig. 4): > Idle: Corresponds to the state in which the device is when in standby (status LED fades at 0.5Hz); it is the default state when the device is turned on. > Live: Corresponds to the state in which the device is acquiring and streaming data in real time (LED blinks at 1Hz); setting the channel mask bits (labeled A1-A6) to 0 or 1 deactivates / activates the real-time streaming of the corresponding channel A1-A6 from the device. > Simulated: This is a facility provided for developers, and in this state the device streams synthetic data generated by the firmware (sine, saw tooth, and square waves, together with a pre-recorded ECG time series); this enables the development and testing of the software layer at the receiver using the actual physical and transport layers, but without requiring sensors to be connected to a user to have values changing on the streamed data. Fig. 4. State commands. DATA PACKETS While in live or simulated mode, the BITalino (r)evolution firmware streams the acquired data in real time, formatted as a structured sequence of bits corresponding to: > CRC: 4-bit Cyclic Redundancy Check (CRC) code, useful for the evaluation of the data packet consistency on the receiver. > S: 4-bit sequential number generated by the firmware to identify the packet, which can be used on the receiver to detect packet loss. > O1 & O2: State of the digital output ports O1 & O2 on the device. > I1 & I2: State of the digital input ports I1 & I2 on the device. > A1-A6: Digital code produced by the ADC for the voltage at the corresponding analog input ports A1-A6; the first four channels arrive with 10-bit resolution (ranging from 0-1023) while the last two arrive with 6-bit (ranging from 0-63) 1. Fig. 5. Data packet structure sent while the device is in live or simulated modes, when all the channels are selected for acquisition (left) and only channel A6 is selected for acquisition (right) 1. 1 It is important to highlight that A5 and/or A6 may arrive with 10-bit resolution if less than 6 channels are acquired (e.g. when the selected channels are [A1, A2, A3, A5, A6] only A6 has 6-bit, when the selected channels are [A3, A4, A5, A6] both A5 & A6 have 10-bit, etc.). PAGE 2 OF 5

CONFIGURATION COMMANDS While in idle mode, the BITalino (r)evolution firmware is also prepared to receive a set of device configuration commands (Fig. 6): > Sampling Rate: The sampling rate can be selected by setting the bits labeled F to 00 (1Hz), 01 (10Hz), 10 (100Hz), or 11 (1000Hz). > Battery Threshold: By default, the firmware is prepared to control the low battery LED based on the ABAT analog input readings (i.e. if the ABAT pin from the PWR block is connected to ABAT on the MCU, the firmware monitors the battery level); the battery LED threshold can be set to any 6-bit value (ranging from 0-63), in which values closer to 0 trigger the low battery indication for battery voltages bellow 3.4V (5-10% charge), and values closer to 63 trigger the low battery indication for battery voltages bellow 3.8V (90-95% charge). > Firmware Version: For compatibility and traceability purposes, it may be useful to know the firmware version running on the device, therefore a command is provided to enable such request, to which the device responds with a string (e.g. BITalino_v5.0\n ). > Device Status: In some applications, it is useful simply to retrieve the state of the device at a given moment in time, without having it in live or simulated mode (i.e. when real-time data streaming is not a requirement); as such, a command is provided to inquiry the device about its status, to which the device replies with a status packet (as shown in Fig. 7). Fig. 6. Configuration commands. STATUS PACKETS In response to a device status command, the BITalino (r)evolution firmware sends a formatted structured sequence of bits corresponding to (Fig. 7): > O1 & O2: State of the digital output ports O1 & O2 on the device. > I1 & I2: State of the digital input ports I1 & I2 on the device. > Battery Threshold: Low battery LED activation threshold currently defined on the firmware. > A1-A6: Digital code produced by the ADC for the voltage at the corresponding analog input ports A1-A6; all channels arrive with 10-bit resolution (ranging from 0-1023). > ABAT: Digital code produced by the ADC for the voltage at the ABAT analog input pin; this channel arrives with 10-bit resolution (ranging from 0-1023). PAGE 3 OF 5

Fig. 7. Status packet structure sent in response to a device status inquiry command 2. ACTION COMMANDS Regardless of the mode in which the device is in, the BITalino (r)evolution firmware provides a set of action commands to control the digital and analog outputs (Fig. 6): > Trigger Digital Outputs: The digital output pins O1 & O2 can be activated / deactivated by setting the pins labeled O1 & O2 to 1 or 0 (the current state of the outputs is sent by the device both in the data packets and state packets). > Control Analog Output: Sending a specific command to the device followed by and 8-bit value sets the output of the PWM, which in turn drives the analog output on the DAC block. Fig. 6. Action command to trigger the digital outputs. Fig. 7. Action command to set the state of the analog output. ORDERING GUIDE Part # COMP-MCU Description Microcontroller (MCU) block pre-programmed with our custom firmware 3, optimized for real time data acquisition 2 Byte 15 is only available in firmware version 5.2 or above 3 https://github.com/bitalinoworld/firmware-bitalino-revolution PAGE 4 OF 5

PAGE 5 OF 5