AIO 2.2 no gamepad detected

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Post Reply
MMunera
Posts: 10
Joined: Sun Apr 16, 2017 4:52 pm
Has thanked: 6 times
Been thanked: 2 times

AIO 2.2 no gamepad detected

Post by MMunera » Sun May 14, 2017 2:40 pm

Hi everyone

I'm almost done with my GBZero but still i have some troubles i dont know how to solve. I have PWM0 pad on the AIO to GPIO pin 18 on my Raspberry Pi Zero and PWM1 to GPIO pin 13, and i already added “dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4” at the end of the config.txt file.

When i power on my GBZ at the end of the boot i just receive something like this Image (i took this pic from internet) so i dont know what to do. I'm sure the connectios are ok also the soldering.

Is there anything you think i should try? Thanks in advance :)


p.s I've been looking thru the forums but i didnt find anything like this, sorry if i am duplicating the thread.
Last edited by MMunera on Sun May 14, 2017 4:20 pm, edited 1 time in total.

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: AIO 2.2 no gamepad detected

Post by rodocop » Sun May 14, 2017 3:57 pm

The pwm pins are meant for audio so they won't have anything to do with controls, make sure in your config file you do not add the ["] marks though. For controls make sure the usb data wires have proper solder connections to the pi zero. And make sure the aio power and ground are connected properly.

Pics of your wiring will be helpful, if you have any.

MMunera
Posts: 10
Joined: Sun Apr 16, 2017 4:52 pm
Has thanked: 6 times
Been thanked: 2 times

Re: AIO 2.2 no gamepad detected

Post by MMunera » Sun May 14, 2017 4:19 pm

rodocop wrote:
Sun May 14, 2017 3:57 pm
The pwm pins are meant for audio so they won't have anything to do with controls, make sure in your config file you do not add the ["] marks though. For controls make sure the usb data wires have proper solder connections to the pi zero. And make sure the aio power and ground are connected properly.

Pics of your wiring will be helpful, if you have any.
Everything receives power. Carging battery is ok, the power switch working as well with the powerboost. The raspberry pi receive also energy so it should works for everything else, right?

Here are the pics

Image

Image

Image

I thought the pwm where for the buttons as well. I dont have de "" in the config.txt. The file ending is like this:

...
...
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=1
dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4
If someone help me i will eternally grateful :)

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: AIO 2.2 no gamepad detected

Post by rodocop » Sun May 14, 2017 4:52 pm

Pp22 and pp23 are the data pads on the pi. Those need to be soldered to the d+ and d- input on the aio.

Pp22 goes with d+
Pp23 goes with d-

You need to connect those to transfer data between the pi and the aio. That is your problem.

MMunera
Posts: 10
Joined: Sun Apr 16, 2017 4:52 pm
Has thanked: 6 times
Been thanked: 2 times

Re: AIO 2.2 no gamepad detected

Post by MMunera » Sun May 14, 2017 7:13 pm

rodocop wrote:
Sun May 14, 2017 4:52 pm
Pp22 and pp23 are the data pads on the pi. Those need to be soldered to the d+ and d- input on the aio.

Pp22 goes with d+
Pp23 goes with d-

You need to connect those to transfer data between the pi and the aio. That is your problem.
That was! I dont know why i forgot it. It's been this kid of times that you see over and over everything but dont realize that error :P

Now i have another one :P The display show the colors inverted which i really dont even imagine why :P

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: AIO 2.2 no gamepad detected

Post by rodocop » Sun May 14, 2017 7:54 pm

Do you have a picture of your screen type and the wiring? I've never seen or heard of inverted colors.

MMunera
Posts: 10
Joined: Sun Apr 16, 2017 4:52 pm
Has thanked: 6 times
Been thanked: 2 times

Re: AIO 2.2 no gamepad detected

Post by MMunera » Mon May 15, 2017 5:44 am

Image


Image


Image

The gren wire, which is Y is connected to the TV pin on the Rpi. My screen pcb is the variant 8 http://www.sudomod.com/wiki/index.php?title=GBZ_Screen already set up the 12v to 5V. Everything looks fine in than sense but i just receive the colors inverted. I tried also with the R wire of the pcb connected to the pin next to the TV one on the Rpi but it does not work.

I think maybe is something wrong in the ribbon. I dont know what else to try.

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: AIO 2.2 no gamepad detected

Post by rodocop » Mon May 15, 2017 8:14 am

Yeah, the only thing I can think of is a ribbon cable issue, make sure it is seated well in the connector, sorry I can't be of much help, everything else looks good otherwise. I would also have a look at the red wire and make sure it is not touch the other leg of that black part. Hopefully you can figure it out.

MMunera
Posts: 10
Joined: Sun Apr 16, 2017 4:52 pm
Has thanked: 6 times
Been thanked: 2 times

Re: AIO 2.2 no gamepad detected

Post by MMunera » Mon May 15, 2017 5:45 pm

I finally solved it. Indeed, it was the ribbon. I discover that if is not completely tensed up when you boot it up the pi the colors starts being inverted and is not possible to put them right when is already on.

So in order to solve it i put some glue tensing it up always so i can start the system properly :)

Thanks anyway for all the help you give me :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest