Collecting data from different sensors
This was part of a project for a "dream study". The device was battery powered so the patient could stay at home in his normal environment. The data sampled could be written on sd-card or transfered via bluetooth.
Olimex Olimexino-STM32 board with STM32F103RBT6 microcontroller
Libraries for the LeafLabs Maple. Based on Arduino Libraries. The Wire Library handles the communication to I2C devices.
I made some minor changes to the code to work with the Olimexino STM32. Maple SDFAT Library
Olimex MOD-BT bluetooth module
Olimex SHIELD-ECG-EMG ECG/EMG shield for STM32 board
Olimex LiPo Battery 3.7V/6.600mAh
Texas Instruments MSP430G2553 microcontroller
Texas Instruments INA111 instrumentation amplifiers
Texas Instruments INA326 instrumentation amplifiers
Texas Instruments OPA2604 operational amplifiers
Analog ADG1608 4-channel multiplexer
Maxim DS1337 I2C serial real-time clock
I made some changes to fit my project. But this version should run on every Olimexino STM32.
Maxim DS2438 smart battery monitor
Recom RNM 3.305S DC/DC Converters
EEG Right Leg Drive
Filter for Recom 3.305S DC/DC Converter
Download SchematicsEEG Board
We used Ambu Neuroline 720 Single Patient Surface Electrodes.
The Electrodes have a K-Connector with 1.5mm Diameter.
There are matching connectors to fit into custom enclosure.
I used Multi-Contact MLB1.5R. They are available in many different colors.
This is an example of an EMG.
The software I used is KST2.
The upper graphic shows the raw signal, the lower graphic is filtered with a 50Hz Notch Filter.
This project can be imported into Eclipse without changes. You must use the GCC Toolchain with Eclipse.
You can use the code in main.cpp with the Maple IDE without libmaple and makefiles. Of course you must import all other libraries into Maple. With Maple you can write code and program any board with the stm32 cortex m3 processor, like the Olimexino STM32.
EnergiaWith the Energia IDE you can program any Texas Instruments Microcontroller, like the one I used the MSP430G2553.
AtomNow I'm using the wonderful Atom Editor with the PlatformIO Package.
This is the perfect combination because you can customize the shit out of the Atom Editor and PlatformIO supports all main Microcontrollers like the Texas Instruments MSP Series, the Arm Cortex, Arduino of course and many many more.