Replies: 10 comments 2 replies
-
Okay, due to the fast and fluctuating values from the Tobii, I've stripped down the code to run faster. By doing this, I'm getting better values from the IR photodiode. (Yet to test the TSMP/TSOP.) So, I'm feeling a bit better now. Just calling NeoPixel code (ex) is enough to slow it down too much. So, I have to refactor all the light/alarm/tone code. Oh, well. At least I'm getting good values again. |
Beta Was this translation helpful? Give feedback.
-
Sounds like you're making wonderful progress! As soon as you're comfortable with the results you're getting with that device, I would send your way another device or two to see how they fair. The Eyegaze Edge device has only one IR emitter and is officially the camera that shoots out the least ir at users' eyes. We probably need to test a Gridpad and a newer Tobii too. |
Beta Was this translation helpful? Give feedback.
-
Chris Young |
Beta Was this translation helpful? Give feedback.
-
John Jordan |
Beta Was this translation helpful? Give feedback.
-
Jay Beavers |
Beta Was this translation helpful? Give feedback.
-
Great stuff, everyone. I've pasted all these comments into the Github discussion so they don't get lost. 🙂 The newest code is working with the IR photodiode (BPV23FL). The Tobii alters its duration of pulses quite a lot (not "always on"), so the code has to wait for a certain amount of lost before triggering alarm mode. Fortunately, this is pretty basic -- log the "last saw IR" and if it's more than X seconds, go to alarm mode. It also cycles between left and right emitters/cameras, likely so that it can focus on one eye at a time, and compare. Pretty tricky stuff. The good news is that, for this, I just need "some kind of IR" -- and the photodiode gives me that. |
Beta Was this translation helpful? Give feedback.
-
Bill Binko |
Beta Was this translation helpful? Give feedback.
-
Jay Beavers |
Beta Was this translation helpful? Give feedback.
-
Jay Beavers Jay Beavers It's going to be interesting to see how other devices behave/work. I'm guessing some techniques still under patent, everybody does their own thing, etc. |
Beta Was this translation helpful? Give feedback.
-
If you this scene from the movie Airplane -- well, that's how it's going right now.
The Tobii is all over the place with IR emissions. The usual frequency and decoding code (ex. IRRemoteESP8266, IRLib2, etc) can't lock on to much. Frequency (with the TSAP learner) is "sometimes".
IR photodiode (my original solution) is not picking up consistent IR from the Tobii. Based on the fact that I can see some of the "red" with my naked eye, I have a feeling they are using an IR that's lower than the usual 940 range. Are there sensors out there for that? I'll have to check.
I built two of the QT Py hats, but having issues running the hat w/o a Pi. Likely brownouts on startup. I'll try external power, or solder in the headers and try an older Pi for power. (I did cut the traces and install the LED drop resistors -- 47 ohm.)
I'm putting together an "IR Buddy" which will include the photodiode (along with TSMP and TSOP). Similar to the ATM QT Py hat. Debugging tool which may be helpful for others in the future.
Beta Was this translation helpful? Give feedback.
All reactions