Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 56
  1. #11
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,079
    Wow, that's fast
    Will need to get myself a pi0W, too, are they already available at all?
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  2. #12
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,729

    [ANNOUNCE] SqueezeButtonPi - Tool to usebuttons and rotary encoders on a RPi

    > Will need to get myself a pi0W, too, are they already available at all?

    The German distributor linked from the Pi website claims to have them.
    But then I've only seen bundles, like the 800EU bundle for schools...
    but not the computer alone.

    --

    Michael

  3. #13
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,768
    Quote Originally Posted by pippin View Post
    Will need to get myself a pi0W, too, are they already available at all?
    You can buy just the board from Canakit in north america, limited to 1 per customer.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  4. #14
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    810
    Quote Originally Posted by ralphy View Post
    You can buy just the board from Canakit in north america, limited to 1 per customer.
    Ordered mine this afternoon. Supposedly in stock.

    Ralphy, we should talk about moving wiringpi to dynamic linked....I was going to submit 2.39 to the repo last weekend. Man it's hard to keep up sometimes, I'll repack the 2.42 this weekend.

    I would keep libcurl and it's dependencies static for now.
    Last edited by paul-; 2017-03-02 at 20:55.

  5. #15
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    810
    Quote Originally Posted by pippin View Post
    Something like
    Code:
     /usr/local/sbin/sbpd -d -s e,23,24,VOLM,0 b,25,PLAY,1
    This example assumes you are using a rotary encoder connected to the BCM 23 and 24 pins for volume and a button connected to pin BCM 25 for play/pause
    I believe you don't need -s and -d but they are the safe choice.
    What is the other side of the button connected to? I played with this over the weekend and couldn't get it to respond. Are you pulling up or pulling down?

  6. #16
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,079
    Quote Originally Posted by paul- View Post
    What is the other side of the button connected to? I played with this over the weekend and couldn't get it to respond. Are you pulling up or pulling down?
    Up. Just connect the common pin of the encoder to ground (for the encoders I've seen it's the central pin of the three encoder pins)
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  7. #17
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    810
    Quote Originally Posted by pippin View Post
    Up. Just connect the common pin of the encoder to ground (for the encoders I've seen it's the central pin of the three encoder pins)
    Same for buttons then.....all of my buttons are wired the other way.

  8. #18
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,079
    Which other way? Against 3.3V?
    Do I need to add another configuration option for that?
    Last edited by pippin; 2017-03-02 at 21:28.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  9. #19
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,079
    Quote Originally Posted by mherger View Post
    The German distributor linked from the Pi website claims to have them.
    But then I've only seen bundles, like the 800EU bundle for schools...
    but not the computer alone.
    They have it, just their web site is a mess... It's on page 2 of the "Pi and stuff" category
    This is the direct link:
    https://buyzero.de/collections/raspb...nt=31099105234

    You then explicitly have to select a different bundle to only get the Pi without all the other stuff. Because if you select "Pi only" you of course by default want to buy a case and a bag full of connectors...

    But it's possible, I just ordered just the pi0W, let's see whether I also get it...
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  10. #20
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    810
    Quote Originally Posted by pippin View Post
    Which other way? Against 3.3V?
    Do I need to add another configuration option for that?
    Yes, its just the way alot of industrial controls are wired to PLC's. No big deal. I can change that.

    The odd thing is that interrupts don't seem to fire. I've compiled the interrupt example in wiringpi, and that works fine.

    sudo sbpd -d b,25,PLAY,1

    When I trigger GPIO 25, I can see the state change in the gpio, .....but no command is sent to the server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •