Home of the Squeezebox™ & Transporter® network music players.
Page 30 of 34 FirstFirst ... 202829303132 ... LastLast
Results 291 to 300 of 333
  1. #291
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,492
    Quote Originally Posted by Paul Webster View Post
    Is it feasible to have infrared remote support via the spare pins?
    Yes, it should be. Need to develop drivers of course
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  2. #292
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    2,221
    Quote Originally Posted by philippe_44 View Post
    Yes, it should be. Need to develop drivers of course
    This might help ... adds IR sending for ESP32 (there was already a receiver).

    https://github.com/crankyoldgit/IRre...P8266/pull/742
    Paul Webster
    http://dabdig.blogspot.com
    Author Radio France (FIP etc) plugin

  3. #293
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    212
    Quote Originally Posted by Paul Webster View Post
    This might help ... adds IR sending for ESP32 (there was already a receiver).

    https://github.com/crankyoldgit/IRre...P8266/pull/742
    One thing to keep in mind here is that a lot of data is processed by the esp32 during playback: WiFi I/O, decoding, output buffer and then I2S. Adding resource hungry processing could be too much.

    Receiving infrared typically requires dedicating an irq to measure signal transition durations. Once a buffer is acquired, it is then passed through protocol handlers and decoded to data. It's hard to say how this would affect playback.

    Transmitting could be more realistic. A data packet is encoded using a protocol, and it's outputted as a relatively short burst. If the esp32 still has a PWM channel available, then I think it could work.

    Not that the esp-idf itself only provides the nec protocol as an example. Implementing this would require many other protocols to be any useful.

    I did a mashup of code to emulate a network infrared remote called itach, a couple of years ago.
    https://github.com/sle118/ESPITachEmulator

    The emulator replies on my ir library
    https://github.com/sle118/IrServiceBase

    It wasn't perfect, but worked just good enough for my use case.
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!

  4. #294
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,492
    Quote Originally Posted by sle118 View Post
    One thing to keep in mind here is that a lot of data is processed by the esp32 during playback: WiFi I/O, decoding, output buffer and then I2S. Adding resource hungry processing could be too much.

    Receiving infrared typically requires dedicating an irq to measure signal transition durations. Once a buffer is acquired, it is then passed through protocol handlers and decoded to data. It's hard to say how this would affect playback.

    Transmitting could be more realistic. A data packet is encoded using a protocol, and it's outputted as a relatively short burst. If the esp32 still has a PWM channel available, then I think it could work.

    Not that the esp-idf itself only provides the nec protocol as an example. Implementing this would require many other protocols to be any useful.

    I did a mashup of code to emulate a network infrared remote called itach, a couple of years ago.
    https://github.com/sle118/ESPITachEmulator

    The emulator replies on my ir library
    https://github.com/sle118/IrServiceBase

    It wasn't perfect, but worked just good enough for my use case.
    You might be a bit pessimistic on this one . I don't have experience with low-level IR receiver, but in addition of normal WiFi processing, I've been able to fit an aac decoder (this is the most demanding), 21 taps FIR resampler and a SPDIF encoder/transmitter (which is extermely processing heavy, 4x sample rate in 32 bits) and we still have a lot of CPU available. I have to say that it surprised me that it fits on a CPU with just a QSPI flash/PSRAM memory subsystem (with good caching though ...) but it does. So cross fingers, it might work to add IR receiver - although this is not a high priority
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  5. #295
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,396

    pre-ANNOUNCE: SqueezeAMP andSqueezeliteESP32

    Something wierd happened. I was listening to Radio Paradise "FLAC
    interactive" when my SqueezeAMP started re-buffering. But it never
    finished re-buffering. Nor was I able to connect to it on port 80. It
    hung. I pulled the plug, but it would immediately die again, likely
    because it tried to re-buffer the same track.

    Eventually I turned squeezelit off before it hung re-buffering. That got
    me access to its web UI again.

    Is there anything I can do when something like that happens? Some kind
    of post-mortem debug info? I don't have the serial adapter connected in
    normal use.
    --

    Michael

  6. #296
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,492
    Quote Originally Posted by mherger View Post
    Something wierd happened. I was listening to Radio Paradise "FLAC
    interactive" when my SqueezeAMP started re-buffering. But it never
    finished re-buffering. Nor was I able to connect to it on port 80. It
    hung. I pulled the plug, but it would immediately die again, likely
    because it tried to re-buffer the same track.

    Eventually I turned squeezelit off before it hung re-buffering. That got
    me access to its web UI again.

    Is there anything I can do when something like that happens? Some kind
    of post-mortem debug info? I don't have the serial adapter connected in
    normal use.
    --

    Michael
    Can you tell me what was the url of the RP interactive stream involved? AFAIR when we worked a bit together on RP interactive, these URL are persistent. That would help me to see if there is something specific on that flac file
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  7. #297
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,396

    pre-ANNOUNCE: SqueezeAMP andSqueezeliteESP32

    > Can you tell me what was the url of the RP interactive stream involved?

    Unfortunately no. That's one for next time, sorry.

    --

    Michael

  8. #298
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    212
    Quote Originally Posted by mherger View Post
    Is there anything I can do when something like that happens? Some kind
    of post-mortem debug info? I don't have the serial adapter connected in
    normal use.
    --

    Michael
    I have been considering using a small amount of precious flash to dump errors in a rotated set of logs, but haven't gotten to it yet
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!

  9. #299
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,492

    pre-ANNOUNCE: SqueezeAMP and SqueezeliteESP32

    These a pictures of the build made by PCBWay ... seems to be fine.

    Name:  IMG_20191101_183253.jpg
Views: 268
Size:  80.3 KBName:  IMG_20191101_183310.jpg
Views: 270
Size:  80.4 KB
    Last edited by philippe_44; 2019-11-02 at 00:20.
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  10. #300
    Senior Member chill's Avatar
    Join Date
    Mar 2007
    Location
    Nottingham, UK
    Posts
    1,600
    Quote Originally Posted by philippe_44 View Post
    These a pictures of the build made by PCBWay ... seems to be fine.

    Name:  IMG_20191101_183253.jpg
Views: 268
Size:  80.3 KBName:  IMG_20191101_183310.jpg
Views: 270
Size:  80.4 KB
    Looking good. Are they in your hands now, or have they sent you those photos? If you've got them, it looks like they are made in panels - will you have to snap them into separate boards?

    EDIT: And I just noticed - the wrover in those photos seems to be the version with the external antenna socket.

Posting Permissions

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