-
Notifications
You must be signed in to change notification settings - Fork 99
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Louder ESP32 (TAS5805M) configuration #327
Comments
It is possible to synchronize several players and LMS sends corrections when needed. Personally, I sync 3 zones on a regular basis, 2 of which are in the same space and you could swear that they are hard wired together. |
Hi @sle118 ... thank you for the response.. I want to know if I buy one if you would support me to get this thing running. Do you know how much the SqueezeAmp is? Do you think I can build a 2.1 System wirelessly? So that I can group a subwoofer, two smaller speakers as one group and the sub is playing the lower frequencies and the other speaker are playing the other frequencies? @philippe44 |
Since we don't have one of these devices, we can't really help, but we can certainly provide some guidance, although the Logitech forums are probably a better place to get some support. Others have configured different DAC themselves.
Can't remember. You should have a read here: https://forums.slimdevices.com/forum/user-forums/3rd-party-hardware/108002-announce-the-squeezeamp-next-generation-squeezeboxen-amplifier-receiver I think there are some infos towards the end.
I have not tried that and not sure how cross over would work, but I suspect it's possible. @philippe44?
They are pre soldered, yes, but no external antenna. They are also perfect for turning a pair of old speakers into a battery powered portable wireless speakers (I built two of these for my own usage). You can stream Bluetooth, AirPlay and Spotify (in addition to LMS of course) |
I will buy one of the tindy ones.. It's quite cheap and for my usecase it's ideal. Should I create an GitHub issue or post it in the linked forum? |
The SqueezeAMP is fully assembled and comes with a case https://github.com/philippe44/SqueezeAMP |
Could you give me a figure how much is anSquerzeAMP? I found a old number in the thread (around 60$) is that still valid? Do you think a wireless 2.1 System is possible? I am still thinking about the Tindie Offer for me the shipment is quite low and the price 20€ incl. esp32 seems fair. Do you have an link where I can check the manual config? I searched here in the GitHub but I found only something for tested hardware... Thank you in advance! |
I just did a batch a few weeks ago. It cost me 58USD per unit, that include a casing. Shipment is usually USD12. It's a non-profit thing, means I'm just passing the cost the PCB assembly house is charging me + taxes. You could do a 2.1 but that needs more one device. The TI chip on SqueezeAMP is not 2.1 |
Hi @philippe44 ... Thank you for the response.. I will think about. For now I will test it first with a cheaper one. I meant that the 2.1 system is controlled by LMS so that LMS sends the Bass-Channel to a different esp32 than the 2 speaker channels. |
@sle118 .. I found a max98357a in my electronics box. Can I use this for testing it out? |
Most definitely yes. These i2s boards don't have an active i2c communication interface and therefore don't require commands to be sent for them to work. Just hook it up to a WROVER and you're good to go. Since i2s is a one way protocol, you could also probably just wire up these in parallel (e.g. one for speakers and one for sub, although these don't provide much power), but experimenting is the best way to find out |
@sle118 ... Thank you for your great Response.. I will try that as soon as possible. For now I tested only two x86 Devices (Mac and windows) I am blown away: TLDR: I am blown away. Now I can really think about using ESP32... Lets see. |
Best advice is to go and scourge the forums as they are a massive pile of unstructured knowledge. Fun fact is that slimproto, which is at the heart of most features including sync, is close to 20 years old or so, and was so well thought of that it still works wonder today. The main reason I started this port of squeezelite to the esp32 with the invaluable contribution of Philippe (seriously, the project wouldn't be closer to half of what it is without him) was that squeezebox devices were hard to find and expensive. So our goal was to come up with a platform that could totally replace original hardware while being accessible by enthusiasts for a low cost. |
Here the Logitech Squeezes are cheap. A touch one cost around 50$ - 80$ and Radio ones starting at 35$... Only the duet is quite expensive 120$.. This device looks still quite Cool. @sle118 Just for my understanding the S3 are not part of the official release. Does it have big impacts on the performance? I thought the CPU is basically the same.I have some S3 laying around. But my development setup is already migrated to IDF 5, so would it be possible IF the performance is really improved about the normal esp32 that you can send me a pre-build binary? |
I've made a build for the s3 and all the code currently checked-in works on s3, I have one device working. @wizmo is tweaking it. You need esp-idf 4.4 at minimum. There a BIG improvement in CPU because of the memory and if you chose Octal SPI and Octal SPIRAM, it's 1/3 of the esp32 CPU., but you lose BT. |
@philippe44 .. I will try to build that. If not I will stay on esp32. My model has 16mb Flash and 8mb ram. Great model and cheap (8$..) Do you know how long it will take until the S3 is also available as an "official" release? Is there a way to support the development in a monetary way? I can't support coding, only testing due the small amount of Time... |
It's a matter of finding the time for @sle118 and myself. But it should easily build - I'm building it everyday with the same code. I did all the heavy lifting last summer. |
I've got an ESP-Louder here. Louder ESP
Edit: Seems to be an issue with the Web Installer... did a full reflash of everything with ESP32 FlashTool and now it boots properly! Edit 2: Pin Assignments
I think i set the pins correctly right? Only thing that's missing is the "I2C device address. e.g. 106" which i dont know. because the Scan ends empty. Edit3: okay okay i get it... the TAS5805M is still Offline... Original Firmware uses the Command:
|
@haldi4803 ... So did you get it running with audio..? |
This is way over my head.... but as far as i get it we simply need to pull pin33 low and then high again to get the DAC to boot. |
Ping @sle118 & @philippe44 |
INDEED!
45 was correct. (found that in the other Code) But it seems like the "init" is only the booting up...
Not entirely sure what it does...
Edit: uhm yeah... Official Documentation on Chapter 7.5.3.1 states: |
You need to reproduce this using dac_controlset entry. The syntax is in the README |
Yeah...... plx halp.
Taking by example the SourceCode for others.
so we got the init command which sends the value 128 into the registry nr 41 ? and then 255 into reg 18 Going by his code to set hi Z
BTW i was wrong about set_GPIO.... after a reboot that does not work anymore -.- i2cdetect doesn't find the TAS5805M anymore. No matter what i do. |
I can extend the json parser to include delay and gpio setting |
Ok, it's done : you have 2 extra command words
See log to verify it works as expected, I've not tested it |
You need to get the build artefacts directly, this version will not be released for now |
Hey Folks I'm the author of Louder-ESP and happy to help. First of all, I'm happy to provide few samples to developers for delivery cost only (~$5), if any of you have commitment to actually run it. I would like to test it myself as well ) Second, there is software sample that includes all the necessary to bootstrap TAS5805 DAC. It is essentially startup pin bootstrap + sequence of I2C commands, nothing fancy. Last point. Board provides external power connector (9..25V). It is not necessary for ESP32 when it is connected to USB, however it should be connected if you expect DAC to startup properly. Clearly you cannot pull ~50W of power of USB |
@anabolyc ... I want to order some of them. But I am not a developer so I will do it on Tindie. If it's out of stock are you planning to re-stock them? Also in Future with an ESP32-S3...? Another great option would be USB-C so you can get up to 20V via USB... Just in case you're planning to update the board. |
I have 3 in stock still. With S3 so far not so many code samples with I2S, so I didn't foresee a lot of interest.
Not that easy. You need negotiation IC to actually request it from charger. Which should support it as well, so.. maybe some day:) |
Won't happen. BTT. Glad to hear you got it working once. That would actually be quite a nice sales argument "Comes out of the box with working pre installed software" if the devs allow selling hardware with pre installed software. |
Any signs of overheating?
…On Wed, 11 Oct 2023 at 23:47 haldi4803 ***@***.***> wrote:
@anabolyc <https://github.com/anabolyc> seems to be an issue with the
Voltage!
Reduce it to 17V absolutly NO issues at all.
Increase it to 19V. Here and there some issues. go up to 23V really bad
Sound quality.
so must be Power Supply related! Sorry :(
—
Reply to this email directly, view it on GitHub
<#327 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJU6I5BHWXMTHLYD565APDX64HYJANCNFSM6AAAAAA5WY3T3E>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
There are 4 levels of power down |
@haldi4803 can you or someone else with a working device save the NVS and share it here? I will add it too the list of known devices under hardware/preset options in the web UI so newcomers find it easier to configure |
@sle118 ... |
IF I have a fully working configuration. |
i hate json so much.... (standard version not the one with delay and GPIO pins in controlset) dac_controlset: i increased the Stream and Output Buffer from 500:1000 to 1000:2000 because i still have enough free RAM that way. here is the nvs config @sle118 |
I would suggest not tweaking buffers unless you're trying to fix an issue. Memory is precious and some operations could momentarily need more RAM for a small peak of time. @philippe44 might have a different opinion, as he's the king of RAM optimizations. I'll try to incorporate the NVS to the presets soon if you are ok with that config |
I think it works really well like that. |
By passing the word around and converting other people to the project I guess. Up until now, we were always driven by the challenge and fun of doing this and pushing the limits on this little device. So for me, showing signs of appreciations and knowing this project helps others is already a good thing. |
Some companies have done it and our licence allows it. For example the DAC32. |
@sle118 ... Did you add the ESPLouder Config in the general Build..? EDIT: Do you think you can combine Ethernet with ESPLouder..? The Pins are not the Problem (there are plenty of them available...), but do I need to use the SPI-Multiplexer pins or its just optional if you want to get more speed...? |
I usually wait till configurations are fully validated by a few users before making it built-in. Re SPI, yes you can. I have a board with SPI used for W5500, a display and a GPIO expander. |
Also, if you are referring to the usage of the special pins for SPI in the GPIO matrix mux that gives you up to 40MHz speed, yes using these is optional, you just won't get full speed as mentioned here https://docs.espressif.com/projects/esp-idf/en/v4.3.6/esp32/api-reference/peripherals/spi_master.html#gpio-matrix-and-io-mux |
@philippe44 .. I will buy one of the LouderESP. I will test the config. If it works fine would be great if you would add the config in the general build. I will try to buy one soon... I am doing some research which loudpeakers are great for the rooms with an small footprint.. My big ones are to big for each room 😅 |
And what are your findings? |
Nothing special:
|
There are 2 levels of integration, one is really just add a built-in JSON dac_controlset and the other is direct C code driver-type. Once you are 100% sure of the config and as said, another user confirmed it, I'll see what's the best option. |
Hi @sle118 , @philippe44 , @haldi4803 just want to inform you that I ordered 2 Louder Kits. Hope I get them soon. Then I can test the config and give you the feedback for the integration ;-) |
Hey all, I have also ordered the HW from @anabolyc and I'm eager to test it out! :) |
@anabolyc But i have no clue which clock that might be... or if its true.
Would indicate that it's some minor useless issue while booting and nothing to care about? Register 40 SIG_CH_CTRL shows 0000 which should be Auto Mode. |
@haldi4803 I'm getting 0x04 reading from 0x71 register on my bear minimum code as well. Not sure if one should be concerned unless it comes back consistently after reset. |
@haldi4803 ... Which power supply are you using.. Did you get WiFi with external power supply? I am asking because I have some strange behaviour and I want to find out if it comes from a bad power supply. @philippe44 .. The config @haldi4803 provides works fine. I can confirm that the board works with squeezelite. If I have some other questions from the technical side. Where should I ask them. Here as an GitHub issue or as a discussion. I tested AirPlay and I got it working but not very stable. How should communicate my issues..? Thanks to all. |
Maximum 17V |
I could move this issue to a conversation, which seems more appropriate for the thread content so far. Issues should be opened using the provided template which provides enough info to get started with troubleshooting. |
As this isn't really an issue but more a hardware config, so no software changes needed, i think this would be better suited in a discussion! |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi guys,
I am planing to build a device with this great software. But I am not sure if the software supports that specific i2s dac (TAS5805M)... I am planning to buy one of these: https://www.tindie.com/products/sonocotta/louder-esp32/
Another question: The central unit is the LMS. The multiroom-sync is done on the LMS, right? So if I stream to LMS I can select the device inside the webUI, the esp32 is not involved in that right? How long does it take to start the stream in LMS and the esp32 starts playing?
Best regards
The text was updated successfully, but these errors were encountered: