USBJOY(PS2) atmega8

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
mogu
Posts: 12
Joined: Sun Jan 27, 2008 9:42 am

Post by mogu » Tue Feb 05, 2008 4:35 pm

That means R2 will be 4k7ohm if i use 100pF?

Sorry but i'm the worker+user(strictly follow the schematic),when it comes to calculation,maths @@

Thanks again!

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Tue Feb 05, 2008 4:37 pm

10 x 100 Ohm = 1000 Ohm = 1 kOhm
10 x 470 Ohm = 4700 Ohm = 4.7 kOhm

:-)

mogu
Posts: 12
Joined: Sun Jan 27, 2008 9:42 am

Post by mogu » Tue Feb 05, 2008 4:41 pm

Thanks alot and the prompt reply!

I really appreciate for all ur help with a newbie like me!
Will try again soon after my bath ^^.

Thanks!

mogu
Posts: 12
Joined: Sun Jan 27, 2008 9:42 am

Post by mogu » Tue Feb 05, 2008 5:14 pm

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!

Guest

Post by Guest » Tue Feb 05, 2008 6:38 pm

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

Guest

Post by Guest » Tue Feb 05, 2008 7:01 pm

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

mogu
Posts: 12
Joined: Sun Jan 27, 2008 9:42 am

Post by mogu » Tue Feb 05, 2008 10:40 pm

Tried both original file and file from this site,psx ok(but analog stick not working)
and ps2 totally not responding...
Will try the mod u post later...

Thanks

mogu
Posts: 12
Joined: Sun Jan 27, 2008 9:42 am

Post by mogu » Wed Feb 06, 2008 6:57 am

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!

Guest

Post by Guest » Wed Feb 06, 2008 12:42 pm

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

Guest

Post by Guest » Wed Jul 02, 2008 11:54 pm

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?

lios
Posts: 7
Joined: Thu Jun 14, 2007 11:58 pm

original ps2 pad

Post by lios » Thu Feb 12, 2009 2:11 am

guys the usbjoy works only with no-name pads, if i connect the original pads the usbjoy dont work :P why??

Post Reply