Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Sensor Series
      • 3D Printing
      • AI
      • ARDUINO Compatible Coding
      • Audio Electronics
      • Battery Management
      • Beginners Electronics Series
      • Brainwave
      • Digital electronics (DE)
      • Electric Vehicles
      • EMI/EMC/RFI
      • EVs
      • Hardware Filters
      • IoT tutorials
      • LoRa/LoRaWAN
      • Power Tutorials
      • Protocol
      • Python
      • RPI Python Programming
      • Sensors
      • USB
      • Thermal management
      • Verilog
      • 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
  • 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.

Submit a Guest Post

submit a guest post

EE TECH TOOLBOX

“ee
Tech Toolbox: Power Efficiency
Discover proven strategies for power conversion, wide bandgap devices, and motor control — balancing performance, cost, and sustainability across industrial, automotive, and IoT systems.

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.

  • Why is military EMC so strict?
  • Cannot prototype a power supply
  • Phased array antenna never on full power for long?
  • TPS63070 Power Supply
  • Question about resistors values impact on lead reading

RSS Electro-Tech-Online.com Discussions

  • need help in photodetection TIA circuit
  • Need to solder a really delicate ribbon for an electric reel need advice
  • Help please! BLDC driver circuit using the IR2136s and the STP80NF06 MOSFETS
  • Measuring controller current output with a meter
  • Anyone In The US Ordered From AliExpress Recently?

Featured Tutorials

Real Time Hardware Filter Design

  • Practical implementation of bandpass and band reject filters
    Practical implementation of bandpass and band reject filters
  • Practical application of hardware filters with real-life examples
    Practical application of hardware filters with real-life examples
  • A filter design example
    A filter design example
  • Types of filter responses
    Types of filter responses
  • What are the two types of hardware filters?
    What are the two types of hardware filters?
  • What are hardware filters and their types?
    What are hardware filters and their types?
More Tutorials >

Recent Articles

  • Microchip extends single pair Ethernet lineup with software-less endpoint
  • Infineon MCU targets high-voltage BMS in electric vehicles
  • SemiQ releases expanded SiC MOSFET lineup with detailed thermal and switching data
  • TDK adds 1000 W models to dc-dc converter series
  • LEMO introduces resin-free IP68 connectors for compact equipment

EE ENGINEERING TRAINING DAYS

engineering
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • 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
      • Sensor Series
      • 3D Printing
      • AI
      • ARDUINO Compatible Coding
      • Audio Electronics
      • Battery Management
      • Beginners Electronics Series
      • Brainwave
      • Digital electronics (DE)
      • Electric Vehicles
      • EMI/EMC/RFI
      • EVs
      • Hardware Filters
      • IoT tutorials
      • LoRa/LoRaWAN
      • Power Tutorials
      • Protocol
      • Python
      • RPI Python Programming
      • Sensors
      • USB
      • Thermal management
      • Verilog
      • 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
  • Guest Post Guidelines
  • Advertise
  • Subscribe