Main > Lightguns
SAMCO DIY Arduino Powered IR Light Gun
hyo2012:
I succeeded in make Samco 4IR light gun.
Strange thing is I have to rotate IR Camera about 90 degree to work correctly.
And works properly, that was amazing.
Compared to Aimtrak lightgun I used, Samco 4IR light gun's working distance that monitor from light gun is decreased. So playing gun game is more fun :laugh:
I have a suggestion.
When I use light gun, other mouse is not movable. To use mouse, I have to push calibration button on light gun.
It is better I think, if light gun can't see IR light, stop working with out pushing calibration button.
And.. Is it possible add fuction 'offscreen trigger reload'?
Thank for your works. I ordered 3unit of guncon2 pcb from your ebay ;D
samco:
Thanks, for the feedback @hyo2012. I'm glad you like it :)
Yeah, apparently a bunch of the DF Robot camera had the labels stuck on the incorrectly it's a real common problem. Glad you worked it out.
I'm a bit busy with other stuff at the moment but I'll have a look into your suggestions when I get some spare time and let ya know how I go. Out of curiosity which game are you playing that you would like to add the offscreen trigger reload?
Cheers Sam(co)
hyo2012:
--- Quote from: samco on June 30, 2020, 10:37:07 pm ---Thanks, for the feedback @hyo2012. I'm glad you like it :)
Yeah, apparently a bunch of the DF Robot camera had the labels stuck on the incorrectly it's a real common problem. Glad you worked it out.
I'm a bit busy with other stuff at the moment but I'll have a look into your suggestions when I get some spare time and let ya know how I go. Out of curiosity which game are you playing that you would like to add the offscreen trigger reload?
Cheers Sam(co)
--- End quote ---
most of demul lightgun games - hotd 2, confidential mission, maze of kings...
As I know, these sega arcade gun games are support offscreen reload on original arcade cabinet.
judokan:
Hello, I´m from spain (murcia), I have bought 2 motherboards from ebay, I already have everything else, I have assembled it to test it and it does not work with the Adafruit ItsyBitsy 32u4 5v the pins is different for 5v.
judokan:
Arduino:1.8.13 (Windows 7), Tarjeta:"Adafruit ItsyBitsy 32u4 5V 16MHz"
libraries\Samco_4IR\AbsMouse.cpp.o (symbol from plugin): In function `AbsMouse_::AbsMouse_()':
(.text+0x0): multiple definition of `AbsMouse_::AbsMouse_()'
libraries\Samco_2IR\AbsMouse.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\AbsMouse.cpp.o (symbol from plugin): In function `AbsMouse_::AbsMouse_()':
(.text+0x0): multiple definition of `AbsMouse_::AbsMouse_()'
libraries\Samco_2IR\AbsMouse.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\AbsMouse.cpp.o (symbol from plugin): In function `AbsMouse_::AbsMouse_()':
(.text+0x0): multiple definition of `AbsMouse_::init(unsigned int, unsigned int, bool)'
libraries\Samco_2IR\AbsMouse.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\AbsMouse.cpp.o (symbol from plugin): In function `AbsMouse_::AbsMouse_()':
(.text+0x0): multiple definition of `AbsMouse_::report()'
libraries\Samco_2IR\AbsMouse.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\AbsMouse.cpp.o (symbol from plugin): In function `AbsMouse_::AbsMouse_()':
(.text+0x0): multiple definition of `AbsMouse_::move(unsigned int, unsigned int)'
libraries\Samco_2IR\AbsMouse.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\AbsMouse.cpp.o (symbol from plugin): In function `AbsMouse_::AbsMouse_()':
(.text+0x0): multiple definition of `AbsMouse_::press(unsigned char)'
libraries\Samco_2IR\AbsMouse.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\AbsMouse.cpp.o (symbol from plugin): In function `AbsMouse_::AbsMouse_()':
(.text+0x0): multiple definition of `AbsMouse_::release(unsigned char)'
libraries\Samco_2IR\AbsMouse.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\AbsMouse.cpp.o (symbol from plugin): In function `AbsMouse_::AbsMouse_()':
(.text+0x0): multiple definition of `AbsMouse'
libraries\Samco_2IR\AbsMouse.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::DFRobotIRPosition()'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::DFRobotIRPosition()'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::~DFRobotIRPosition()'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
Se encontraron varias bibliotecas para "Wire.h"
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
Usado: C:\Users\usuario\AppData\Local\Arduino15\packages\adafruit\hardware\avr\1.4.13\libraries\Wire
No usado: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
(.text+0x0): multiple definition of `DFRobotIRPosition::~DFRobotIRPosition()'
Se encontraron varias bibliotecas para "AbsMouse.h"
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
Usado: C:\Program Files (x86)\Arduino\libraries\Samco_2IR
No usado: C:\Program Files (x86)\Arduino\libraries\Samco_4IR
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::requestPosition()'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::readX(int)'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::readY(int)'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::writeTwoIICByte(unsigned char, unsigned char)'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::begin()'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Samco_4IR\DFRobotIRPosition.cpp.o (symbol from plugin): In function `DFRobotIRPosition::DFRobotIRPosition()':
(.text+0x0): multiple definition of `DFRobotIRPosition::available()'
libraries\Samco_2IR\DFRobotIRPosition.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compilando para la tarjeta Adafruit ItsyBitsy 32u4 5V 16MHz.
Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version