esp8266-wifi-microphone
esp8266-wifi-microphone copied to clipboard
MQTT Credentials
Hello! My MQTT server requires credentials. Can you advise where/how to add to the script?
Hi. I think it is possible to connect to mqtt server with user and password but I never tried it. I recommend you to see examples in the included pubsubclient library. For example in the mqtt_auth.ino:
client.connect(MQTT::Connect("arduinoClient") .set_auth("testeruser", "testpass"))
or client.connect("ESP8266Client", mqttUser, mqttPassword )
Thanks for taking the time to reply! I am able to get the second example to login with the most recent PubSubClient version.
I'm not able to capture audio though. I'd love to see a close up picture or schematic of your setup when you have time to share.
The scheme is very obvious, you can see many examples on the Internet esp8266 max4466 But of course there is a lot of issues why you have no sound, try to dig it yourself first, it would be a good practice to make it work. Good luck with that.
Are you using anything in-between the esp and the max? resistors? capacitors?
I used module like this its ready to use with no any additional components
Are you using anything in-between the esp and the max? resistors? capacitors?