Rapid Eye Detection
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- smgdjango
- Posts: 5
- Joined: Wed Nov 23, 2022 8:40 pm
Rapid Eye Detection
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?
- mikeysklar
- Posts: 13946
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Rapid Eye Detection
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
https://learn.adafruit.com/cosplay-fire ... h-makecode
Please be positive and constructive with your questions and comments.