All in One PCB Support Thread

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: All in One PCB Support Thread

Post by Helder » Thu Oct 13, 2016 11:51 pm

Where are the usb data lines going from the AiO ? I'm not at all familiar with your headphone socket so that might be wrong as well as the volume wheel might be wrong too.

Easiest way to test audio is to remove the headphone socket and volume wheel. Connect pot 1 pad to pot 4 pad and pot 2 to pot 3 and connect the speaker negative to the Switch pad and theppositive to either the left or right pad.

Once you set that up you should have sound unless the config.txt is wrong. Post your results after doing this setup.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Boondoggle
Posts: 23
Joined: Fri Jun 17, 2016 6:16 pm
Has thanked: 22 times
Been thanked: 4 times

Re: All in One PCB Support Thread

Post by Boondoggle » Fri Oct 14, 2016 12:25 am

Helder wrote:Where are the usb data lines going from the AiO ?
Are the purple and blue wires usb data lines? If so, those wires are going from PWM0 pad on the AIO to GPIO pin 18, and PWM1 to GPIO pin 13
Helder wrote: I'm not at all familiar with your headphone socket so that might be wrong as well as the volume wheel might be wrong too.
I tried the aftermarket headphone socket and volume wheel after the stock items gave me these same results. These were purchased and installed as per wermy's guide.
Helder wrote:Easiest way to test audio is to remove the headphone socket and volume wheel. Connect pot 1 pad to pot 4 pad and pot 2 to pot 3 and connect the speaker negative to the Switch pad and theppositive to either the left or right pad.
That's REALLY good information. I tried it and just got a soft hiss out of the speaker. That points to config.txt.
Helder wrote:Once you set that up you should have sound unless the config.txt is wrong. Post your results after doing this setup.
Here is my config text. Originally I added "dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4" to the end of the text, but moved it up to the standard line for "dtoverlay" based on a seperate post. Neither location seemed to matter.

# For more options and information see
# http://www.raspberrypi.org/documentatio ... fig-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=1

Thanks again.

jeff_lequeux
Posts: 17
Joined: Sun Aug 28, 2016 5:56 am
Has thanked: 2 times
Been thanked: 7 times

Re: All in One PCB Support Thread

Post by jeff_lequeux » Fri Oct 14, 2016 1:37 am

Helder wrote:
Ford873 wrote:Might be a silly point to make or i missed it, but how are you both wired to the PI? are you def connected to the correct GPIO?
Put your SD card in a PC and edit the config.txt (I use Wordpad) and add the PWM Audio lines which should be in the first post. NO AUDIO will work without those lines in there and you will have to turn up the volume is the retropie options too.
I've try to re-wire the board to another pi-zero:
Image
Still have no sound....
I am exactly in the same case as "Boondoggle"

My config.txt:
# For more options and information see
# http://www.raspberrypi.org/documentatio ... fig-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=1

Thanks again.

jeff_lequeux
Posts: 17
Joined: Sun Aug 28, 2016 5:56 am
Has thanked: 2 times
Been thanked: 7 times

Re: All in One PCB Support Thread

Post by jeff_lequeux » Fri Oct 14, 2016 2:27 am

I've install retropie 4, and now sound is working on jack (with lot of noise), but no sound on speaker....

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: All in One PCB Support Thread

Post by Helder » Fri Oct 14, 2016 3:39 pm

jeff_lequeux wrote:I've install retropie 4, and now sound is working on jack (with lot of noise), but no sound on speaker....
First post in this thread has the cmdline.txt and the config.txt files that I use and work, try replacing the ones you are using with those and see if audio is working and has less buzzing.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Boondoggle
Posts: 23
Joined: Fri Jun 17, 2016 6:16 pm
Has thanked: 22 times
Been thanked: 4 times

Re: All in One PCB Support Thread

Post by Boondoggle » Fri Oct 14, 2016 9:13 pm

Helder wrote: Easiest way to test audio is to remove the headphone socket and volume wheel. Connect pot 1 pad to pot 4 pad and pot 2 to pot 3 and connect the speaker negative to the Switch pad and theppositive to either the left or right pad.

Once you set that up you should have sound unless the config.txt is wrong. Post your results after doing this setup.
Image[/url]

Ok. I reconfigured the GB as suggested (please tell me if I've misunderstood) and replaced the config file with one you provided (thanks).

Unfortunately I still get just speaker hiss. It is a bit louder than before.

Fiirikkusu
Posts: 5
Joined: Fri Oct 14, 2016 10:23 pm

Re: All in One PCB Support Thread

Post by Fiirikkusu » Fri Oct 14, 2016 10:30 pm

Hello,
I purchased a 1.4 AIO board and I can't seem to get it to detect on my pi0. I have tried various ways of connecting it but it doesn't seem to be working. I also tried connecting to my PC via usb cable but it's not even detecting or even prompting me that I connected a usb device. Any help would be greatly appreciated. Thank you.

User avatar
Mischief
Posts: 225
Joined: Sat May 21, 2016 7:50 am
Location: Wolverhampton, UK
Has thanked: 29 times
Been thanked: 69 times

Re: All in One PCB Support Thread

Post by Mischief » Sat Oct 15, 2016 1:46 am

Have you started alsamixer and adjusted the volume their?

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: All in One PCB Support Thread

Post by Helder » Sat Oct 15, 2016 7:23 am

Boondoggle wrote:
Helder wrote: Easiest way to test audio is to remove the headphone socket and volume wheel. Connect pot 1 pad to pot 4 pad and pot 2 to pot 3 and connect the speaker negative to the Switch pad and theppositive to either the left or right pad.

Once you set that up you should have sound unless the config.txt is wrong. Post your results after doing this setup.
Image[/url]

Ok. I reconfigured the GB as suggested (please tell me if I've misunderstood) and replaced the config file with one you provided (thanks).

Unfortunately I still get just speaker hiss. It is a bit louder than before.
Be sure you have the speaker wires in the right polarity, and only thing else to check is the power to the AIO. I see you're powering from the Pi itself, can't you power it though the power supply board? Also are you powering the screen from the Pi too?
If you use HDMI to test I'm pretty sure there is no Audio through the speaker or headphones.

Fiirikkusu wrote:Hello,
I purchased a 1.4 AIO board and I can't seem to get it to detect on my pi0. I have tried various ways of connecting it but it doesn't seem to be working. I also tried connecting to my PC via usb cable but it's not even detecting or even prompting me that I connected a usb device. Any help would be greatly appreciated. Thank you.
Are you sure you have it wired properly to the usb cable? post pictures please and you might have to reflow the hub chip or the 12MHz resonator if the hub isn't getting detected. Don't reflow anything yet until the wiring has been confirmed.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Fiirikkusu
Posts: 5
Joined: Fri Oct 14, 2016 10:23 pm

Re: All in One PCB Support Thread

Post by Fiirikkusu » Sat Oct 15, 2016 8:02 am

I have attached a picture of the wiring. The screen and pi0 power up.
Attachments
20161014_222604.jpg
20161014_222604.jpg (6.19 MiB) Viewed 10517 times

Locked

Who is online

Users browsing this forum: No registered users and 1 guest