USBJOY(PS2) atmega8
Thanks you both of you, it works! ^^
All 3 avr back to normal, but for the ps2 controller part still not working.
When I plugged the ps2 con in all the axis will all move to 255, when I touched DAT pin the axis will jumped...
Here is my schematic is the value i use correct?
Schematic
Thanks!
All 3 avr back to normal, but for the ps2 controller part still not working.
When I plugged the ps2 con in all the axis will all move to 255, when I touched DAT pin the axis will jumped...
Here is my schematic is the value i use correct?
Schematic
Thanks!
Try to load original files
ftp://ftp.radio.ru/pub/2007/01/usbjoy/prog.zip (HEX files)
ftp://ftp.radio.ru/pub/2007/01/usbjoy/shm.zip (Schematics in Russian)
ftp://ftp.radio.ru/pub/2007/01/usbjoy/pcb.zip (PCB for PCAD-2002)
In the first file are available HEX for one or two PSX/PS2-joypads. Try different HEX-files to programmed in ATmega8.
Whether normally works PSX-joypad?
Put two consecutive diodes 1N4148 on a power instead of one 1N4148.
Best regards, Sergey
ftp://ftp.radio.ru/pub/2007/01/usbjoy/prog.zip (HEX files)
ftp://ftp.radio.ru/pub/2007/01/usbjoy/shm.zip (Schematics in Russian)
ftp://ftp.radio.ru/pub/2007/01/usbjoy/pcb.zip (PCB for PCAD-2002)
In the first file are available HEX for one or two PSX/PS2-joypads. Try different HEX-files to programmed in ATmega8.
Whether normally works PSX-joypad?
Put two consecutive diodes 1N4148 on a power instead of one 1N4148.
Best regards, Sergey
In addition to previous.
1) The pin 1 of ATmega8 should be connected to the VBus by the resistor 10 kOhm. Also it is possible to put the capacitor 0,1 mkF between pin 1 ATmega8 and GND.
2) To put on a socket of joypad between GND and +3,5V the capacitor 1 mkF.
3) The resistor R1 can be 2,2 kOhm, R2=R3 can be 68 Ohm.
4) To make short wires between ATmega8 and joypad.
5) Check up on the other joypads
1) The pin 1 of ATmega8 should be connected to the VBus by the resistor 10 kOhm. Also it is possible to put the capacitor 0,1 mkF between pin 1 ATmega8 and GND.
2) To put on a socket of joypad between GND and +3,5V the capacitor 1 mkF.
3) The resistor R1 can be 2,2 kOhm, R2=R3 can be 68 Ohm.
4) To make short wires between ATmega8 and joypad.
5) Check up on the other joypads
Change to the value you suggested(except R2,R3), but PS2 controller still not working(tested 3 of ps2 controllers)
PSX controller normal directional and button working but not the analog stick,L3 and R3.
Any idea what is wrong? is it the hardware or the software?
Anyone successfully built this with PS2 controller? Will the R2,R3 affect by using 100ohm?
Thanks!
PSX controller normal directional and button working but not the analog stick,L3 and R3.
Any idea what is wrong? is it the hardware or the software?
Anyone successfully built this with PS2 controller? Will the R2,R3 affect by using 100ohm?
Thanks!
1) For work in an analog mode it is necessary press the button ANALOG on joypad PSX (should to light up LED). Whether brightly shines LED? Check up, whether decreases thus a voltage of a power on contacts VCC-GND joypad.
2) Joypad from PS2 is not defined at all how the USB-device or the buttons do not work? What messages occur on the monitor?
3) In what country is made joypad PS2 (China, Japan or another)? What his name SCPH-xxxx? With what version PS2 he works?
4) What at you Windows (located, firm, patch or another)? Whether tried on the other computer to be connected?
5) Measure a voltage of a power acting directly on open joypad (3,5... 4,5 V). Whether it decreases by pressing buttons on a joypad?
6) Put consistently with all signal contacts joypad resistors 100... 200 Ohm. See by oscilloscop levels of signals joypad (probably they have low amplitude)
Best regards, Sergey
2) Joypad from PS2 is not defined at all how the USB-device or the buttons do not work? What messages occur on the monitor?
3) In what country is made joypad PS2 (China, Japan or another)? What his name SCPH-xxxx? With what version PS2 he works?
4) What at you Windows (located, firm, patch or another)? Whether tried on the other computer to be connected?
5) Measure a voltage of a power acting directly on open joypad (3,5... 4,5 V). Whether it decreases by pressing buttons on a joypad?
6) Put consistently with all signal contacts joypad resistors 100... 200 Ohm. See by oscilloscop levels of signals joypad (probably they have low amplitude)
Best regards, Sergey
Hi!
I've also built the USBJoy and can't get it to fully work. To connect the pad, I bought a broken Playstation 1 (for the controller port) and a Dualshock controller (SCPH-1200) from eBay. My ATmega8 is programmed with 0x9f (low fuses) and 0xc9 (high fuses) and responds perfectly at my USB port. The LED blinks just fine as well. However, the controller either doesn't want to talk (can't verify it's working properly, though it should be) or the chip can't handle it. No matter what buttons I press on the controller, nothing happens. The LED just keeps blinking. If I press some buttons or activate the analog LED the voltage decreases by a few mV.
Anybody got another idea?
I've also built the USBJoy and can't get it to fully work. To connect the pad, I bought a broken Playstation 1 (for the controller port) and a Dualshock controller (SCPH-1200) from eBay. My ATmega8 is programmed with 0x9f (low fuses) and 0xc9 (high fuses) and responds perfectly at my USB port. The LED blinks just fine as well. However, the controller either doesn't want to talk (can't verify it's working properly, though it should be) or the chip can't handle it. No matter what buttons I press on the controller, nothing happens. The LED just keeps blinking. If I press some buttons or activate the analog LED the voltage decreases by a few mV.
Anybody got another idea?
original ps2 pad
guys the usbjoy works only with no-name pads, if i connect the original pads the usbjoy dont work why??