Vous êtes sur la page 1sur 33

EEG-SMT development board

USER’S MANUAL

All boards produced by Olimex LTD are ROHS compliant

Revision H, April 2013


Designed by OLIMEX Ltd, 2011
OLIMEX© 2012 EEG-SMT user's manual

Disclaimer
© 2013 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd.
Other product names may be trademarks of others and the rights belong to their respective owners.

The information in this document is provided in connection with Olimex products. No license, express
or implied or otherwise, to any intellectual property right is granted by this document or in connection
with the sale of Olimex products.

This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a
copy of this license, visit http://www.creativecommons.org/licenses/by-sa/3.0/.

This hardware design by Olimex LTD is licensed under a Creative Commons Attribution-ShareAlike 3.0
Unported License.

The software is released under GPL.

It is possible that the pictures in this manual differ from the latest revision of the board.

The product described in this document is subject to continuous development and improvements. All
particulars of the product and its use contained in this document are given by OLIMEX in good faith.
However all warranties implied or expressed including but not limited to implied warranties of
merchantability or fitness for purpose are excluded. This document is intended only to assist the reader in the
use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any
information in this document or any error or omission in such information or any incorrect use of the
product.

This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation
purposes only and is not considered by OLIMEX to be a finished end-product fit for general consumer use.
Persons handling the product must have electronics training and observe good engineering practice
standards. As such, the goods being provided are not intended to be complete in terms of required design-,
marketing-, and/or manufacturing-related protective considerations, including product safety and
environmental measures typically found in end products that incorporate such semiconductor components or
circuit boards.

Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user
is not exclusive. Olimex assumes no liability for applications assistance, customer product design, software
performance, or infringement of patents or services described herein.

THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE


COMPONENTS USED TO CREATE EEG-SMT. THEY ARE CONSIDERED
SUITABLE ONLY FOR EEG-SMT.

Page 2 of 33
OLIMEX© 2012 EEG-SMT user's manual

WARNING:

EEG DEVICE DISCLAIMER

IEC601 is a standard that specifies tests and requirements that medical devices must pass before
they can be used on humans.

However, none of the devices built from these designs have been tested according to these
guidelines because of the costs involved.

Therefore, a device based on any of these designs may not be used for medical purposes as no
medical claims are made. Note that CONNECTING A DEVICE VIA ELECTRODES TO
HUMANS OR ANIMALS IS POTENTIALLY HAZARDOUS AND MAY RESULT IN
ELECTRIC SHOCK AND/OR SEIZURE.

Finally, the authors do not guarantee that the information provided in the design files is complete or
appropriate for any particular application.

Full text at: http://openeeg.sourceforge.net/doc/WARNING.html.

Page 3 of 33
OLIMEX© 2012 EEG-SMT user's manual

Table of Contents
Disclaimer.....................................................................................................................2
CHAPTER 1 | OVERVIEW....................................................................................... 5
1.1 Scope......................................................................................................................................... 5
1.2 Advantages of EEG-SMT........................................................................................................5
1.3 Organization.............................................................................................................................5
CHAPTER 2 | SETTING UP THE EEG-SMT BOARD..........................................7
2.1 Electrostatic Warning..............................................................................................................7
2.2 Requirements........................................................................................................................... 7
2.3 Powering up the board............................................................................................................8
2.4 How to setup the board, peripherals and your personal computer.................................... 8
CHAPTER 3 | IMPORTANT NOTES AND FAQ.................................................. 14
3.1 General notes regarding frequently encountered problems.............................................. 14
3.2 How to connect more than one EEG-SMT to a single PC..................................................17
CHAPTER 4 | EEG-SMT BOARD DESCRIPTION.............................................21
4.1 Outside layout........................................................................................................................ 21
4.2 Inside layout (top view):........................................................................................................21
4.3 Inside layout (bottom view):................................................................................................. 22
CHAPTER 5 | THE ATMEGA16 MICROCONTROLLER................................. 23
5.1 Processor features.................................................................................................................. 23
5.2 Processor memory map......................................................................................................... 25
CHAPTER 6 | POWER SUPPLY............................................................................ 26
6.1 Power supply.......................................................................................................................... 26
CHAPTER 7 | HARDWARE....................................................................................27
7.1 ICSP connector.......................................................................................................................27
7.2 V_CAL....................................................................................................................................27
7.3 USB connector........................................................................................................................28
CHAPTER 8 | SCHEMATIC................................................................................... 29
8.1 Eagle schematic......................................................................................................................29
8.2 Physical dimensions (without the case)................................................................................31
CHAPTER 9 | REVISION INFO AND USEFUL WEB LINKS........................... 32
9.1 Document revision................................................................................................................. 32
9.2 Web page of your device........................................................................................................32
9.3 Ordering info..........................................................................................................................33

Page 4 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 1 | OVERVIEW
Thank you for choosing the EEG-SMT bio-feedback board from Olimex! This document provides a
User’s Guide for the Olimex EEG-SMT bio-feedback board. As an overview, this chapter gives the
scope of this document and lists the board’s features. The document’s organization is then detailed.

1.1 Scope
The EEG-SMT module is an inexpensive unit for electroencephalography (EEG) - recording of
electrical activity along the scalp. The project is based on the efforts of the OpenEEG communty
and our engineers here at Olimex. Project’s webpage can be found here:

http://openeeg.sourceforge.net/

The OpenEEG project is about making plans and software for do-it-yourself EEG devices available
for free (as in GPL). It is aimed toward amateurs who would like to experiment with EEG.

EEG-SMT is based on the ModularEEG project.

1.2 Advantages of EEG-SMT

 Very low price compared to professional EEG devices


 Compact size
 Solid plastic case
 Powered by USB
 ICSP10 interface for reprogramming
 Fully open software and open hardware

1.3 Organization
Each section in this document covers a separate topic, organized as follow:

- Section 1 is an overview of the board usage and features


- Section 2 provides a guide for quickly setting up the board and introduces the user to EEG-SMT
prebuilt features
- Section 3 contains the frequently asked question
- Section 4 describes the component that is the heart of the board: the ATmega16 microcontroller
and its memory map
- Section 5 is an explanation of the control circuitry associated with the microcontroller to power
- Section 6 details the power supply needed

Page 5 of 33
OLIMEX© 2012 EEG-SMT user's manual

- Section 7 covers the connector pinout and peripherals


- Section 8 provides the schematics
- Section 9 contains the revision history

Page 6 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 2 | SETTING UP THE EEG-SMT BOARD


This section helps you set up the EEG-SMT development board for the first time.

Please consider first the electrostatic warning to avoid damaging the board, then discover the
hardware and software required to operate the board.

The procedure to power up the board is given, and a description of the default board behavior is
detailed.

2.1 Electrostatic Warning


The EEG-SMT development board is shipped in a protective anti-static package. The board must
not be exposed to high electrostatic potentials. A grounding strap or similar protective device should
be worn when handling the board. Avoid touching the component pins or any other metallic
element.

2.2 Requirements
In order to set up the EEG-SMT evaluation board, the following items are required:

 EEG-SMT board itself


 EEG-AE - Active Electrode – 0 or 4 AE
 EEG-PE - Passive Electrode – 1 or 5 PE
 USB-CABLE – USB A to USB B cable 1.5 meter for EEG-SMT to connect to a computer
 VCP FTDI drivers (you can download the latest version from the official FTDI web site
http://www.ftdichip.com/Drivers/VCP.htm)
 Electric Guru v0.40 monitoring software or latest BrainBay

Note: You can either choose to use 5 passive electrodes or 4 active electrodes + 1 passive electrode
(needed for electrical feedback).

The EEG-SMT was designed to use standard passive EEG electrodes with shielded cables.
However, when using active electrodes instead, no skin preparation is required and better
performance can be achieved under imperfect conditions. The active electrodes described here
connect directly to the EEG-SMT without requiring any modifications to the boards.

Page 7 of 33
OLIMEX© 2012 EEG-SMT user's manual

IMPORTANT NOTE:

EEG-AEs, EEG-PEs, USB-CABLEs are sold separately and are NOT included in the box of EEG-
SMT

Note: The board is not delivered with an ICSP debugger/programmer, which is needed if you don’t
want to use its preprogrammed software (firmware). Remember that the connector on the board is
ICSP (10 pin). You may use one of the following Olimex programmers for this purpose:

-OLIMEX AVR-ISP-MK2 – 10pin ICSP and 6pin PDI, USB type A connection
-OLIMEX AVR-ISP500-ISO – 10pin & 6pin isolated ICSP to USB type A
-OLIMEX AVR-ISP500-TINY – 10pin & 6pin ICSP to USB type A
-OLIMEX AVR-ISP500 – 10pin & 6pin ICSP to USB type A
-OLIMEX AVR-PG1 – 10pin ICSP to RS232
-OLIMEX AVR-PG2 – 10pin ICSP to parallel port

Also, a host-based software toolchain is required in order to program/debug the EEG-SMT board.

2.3 Powering up the board


The EEG-SMT board is self-powered by the miniUSB port.

Additionally the board can be powered using the 10pin ICSP connector.

20 seconds after powering the board PWR should go RED.


The current consumption is around 0,8A.

2.4 How to setup the board, peripherals and your personal computer
We have tested EEG-SMT with three software tools. These are the tools recommended by Olimex
and explained below: Electric Guru; Brain Bay and OpenVibe. However, the board should work
with any set of tools that supports OpenEEG/ModularEEG with firmware P2 (not P3).

1) Connect the EEG-SMT and a computer using the USB-CABLE

2) Go to device manager and locate the group “Other devices” and right click over the OLIMEX
device. Chose update driver software. A dialog will appear and you click “Browse my computer for
driver software” (the drivers can be downloaded from the FTDI web site under VCP link)

3) “Let me pick from a list of device drivers on my computer”->”Show all devices”-> Next

4) “Have disk”, and browse to the folder where you extracted CDM20814_WHQL_Certified.zip

Page 8 of 33
OLIMEX© 2012 EEG-SMT user's manual

and locate “ftdibus.inf”

5) Click Next and then “Install software anyway”

6) If you wish to use BrainBay skip to step 11); if you wish to use OpenVibe skip to step step 17);
for Electric Guru continue reading:

7) Get the program from here: click to download

8) Extract the contents of the archive named “ElecGuru[vN].zip” and run the executable

It is advisable to make the changes shown in the picture below in your ElecGuru program in
preferences-> Trace (waveform); also make sure you have selected the proper COM port

9) Connect the 5 electrodes to the EEG-SMT (!!! The one connected to DLR must be passive
electrode)

10) Place the DLR electrode (feedback) on your ear and the other 4 on your head depending what
kind of brain activity you want to monitor – there is diagram on the next page showing the spots
you might use.

For example if you want to monitor the Frontal Lobe (thought processing) you place the electrodes
on Fp1, Fp2, F7, F8 spots (and DLR electrode to one of the ears A1, A2).

Page 9 of 33
OLIMEX© 2012 EEG-SMT user's manual

If you want to monitor visual perception you have to monitor the Occipital Lobe – Fp1, Fp2, O1
and O2.

For more information on the functions of the brain and the respective brain zones refer to the
Wikipedia article: http://en.wikipedia.org/wiki/Brain#Functions

11) Download Brainbay software from their official web site: http://www.shifz.org/brainbay/

12) Install the program and run it

13) Click Load Design and import a sample project from folder Test_Elements (for example
modeeg_test.con or 2chn_test.con, but feel free to check others also)

14) From Option -> Device manager change the COM port to the COM port EEG-SMT is assigned
to and the baud rate to 57600 (you can check/change the COM in Windows Device Manager in
Ports section, the device is recognized as USB Serial port (COM X))

15) Do steps 9) and 10)


16) Click Play (F7)

Page 10 of 33
OLIMEX© 2012 EEG-SMT user's manual

17) Visit OpenVibe's web page: http://openvibe.inria.fr/ and download the installation from the
download button.

18) Install OpenVibe and from the start menu navigate to the start menu folder that the installer
created. Run “openvibe acquisition server”.

19) Select “OpenEEG Modular EEG p2” from the drop-down menu and adjust it's properties.
Especially change the COM port to the proper port the EEG-SMT got connected to (after the drivers
were installed in point 6) and also remember to reduce the number of channels to 1 or 2!

20) Click Connect and then click Run

21) Run the OpenVibe client designer from the start menu shortcut “openvibe designer”

22) Create new design from File - > New

23) In the search box (to the right in the interface): type “acquisition” and drag-and-drop
Acquisition client to the design workspace (to the left in the interface)

24) In the search box (to the right in the interface): type “display” and drag-and-drop the Signal
Display box the design workspace (to the left in the interface)

25) Connect the two elements as shown in the picture below:

Page 11 of 33
OLIMEX© 2012 EEG-SMT user's manual

26) Do steps 9) and 10)


27) Click “Play” from the tool bar at the top of the Designer interface
Below is an example one-channel operation of OpenVibe:

Page 12 of 33
OLIMEX© 2012 EEG-SMT user's manual

More information on the OpenVibe setup may be found at their web page. The basic setup design is
described here: “http://openvibe.inria.fr/tutorial-the-most-basic-openvibe-setup/”.

Page 13 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 3 | IMPORTANT NOTES AND FAQ

3.1 General notes regarding frequently encountered problems


- The virtual com port must be numbered 1, 2, 3 or 4 in order to use ElecGuru, which you can do in
Device Manager. Right-click over the COM port the device was installed onto and click
“Properties”, then navigate to “Port Settings”, then to “Advanced” and finally change “COM
number”. Check the screenshot below:

- The COM port which ElecGuru uses can be changed from preferences-> serial port.
- You have to install the drivers then start the ElecGuru program AND THEN connect the
electrodes.
- If using only ONE channel it is recommended to short circuit the other channel, or connect it to
the DLR for less noise
- Feel free to try other software that supports OpenEEG ModularEEG firmware 2 (P2) data packing.
- If you wish to change the update rate of the graph (e.g. make it update data on little intervals so
the line seems fluid – more sensitive to changes) you have to change the Latency Timer of the
virtual COM port. It is done from the same menu where you can change your COM number.

Page 14 of 33
OLIMEX© 2012 EEG-SMT user's manual

Change it to 1ms or 2ms delay. Check the screenshot below:

There are reports that on certain operating systems it is possible that after installing the drivers and
connecting the device the mouse pointer would become unresponsive and would act crazy.

It is a bug we have reported to Microsoft and FTDI. This bug persists in the COM communication
since Windows 2000. There are two solutions available:

1)The first solution: Go to the device manager before plugging the device and mark an entry there.
Then plug the EEG-SMT to the computer (and your mouse will go crazy!) leave the mouse and use
the keyboard arrows and TAB to navigate in the device manager and reach the MICROSOFT
SERIAL BALLPOINT DEVICE and press Enter on it. Then when General tab is marked (with
dotted rectangle) press Right keyboard arrow which will lead you to Driver tab and using keyboard
button TAB navigate to disable and hit enter. Check the following screenshot:

Page 15 of 33
OLIMEX© 2012 EEG-SMT user's manual

2)The second solution (Please follow carefully and at own risk): a solution that worked for me was
to go into the registry (Start → Run/Search → “regedit” → Enter) and edit the following value:
Location: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\sermouse
Key: Start
Default value: 3

Page 16 of 33
OLIMEX© 2012 EEG-SMT user's manual

Modify Value to 4, which is Disabled and it will stop this problem occurring. Check the pictur e
below:

More info on the software which the board was tested with can be found here:

http://www.shifz.org/brainbay/

Here you get acquainted with the main parts of the board. Note the names used on the board might
differ from the names used to describe them. For the actual names check the EEG-SMT board itself.

3.2 How to connect more than one EEG-SMT to a single PC


A lot of customers have asked for a way of using more than two channels with our EEG-SMT. The
design doesn't allow easy hardware modification to achieve that so the only way is by software
means. Now this is problematic since if you plug more than one EEG-SMT they get recognized as
the same device.

Furthermore, all EEG software we tested (Electric Guru, Brain Bay, Open ViBE) lacked support for
two (or more) inputs, e.g. two (or more) EEG-SMTs plugged simultaneously. The good news is that
it is actually possible to have more than one EEG-SMT on a computer station BUT you need to use
two (or more) instances of the same software (for example you have to run Brain Bay two times). In
one of the instances you will see data coming from the first of the EEG-SMTs, in the other you will
see the second of the EEG-SMTs.

To continue with the good news to configure the devices in such a way you don’t need additional
hardware, nor you need to open them. It can be done via the USB. The steps to do so are listed
below:
Important! Modifying other values than the ones suggested below might cause serious
troubles and even render the EEG-SMT unrecoverable.

1. Connect EEG-SMT to a computer via the USB (and ensure no other FTDI devices are connected
to the computer)
2. Make sure the drivers of the device are installed (if not install them from
http://www.ftdichip.com/Drivers/VCP.htm)
3. Download and extract the FT_PROG utility from FTDI’s web site:
http://www.ftdichip.com/Support/Utilities.htm.
4. Run FT_prog.exe and select "Scan and Parse” from the menu

Page 17 of 33
OLIMEX© 2012 EEG-SMT user's manual

5. In the left panel navigate to “USB String Descriptors” and then in the right one make sure the
“Serial Number” is enabled and the “Auto Generate Serial No” is enabled also.

Page 18 of 33
OLIMEX© 2012 EEG-SMT user's manual

6. Right-click over Device 0 and choose to program device

Page 19 of 33
OLIMEX© 2012 EEG-SMT user's manual

7. Close FT_prog and power cycle the EEG-SMT, then connect the second EEG-SMT

8. Open “Windows Device Manager” and if both devices are enumerated with the same COM port #
change one of them to another COM port # (from Properties –> Port Settings –> Advanced –>
COM port number)

9. Start two instances of a supported program (or two different supported programs). In their
options set one to the COM port # of EEG-SMT#1 and the other to the COM port # of EEG-SMT#2
Note: This way you can configure more than 2 EEG-SMT devices (4 channels) as long as your USB
hub (computer motherboard, power supply, etc.) is able to power the number of EEG-SMT devices
connected.

Page 20 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 4 | EEG-SMT BOARD DESCRIPTION

4.1 Outside layout

4.2 Inside layout (top view):

Page 21 of 33
OLIMEX© 2012 EEG-SMT user's manual

4.3 Inside layout (bottom view):

Page 22 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 5 | THE ATMEGA16 MICROCONTROLLER

5.1 Processor features


• High-performance, Low-power Atmel® AVR® 8-bit Microcontroller
• Advanced RISC Architecture
– 131 Powerful Instructions – Most Single-clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– On-chip 2-cycle Multiplier
• High Endurance Non-volatile Memory segments
– 16 Kbytes of In-System Self-programmable Flash program memory
– 512 Bytes EEPROM
– 1 Kbyte Internal SRAM
– Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
– Data retention: 20 years at 85°C/100 years at 25°C
– Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
– Programming Lock for Software Security
• JTAG (IEEE std. 1149.1 Compliant) Interface
– Boundary-scan Capabilities According to the JTAG Standard
– Extensive On-chip Debug Support
– Programming of Flash, EEPROM, Fuses, and Lock Bits through the JTAG Interface
• Peripheral Features
– Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
Mode
– Real Time Counter with Separate Oscillator
– Four PWM Channels
– 8-channel, 10-bit ADC
8 Single-ended Channels
7 Differential Channels in TQFP Package Only
2 Differential Channels with Programmable Gain at 1x, 10x, or 200x
– Byte-oriented Two-wire Serial Interface
– Programmable Serial USART
– Master/Slave SPI Serial Interface

Page 23 of 33
OLIMEX© 2012 EEG-SMT user's manual

– Programmable Watchdog Timer with Separate On-chip Oscillator


– On-chip Analog Comparator
• Special Microcontroller Features
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated RC Oscillator
– External and Internal Interrupt Sources
– Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby
and Extended Standby
• I/O and Packages
– 32 Programmable I/O Lines
– 40-pin PDIP, 44-lead TQFP, and 44-pad QFN/MLF
• Operating Voltages
– 2.7V - 5.5V for ATmega16L
– 4.5V - 5.5V for ATmega16
• Speed Grades
– 0 - 8 MHz for ATmega16L
– 0 - 16 MHz for ATmega16
• Power Consumption @ 1 MHz, 3V, and 25°C for ATmega16L
– Active: 1.1 mA
– Idle Mode: 0.35 mA
– Power-down Mode: < 1 μA

For comprehensive information on the microcontroller visit the ATMEL’s web page for a datasheet.

At the moment of writing the microcontroller’s datasheet can be found at the following link:

http://www.atmel.com/dyn/resources/prod_documents/doc2466.pdf

Page 24 of 33
OLIMEX© 2012 EEG-SMT user's manual

5.2 Processor memory map

Page 25 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 6 | POWER SUPPLY

6.1 Power supply


When EEG-SMT is connected via a USB cable to a USB host it will take its 5V power supply from
the USB host source to power the board.

Additionally the board can be powered using the 10pin ICSP connector.

When powered and functional the current consumption is around 80 mA.

Page 26 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 7 | HARDWARE
The hardware section for EEG-SMT includes description of the connectors and the jumpers.

7.1 ICSP connector


The 10 PIN ICSP connector provides option to reprogram the board if you want to use it as a
general development board.

Pin # Signal Name


1 MOSI

2 +5 VD VCC

3 Not connected

4 Digital GND

5 RST

6 Digital GND

7 SCK

8 Digital GND

9 MISO

10 Digital GND

7.2 V_CAL
V_CAL is interface used for the calibration of the instrumentation amplifier INA114BU/1K. You
will need to make own connector in order to calibrate it.

Pin # Signal Name


1 V_CAL

2 GND

Page 27 of 33
OLIMEX© 2012 EEG-SMT user's manual

7.3 USB connector

Pin # Signal Name


1 +5V_VBUS

2 USBDM

3 USBDP

4 GND/SHIELD

Page 28 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 8 | SCHEMATIC

8.1 Eagle schematic


The EEG-SMT schematic is situated on the next page for quicker reference.

You can also download it as a stand-alone .pdf with better quality check the web page of EEG-SMT
(located in the hardware section): https://www.olimex.com/Products/EEG/OpenEEG/EEG-SMT/

Page 29 of 33
OLIMEX© 2012 EEG-SMT user's manual
R1 10k RST
+5VA +5VD RST ICSP
U1 MOSI 1 2 VIN
R3 R2 C1 100nF/X7R/10% 4 30 3 4 +5VD ISOLATED PART
RESET (ADC7)PA7
560R 100R 31 RST 5 6 U7

NA(USBLC6-2P6)
(ADC6)PA6 32 SCK 7 8 U2 +5V FET

100nF/X 7R/10%
6
5
4
FB /60 0 OH M /1 2 0 6 (3 2 1 6 1 1 C -6 0 1 )
4V_REF_ADC C2 39pF/COG/5% 7 (ADC5)PA5 33 MISO 9 10 7 1 +5V_USB IRLML6402

C73
XTAL2 (ADC4)PA4 VOUT+ VIN+
34 C11 C12 C14 C15

+
R6 R4 (ADC3)PA3

SR1
Q1 35

L1
10k/1% 9.1k/1% C3 8 (ADC2)PA2 36
HN2x5 DC-DC converter
10uF/6.3V/T ANT
39pF/COG/5%
XTAL1 (ADC1)PA1
C17
C6 C C5 C4 37 10uF/6.3V /T A NT 5 2

+
(ADC0)PA0 VOUT- VIN-
2V_REF 7.3728M Hz/2 0pF/30ppm 100nF/X7R/10% 100nF/X 7R/10% 100nF/X7R/10%
R12

0R(NA) 1
2
3
R 3 TMV0505S 0V

100nF/X7R/10%

10nF/X7R/10%
10uF/6.3V/TANT

A 29 (SCK)PB7 2 10k

0R(NA)
AREF (MISO)PB6
R7 R5

AP431SA
1
10k/1% 15k/1% 27 (MOSI)PB5 44 ADC1 R9 7.5k/1%
+5VD PWREN R11
AVCC (SS)PB4 C16
43 ADC0 R10 7.5k/1% C13 1k
28 (AIN1)PB3 42 100nF/X7R/10% U4 USB
AGND U3

0R

0R
(AIN0/INT2)PB2 41 100nF/X7R/10% 1 4 1
(T1)PB1
C9 C10 TXD VCCIO

USB
40 8 1 5 20 2

R14
VCC1 VCC

R15
+5VA (T0)PB0 220nF /X7R/5%(08053C224JAT 2A/1740667)
7 VCC2 2 3 RXD 3
220nF /X7R/5%(08053C224JAT 2A/1740667)
INA OUTA RTS#
+5VD

Isolation
26 11 16 4
(TOSC2)PC7 CTS# USBDM
C30 25 6 3 2 15
(TOSC1)PC6 OUTB INB DTR# USBDP SHIELD
5 24 TDI 5 4 9
VCC PC5(TDI) GND2 GND1 DSR#
23 TDO 10 USB_B
PC4(TDO) DCD#
C35

100nF/X7R/10%
17 22 6 8
C34

ISO7221XD(SOIC8)
C33

C36

FT232RL
VCC1 PC3(TMS) TMS RI# NC1
8

3 IC4A 21 19
TCK
+

PC2(TCK) #RESET
1 2V_REF_BUF 38 20 24
VCC2 PC1(SDA) NC2
2 C8 C7 C72 19 23 27
10nF/X7R/10%

100nF/X7R/10%

47µF/6.3V/TANT

10nF/X7R/10%

TLC277CD PC0(SCL) CBUS0 OSCI


+5VA +5VD

R63
C18

C19
VIN 22 28

C20

C21

C22
C31 CBUS1 OSCO
4

100nF/X7R/10%
100 nF/X 7R/10% 16 13

100nF/X7R/10%

+
100nF/X7R/10%
6 (OC2)PD7 15 14 CBUS2
GND (ICP)PD6 L3 L2 CBUS3
14 PD5 12 17

10uF/6.3V/TANT
100nF/X7R/10%

10nF/X7R/10%
NA

NA
(OC1A)PD5 CBUS4 3V3OUT
C32 18 13 22µH/± 10%/1.7ohm/80mA(LB2012T220K/ 8030984) 22µH/± 10%/1. 7ohm/80mA(LB2012T 220K/8030984)
GND1

1M
V_REF (OC1B)PD4

C29

C26

R13
12

C28

C27

C25

C24
+

100nF/X 7R/10%
AGND
(INT1)PD3

TEST
39 11 Z1 PWR

C23
GND

GND

GND
+

+
GND2 (INT0)PD2 10 3mm_Red
(TXD)PD1 9

100nF/X7R/10%

100nF/X7R/10%
47µF/6.3V/TANT

47µF/6.3V/TANT
10nF/X 7R/10%

10nF/X7R/10%
47µF/10%/6.3V/TANT(C)/ESR 0.25 ohm (TR3C476K6R3C0250/1754044) (RXD)PD0 BZV55C6V2

NA
25
26
21

18

7
ATMEGA16 R62
V_CAL R16 R19 R20 PD5 R52 560R
0R

10k/1% 1M/1% 1M/1% 0R(NA) FT232RL/SSOP28


R17 voltage divider 1:20000 PD5 is PWM output
100R/1% 5Vp-p +/-10% => 250µVp-p +/-10% for cal-signal
R18 250µVpp +/-10%, 0.1 .. 100Hz
Square wave Calibration Signal
GND_CAL 10k/1%
Instrumental Amplifier High-Pass filter Non-Inverter Amplifier High-Pass filter 3rd order "Besselworth" filter, fc = 59 Hz.
V_REF
G=12.36 1 pole G=11..101 1 pole The 3rd pole is located on the digital part.
HF rejection High Voltage protection
+5VA Fc=0.16Hz G=40 Fc=0.16Hz G= 13
PGB1010603MR(F25 94 TR-ND) R8 V_REF
+5VA +5VA
CH1_IN- U5 INA114BU/1K
PGS1

R21 NA(10M) D1
CH1_IN- R23 2.2k/1% 4 12 C57 33nF/X7R/5%(06 035 C3 33JAT 2A/1 740618) C64
V-IN FB IC1A
C51 IC1B
C39

3-R 2.2k/1% BAV199(1156415)


25k 25k
MCP607-I/SN
R24 2.2k/1%
100pF/COG/5%

2 11 3 MCP607-I/SN
2 R57 RG 25k
VO 1 C55 R44 R46 5 100nF/X7R/10%
+5VA

8
1-L +5VA R25 2.2k/1% 15 10 1uF/X5R/10% 2 7
100R RG 25k
REF 10k/1% 15k/1%
SCJ325P 00XG0B02G C37 1uF/X5R/10% 6 C63
R26 2.2k/1% 5 13 C46 R38 100k/1% C59
C40

25k 25k 100nF/X7R/10%


CH1_IN+ V+IN V+ 7
NC
NC
NC
NC
NC
NC
NC

10nF/X7R/10% C45 R36 TR1 R42 R50 100k/1% 100nF/X7R/10%


100pF/COG/5%

R58 D2 R40

2
V- 20k 1

4
1-L 100nF/X7R/10% 1M/1% 3 C53 1nF/X7R/10% 1M/1% 220nF /X7R/5%(08053C224JAT 2A/ 1740667)
C65
+5VA IC3B C47 R48 C61
16
1
3
6
8
9
14

2 5 100nF/X7R/10% 1nF/X7R/10%
100R BAV199(1156415)
7 R33 3 1 1k
3-R CH1_IN+ R22 8.2k/1% 100nF/X7R/10%
PGS2

6
R53
10k/1%
2.2k/1% V_REF
NA(10M )
+5VA MCP607-I/SN V_REF V_REF V_REF V_REF V_REF V_REF
SCJ325P 00XG0B02G PGB1010603MR(F25 94 TR-ND)
PGB1010603MR(F25 94 TR-ND) +5VA +5VA
CH2_IN- U6 INA114BU/1K
PGS3

CH2_IN- R27 R54 V_REF D3 R29 C58


NA (10M ) 2.2k/1% 4 12 33nF/X7R/5%(06 035 C3 33JAT 2A/1 740618) C67
V-IN FB IC2A
C52 IC2B
C41

25k
3-R 2.2k/1% BAV199(1156415) 25k
MCP607-I/SN
R30 2.2k/1%
100pF/COG/5%

2 11 3 MCP607-I/SN
2 R59 RG 25k
VO 1 C56 R45 R47 5 100nF/X7R/10%
+5VA

8
1-L R31 2.2k/1% 15 10 1uF/X5R/10% 2 7
100R +5VA RG 25k
REF 10k/1% 15k/1%
SCJ325P 00XG0B02G C38 1uF/X5R/10% 6 C66
R32 2.2k/1% 5 13 C49 R39 100k/1% C60
C42

25k 25k 100nF/X7R/10%


CH2_IN+ V+IN V+ 7
NC
NC
NC
NC
NC
NC
NC

10nF/X7R/10% C48 R37 TR2 R43 R51 100k/1% 100nF/X7R/10%


100pF/COG/5%

R60 D4 R41
2
V- 20k 1

4
1-L 100nF/X7R/10% 1M/1% 3 C54 1nF/X7R/10% 1M/1% 220nF /X7R/5%(08053C224JAT 2A/ 1740667)
C68
+5VA IC3A C50 R49 C62
16
1
3
6
8
9
14

100nF/X7R/10% 1nF/X7R/10%
2 100R BAV199(1156415)
3 1 1k
3 R34
3-R CH2_IN+ R28 8.2k/1% 100nF/X7R/10%
PGS4

1
2 +5VA
2.2k/1% R55 V_REF 10k/1%
SCJ325P 00XG0B02G PGB1010603MR(F25 94 TR-ND)
V_REF V_REF V_REF V_REF V_REF V_REF
MCP607-I/SN C69
NA(10M) Right-leg driver (DRL) notes:
DRL +5VA
EEG-SMT_rev_B
8

SCJ325P 00XG0B02G
C43 1nF/X7R/10%
100nF/X7R/10%
If TR3 is needed, adjust potentiometer so DRL=0mV (referred to V_REF)
IC4B C70 when _all_ amplifier inputs are shorted to the DRL output (R_LEG).
1-L R61 NA
OLIMEX LTD, BULGARIA
D5 TLC277CD 6 COM 100nF/X7R/10%
R56 R35 7
2 TR3_DIS C71 Important usage instructions for the DRL.
4

5 1 2
PGS5

3-R DRL 2.2k/1% 200k/1% VREF If you only want to use one channel, never let the other channel float.
TR3
https://www.olimex.com
2

BAV199(1156415) C44 1nF/X7R/10% 3 1 Close AGND 100nF/X7R/10% Always connect the unused terminals to V_REF, or the DRL will not work properly.
PGB1010603 MR(F2 594T R-ND)
3 1 NA(20k)??? V_REF V_REF DRL design from http://www.biosemi.com/publications/artikel7.htm, fig.3

Page 30 of 33
OLIMEX© 2012 EEG-SMT user's manual

8.2 Physical dimensions (without the case)


The board is shipped in a protective PVC case. These are the bare board dimensions.

Note: All measurements are in INCHES.

Page 31 of 33
OLIMEX© 2012 EEG-SMT user's manual

CHAPTER 9 | REVISION INFO AND USEFUL WEB LINKS

9.1 Document revision

Modified
Revision Changes
Pages

A Initial Creation All

Added additional info on changing COM port


B number and added info on how to resolve a conflict 10.11
with the mouse
Added info on how to change the latency timer so
C 11.12
you can receive responses more often

D Added new solution to the serial mouse problem 12

Updated the name of the device in the document,


E All
updated links
Changed the template formatting of the document,
F added info about OpenVibe, changed schematic with All
a searchable one, fixed various errors and mistakes
Added new section, how to run more than one EEG-
G 17
SMT on the same computer
Changed disclaimer to fit properly the open
H 2
hardware tag of the board

9.2 Web page of your device


The web page you can visit for more info on your device is
https://www.olimex.com/Products/EEG/OpenEEG/EEG-SMT/. There you can find more info and
some examples.

Page 32 of 33
OLIMEX© 2012 EEG-SMT user's manual

9.3 Ordering info


ORDER CODES:

EEG-SMT - assembled, programmed, tested, calibrated EEG device


EEG-AE - active electrode
EEG-PE - passive electrode
USB-CABLE - USB A to B cable 1.5 meter for EEG-SMT

How to order?

You can order from our web shop or from any of our distributors. List of distributors:
https://www.olimex.com/Distributors

Check our web site https://www.olimex.com/ for more info.

Page 33 of 33

Vous aimerez peut-être aussi