Code Monkey home page Code Monkey logo

Comments (9)

aspork42 avatar aspork42 commented on June 16, 2024

Technically you are correct. The component that I used includes an amplifier, so you could plug a speaker in directly to it. If you are using an external amp like an old set of PC speakers, then you can use the UDA1334A. That being said, you could just as well still use the project as posted and control the volume/gain via the solder jumpers on the PCB to run it down in amplification and then the PC speakers will still work just fine. If you're not using the PCB posted here, then i'd go the route you selected. You can use perfboard and solder the components. and I'm like >95% sure that it should work as-is.

from speaker.

adamrhoades avatar adamrhoades commented on June 16, 2024

Thank you so much, I'll order a UDA1334A and see how I get on. Will keep you posted!

from speaker.

adamrhoades avatar adamrhoades commented on June 16, 2024

Got the UDA1334A wired up and the esp8266_mrdiy_mqtt_local_notifier-I2S.bin flashed.

Partial Success, once configured it plays the guitar riff to indicate it has connected to the wifi and the MQTT.

The module returns pings and is accessible via the web interface, but it will not respond to MQTT messages.

Power cycling makes it forget the wifi settings and it goes into AP mode.

Any suggestions for me to troubleshoot?

from speaker.

aspork42 avatar aspork42 commented on June 16, 2024

from speaker.

adamrhoades avatar adamrhoades commented on June 16, 2024

Thanks for getting back to me.

I complied it myself, erased the flash and uploaded and that has solved the issue of forgetting wifi.

The DAC seems to be working as it plays the guitar riff on connection. I assume that also means it has connected to the MQTT broker?

However it will still not respond to MQTT commands.

Any further thoughts?

from speaker.

aspork42 avatar aspork42 commented on June 16, 2024

from speaker.

aspork42 avatar aspork42 commented on June 16, 2024

This is my config website:
image

and I post to the full topic like this:
Notifier/Basement/say
Notifier/Basement/play
Notifier/Basement/tone
Notifier/Basement/stop
Notifier/Basement/volume

and get LWT from:
Notifier/Basement/LWT

from speaker.

aspork42 avatar aspork42 commented on June 16, 2024

What part of the world are you in?

from speaker.

adamrhoades avatar adamrhoades commented on June 16, 2024

So sorry for the late response... crazy week.

I'm based in Lincoln, England... you?

Adding the prefix of Notifier to my existing topic solved the problem
I'm now using: Notifier/Speakers

Initially I had problems with inconsistent playback quality; popping, missing portions etc but I reduced the MP3 files down to mono with a low variable bitrate of between 40-85kbps and it sounds great now!

I also experimented with copying the google tts cache mp3s and using those... they sound great too!

from speaker.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.