Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

How to detect Variation in EEG Signals in the form of LEDs using LM3915 (Part 10/13)

By Arpit jain October 7, 2016

How to detect Variation in EEG Signals in the form of LEDs using LM3915

SUMMARY

After taking on the experiment of appliance control with relay, I am thinking of analyzing the EEG wave produced by the brain and see the variations in the form of LEDs. It would be really nice if we could see the variations of our EEG signals clearly in the form of some LED patterns so as to analyse how much variation it is producing by various thinking processes. Let’s get started.
Image showing EEG Signals Displayed as LEd Light Variation
Fig. 1: Image showing EEG Signals Displayed as LEd Light Variation
DESCRIPTION
I decided to use LM3915 IC which can convert the analog voltage into the digitized form from 1 to 10 and turn as many number of LEDs as the digitized value. It can also be termed as ADC (Analog to Digital Convertor). By analyzing our wave on CR, we have seen that the voltage range is upto 1V. So, we set the reference of the LM3915 to 1V. By doing this we convey to the LM3915 that 0v means 0 LEDs and 1V means 10 LEDS. So now let’s say 4 LEDs are glowing, this means that the voltage is near to 0.4 V. We have just sent the analog EEG signal directly to the LM3915 IC and attached LEDs at the other end for the result. Please watch the video for the experiment.
Image showing EEG Signals Displayed as LEd Light Variation
Fig. 2; Image showing EEG Signals displayed as LEd Light Variation
We can conclude that the waves are not very stable in magnitude. I also believe that there will be some noise which has been transferred to the 3915 IC. This can also be seen that many times the LEDs go to full magnitude and remain there, which is not the case when checked with CRO. This can be due to the noise as we have just soldered the wire and it is open and long too. Anyways, Brain waves are very interesting and I am still searching to find some patterns in them to perform more such experiments. By this experiment, I have found the variation in our EEG and the effect of noise. I am assuming this as a noise but it can be something else.
Block Diagram of MindFlex Brainwave Sensor based EEG Signal LED Indicator
Fig. 3: Block Diagram of MindFlex Brainwave Sensor based EEG Signal LED Indicator
Hardware:  Please find the attached circuit diagram of the connections that are to be established.  We have soldered a pin from the EEG pin of the Mindflex sensor and inserted the output of the EEG pin to that of input of the LM3915. Moreover, we have also set the reference voltage to 1V as our EEG signals will not cross this value. For setting 1V, we are using the resistor network. Though we can use 10 LEDs with the 3915IC but here we will only use 4 LEDs just to see the variations and change of our EEG wave. 
Softwares: There is no coding done in this experiment.
Few points to Note:
Try to shield this wire and also make sure that the references probes are correctly connected. You can try this experiment and share your feedback with us. In the next experiment we will try to change the color of the RGB LED.

 

Project Source Code

###

//Program to 

/*
 Fading
 
 This example shows how to fade an LED using the analogWrite() function.
 
 The circuit:
 * LED attached from digital pin 9 to ground.
 
 Created 1 Nov 2008
 By David A. Mellis
 modified 30 Aug 2011
 By Tom Igoe
 
 http://arduino.cc/en/Tutorial/Fading
 
 This example code is in the public domain.
 
 */
 
 
int ledPin = 9;    // LED connected to digital pin 9
 
void setup() {
  // nothing happens in setup
  //analogWrite(ledPin, 20);
    // wait for 30 milliseconds to see the dimming effect
    //delay(2000);
}
 
void loop() {
  // fade in from min to max in increments of 5 points:
  analogWrite(ledPin, 20);
  
  /*
  for (int fadeValue = 0 ; fadeValue <= 150; fadeValue += 3) {
    // sets the value (range from 0 to 255):
    analogWrite(ledPin, fadeValue);
    // wait for 30 milliseconds to see the dimming effect
    delay(1000);
  }
  delay(1000);
  
  for (int fadeValue = 160 ; fadeValue >= 50; fadeValue -= 10) {
    // sets the value (range from 0 to 255):
    analogWrite(ledPin, fadeValue);
    // wait for 30 milliseconds to see the dimming effect
    delay(60);
  }
  delay(1000);
   for (int fadeValue = 50 ; fadeValue <= 160; fadeValue += 5) {
    // sets the value (range from 0 to 255):
    analogWrite(ledPin, fadeValue);
    // wait for 30 milliseconds to see the dimming effect
    delay(60);
  }
  delay(1000);
   
   for (int fadeValue = 100 ; fadeValue <= 180; fadeValue += 5) {
    // sets the value (range from 0 to 255):
    analogWrite(ledPin, fadeValue);
    // wait for 30 milliseconds to see the dimming effect
   delay(60);
  }
  delay(1000);
  // fade out from max to min in increments of 5 points:
   
   
   
*/  
}
 
 

###


Circuit Diagrams

Circuit-Diagram-MindFlex-Brainwave-Sensor-EEG-Signal-LED-Indicator

Project Video


Filed Under: Brainwave, Electronic Projects, Tech Articles, Tutorials

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Reducing "shoot-through" in offline Full Bridge SMPS?
  • High Side current sensing
  • How to simulate power electronics converter in PSpice?
  • Voltage mode pushpull is a nonsense SMPS?
  • Layout IRN reduction in Comparator

RSS Electro-Tech-Online.com Discussions

  • Back to the old BASIC days
  • Parts required for a personal project
  • PIC KIT 3 not able to program dsPIC
  • Failure of polypropylene motor-run capacitors
  • Siemens large industrial PLC parts

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe