PDA

View Full Version : pCP3.22 + Waveshare 3.5 + Justboom Amp Zero



denhorst
2018-01-08, 13:33
Hello,

I whant to build a small a Bathroom Wifi Radio with an Raspberry Pi 3 + pCP3.22 + Waveshare 3.5 + Justboom Amp Zero.

The following Configurations are still running pretty well :

Config 1:
Raspberry Pi 3 + pCP3.22 + Waveshare 3.5 + Jivelite
I have usesd the Instructions fromnowhinjing
(Thanks to fromnowhinjing)

Config 2:
Raspberry Pi 3 + pCP3.22 + Justboom Zero AMP


Now I whant to combine the Configurations. I use a Stacking Header to put the Waveshare TFT on the Justboom Amp.
But it didn't work :confused:

I think it is a GPIO problem...

Usually, the amplifier should use the following pins:
PIN 1 - PIN 2 - PIN 3 - PIN 4 - PIN 5 - PIN 12 - PIN 17 - PIN 35 - PIN 40

optional:
PIN 16 Rotary
PIN 18 Rotary
PIN 21 Rotary

and the TFT should use:

PIN 2 - PIN 14 - PIN 18 - PIN 19 - PIN 22 - PIN 23 - PIN 24 - PIN 25


Could PIN 18 make the Problem ? According to the Justboom specs. the PIN18 is Optional. Is it possible to disable the Rotary support and is that my solution?

Sorry for my bad Enlish ;)

Thanks,

Horst

paul-
2018-01-08, 13:53
There is no way to disable that in the drivers.

denhorst
2018-01-11, 11:39
Hi Paul,

did you see a possibility to get a running config with TFT and Justboom interface?
Alternatively, I would try slimmer as an interface

Kind regards

horst

piPlayer
2018-01-12, 03:54
You could try the HDMI version of the waveshare 3,5" touchpanel: link (https://www.waveshare.com/product/modules/oleds-lcds/raspberry-pi-lcd/3.5inch-hdmi-lcd.htm)
This one dont use the PIN 18.
You can stack it on the amp for the touch function but you need an additional HDMI mini to HDMI cable for the display.




2, 4
5V


3, 5, 7, 8, 10, 11, 12, 13, 15, 16, 18, 24
not connected


6, 9, 14, 20, 25
Ground


19
SPI data input of Touch Panel


21
SPI data output of Touch Panel


22
Touch Panel interrupt, low level while the Touch Panel detects touching


23
SPI clock of Touch Panel


26
Touch Panel chip selection, low active

denhorst
2018-01-14, 04:06
Hello,

I have now a running 4x20 LCD Display with a slimmer config like https://github.com/terba/slimmer/wiki/Building-a-player.
But I have a litte Problem with the Buttons. The Rotary Encoder works well but when I connected the Button from the Encoder to GPIO 6 for example the PI received many pikeyd events from this Button. I looks like there is no debouncing . Did anyone know this Problem ?

piPlayer
2018-01-15, 03:20
I think this problem would be better placed in the slimmer thread.
Anyway, did You use pull-up resistors for connecting the button?
If not, this could be the problem.

denhorst
2018-01-21, 09:45
Hi,

it was a Problem with the pull up resistors.
Now everythink ist workling fine.
Thx for the support.

Horst