Main > Lightguns
[Theory] Custom PC Lightgun With PS3Eye\Webcam IR tracking and IR laser pen
<< < (2/6) > >>
Titchgamer:
Also lasers reflect off glass screens so likely to catch yaself in the eye (speaking from experience!)
Howard_Casto:

--- Quote from: BadMouth on December 03, 2018, 03:29:54 pm ---I can see it working with the camera mounted under the marquee and either no monitor glass or DK style will the camera behind the monitor glass.

In my theoretical setup with regular lasers (which I do not have the skills to execute), P1 would use a red laser and P2 would use a green laser.
That puts us back to needing dark or washed out picture for the dots to stand out though.

--- End quote ---

Well the more that monitor image is at an angle, the more horizontal resolution you lose on the pinched end of the trapezoid.  I'm not exactly sure how much is too much though.  The easiest and cheapest way to filter off garbage is via filters on the lens of the camera.  So like I mentioned, one camera with and ir filter and one with a uv and then that particular camera can only see the opposite of it's filter.  It could be done with visible colors as well.  If you put a red filter on a camera, only the most brilliant of reds show up and I'm guessing a laser would be bright enough. 

You know, with an appropriate webcam and a good library to control it, something like this might be doable on an Arduino, eliminating the need for processing on the pc.  Wiimotes already have dot processing, but obviously pc-side software is need to translate the data into controls.  I should have a laser pointer around here somewhere.  I'll get it out and see what I can do. 
Howard_Casto:
Ok, I played around with what I had on hand and the results were mixed.  Just using a wiimote as a camera, visible lasers seem to barely emit any ir light.  I could get a dot to show up with both a red and green laser, but only when I shined it directly into the wiimote camera..... it couldn't detect it when reflected off a monitor.  So I'm pretty sure an IR laser is required.  Just to play around, I took a sensor bar and pointed it towards my monitor and the wiimote was able to track the reflection of the ir leds, so with enough ir light, I think it could track the screen just fine. 


Btw... thinking about the 2 player issue a bit more, a wiimote can track up to four ir dots, so if p1 used a single dot and p2 used a cluster of dots that might work.  It'd only have issue when both players aimed at the same spot, which would probably be rare.  Obviously with a regular webcam, we can process it however we want, so a similar method would also work. 
BadMouth:
I spent a little bit of time looking for a cheap IR laser.  Apparently IR thermometers do not use IR lasers.  :'(
Also looked at security beams.
This is the best I came up with: https://www.amazon.com/Focusable-Infrared-Adjusted-0-15KHz-12x30mm/dp/B015Z1EBC6/ref=asc_df_B015Z1EBC6/?tag=hyprod-20&linkCode=df0&hvadid=312186726383&hvpos=1o1&hvnetw=g&hvrand=17634641023638740559&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9006544&hvtargid=pla-584380015398&psc=1&tag=&ref=&adgrpid=65813410767&hvpone=&hvptwo=&hvadid=312186726383&hvpos=1o1&hvnetw=g&hvrand=17634641023638740559&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9006544&hvtargid=pla-584380015398

Someone mentions using it with a Wii camera in the reviews.

EDIT: Did some quick research and 30mW sounds dangerous.   :(  Especially since you won't see it and therefore won't blink.
DOUBLE EDIT: Title says 30mW, but description says 1mW which would be perfectly safe.  :dunno
TRIPLE EDIT:


--- Quote ---Question: What power is this? The title says 30mw but description says 1mw
Answer: It's 30.
By AixiZ OEM Electronics Seller on June 19, 2018
--- End quote ---
Howard_Casto:
My most recent meltdown has kind of knocked the wind out of my hacking motivation, but I'm still super interested in getting this off the ground.  Civil laser products seem to have ir lasers in any configuration one would want but I'm pretty ignorant about what we would need and safety concerns.  If you guys can find a suitable diode I'll give it a try.  In the meantime I'm going to temporarily mount a wiimote to my cabinet and play with some ir leds to see just how far back a wiimote needs to be to see the whole screen and if a wide angle lens is required.
Navigation
Message Index
Next page
Previous page

Go to full version