<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.opencircuits.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=204.80.61.114</id>
	<title>OpenCircuits - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.opencircuits.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=204.80.61.114"/>
	<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Special:Contributions/204.80.61.114"/>
	<updated>2026-09-15T00:00:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5341</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5341"/>
		<updated>2007-07-18T13:13:01Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* Description of How it Works */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit, for example, 60Hz noise from nearby A/C power wiring.&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the PIC18 which will, further process the signals, and provide an interface to a computer.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using EAGLE CAD to draw the scematic.&lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is digitised by a analog to digital converter. The a/d converter has aproxamitly 20 bits acuracy so the signal does not have to be conditioned or filtered as much.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the PIC18 useing great cows basic.&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* EAGLE CAD is being used to create the first PCB surface mount is used to save space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and math displays.&lt;br /&gt;
*SPI interface for a/d converters&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*GEDA tools may be a option for opening this design to a wider audience.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the UBW which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 20 bit ADC.&lt;br /&gt;
&lt;br /&gt;
''(In 2007-02, some one claimed &amp;quot;We expect this project to require at least 20 bit ADC.&amp;quot; -- why? Many people (*) do EKGs with only 10 bit converters.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* $12.00 The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS. It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
* TI app note [http://focus.ti.com/docs/solution/folders/print/272.html &amp;quot;Biophysical Monitoring: Electrocardiogram (ECG) Front End&amp;quot;] has a simple circuit: 390 KOhm resistors in-line with each lead -- one end touches patient, the other end directly connected to the instrumentation amp input (or the right-leg drive amplifier output, which has no further protection). The inst. amp has 2 protection diodes on each input, directly to +power and -power. Also, 39 pF capacitor from each input to analog GND, and 200 pF between the 2 inputs. The TI publication &amp;quot;Information for Medical Applications&amp;quot; (2Q 2004) reprints that circuit, but leaves out the caps and the diodes.&lt;br /&gt;
* (*) [http://www.ieeta.pt/~escadas/ucecg/applications.htm Some people use 420 Hz sampling rate, 10 bits/sample.]&lt;br /&gt;
* [http://bsamig.uku.fi/pdf/QRSdet.pdf &amp;quot;High-Resolution QRS Detection Algorithm for Sparsely Sampled ECG Recordings&amp;quot;] by Timo Bragge et. al. 2004 recommends: &amp;quot;the sampling frequency of the ECG should be at least 500 Hz&amp;quot;&lt;br /&gt;
* [http://www.analog.com/library/analogDialogue/archives/29-3/low_power.html &amp;quot;Low-Power, Low-Voltage IC Choices for ECG System Requirements&amp;quot;] by Jon Firth and Paul Errico says &amp;quot;The multiplexed architecture, based on an old assumption that the converter is by far the most-expensive front-end component, is prevalent in today's electrophysiological measurement systems. However, with the proliferation of sigma-delta converter architectures, converter-per-channel is now a power- and cost-competitive alternative&amp;quot;. It also gives a typical schematic for both architectures and suggests some parts.&lt;br /&gt;
* Is there a [http://www.electronicproducts.com/ShowPage1.asp?SECTION=&amp;amp;PRIMID=&amp;amp;FileName=medtelconf3%2Ejul2004%2Ehtml&amp;amp;ReturnLink=%2FSearch1%2Easp%3FManufacturer%3D%26Keyword%3Dimplantables%26Slot%3D0%26StartNum%3D1%26stype%3D%26year%3D10&amp;amp;MonthYear=Jul+2004 Medical Electronics Forum]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=User_talk:DavidCary&amp;diff=5340</id>
		<title>User talk:DavidCary</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=User_talk:DavidCary&amp;diff=5340"/>
		<updated>2007-07-18T13:08:26Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* a talk through Wiki Howto */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Why don't you help finish my programmable chip eeg project and then use what you learned and the results to then create your own project. Programmers like to reuse working modulas instead of reinventing the wheel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==a talk through Wiki Howto==&lt;br /&gt;
The pceeg has gone through a major revision streamlining its design and I am working on the father board a digital computing board for the project. I will be cleaning up the page. &lt;br /&gt;
Hi DavidCary&lt;br /&gt;
&amp;lt;br&amp;gt;Thank you very much you create this wiki to let us to share electronic projects. &lt;br /&gt;
&amp;lt;br&amp;gt;I want to merge the &amp;quot;[[RS232 Dev Board]]&amp;quot; and &amp;quot;[[RS232 RS485 USB Converter Board]]&amp;quot;, so want to discuss to the author, Tkb, of &amp;quot;RS232 Dev Board&amp;quot;. However, i cannot find out the talk page like i talk to you by this way. Can you point me how to do it?&lt;br /&gt;
&amp;lt;br&amp;gt;thanks&lt;br /&gt;
&amp;lt;br&amp;gt;[[User:Yan|yan]]&lt;br /&gt;
&lt;br /&gt;
''If you have a question or comment specifically about the &amp;quot;RS232 Dev Board&amp;quot;, please leave a comment on the [[RS232 Dev Board]] page or its &amp;quot;discussion&amp;quot; page.''&lt;br /&gt;
''You can click on &amp;quot;[[User talk:Tkb]]&amp;quot; to leave a note on Tkb's user talk page.''&lt;br /&gt;
''Since there are more people watching the &amp;quot;RS232 Dev Board&amp;quot; page than Tkb's page, you'll probably get a quicker response if you post to the &amp;quot;RS232 Dev Board&amp;quot; page than to Tkb's page.''&lt;br /&gt;
''--[[User:DavidCary|DavidCary]] 20:00, 29 December 2006 (PST)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[User:Chazegh|Chazegh]] created this &amp;quot;Open Circuits wiki&amp;quot;.&lt;br /&gt;
I am flattered that you think I had something to do with it.&lt;br /&gt;
But since Chazegh seems to be too busy to spend much time here,&lt;br /&gt;
it's up to you and I (and whoever else we can recruit) to create content here.&lt;br /&gt;
--[[User:DavidCary|DavidCary]] 21:08, 29 December 2006 (PST)&lt;br /&gt;
&lt;br /&gt;
5.7.2007 Joe Silva:&lt;br /&gt;
Hi David, great site! I've taken the liberty to remove some SPAM links from the pages. Yeah we sure do need an anti-valdalism bot. Also maybe not allow anonymous editing.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Aloha David,&lt;br /&gt;
Roger here, I'm still puzzeled as to how to create a new article.  I uploaded an image file for the 723 regulator (my article subject).  This went into an &amp;quot;Image File page&amp;quot;  automatically, OK.  I added it to the Voltage Regulators section of Components/Integrated Circuits, OK.  But I couldn't figure out how to make a document like there is for LT1528 OO.  I put the info I have into the discussion page for the image, but that is only a temporary solution.&lt;br /&gt;
&lt;br /&gt;
How does one create a new article page that isn't a &amp;quot;talk&amp;quot; page for something else?  Beside the info on the IC, I have a couple of documents that are in-depth on using the device.  These should be near each other as well as near the info document above.  How would I go about setting up a &amp;quot;723&amp;quot; sub-chapter of &amp;quot;Integrated Circuits&amp;quot;?  I guess that's as clear as I can make the question.&lt;br /&gt;
&lt;br /&gt;
I would also like to suggest a modification to the linkage.  I'm reading the synopsis on the LT1528, I want to find oout more, so I click on the image, but instead of taking me to an in-depth article, it takes me to the image file page.  There I have to look at the Links to find the article (which is only identified as LT1528).  I'd like to be taken to the article instead of the image.  Take me to the image only if there is no article.  Of course this may be more difficult to make happen--I don't know how the site is structured.  My web programming is very basic.  Still, I think this makes sense from a user's POV.&lt;br /&gt;
&lt;br /&gt;
Thanks in Advance,&lt;br /&gt;
[[User:RogerAF|RAF]] 17:26, 22 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Aloha, Roger.&lt;br /&gt;
You're doing great.&lt;br /&gt;
&lt;br /&gt;
I agree that it would be nice if clicking on the picture of the LT1528 took you directly to the article about the LT1528.&lt;br /&gt;
I don't know how to fix it.&lt;br /&gt;
&lt;br /&gt;
Do you see the &amp;quot;Help&amp;quot; link in the navigation bar on the left side of every page?&lt;br /&gt;
I think the page it brings up needs a few more tips.&lt;br /&gt;
But I want to keep it short and simple.&lt;br /&gt;
If I explained every detail, it would become a bloated 100-page document that nobody would read.&lt;br /&gt;
&lt;br /&gt;
There are already far too many bloated 100-page documents about electronics.&lt;br /&gt;
&lt;br /&gt;
I hope that you, dear reader, and other volunteers will make Open Circuits into a place where people can learn to do amazing things.&lt;br /&gt;
A place that avoids forcing people to learn 100 irrelevant details before learning the one thing they need to know before they get back to building their robot (or whatever).&lt;br /&gt;
A place that never makes people throw away good ideas, because we never confuse people into believing that it would be far more complicated and expensive to build than it really is.&lt;br /&gt;
&lt;br /&gt;
p.s.:&lt;br /&gt;
Picking the name of a page is a bit of an art.&lt;br /&gt;
Since we want to refer to a page a lot, that's easier when the name is very short.&lt;br /&gt;
People new to wiki always pick names that are too long, or have too many capital letters.&lt;br /&gt;
Fortunately, it's very simple to rename pages.&lt;br /&gt;
You rename pages by clicking on the incorrectly-named &amp;quot;Move this page&amp;quot; button.&lt;br /&gt;
(I don't know how to fix that, either).&lt;br /&gt;
--[[User:DavidCary|DavidCary]] 10:15, 23 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
=== making links ===&lt;br /&gt;
&lt;br /&gt;
Speaking of linkage, making links is one of the most important parts of this wiki.&lt;br /&gt;
&lt;br /&gt;
Whenever you find one article mentioning some other article, you can click on that word to get more detail.&lt;br /&gt;
&lt;br /&gt;
If that word is not already clickable (underlined and colored), please make it clickable.&lt;br /&gt;
To make a word clickable, hit the &amp;quot;edit&amp;quot; button at the top of the page.&lt;br /&gt;
Then add double brackets &amp;lt;nowiki&amp;gt;&amp;quot;[[&amp;quot;&amp;lt;/nowiki&amp;gt; and &amp;lt;nowiki&amp;gt;&amp;quot;]]&amp;quot;&amp;lt;/nowiki&amp;gt; around that word.&lt;br /&gt;
(Some people recommend only making the first mention of that word clickable).&lt;br /&gt;
&lt;br /&gt;
The cheatsheet ( http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet ) calls this an &amp;quot;internal link&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Here's the trick: you can add those brackets to any word, making it into a link.&lt;br /&gt;
Some of those links will go to pages that don't exist yet.&lt;br /&gt;
&lt;br /&gt;
What happens when you click on one of those links to a page that doesn't exist yet?&lt;br /&gt;
&lt;br /&gt;
I'm not going to tell you what happens.&lt;br /&gt;
Go find out for yourself.&lt;br /&gt;
You can practice in the [[meta:Sandbox]].&lt;br /&gt;
&lt;br /&gt;
--[[User:DavidCary|DavidCary]] 10:15, 23 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Aloha David,&lt;br /&gt;
Roger again; I want to thank you for the info and hints.  I'm catching on.  I got my component description linked to the caption under the image on the Components/Voltage Regulators page.  And I created a &amp;quot;New Article&amp;quot; which I then &amp;quot;moved&amp;quot; to the title of my article.  And my article has a link to the description and that has a link to the article, so I'm getting the hang of it.  I have several schematics and PC artwork images to upload and link to my article, plus a second article I want to publish (I didn't write it, but I've been unable to find it on the internet--I have a xeroxed copy from 1986 or so and that is the only existing one as far as I know).  That article also has several images that go along with it.  I wondered about the feasability of uploading a .pdf file (I made one of it) to this site.  Would that work?  Should I even try?  I don't want to screw anything up, but wouldn't that be a lovely thing if we could upload .pdf files?  Just a thought.&lt;br /&gt;
&lt;br /&gt;
Again, Thanks very much, I've made some progress.&lt;br /&gt;
&lt;br /&gt;
[[User:RogerAF|RAF]] 19:48, 23 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Aloha, Roger.&lt;br /&gt;
You are welcome.&lt;br /&gt;
Have you tried creating a link to an article that doesn't exist yet, just to see what happens when you click on that link? For example, the [[switching regulator]] page that I'm going to start in a few days.&lt;br /&gt;
&lt;br /&gt;
I don't know about this article that you didn't write.&lt;br /&gt;
If the original author wants people to post it widely, and doesn't mind us editing it, then great, let's post it (and give correct attribution).&lt;br /&gt;
But some writers go a little crazy when they see that someone random stranger has copied their stuff and posted it to the internet.&lt;br /&gt;
(That's why there's that &amp;quot;DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!&amp;quot; note at the bottom of each Edit page).&lt;br /&gt;
&lt;br /&gt;
I wouldn't mind you posting a .pdf file (that you wrote) temporarily.&lt;br /&gt;
It's better than nothing.&lt;br /&gt;
But I would expect someone to eventually convert it to text-and-images.&lt;br /&gt;
That makes it much easier for the next person to improve the it.&lt;br /&gt;
&lt;br /&gt;
Thank you again for adding useful information to Open Circuits.&lt;br /&gt;
I hope you won't mind people &amp;quot;improving&amp;quot; the things you post here.&lt;br /&gt;
&lt;br /&gt;
--[[User:DavidCary|DavidCary]] 21:26, 23 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Aloha David,&lt;br /&gt;
Sorry for the delay, I had a loonng job and then our cable modem failed.  At least they swapped us a new one free (hooray RoadRunner).  But I want to explain the article: &amp;quot;The Many-Talented 723&amp;quot; by Glenn Prescott.  I came across this as a xerox copy sometime around 1985.  It was evidently published in a magazine for radio enthusiasts--there are some ads on the last page for radio gear.  But the name of the magazine isn't on any of the pages.  I Googled for the article and got no returns.  I think it is a very good article as far as describing the IC and how to use it.  It helped me when I was a beginner, so I want to share it.  However, I don't want anyone to get into trouble over it.  I just did another search on Google and all the returns refer to my mention of it here on Open Circuits.  Like I said, this is a copy that I have, no clue as to the magazine that published it, no copyright date, no nothin'.  But I will leave it to your judgement if it is a risk.  I still have my own article to get uploaded along with images.  I will concentrate on getting mine done before doing anything with the copied article.&lt;br /&gt;
&lt;br /&gt;
[[User:RogerAF|RAF]] 20:27, 26 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Unless the author has given permission to publish it, I think a better idea would be to write your own article, citing the one you're talking about further details. Ideas are not copyright, but the expression of them (i.e. the text of the article) is, or so I understand. [[User:Autarch|Autarch]] 10:22, 13 June 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
== spammers ==&lt;br /&gt;
&lt;br /&gt;
I think I know how to dramatically reduce the amount of linkspam on the website i think if the administrators on this site protect pages that are frequently spammed such as [[Open Circuits talk:Community Portal]] that will reduce the amount of spam on this site because the spammers will not be able to edit those pages.--[[User:71.234.233.163|71.234.233.163]] 08:21, 2 June 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
:I just signed up a few minutes ago and noticed that there seems to be a lot of linkspam being placed by unregistered users. I don't want to exclude folk, but would only allowing registered users to edit cut down some of the spam? [[User:Autarch|Autarch]] 09:53, 13 June 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
::You are right.&lt;br /&gt;
::Certainly that is one way to cut down on spam, and perhaps I will be forced to do that soon.&lt;br /&gt;
&lt;br /&gt;
Another way, as you can see from [[Special:Ipblocklist]], I've been banning a bunch of anonymous spammers.&lt;br /&gt;
&lt;br /&gt;
:But is there another, better way to reduce spam?&lt;br /&gt;
&lt;br /&gt;
:I want to avoid a problem I am starting to notice.&lt;br /&gt;
:Sometimes I see a tiny little typo or technopropisms or some other tiny little thing that I could easily fix&lt;br /&gt;
:( http://communitywiki.org/WhyWikiWorks ).&lt;br /&gt;
:But someone has built a huge barrier that prevents me from helping.&lt;br /&gt;
:We want a system in a way that makes it very easy for anyone to help us.&lt;br /&gt;
:Certainly too much spam is leaking through just now, but I don't want to go to the opposite extreme and make people go through a big complicated procedure in order to improve a schematic or fix a typo.&lt;br /&gt;
:--[[User:DavidCary|DavidCary]] 21:39, 21 June 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
::That's a very noble way of thinking. I also like to be able to edit anonymously... There are enough sites you have to register for already. --SebDE&lt;br /&gt;
&lt;br /&gt;
::I know how to greatly reducethe amount of spam without stopping anomyomus ips from editing you can install a spam filter [http://wiki.cotch.net/index.php/Spam_filter like the one at my website EvoWiki] we usually dont get much spam at EvoWiki because we have a spam filter.--[[User:71.234.233.163|71.234.233.163]] 15:01, 22 June 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
:::Indeed, a black list based on words is the way to go here. BTW this seems to be an extension you need to install from [http://meta.wikimedia.org/wiki/SpamBlacklist_extension there]&lt;br /&gt;
:::And an easy way to monitor for spam can help, too. The spam cops around here might want to check out those [http://en.wikipedia.org/wiki/Wikipedia:Tools/Editing_tools wiki editing tools] ;) --SebDE&lt;br /&gt;
::::Bummer, they recently moved the BalckList Extension to the Extension namespace http://www.mediawiki.org/wiki/Extension:SpamBlacklist&lt;br /&gt;
::::Anyways, if you've problem with installing that or in doubt of maintaining - I run several mediawikis for private use and am quite advanced with regexes, although only very simple ones are needed for the BlackList.&lt;br /&gt;
::::--SebDE&lt;br /&gt;
:::::Well I just digged through the code of the Extension and spotted a spam filter option that is already there in the MediaWiki software. It would involve edititing the configuration for any new spam pattern, tough. --SebDE&lt;br /&gt;
&lt;br /&gt;
'''Anonymous Edits?'''&lt;br /&gt;
Aloha from Honolulu David,&lt;br /&gt;
I just got an email saying my page had been edited by an anonymous user.  I don't know who this is, there is nothing his/her page.  I would not be complainig if the edits had improved things, but all they did was delete information.  Perhaps it is their sense of humor.&lt;br /&gt;
I am glad there is the record of changes made, so I can try to recover what was removed.  Just to let you know that apparently spammers are not all you have to worry about.&lt;br /&gt;
&lt;br /&gt;
Roger&lt;br /&gt;
[[User:RogerAF|RAF]] 05:58, 9 July 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
P. S.&lt;br /&gt;
&lt;br /&gt;
I just finished replacing what had been rmoved.  Again, I'm grateful for the changes records.  I also left a note to whoever did it.  I think possibly it was unintentional.  I hope that's the case.&lt;br /&gt;
&lt;br /&gt;
It occurred to me that perhaps editing should not be allowed by anonymous users.  Perhaps there could be a special page that allowed anonimity, but require identification from anyone who wants to perform edits on pages that others have posted.&lt;br /&gt;
&lt;br /&gt;
I don't know how you'd acomplish it.  I'm just a bit po'd that this can happen.  He could have easily deleted the whole page.  I'm glad it was easy to repair, but I will be moving come the middle of August and I may not have email for a week or two, possibly longer.  So if something like this happened then, I would not know for some time.  Then it would be a problem.  Forgive my rant, but see my point?  I'll leave it at that and check back later.&lt;br /&gt;
&lt;br /&gt;
[[User:RogerAF|RAF]] 06:23, 9 July 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
I'm sorry that your page was damaged.&lt;br /&gt;
Certainly, blocking &amp;quot;ip users&amp;quot; would have stopped this particular problem.&lt;br /&gt;
But is there a better solution?&lt;br /&gt;
One that doesn't force people to go through a &amp;quot;identification process&amp;quot; before fixing a little typo?&lt;br /&gt;
--[[User:DavidCary|DavidCary]] 14:45, 9 July 2007 (PDT)&lt;br /&gt;
:Yes, there is, I already posted this. http://www.mediawiki.org/wiki/Extension:SpamBlacklist&lt;br /&gt;
:4 simple steps:&lt;br /&gt;
:* Create an article for spam phrases -- I'll pop up more often (even create an account) and help maintaining this list ;)&lt;br /&gt;
:* Protect this Article against anonymous edits&lt;br /&gt;
:* Install the Extension&lt;br /&gt;
:* Configure the extension to use the just created Article (in this example [[spam blacklist]]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/SpamBlacklist/SpamBlacklist.php&amp;quot; );&lt;br /&gt;
$wgSpamBlacklistFiles = array(&lt;br /&gt;
   &amp;quot;DB: $wgDBname spam_blacklist&amp;quot;,&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:If you've any questions you can contact me: ogcsisq02@sneakemail.com&lt;br /&gt;
:--SebDE&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5213</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5213"/>
		<updated>2007-07-10T17:47:10Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* Parts used in the PCEEG: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in 1168&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit, for example, 60Hz noise from nearby A/C power wiring.&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the PIC18 which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using EAGLE CAD to draw the scematic.&lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Band reject filters may be added soon in the future.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly]&lt;br /&gt;
&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* Eagle CAD could be used in the future after all the parts are surface mount &amp;amp; the analog sections are alalised. To autorout future designs.&lt;br /&gt;
* Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and matth displays.&lt;br /&gt;
&lt;br /&gt;
*[[I2C]] interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*migrate from switcher cad to pcb express.&lt;br /&gt;
*migrate from pcb express to eagle cad after testing to further development.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the UBW which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 20 bit ADC.&lt;br /&gt;
&lt;br /&gt;
''(In 2007-02, some one claimed &amp;quot;We expect this project to require at least 20 bit ADC.&amp;quot; -- why? Many people (*) do EKGs with only 10 bit converters.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* $12.00 The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS. It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
* TI app note [http://focus.ti.com/docs/solution/folders/print/272.html &amp;quot;Biophysical Monitoring: Electrocardiogram (ECG) Front End&amp;quot;] has a simple circuit: 390 KOhm resistors in-line with each lead -- one end touches patient, the other end directly connected to the instrumentation amp input (or the right-leg drive amplifier output, which has no further protection). The inst. amp has 2 protection diodes on each input, directly to +power and -power. Also, 39 pF capacitor from each input to analog GND, and 200 pF between the 2 inputs. The TI publication &amp;quot;Information for Medical Applications&amp;quot; (2Q 2004) reprints that circuit, but leaves out the caps and the diodes.&lt;br /&gt;
* (*) [http://www.ieeta.pt/~escadas/ucecg/applications.htm Some people use 420 Hz sampling rate, 10 bits/sample.]&lt;br /&gt;
* [http://bsamig.uku.fi/pdf/QRSdet.pdf &amp;quot;High-Resolution QRS Detection Algorithm for Sparsely Sampled ECG Recordings&amp;quot;] by Timo Bragge et. al. 2004 recommends: &amp;quot;the sampling frequency of the ECG should be at least 500 Hz&amp;quot;&lt;br /&gt;
* [http://www.analog.com/library/analogDialogue/archives/29-3/low_power.html &amp;quot;Low-Power, Low-Voltage IC Choices for ECG System Requirements&amp;quot;] by Jon Firth and Paul Errico says &amp;quot;The multiplexed architecture, based on an old assumption that the converter is by far the most-expensive front-end component, is prevalent in today's electrophysiological measurement systems. However, with the proliferation of sigma-delta converter architectures, converter-per-channel is now a power- and cost-competitive alternative&amp;quot;. It also gives a typical schematic for both architectures and suggests some parts.&lt;br /&gt;
* Is there a [http://www.electronicproducts.com/ShowPage1.asp?SECTION=&amp;amp;PRIMID=&amp;amp;FileName=medtelconf3%2Ejul2004%2Ehtml&amp;amp;ReturnLink=%2FSearch1%2Easp%3FManufacturer%3D%26Keyword%3Dimplantables%26Slot%3D0%26StartNum%3D1%26stype%3D%26year%3D10&amp;amp;MonthYear=Jul+2004 Medical Electronics Forum]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5212</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5212"/>
		<updated>2007-07-10T17:46:26Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* Parts used in the PCEEG: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in 1168&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit, for example, 60Hz noise from nearby A/C power wiring.&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the PIC18 which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using EAGLE CAD to draw the scematic.&lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Band reject filters may be added soon in the future.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly]&lt;br /&gt;
&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* Eagle CAD could be used in the future after all the parts are surface mount &amp;amp; the analog sections are alalised. To autorout future designs.&lt;br /&gt;
* Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and matth displays.&lt;br /&gt;
&lt;br /&gt;
*[[I2C]] interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*migrate from switcher cad to pcb express.&lt;br /&gt;
*migrate from pcb express to eagle cad after testing to further development.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly] which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 20 bit ADC.&lt;br /&gt;
&lt;br /&gt;
''(In 2007-02, some one claimed &amp;quot;We expect this project to require at least 20 bit ADC.&amp;quot; -- why? Many people (*) do EKGs with only 10 bit converters.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* $12.00 The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS. It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
* TI app note [http://focus.ti.com/docs/solution/folders/print/272.html &amp;quot;Biophysical Monitoring: Electrocardiogram (ECG) Front End&amp;quot;] has a simple circuit: 390 KOhm resistors in-line with each lead -- one end touches patient, the other end directly connected to the instrumentation amp input (or the right-leg drive amplifier output, which has no further protection). The inst. amp has 2 protection diodes on each input, directly to +power and -power. Also, 39 pF capacitor from each input to analog GND, and 200 pF between the 2 inputs. The TI publication &amp;quot;Information for Medical Applications&amp;quot; (2Q 2004) reprints that circuit, but leaves out the caps and the diodes.&lt;br /&gt;
* (*) [http://www.ieeta.pt/~escadas/ucecg/applications.htm Some people use 420 Hz sampling rate, 10 bits/sample.]&lt;br /&gt;
* [http://bsamig.uku.fi/pdf/QRSdet.pdf &amp;quot;High-Resolution QRS Detection Algorithm for Sparsely Sampled ECG Recordings&amp;quot;] by Timo Bragge et. al. 2004 recommends: &amp;quot;the sampling frequency of the ECG should be at least 500 Hz&amp;quot;&lt;br /&gt;
* [http://www.analog.com/library/analogDialogue/archives/29-3/low_power.html &amp;quot;Low-Power, Low-Voltage IC Choices for ECG System Requirements&amp;quot;] by Jon Firth and Paul Errico says &amp;quot;The multiplexed architecture, based on an old assumption that the converter is by far the most-expensive front-end component, is prevalent in today's electrophysiological measurement systems. However, with the proliferation of sigma-delta converter architectures, converter-per-channel is now a power- and cost-competitive alternative&amp;quot;. It also gives a typical schematic for both architectures and suggests some parts.&lt;br /&gt;
* Is there a [http://www.electronicproducts.com/ShowPage1.asp?SECTION=&amp;amp;PRIMID=&amp;amp;FileName=medtelconf3%2Ejul2004%2Ehtml&amp;amp;ReturnLink=%2FSearch1%2Easp%3FManufacturer%3D%26Keyword%3Dimplantables%26Slot%3D0%26StartNum%3D1%26stype%3D%26year%3D10&amp;amp;MonthYear=Jul+2004 Medical Electronics Forum]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5210</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5210"/>
		<updated>2007-07-10T17:42:06Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* Open Source Circuit Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in 1168&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit, for example, 60Hz noise from nearby A/C power wiring.&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the PIC18 which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using EAGLE CAD to draw the scematic.&lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Band reject filters may be added soon in the future.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly]&lt;br /&gt;
&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* Eagle CAD could be used in the future after all the parts are surface mount &amp;amp; the analog sections are alalised. To autorout future designs.&lt;br /&gt;
* Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and matth displays.&lt;br /&gt;
&lt;br /&gt;
*[[I2C]] interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*migrate from switcher cad to pcb express.&lt;br /&gt;
*migrate from pcb express to eagle cad after testing to further development.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
* The [http://opencircuits.com/Digitally_Programmable_Potentiometers Digitally Programmable Potentiometers AD5204] 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier.  (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly] which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 20 bit ADC.&lt;br /&gt;
&lt;br /&gt;
''(In 2007-02, some one claimed &amp;quot;We expect this project to require at least 20 bit ADC.&amp;quot; -- why? Many people (*) do EKGs with only 10 bit converters.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* $12.00 The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS. It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
* TI app note [http://focus.ti.com/docs/solution/folders/print/272.html &amp;quot;Biophysical Monitoring: Electrocardiogram (ECG) Front End&amp;quot;] has a simple circuit: 390 KOhm resistors in-line with each lead -- one end touches patient, the other end directly connected to the instrumentation amp input (or the right-leg drive amplifier output, which has no further protection). The inst. amp has 2 protection diodes on each input, directly to +power and -power. Also, 39 pF capacitor from each input to analog GND, and 200 pF between the 2 inputs. The TI publication &amp;quot;Information for Medical Applications&amp;quot; (2Q 2004) reprints that circuit, but leaves out the caps and the diodes.&lt;br /&gt;
* (*) [http://www.ieeta.pt/~escadas/ucecg/applications.htm Some people use 420 Hz sampling rate, 10 bits/sample.]&lt;br /&gt;
* [http://bsamig.uku.fi/pdf/QRSdet.pdf &amp;quot;High-Resolution QRS Detection Algorithm for Sparsely Sampled ECG Recordings&amp;quot;] by Timo Bragge et. al. 2004 recommends: &amp;quot;the sampling frequency of the ECG should be at least 500 Hz&amp;quot;&lt;br /&gt;
* [http://www.analog.com/library/analogDialogue/archives/29-3/low_power.html &amp;quot;Low-Power, Low-Voltage IC Choices for ECG System Requirements&amp;quot;] by Jon Firth and Paul Errico says &amp;quot;The multiplexed architecture, based on an old assumption that the converter is by far the most-expensive front-end component, is prevalent in today's electrophysiological measurement systems. However, with the proliferation of sigma-delta converter architectures, converter-per-channel is now a power- and cost-competitive alternative&amp;quot;. It also gives a typical schematic for both architectures and suggests some parts.&lt;br /&gt;
* Is there a [http://www.electronicproducts.com/ShowPage1.asp?SECTION=&amp;amp;PRIMID=&amp;amp;FileName=medtelconf3%2Ejul2004%2Ehtml&amp;amp;ReturnLink=%2FSearch1%2Easp%3FManufacturer%3D%26Keyword%3Dimplantables%26Slot%3D0%26StartNum%3D1%26stype%3D%26year%3D10&amp;amp;MonthYear=Jul+2004 Medical Electronics Forum]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5207</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5207"/>
		<updated>2007-07-10T17:23:02Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* A/D Converters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in 1168&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit, for example, 60Hz noise from nearby A/C power wiring.&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the PIC18 which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using EAGLE CAD to draw the scematic.&lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Band reject filters may be added soon in the future.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly]&lt;br /&gt;
&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* Eagle CAD could be used in the future after all the parts are surface mount &amp;amp; the analog sections are alalised. To autorout future designs.&lt;br /&gt;
* Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and matth displays.&lt;br /&gt;
&lt;br /&gt;
*[[I2C]] interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*migrate from switcher cad to pcb express.&lt;br /&gt;
*migrate from pcb express to eagle cad after testing to further development.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
* The [http://opencircuits.com/Digitally_Programmable_Potentiometers Digitally Programmable Potentiometers AD5204] 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier.  (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly] which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://www.thinkcycle.org/ Think Cycle]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 20 bit ADC.&lt;br /&gt;
&lt;br /&gt;
''(In 2007-02, some one claimed &amp;quot;We expect this project to require at least 20 bit ADC.&amp;quot; -- why? Many people (*) do EKGs with only 10 bit converters.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* $12.00 The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS. It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
* TI app note [http://focus.ti.com/docs/solution/folders/print/272.html &amp;quot;Biophysical Monitoring: Electrocardiogram (ECG) Front End&amp;quot;] has a simple circuit: 390 KOhm resistors in-line with each lead -- one end touches patient, the other end directly connected to the instrumentation amp input (or the right-leg drive amplifier output, which has no further protection). The inst. amp has 2 protection diodes on each input, directly to +power and -power. Also, 39 pF capacitor from each input to analog GND, and 200 pF between the 2 inputs. The TI publication &amp;quot;Information for Medical Applications&amp;quot; (2Q 2004) reprints that circuit, but leaves out the caps and the diodes.&lt;br /&gt;
* (*) [http://www.ieeta.pt/~escadas/ucecg/applications.htm Some people use 420 Hz sampling rate, 10 bits/sample.]&lt;br /&gt;
* [http://bsamig.uku.fi/pdf/QRSdet.pdf &amp;quot;High-Resolution QRS Detection Algorithm for Sparsely Sampled ECG Recordings&amp;quot;] by Timo Bragge et. al. 2004 recommends: &amp;quot;the sampling frequency of the ECG should be at least 500 Hz&amp;quot;&lt;br /&gt;
* [http://www.analog.com/library/analogDialogue/archives/29-3/low_power.html &amp;quot;Low-Power, Low-Voltage IC Choices for ECG System Requirements&amp;quot;] by Jon Firth and Paul Errico says &amp;quot;The multiplexed architecture, based on an old assumption that the converter is by far the most-expensive front-end component, is prevalent in today's electrophysiological measurement systems. However, with the proliferation of sigma-delta converter architectures, converter-per-channel is now a power- and cost-competitive alternative&amp;quot;. It also gives a typical schematic for both architectures and suggests some parts.&lt;br /&gt;
* Is there a [http://www.electronicproducts.com/ShowPage1.asp?SECTION=&amp;amp;PRIMID=&amp;amp;FileName=medtelconf3%2Ejul2004%2Ehtml&amp;amp;ReturnLink=%2FSearch1%2Easp%3FManufacturer%3D%26Keyword%3Dimplantables%26Slot%3D0%26StartNum%3D1%26stype%3D%26year%3D10&amp;amp;MonthYear=Jul+2004 Medical Electronics Forum]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5205</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5205"/>
		<updated>2007-07-10T17:20:09Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* ESD Protection in 1168 and Max3235E */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in 1168&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit, for example, 60Hz noise from nearby A/C power wiring.&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the PIC18 which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using EAGLE CAD to draw the scematic.&lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Band reject filters may be added soon in the future.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly]&lt;br /&gt;
&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* Eagle CAD could be used in the future after all the parts are surface mount &amp;amp; the analog sections are alalised. To autorout future designs.&lt;br /&gt;
* Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and matth displays.&lt;br /&gt;
&lt;br /&gt;
*[[I2C]] interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*migrate from switcher cad to pcb express.&lt;br /&gt;
*migrate from pcb express to eagle cad after testing to further development.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
* The [http://opencircuits.com/Digitally_Programmable_Potentiometers Digitally Programmable Potentiometers AD5204] 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier.  (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly] which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://www.thinkcycle.org/ Think Cycle]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 12 bit ADC.&lt;br /&gt;
&lt;br /&gt;
''(In 2007-02, some pundit made this project seem unnecessarily complicated by claiming &amp;quot;We expect this project to require at least 20 bit ADC.&amp;quot; -- why? Many people (*) do EKGs with only 10 bit converters.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* $12.00 The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS. It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
What low-cost ADC are available with at least 12 bits?&lt;br /&gt;
&lt;br /&gt;
* $2.50 MCP3301 has 1 ADC input (13 bits)&lt;br /&gt;
* $3.50 MCP3302 has 2 ADC input (13 bits)&lt;br /&gt;
* $3.50 MCP3204 has 4 ADC input (12 bits)&lt;br /&gt;
* $4 MCP3208 has 8 ADC input (12 bits)&lt;br /&gt;
* $8 dsPIC30F 2011 microcontroller has 8 ADC inputs (12 bits). See [[dsPIC30F 5011 Development Board]] for details.&lt;br /&gt;
* $6 CY8C27443 Cypress PSoC microcontroller has 4 ADC inputs (14 bits) -- but what is the sampling rate? Also has 4 DAC outputs (9 bits).&lt;br /&gt;
&lt;br /&gt;
* $56 biosemi used analog devices AD7716: four independent, simultaneous 22 bit ADCs.&lt;br /&gt;
* [http://www.maxim-ic.com/appnotes.cfm/an_pk/885 the Maxim MAX1460 includes a 16-bit ADC, 12-bit DAC], a programmable gain amp (PGA), temp sensor, and 16-bit processor. (Alas, its program is in unchangeable ROM).&lt;br /&gt;
* Analog Devices AduC812: 200kHz 12-bit ADC, 12-bit DAC, and flash-based 8051 MCU core.&lt;br /&gt;
&lt;br /&gt;
''I am astonished to discover that (a few) microcontrollers include 12 bit or more ADCs. Are there others?''&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
* TI app note [http://focus.ti.com/docs/solution/folders/print/272.html &amp;quot;Biophysical Monitoring: Electrocardiogram (ECG) Front End&amp;quot;] has a simple circuit: 390 KOhm resistors in-line with each lead -- one end touches patient, the other end directly connected to the instrumentation amp input (or the right-leg drive amplifier output, which has no further protection). The inst. amp has 2 protection diodes on each input, directly to +power and -power. Also, 39 pF capacitor from each input to analog GND, and 200 pF between the 2 inputs. The TI publication &amp;quot;Information for Medical Applications&amp;quot; (2Q 2004) reprints that circuit, but leaves out the caps and the diodes.&lt;br /&gt;
* (*) [http://www.ieeta.pt/~escadas/ucecg/applications.htm Some people use 420 Hz sampling rate, 10 bits/sample.]&lt;br /&gt;
* [http://bsamig.uku.fi/pdf/QRSdet.pdf &amp;quot;High-Resolution QRS Detection Algorithm for Sparsely Sampled ECG Recordings&amp;quot;] by Timo Bragge et. al. 2004 recommends: &amp;quot;the sampling frequency of the ECG should be at least 500 Hz&amp;quot;&lt;br /&gt;
* [http://www.analog.com/library/analogDialogue/archives/29-3/low_power.html &amp;quot;Low-Power, Low-Voltage IC Choices for ECG System Requirements&amp;quot;] by Jon Firth and Paul Errico says &amp;quot;The multiplexed architecture, based on an old assumption that the converter is by far the most-expensive front-end component, is prevalent in today's electrophysiological measurement systems. However, with the proliferation of sigma-delta converter architectures, converter-per-channel is now a power- and cost-competitive alternative&amp;quot;. It also gives a typical schematic for both architectures and suggests some parts.&lt;br /&gt;
* Is there a [http://www.electronicproducts.com/ShowPage1.asp?SECTION=&amp;amp;PRIMID=&amp;amp;FileName=medtelconf3%2Ejul2004%2Ehtml&amp;amp;ReturnLink=%2FSearch1%2Easp%3FManufacturer%3D%26Keyword%3Dimplantables%26Slot%3D0%26StartNum%3D1%26stype%3D%26year%3D10&amp;amp;MonthYear=Jul+2004 Medical Electronics Forum]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5204</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5204"/>
		<updated>2007-07-10T17:19:20Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in 1168&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit, for example, 60Hz noise from nearby A/C power wiring.&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the PIC18 which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using EAGLE CAD to draw the scematic.&lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168 and Max3235E ==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168 and Max3235E datasheet. &lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Band reject filters may be added soon in the future.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly]&lt;br /&gt;
&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* Eagle CAD could be used in the future after all the parts are surface mount &amp;amp; the analog sections are alalised. To autorout future designs.&lt;br /&gt;
* Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and matth displays.&lt;br /&gt;
&lt;br /&gt;
*[[I2C]] interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*migrate from switcher cad to pcb express.&lt;br /&gt;
*migrate from pcb express to eagle cad after testing to further development.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
* The [http://opencircuits.com/Digitally_Programmable_Potentiometers Digitally Programmable Potentiometers AD5204] 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier.  (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly] which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://www.thinkcycle.org/ Think Cycle]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 12 bit ADC.&lt;br /&gt;
&lt;br /&gt;
''(In 2007-02, some pundit made this project seem unnecessarily complicated by claiming &amp;quot;We expect this project to require at least 20 bit ADC.&amp;quot; -- why? Many people (*) do EKGs with only 10 bit converters.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* $12.00 The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS. It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
What low-cost ADC are available with at least 12 bits?&lt;br /&gt;
&lt;br /&gt;
* $2.50 MCP3301 has 1 ADC input (13 bits)&lt;br /&gt;
* $3.50 MCP3302 has 2 ADC input (13 bits)&lt;br /&gt;
* $3.50 MCP3204 has 4 ADC input (12 bits)&lt;br /&gt;
* $4 MCP3208 has 8 ADC input (12 bits)&lt;br /&gt;
* $8 dsPIC30F 2011 microcontroller has 8 ADC inputs (12 bits). See [[dsPIC30F 5011 Development Board]] for details.&lt;br /&gt;
* $6 CY8C27443 Cypress PSoC microcontroller has 4 ADC inputs (14 bits) -- but what is the sampling rate? Also has 4 DAC outputs (9 bits).&lt;br /&gt;
&lt;br /&gt;
* $56 biosemi used analog devices AD7716: four independent, simultaneous 22 bit ADCs.&lt;br /&gt;
* [http://www.maxim-ic.com/appnotes.cfm/an_pk/885 the Maxim MAX1460 includes a 16-bit ADC, 12-bit DAC], a programmable gain amp (PGA), temp sensor, and 16-bit processor. (Alas, its program is in unchangeable ROM).&lt;br /&gt;
* Analog Devices AduC812: 200kHz 12-bit ADC, 12-bit DAC, and flash-based 8051 MCU core.&lt;br /&gt;
&lt;br /&gt;
''I am astonished to discover that (a few) microcontrollers include 12 bit or more ADCs. Are there others?''&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
* TI app note [http://focus.ti.com/docs/solution/folders/print/272.html &amp;quot;Biophysical Monitoring: Electrocardiogram (ECG) Front End&amp;quot;] has a simple circuit: 390 KOhm resistors in-line with each lead -- one end touches patient, the other end directly connected to the instrumentation amp input (or the right-leg drive amplifier output, which has no further protection). The inst. amp has 2 protection diodes on each input, directly to +power and -power. Also, 39 pF capacitor from each input to analog GND, and 200 pF between the 2 inputs. The TI publication &amp;quot;Information for Medical Applications&amp;quot; (2Q 2004) reprints that circuit, but leaves out the caps and the diodes.&lt;br /&gt;
* (*) [http://www.ieeta.pt/~escadas/ucecg/applications.htm Some people use 420 Hz sampling rate, 10 bits/sample.]&lt;br /&gt;
* [http://bsamig.uku.fi/pdf/QRSdet.pdf &amp;quot;High-Resolution QRS Detection Algorithm for Sparsely Sampled ECG Recordings&amp;quot;] by Timo Bragge et. al. 2004 recommends: &amp;quot;the sampling frequency of the ECG should be at least 500 Hz&amp;quot;&lt;br /&gt;
* [http://www.analog.com/library/analogDialogue/archives/29-3/low_power.html &amp;quot;Low-Power, Low-Voltage IC Choices for ECG System Requirements&amp;quot;] by Jon Firth and Paul Errico says &amp;quot;The multiplexed architecture, based on an old assumption that the converter is by far the most-expensive front-end component, is prevalent in today's electrophysiological measurement systems. However, with the proliferation of sigma-delta converter architectures, converter-per-channel is now a power- and cost-competitive alternative&amp;quot;. It also gives a typical schematic for both architectures and suggests some parts.&lt;br /&gt;
* Is there a [http://www.electronicproducts.com/ShowPage1.asp?SECTION=&amp;amp;PRIMID=&amp;amp;FileName=medtelconf3%2Ejul2004%2Ehtml&amp;amp;ReturnLink=%2FSearch1%2Easp%3FManufacturer%3D%26Keyword%3Dimplantables%26Slot%3D0%26StartNum%3D1%26stype%3D%26year%3D10&amp;amp;MonthYear=Jul+2004 Medical Electronics Forum]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5202</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=5202"/>
		<updated>2007-07-10T17:02:21Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* PCEEG, What it is and why it can be the best */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in 1168&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168  datasheet.&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit, for example, 60Hz noise from nearby A/C power wiring.&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the PIC18 which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using LT switcher CAD to draw the scematic. &lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168 and Max3235E ==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168 and Max3235E datasheet. &lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Band reject filters may be added soon in the future.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly]&lt;br /&gt;
&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* Eagle CAD could be used in the future after all the parts are surface mount &amp;amp; the analog sections are alalised. To autorout future designs.&lt;br /&gt;
* Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and matth displays.&lt;br /&gt;
&lt;br /&gt;
*[[I2C]] interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*migrate from switcher cad to pcb express.&lt;br /&gt;
*migrate from pcb express to eagle cad after testing to further development.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
* The [http://opencircuits.com/Digitally_Programmable_Potentiometers Digitally Programmable Potentiometers AD5204] 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier.  (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly] which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://www.thinkcycle.org/ Think Cycle]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 12 bit ADC.&lt;br /&gt;
&lt;br /&gt;
''(In 2007-02, some pundit made this project seem unnecessarily complicated by claiming &amp;quot;We expect this project to require at least 20 bit ADC.&amp;quot; -- why? Many people (*) do EKGs with only 10 bit converters.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* $12.00 The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS. It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
What low-cost ADC are available with at least 12 bits?&lt;br /&gt;
&lt;br /&gt;
* $2.50 MCP3301 has 1 ADC input (13 bits)&lt;br /&gt;
* $3.50 MCP3302 has 2 ADC input (13 bits)&lt;br /&gt;
* $3.50 MCP3204 has 4 ADC input (12 bits)&lt;br /&gt;
* $4 MCP3208 has 8 ADC input (12 bits)&lt;br /&gt;
* $8 dsPIC30F 2011 microcontroller has 8 ADC inputs (12 bits). See [[dsPIC30F 5011 Development Board]] for details.&lt;br /&gt;
* $6 CY8C27443 Cypress PSoC microcontroller has 4 ADC inputs (14 bits) -- but what is the sampling rate? Also has 4 DAC outputs (9 bits).&lt;br /&gt;
&lt;br /&gt;
* $56 biosemi used analog devices AD7716: four independent, simultaneous 22 bit ADCs.&lt;br /&gt;
* [http://www.maxim-ic.com/appnotes.cfm/an_pk/885 the Maxim MAX1460 includes a 16-bit ADC, 12-bit DAC], a programmable gain amp (PGA), temp sensor, and 16-bit processor. (Alas, its program is in unchangeable ROM).&lt;br /&gt;
* Analog Devices AduC812: 200kHz 12-bit ADC, 12-bit DAC, and flash-based 8051 MCU core.&lt;br /&gt;
&lt;br /&gt;
''I am astonished to discover that (a few) microcontrollers include 12 bit or more ADCs. Are there others?''&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
* TI app note [http://focus.ti.com/docs/solution/folders/print/272.html &amp;quot;Biophysical Monitoring: Electrocardiogram (ECG) Front End&amp;quot;] has a simple circuit: 390 KOhm resistors in-line with each lead -- one end touches patient, the other end directly connected to the instrumentation amp input (or the right-leg drive amplifier output, which has no further protection). The inst. amp has 2 protection diodes on each input, directly to +power and -power. Also, 39 pF capacitor from each input to analog GND, and 200 pF between the 2 inputs. The TI publication &amp;quot;Information for Medical Applications&amp;quot; (2Q 2004) reprints that circuit, but leaves out the caps and the diodes.&lt;br /&gt;
* (*) [http://www.ieeta.pt/~escadas/ucecg/applications.htm Some people use 420 Hz sampling rate, 10 bits/sample.]&lt;br /&gt;
* [http://bsamig.uku.fi/pdf/QRSdet.pdf &amp;quot;High-Resolution QRS Detection Algorithm for Sparsely Sampled ECG Recordings&amp;quot;] by Timo Bragge et. al. 2004 recommends: &amp;quot;the sampling frequency of the ECG should be at least 500 Hz&amp;quot;&lt;br /&gt;
* [http://www.analog.com/library/analogDialogue/archives/29-3/low_power.html &amp;quot;Low-Power, Low-Voltage IC Choices for ECG System Requirements&amp;quot;] by Jon Firth and Paul Errico says &amp;quot;The multiplexed architecture, based on an old assumption that the converter is by far the most-expensive front-end component, is prevalent in today's electrophysiological measurement systems. However, with the proliferation of sigma-delta converter architectures, converter-per-channel is now a power- and cost-competitive alternative&amp;quot;. It also gives a typical schematic for both architectures and suggests some parts.&lt;br /&gt;
* Is there a [http://www.electronicproducts.com/ShowPage1.asp?SECTION=&amp;amp;PRIMID=&amp;amp;FileName=medtelconf3%2Ejul2004%2Ehtml&amp;amp;ReturnLink=%2FSearch1%2Easp%3FManufacturer%3D%26Keyword%3Dimplantables%26Slot%3D0%26StartNum%3D1%26stype%3D%26year%3D10&amp;amp;MonthYear=Jul+2004 Medical Electronics Forum]?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
	<entry>
		<id>http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=4791</id>
		<title>Programmable Chip EEG</title>
		<link rel="alternate" type="text/html" href="http://www.opencircuits.com/index.php?title=Programmable_Chip_EEG&amp;diff=4791"/>
		<updated>2007-06-25T12:23:10Z</updated>

		<summary type="html">&lt;p&gt;204.80.61.114: /* Hardware Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Programmable Chip EEG ==&lt;br /&gt;
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!&lt;br /&gt;
&lt;br /&gt;
== PCEEG, What it is and why it can be the best ==&lt;br /&gt;
* The [http://pceeg.sourceforge.net The Programmable Chip EEG] gets its name because its hardware and software can be adjusted digitaly from a home pc. &lt;br /&gt;
&lt;br /&gt;
* The hardware can be adjusted by [http://opencircuits.com/Programmable_Potentiometers Digitally Programmable Potentiometers]. They are used to set the Gain, and frequency responce.&lt;br /&gt;
This is usefull to calibrate multiple analog boards for different EEG tests.&lt;br /&gt;
&lt;br /&gt;
* [http://pceeg.sourceforge.net The Programmable Chip EEG] is a Modular Multi-channel electroencephalograph.&lt;br /&gt;
&lt;br /&gt;
* This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements. &lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.&lt;br /&gt;
&lt;br /&gt;
* Several matched [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signals.&lt;br /&gt;
&lt;br /&gt;
* ESD Protection in 1168 and Max3235E &lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168 and Max3235E datasheet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The [http://opencircuits.com/Digitally_Programmable_Potentiometers Digitally Programmable Potentiometers AD5204] 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier.  (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)&lt;br /&gt;
&lt;br /&gt;
* To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
* The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly] which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
We currently have a (preliminary?) [[circuit design]] and a (prelimary) [[PCB layout]].  &lt;br /&gt;
We are using LT switcher CAD to draw the scematic. &lt;br /&gt;
&lt;br /&gt;
== Hardware Overview ==&lt;br /&gt;
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together.&lt;br /&gt;
[[Image:Pceeg.jpg]]&lt;br /&gt;
Here is how the analog signal prossesing board will come together.&lt;br /&gt;
[[Image:newpceeghddesign.png]]&lt;br /&gt;
&lt;br /&gt;
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...&lt;br /&gt;
&lt;br /&gt;
==ESD Protection in 1168 and Max3235E ==&lt;br /&gt;
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168 and Max3235E datasheet. &lt;br /&gt;
&lt;br /&gt;
== Description of How it Works ==&lt;br /&gt;
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer. &lt;br /&gt;
&lt;br /&gt;
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.&lt;br /&gt;
&lt;br /&gt;
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.&lt;br /&gt;
&lt;br /&gt;
Band reject filters may be added soon in the future.&lt;br /&gt;
&lt;br /&gt;
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.&lt;br /&gt;
&lt;br /&gt;
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly]&lt;br /&gt;
&lt;br /&gt;
=== How You Can Help ===&lt;br /&gt;
#. get the tools&lt;br /&gt;
== Software Tools ==&lt;br /&gt;
* We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.&lt;br /&gt;
* Eagle CAD could be used in the future after all the parts are surface mount &amp;amp; the analog sections are alalised. To autorout future designs.&lt;br /&gt;
* Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.&lt;br /&gt;
* Maxima a computer algebra system s used for graphing and matth displays.&lt;br /&gt;
&lt;br /&gt;
*[[I2C]] interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.&lt;br /&gt;
*linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.&lt;br /&gt;
*migrate from switcher cad to pcb express.&lt;br /&gt;
*migrate from pcb express to eagle cad after testing to further development.&lt;br /&gt;
&lt;br /&gt;
== Parts used in the PCEEG: ==&lt;br /&gt;
* [http://opencircuits.com/LT1168 LT1168 Programmable-Gain Precision Instrumentation Amplifier] is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.&lt;br /&gt;
* Several [http://opencircuits.com/LT1114 LT1114 Low Power Precision OP-Amps] are used for amplification and filtering of the signal&lt;br /&gt;
* The [http://opencircuits.com/Digitally_Programmable_Potentiometers Digitally Programmable Potentiometers AD5204] 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier.  (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)&lt;br /&gt;
&lt;br /&gt;
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit.  Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).&lt;br /&gt;
&lt;br /&gt;
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the [http://en.wikipedia.org/wiki/AVR_Butterfly AVR Butterfly] which will, further process the signals, and provide an interface to a computer &amp;amp; lcd display.&lt;br /&gt;
&lt;br /&gt;
== News == &lt;br /&gt;
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of [[PCB Manufacturers]]. &lt;br /&gt;
&lt;br /&gt;
Here is a picture of the PCEEG being done in [http://www.cadsoft.de/freeware.htm EagleCAD].&lt;br /&gt;
[[Image:Eagle_sample.GIF]]&lt;br /&gt;
The eagle cad file is here [[Media:PCEEGHD.zip]]&lt;br /&gt;
&lt;br /&gt;
The ideas and monkey to robot arm interface by [http://www.answers.com/topic/miguel-nicolelis Miguel Nicolelis]is very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.&lt;br /&gt;
&lt;br /&gt;
== Open Source Circuit Design ==&lt;br /&gt;
* [http://opencircuits.com/Programmable_Chip_EEG Open Source Circuit Design ]&lt;br /&gt;
* [http://www.thinkcycle.org/ Think Cycle]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Programmable Chip EEG Open Source Circuit Design BLog]&lt;br /&gt;
&lt;br /&gt;
== Open source (public) results! ==&lt;br /&gt;
PHP will be used to create a database of users and what they sample and choose to share with the open source community.&lt;br /&gt;
&lt;br /&gt;
The database will give statistical analysis on users recordings. &lt;br /&gt;
&lt;br /&gt;
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.&lt;br /&gt;
&lt;br /&gt;
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.&lt;br /&gt;
&lt;br /&gt;
== A/D Converters ==&lt;br /&gt;
&lt;br /&gt;
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits.&lt;br /&gt;
We expect this project to require at least 20 bit ADC.&lt;br /&gt;
&lt;br /&gt;
The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS.&lt;br /&gt;
&lt;br /&gt;
It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.&lt;br /&gt;
&lt;br /&gt;
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.&lt;br /&gt;
&lt;br /&gt;
What low-cost ADC are available with at least 12 bits?&lt;br /&gt;
&lt;br /&gt;
* $2.50 MCP3301 has 1 ADC input (13 bits)&lt;br /&gt;
* $3.50 MCP3302 has 2 ADC input (13 bits)&lt;br /&gt;
* $3.50 MCP3204 has 4 ADC input (12 bits)&lt;br /&gt;
* $4 MCP3208 has 8 ADC input (12 bits)&lt;br /&gt;
* $8 dsPIC30F 2011 microcontroller has 8 ADC inputs (12 bits). See [[dsPIC30F 5011 Development Board]] for details.&lt;br /&gt;
* $6 CY8C27443 Cypress PSoC microcontroller has 4 ADC inputs (14 bits) -- but what is the sampling rate? Also has 4 DAC outputs (9 bits).&lt;br /&gt;
&lt;br /&gt;
* biosemi used analog devices AD7716 22 bit&lt;br /&gt;
&lt;br /&gt;
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital&lt;br /&gt;
&lt;br /&gt;
== The Goal ==&lt;br /&gt;
Eventually, kits could be sold, if there were interest.&lt;br /&gt;
More info is available at the PCEEG SourceForge home page at [http://pceeg.sourceforge.net/ PCEEG sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== See also: ==&lt;br /&gt;
* [http://wiki.asiaquake.org/openeeg/published/ The OpenEEG wiki]&lt;br /&gt;
* [http://pceegbci.blog.com/ The Open EEG Brain Computer Interface BLog]&lt;br /&gt;
* [http://www.larryheadinstitute.com/eeg-training.html EEG Training Seminars]&lt;br /&gt;
* [http://pceeg.wikia.com/wiki/Main_Page wiki cities on pceeg]&lt;br /&gt;
* [http://pceeg.sourceforge.net pceeg.sourceforge.net]&lt;br /&gt;
* [http://www.answers.com/topic/miguel-nicolelis miguel nicolelis]&lt;br /&gt;
* [http://maxima.sourceforge.net/ Maxima - a computer algebra system]&lt;br /&gt;
* [http://www.scienceprog.com/ digital high pass filters and other circuits]&lt;br /&gt;
* [http://hcvl.hci.iastate.edu/cgi-bin/openEyes.cgi human and computer vision lab]&lt;br /&gt;
* [[PCB Manufacturers]] such as [http://www.batchpcb.com/index.php www.batchpcb.com]&lt;br /&gt;
* [http://vulliard.dyndns.org/~vulliard/ eeg biofeedback &amp;quot;mind machine&amp;quot;]&lt;br /&gt;
* [http://freenet-homepage.de/moosec/projekte/simpleeeg/index-Dateien/Page431.htm monolith eeg]&lt;br /&gt;
* [http://mindhacks.com/blog/2007/01/meg_scanning_the_bra.html yet another pundit disrespects the EEG]&lt;br /&gt;
* [http://www.pololu.com/laser_cutting.html lazer cutting for box &amp;amp; solder paste stencil]&lt;br /&gt;
* [http://www.amazon.com/Build-Your-Printed-Circuit-Board/dp/007142783X?tag2=zottmann1-20 Build Your Own Printed Circuit Board]&lt;br /&gt;
* [http://www.stencilsunlimited.com/solder_products.php solder paste for surface mount that can be stored at room temperature]&lt;br /&gt;
* The thread [http://forum.microchip.com/tm.aspx?m=114626 &amp;quot;amplifying biomedical signals: 150 uA with 16 bit resolution?&amp;quot;] has several op-amp suggestions, and mentions that &amp;quot;a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs.&amp;quot;&lt;br /&gt;
* [http://www.e-dsp.com/how-to-build-your-own-heart-monitoring-device-a-simple-ecg/ How to build your own ECG device]&lt;br /&gt;
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.]&lt;br /&gt;
* [http://health.groups.yahoo.com/group/biofeedback/ &amp;quot;the World's largest Biofeedback and Neurofeedback Discussion Group&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
[[Category:Projects]]&lt;/div&gt;</summary>
		<author><name>204.80.61.114</name></author>
		
	</entry>
</feed>