Rapid Eye Detection

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
smgdjango
 
Posts: 5
Joined: Wed Nov 23, 2022 8:40 pm

Rapid Eye Detection

Post by smgdjango »

HI, I am working on creating a Rapid Eye Movement detector - basically using the proximity sensor in the Circuit Playground Express - Im not sure what input selector I need to choose to get the code to read the sensor to see if there is movement -idea is placing the Circuit Playground express in a cushioned eye mask, I am thinking I can set it to turn on when there is movement in the closed Eye lid - when this occurs I would like to flash some lights for a short period. Any Ideas how I can access the sensor using the drag and drop code blocks?

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Rapid Eye Detection

Post by mikeysklar »

Take a look at the cosplay fireball code. That makes use of motion and LED triggering. This assumes the entire CPX will be moving which to some degree will be true with the mask being put on and the eye lids causing vibration.

https://learn.adafruit.com/cosplay-fire ... h-makecode

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”