Discussion in 'Digital: DACs, USB converters, decrapifiers' started by purr1n, Jan 29, 2020.
What GPIO are you using?
Sadly gpio3 as a shutdown pin wasn't working with pi2aes on
Thanks @coin777 my goal was not to do any soldering on rpi also using pin 23 and GND need a push Button to close/signal shutdown and Pi2AES pins 13/14 need a switch "open" to power off (24V + 5V)..
I would have prefered a built in solution from the pi2AES hat , @Michael Kelly have you ever designed such mechanism or any better access to GPIO pins ?
// I just run piCore player(s) from my LMS UI , I usually access web ui of the player when changing parameters or doing update....
You just need esp32 to do both of those things remotely, no need for buttons
Where is this jumper plug?
See pgs 12 & 15 of the manual - pg 15 shows a graphic of the board and the jumper is labeled as indicated on pg 12
I see something labeled pi5v here but I can't tell what it's referring to.. To me jumper is one of those thin colorful wires, but I'm not using any.. So what is it referring to?
Jumper is the purple thing in the picture. It connects the two gold terminals to the right of it.
The PI2AES has a power control circuit that was supported by the Volumio 503HTA plugin. But that plugin no longer works. However, the GPIO are still connected. The idea is when the OS is up it drives PWR_HLD (GPIO22) high. When it detects PWR_SW (GPIO24) going low (not *PWR_SW which is connected to pin 14 of the 16-pin header) it does a shutdown, then releases PWR_HLD.
This was removed from the manual as it was deemed unsupported. Sorry!
 there is also GPIO27 that is marked as MUTE (pin 4 on the expansion header) that is not used on the PI2AES.
Ok and I can just pull them out?
And then the pi and the hat will be powered completely separate. In which case, how do I power it down (the hat)? Can I just pull the cord if I need to move it or something? Because the 'shutdown' command I issue through software or ssh won't trickle down to the hat if it's powered independently (not sure if it even matters).
Yes, after a software shutdown you can just pull the cord. The software shutdown is to maintain the integrity of the software system (flush cached data to storage, stop activity on the file system, etc). After shutting down, pulling the cord won't corrupt the software system.
@Michael Kelly Many thanks, i will try to use your wonderful documentation and just fiil good parameters for piCore (no need anymore for python script) or use GPIO27 !
About powering rpi externally, i did some test with 5V linear power supply i was using to power usb in Big PC setup.... My current conclusion is that I did not found any benefit as i2s signal is well reclocked/synched/isolated in pi2AES hat. The only improvement that make sens for me was to simplify the player and upgrade eeprom of rpi4 (it cost nothing) !
But then it's not connected to anything - it's like a cap. What am I supposed to pull out? Or was it never connected? I don't know - I was following the guide..
Page 12 : Jumper W2, when installed, allows the Raspberry PI to be powered from the PI2AES. When jumper W2 is removed, separate 5V power must be supplied to the Raspberry PI.
Pull the jumper off if you want to power the rpi separately (IOW, there is no longer a connection between the 2 pins).
So I'm supposed to take that cap off if I want to disconnect them?
The "cap" has metal inside that connects the pins together, removing it disconnects the pins from each other.
The manual was written by an engineer, but like 99% of people are not engineers. And I'm in that tiny majority
Thanks guys for helping me figure it out
It's all good. I only knew this from my early days of PC building when you had to use a jumper like that on hard drives to determine if they were "slave" or "master" drives.
I actually just put the pi itself together for the first time, with the 'official' screen, and there - they refer to the long wires as 'jumpers' so I was definitely confused.
But so I take the cap off and just leave it somewhere? And if I don't take it off I don't need the separate power supply for the pi itself?
Yup this is all correct. Keep the jumper safe in case you change your mind in the future, they are easily lost. I may be speaking from personal experience.
Separate names with a comma.