Dummies Guide to Pi2AES! Throw away your PC or laptop.

Discussion in 'Digital: DACs, USB converters, decrapifiers' started by purr1n, Jan 29, 2020.

  1. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Pyrate
    Joined:
    Apr 22, 2016
    Likes Received:
    4,112
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    What GPIO are you using?
     
  2. coin777

    coin777 Acquaintance

    Joined:
    Feb 8, 2019
    Likes Received:
    34
    Trophy Points:
    18
    Location:
    poland
    gpio23
    Sadly gpio3 as a shutdown pin wasn't working with pi2aes on
     
  3. hpamdr

    hpamdr New

    Joined:
    Nov 9, 2019
    Likes Received:
    7
    Trophy Points:
    3
    Location:
    France
    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....
     
  4. coin777

    coin777 Acquaintance

    Joined:
    Feb 8, 2019
    Likes Received:
    34
    Trophy Points:
    18
    Location:
    poland
    You just need esp32 to do both of those things remotely, no need for buttons
     
  5. MegaKen

    MegaKen New

    Joined:
    Sep 28, 2021
    Likes Received:
    24
    Trophy Points:
    8
    Location:
    Philadelphia, PA
    [​IMG]

    Where is this jumper plug?
     
  6. dasman66

    dasman66 Self proclaimed lazy ass - friend

    Pyrate Contributor
    Joined:
    Mar 13, 2018
    Likes Received:
    2,461
    Trophy Points:
    113
    Location:
    NW Pennsylvania
    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
     
  7. MegaKen

    MegaKen New

    Joined:
    Sep 28, 2021
    Likes Received:
    24
    Trophy Points:
    8
    Location:
    Philadelphia, PA
    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?

    [​IMG]
     
  8. Pancakes

    Pancakes Friend

    Pyrate Contributor
    Joined:
    Aug 13, 2020
    Likes Received:
    1,417
    Trophy Points:
    93
    Location:
    Atl
    Jumper is the purple thing in the picture. It connects the two gold terminals to the right of it.
     
  9. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Pyrate
    Joined:
    Apr 22, 2016
    Likes Received:
    4,112
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    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.


    upload_2021-11-17_16-48-1.png

    This was removed from the manual as it was deemed unsupported. Sorry!:oops:

    [edit] there is also GPIO27 that is marked as MUTE (pin 4 on the expansion header) that is not used on the PI2AES.
     
  10. MegaKen

    MegaKen New

    Joined:
    Sep 28, 2021
    Likes Received:
    24
    Trophy Points:
    8
    Location:
    Philadelphia, PA
    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).
    Thanks though
     
    Last edited: Nov 17, 2021
  11. Metro

    Metro Friend

    Pyrate
    Joined:
    Dec 27, 2016
    Likes Received:
    1,590
    Trophy Points:
    93
    Location:
    San Francisco
    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.
     
  12. hpamdr

    hpamdr New

    Joined:
    Nov 9, 2019
    Likes Received:
    7
    Trophy Points:
    3
    Location:
    France
    @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) !
     
    Last edited: Nov 18, 2021
  13. MegaKen

    MegaKen New

    Joined:
    Sep 28, 2021
    Likes Received:
    24
    Trophy Points:
    8
    Location:
    Philadelphia, PA
    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..

    [​IMG]
     
  14. dasman66

    dasman66 Self proclaimed lazy ass - friend

    Pyrate Contributor
    Joined:
    Mar 13, 2018
    Likes Received:
    2,461
    Trophy Points:
    113
    Location:
    NW Pennsylvania
    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).
     
  15. MegaKen

    MegaKen New

    Joined:
    Sep 28, 2021
    Likes Received:
    24
    Trophy Points:
    8
    Location:
    Philadelphia, PA
    So I'm supposed to take that cap off if I want to disconnect them?
     
  16. LetMeBeFrank

    LetMeBeFrank Won't tell anyone my name is actually Francis

    Pyrate
    Joined:
    Aug 4, 2017
    Likes Received:
    3,758
    Trophy Points:
    93
    Location:
    Jackson, Mi
    The "cap" has metal inside that connects the pins together, removing it disconnects the pins from each other.
     
  17. MegaKen

    MegaKen New

    Joined:
    Sep 28, 2021
    Likes Received:
    24
    Trophy Points:
    8
    Location:
    Philadelphia, PA
    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
     
    • Like Like x 1
    • Dislike Dislike x 1
    • List
  18. LetMeBeFrank

    LetMeBeFrank Won't tell anyone my name is actually Francis

    Pyrate
    Joined:
    Aug 4, 2017
    Likes Received:
    3,758
    Trophy Points:
    93
    Location:
    Jackson, Mi
    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.

    [​IMG]
     
  19. MegaKen

    MegaKen New

    Joined:
    Sep 28, 2021
    Likes Received:
    24
    Trophy Points:
    8
    Location:
    Philadelphia, PA
    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?
     
  20. loadexfa

    loadexfa MOT: rhythmdevils audio

    Pyrate Contributor
    Joined:
    Dec 26, 2017
    Likes Received:
    2,542
    Trophy Points:
    93
    Location:
    SF Bay Area Peninsula
    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. ;)
     

Share This Page