Active Light Blocking Glasses: An optical system for protection against photosensitive seizures
CWSF · 2026 Digital Technology Bronze Medal
Overview
In this project I built and tested a pair of glasses with integrated LCD lenses and light sensor. The glasses use a custom designed frequency analysis algorithm to detect the difference between strobe lights and continuous lighting and react in real-time to block strobe lights through darkening the lenses. Testing was conducted to show the effectiveness of the algorithm in simulated and real-world scenarios. EEG testing of steady state visual evoked potentials was used to confirm the effectiveness of the glasses in blocking harmful stimuli from being received by the brain. The ultimate goal of this research is to build a device to block hazardous light patterns for people with photosensitive epilepsy.
Video
This video could not be played here. Watch it on the original project page.
Why?
Photosensitive epilepsy affects over 2.5 million people worldwide, causing seizures triggered by flashing lights. Flashing lights are everywhere, on roads, in schools, and in entertainment. Even brief exposure can trigger a seizure. For many people, especially the 15 million living with drug-resistant epilepsy, they live without a solution. The fact that over 80% of people with epilepsy live in low-income regions makes access to effective protection even more limited.
I was diagnosed with photosensitive epilepsy at age 13, and since then it has impacted every aspect of my daily life. This project was inspired by my own experiences and a simple question: Is it possible to make everyday environments more accessible without relying on medication? My goal was to design a low-cost, wearable solution that could detect and dynamically attenuate strobe lights in real-time to protect epileptics from harmful light patterns.
Previous Research: Last year I developed a proof-of-concept algorithm that detects hazardous flashing lights. From data collected through a time-domain analysis, the system differentiates continuous lighting from strobe lighting by measuring timing between peaks from photodiode readings. When a dangerous frequency range (typically 5–30 Hz) is detected, the system can respond by activating a lens to block or reduce the trigger.
This project aims to build upon this research, to make public spaces safer and more accessible for people with epilepsy. By creating an affordable, non-pharmaceutical solution, it has the potential to reduce risk, increase independence, and improve quality of life for millions worldwide.
How?
I used a multi-step process to optimize individual components and to test the effectiveness of the integrated system.
Step 1: Lens evaluation
- Liquid crystal display (LCD) and polymer dispersed liquid crystal (PDLC) selected for evaluation based on cost and availability.
- Measured light attenuation with a lux meter in clear and opaque states
- Visually assessed attenuation and diffusion characteristics
Step 2: Optimize strobe detection performance
- Increase detection range
- Improve accuracy of detections
Step 3: Build a wearable device
- Arduino Nano + soldered breadboard circuit
- Powered by USB battery bank
- Enclosed in plastic case
- Connected to glasses via cable
- Dual LCD lenses and photodiode in glasses
- Foam blinders on glasses for light sealing
Step 4: Test glasses performance
- Generate simulated light readings in the hazardous 5Hz-30Hz range
- Identify and correct algorithm for missed strobe detections
- Physical testing of frequencies outside the hazardous range
- Test under LED, fluorescent, incandescent and natural day and night lighting conditions
- Identify and correct algorithm to prevent false strobe detections
Step 5: Test effectiveness at blocking received seizure causing signals
- Use EEG to measure steady-state visual evoked potentials (SSVEP) under exposure to 15Hz strobe-light
- Conduct 3 trials with 40 exposures each to test stimulus
No glasses to confirm presence of neural entrainment
Wearing glasses in On state to confirm blocking of neural entrainment
No glasses to confirm return of neural entrainment
- Evaluate difference in SSVEP response with and without glasses
What?
Step 1: Lens evaluation results
- LCD showed optimal attenuation (> 99%)
- PDLC showed optimal diffusion
- Composite LCD+PDLC combined optimal characteristics of both
- Composite is ideal candidate lens but it requires custom manufacturing
- LCD is best commercially available solution
Step 2: Optimized circuit design
- Photodiode continually monitors light levels
- Integrated photodiode module to boost signal for improved detection distance
- Controllable LCD lenses block light when strobe signal pattern detected by photodiode
- Boost converter used to amplify control signal from 5V to 16V, significantly increasing light attenuation of LCD lenses
Step 3: Wearable device
- Built custom frames using components from 3D glasses and sunglasses
- Glasses weigh 42g
- Adapted ethernet cable to connect glasses to circuit and battery back
- Battery and circuit pack weigh 280g and is small enough to fit in a large pocket
Step 4: Test results
Issue #1: Temporal aliasing
- False positive detections identified near LED and fluorescent lighting
- Identified strobe frequency did not match recorded light readings
- Temporal aliasing caused very high frequency signals to appear as lower frequency signals
- Resolved issue by improving code performance to less than 1ms per sample, thus increasing sampling rate and by implementing a rolling average
- Rolling average causes data smoothing of rapidly repeated signals, removing noise from the signal processing
Issue #2: Low-light environments
- Threshold to trigger a strobe detection could never be met in low light environments
- Lowering the threshold resulted in false positive detections under regular lighting
- Steven’s Power Law states that perceived intensity of stimulus is proportional to its physical intensity raised to a power, meaning that the perceived change in light intensity is greater in low-light environments.
- Resolved this issue by implementing a switchable low-light mode which reduces the threshold from 15 ADC to 2 ADC.
Step 5: SSVEP test results
- Signal analysis using fast-fourier transform to combine EEG signals from test trials
- SSVEP response in participant brain activity showed entrainment with 15Hz strobe and harmonic and sub-harmonic frequencies without glasses as expected
- SSVEP response with glasses in on state showed no entrainment with 15Hz strobe frequency or harmonics or sub-harmonics
- SSVEP response returned to expected entrained state when glasses were removed
This demonstrates an effective block to seizure inducing signals while wearing the glasses.
So What?
This project has built upon previous research to produce a wearable device which was then used to conduct testing. Simulated and real-world light signal detection testing allowed for refinement of the detection algorithm to the point where 0 false negatives were present across the hazardous 5-30Hz range, and 0 false positives were present in all identified real-world lighting test scenarios. The less than 30ms response time means that the device can detect and respond to the presence of a strobe light with sufficient speed to block all hazardous frequencies. Finally, SSVEP test results showed changes in brain response, providing evidence that the device is effective at blocking seizure inducing signals from being received by the brain.
This system enables real-time detection and attenuation of hazardous visual stimuli, providing a scalable, non-pharmaceutical solution to a widespread neurological problem. This research and prototype could be used to develop a low-cost wearable solution with minimal maintenance and long lifespan, making everyday life more accessible for a large number of people.
What's Next?
My goal is to continue this research to enable production as a real-world medical device. The following additional research will be required to accomplish this:
Camera Based Light Detection
Experiment with AI camera based light detection
Potential for improved detection under some conditions
Compact Design
Convert circuitry into PCB and integrate battery for a more compact, fully integrated design
SSVEP Testing - Non Epileptics
Conduct additional trails of SSVEP experiment for statistical significance
Experiment across diverse groups (age, gender, ethnicity)
SSVEP Testing - Epileptics
Pursue ethically approved clinical trials with epileptic patients to assess safety and real-world effectiveness
Thanks
Special thanks to Dr. Randy Newman for her guidance and mentorship during the SSVEP testing process! Learn more about her work with Acadia WISE: https://wise.acadiau.ca/home.html
Special thanks to Acadia University for generously providing access to their facilities for conducting the SSVEP experiment.
Special thanks to the Acadia Research Ethics Board for their support and approval, making this research possible
Special thanks to Epilepsy Canada for their ongoing support and financial assistance! Visit their website to learn more and raise awareness: https://www.epilepsy.ca/
Special thanks to my dad, Chad West, for supervising high-risk activities such as soldering and working with potentially hazardous light frequencies!
References
Images:
All images taken by Finalist, 2026
Graphs:
All graphs created by Finalist, Excel, 2025-2026
SSVEP analysis graphs created by Dr. Randy Newman, 2026
Schematic:
Schematic drawn by Finalist, Goodnotes, 2026
References:
Arduino Student Kit. (n.d.). Www.arduino.cc. https://www.arduino.cc/education/student-kit/
Bearings, N. W. A. (2022, March 22). What is an LCD? New Way Air Bearings. https://www.newwayairbearings.com/news/blog/10184/understanding-lcd-manufacturing/
Szczys, M. (2012, November 14). Turning 3D Shutter Glasses Into Automatic Sunglasses. Hackaday. https://hackaday.com/2012/11/14/turning-3d-shutter-glasses-into-automatic-sunglasses/
Team, S. (2024, March 25). PDLC Smart Film: What It Is and How It Works. Smart Films Int. https://www.smartfilmsinternational.com/post/pdlc-smart-film
Active Light Blocking Glasses for Prevention of Photosensitive Episodes. (2026). Youth Science Canada. https://partner.projectboard.world/ysc/project/active-light-blocking-glasses-for-prevention-of-photosensitive-episodes
Wirrell, Elaine. “Photosensitivity and Seizures.” Epilepsy Foundation, 2024, www.epilepsy.com/what-is-epilepsy/seizure-triggers/photosensitivity.
“Are LED Flashing Lights Dangerous? – Soft Lights Foundation.” Softlights.org, 2016, www.softlights.org/are-led-flashing-lights-dangerous/.
Birmingham, U. of. (2024, November 20). Lenses that could block epileptic-seizure causing wavelengths developed. University of Birmingham. https://www.birmingham.ac.uk/news/2024/lenses-that-could-block-epileptic-seizure-causing-wavelengths-developed
Bullock, G. (2018, March 11). Light Sensitivity and Autism Spectrum Disorder. TheraSpecs. https://www.theraspecs.com/blog/light-sensitivity-autism/
Cleveland Clinic. (2023, April 10). Photophobia (Light Sensitivity): Symptoms, Causes & Treatment. Cleveland Clinic. https://my.clevelandclinic.org/health/symptoms/photophobia
Herres, D. (2017). Temporal and spatial aliasing in signal processing. Testandmeasurementtips.com. https://www.testandmeasurementtips.com/temporal-spatial-aliasing-signal-processing/
Kooij, J. J. S., & Bijlenga, D. (2014). High Prevalence of Self-Reported Photophobia in Adult ADHD. Frontiers in Neurology, 5. https://doi.org/10.3389/fneur.2014.00256
TheraSpecs: Glasses for Migraines, Light Sensitivity, and Concussion. (n.d.). Www.theraspecs.com. https://www.theraspecs.com/
Photophobia (Light Sensitivity) and Migraine | AMF. (n.d.). American Migraine Foundation. https://americanmigrainefoundation.org/resource-library/photophobia-migraine/
Steven’s power law: A refined understanding of sensory magnitude • psychology town. Psychology Town. (2026, March 3). https://psychology.town/general/stevens-power-law-sensory-magnitude-refinement/
South, L., Çağlar Yıldırım, Pavel, A., & Borkin, M. A. (2023). Exploratory Thematic Analysis of Crowdsourced Photosensitivity Warnings. https://doi.org/10.1145/3544549.3585649
Srinivasan, R., Bibi, F. A., & Nunez, P. L. (2006). Steady-State Visual Evoked Potentials: Distributed Local Sources and Wave-Like Dynamics Are Sensitive to Flicker Frequency. Brain Topography, 18(3), 167–187. https://doi.org/10.1007/s10548-006-0267-4
Annen, J., Laureys, S., & Gosseries, O. (2020). Brain-computer interfaces for consciousness assessment and communication in severely brain-injured patients. Handbook of Clinical Neurology, 137–152. https://doi.org/10.1016/b978-0-444-63934-9.00011-1
Images (16)
Awards (2)
- Bronze Medal
- Selected for CWSF 2026
Competition history
- CWSF 2026
Related projects
ISEF · 2026
A Wearable System for Real-Time Detection and Attenuation of Hazardous Visual Stimuli
ISEF · 2024
FlashGuard: Developing Epileptic Activity and Trigger Content Detection Software Using a Computer-Based Application for Real Time Monitoring and Seizure Reporting
ISEF · 2026
NeuroShield: Personalized Adaptive Filtration and Clinical Trigger Mapping for Photosensitive Epilepsy
ISEF · 2022
FlikcerAI: Resolution of Photosensitive Epileptic Visual Content With Spatio-Temporal Luminance Frequency Analysis
ISEF · 2017
Engineering a Device to Improve Vision via Photoactivation
ISEF · 2021
An Innovative Microcontroller-Driven Illumination System to Correct Moderate to Severe Color Vision Deficiency
ISEF · 2019
The Flash Shade: Directional Darkening Technology
ISEF · 2021
Design and Development of an Alert Prototype to Assist People with Simple Motor Seizures Events Using Triaxial Micro-sensors
Closest projects by meaning, across every fair and year in the corpus.