scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.71k stars 640 forks source link

Using an NodeMCU ESP32s #365

Open Lite-Project opened 2 years ago

Lite-Project commented 2 years ago

Is it possible to use an ESP32s NodeMCU? because so far with my attempt I have not gotten it to work.

Tried: Changing Data pin from 3 to 40 made sure my Ip address and SSID and Password are setup correctly on both the config and .ino file

Reason why I am trying this is because it was stated near the start of the .ino file referring to an ESP32, so I thought to give it a try. (All the other pythons scripts seem to be working perfectly, just can't seem to get the ESP and my computer to communicate) image

joeybab3 commented 2 years ago

I will see if I can fix that, I don't own one so I can't test functionality but I can fix the compilation errors give me an hour or so.

joeybab3 commented 2 years ago

Which board are you selecting in the board menu? I'm having trouble replicating this

joeybab3 commented 2 years ago

Screen Shot 2022-08-22 at 10 13 26 AM I was able to compile for NodeMCU-32S just fine, could you post your error message and what platform you are on?

Lite-Project commented 2 years ago

I don't get and visual errors other than the serial monitor showing up garble. image

Lite-Project commented 2 years ago

Also After uploading the code, the lights just stay on and don't respond at all to the visualizer. Just reuploading the image noticed it did not show my settings on the config.py side. (Sorry for late response busy at uni and work) image

Lite-Project commented 2 years ago

This is the most common response I get from the serial monitor image

joeybab3 commented 2 years ago

Are you sure you have your serial monitor set to 115200? It will output some gibberish in 76800 but the sketch debug will be in 115200

Lite-Project commented 2 years ago

Oh okay, but after changing it still will not connect? I know my ssid is correct and password, also my ip address as I have set it as static through dhcp reserve, is there anything else I can do to allow the connection? image

joeybab3 commented 2 years ago

Have you confirmed your ip, gateway, and subnet settings with your router?

Lite-Project commented 2 years ago

Yup image

joeybab3 commented 2 years ago

The IP Address in the arduino sketch should be the one of the arduino, not of the pc