Main > Lightguns
SAMCO DIY Arduino Powered IR Light Gun
<< < (11/37) > >>
lightgungamer:
Thanks for the reply samco.

I got a multimeter and have started testing it.

I’ve been testing the connection between pin 5 and the + pin on the camera. It sits at about 1.5v normally then goes to about 2.5 when I press on it.
So it seems like the power getting through is the problem but probably not that connection?

This might be a silly question but should I have soldered every single pin on the board or just the ones that seem to be connected to something else on the pcb.

I’ve only soldered the ones with obvious connections.

Sorry if that’s obvious but I’m a total newb with electronics.

Thanks
lightgungamer:
I fixed it! I soldered the remaining pins and that fixed it.

Now I’m just having problems with the leds.

It works in terms of calibrating if I use the actual miracle led bar but obviously that doesn’t aim consistently because it has a funny led configuration.

When I switch to the leds that I wired up, I get nothing in terms of the raw input to the serial monitor.

I’m not sure how to test the leds given I can’t see if they should be lit up.

Does anyone know what voltage I should expect to get out of the usb cable?
Howard_Casto:
Many phones and digital cameras can see IR light, so that might help you out. 
samco:
@lightgungamer Nice! Hopefully we're almost there. Here's a couple of things to try...

- Like Howard said (thanks by the way) some digital cameras (usually older ones) can see IR light. You should be able to see it as a purple glow through the view finder.

- LED's have a polarity so check you have soldered them the right way round, there should be a flat edge and a round edge. The flat edge should be closest to the SAMCO logo.

- It could also be that the wii sensor is working fine (my after market one from AliExpress works great, but maybe miracle bars are different) and you have either interference (like a window behind your screen or a bulb to close) messing with your signal...

- ...or you're not far enough back. You have to be a fair way back from your screen (about 2.5 screen widths) to reach all corner of the screen. You can test this by pointing at all four corner and making sure your raw values are still ticking over.

Hopefully one of these helps. If not let me know and I can send you over a new sketch to upload and run you though a program called processor that will show you exactly what you camera can see and we can work it out from there. It's a bit involved thou so hopefully one these work :)

Oh, and USB should give you 5V.
samco:
I just thought of one other thing. And that's to make sure your camera is up the right way up (apparently some of the stickers on these camera are not quite right). If your camera is installed correctly the red light on your camera should closest to the left wall of your gun when holding it in a shooting position, hopefully that makes sense. Anyway, good luck and let me know how ya go :)
Navigation
Message Index
Next page
Previous page

Go to full version