Replies: 7 comments 15 replies
-
Doesn't work for me either but it's not a NeoPixel issue. I tried your code with my board, a VCC-GND YD-ESP32-S3 N8R2 2022-V1.3, running a recent built (MicroPython v1.19.1-915-g2bcd88d55-dirty on 2023-03-05, ESP32S3 module with ESP32S3). I built this version myself to be able to specify Flash size. I never tested the NeoPixel before. What I did:
In the ESP32S3-WROOM-1 datasheet I can't see with GPIO 48 shouldn't work (https://www.espressif.com/sites/default/files/documentation/esp32-s3-wroom-1_wroom-1u_datasheet_en.pdf ) Maybe someone familiar with NeoPixel implementation can cast some light why it shouldn't work on GPIO48. It's a bit strange that the manufacturer provides Micropython examples and schema with GPIO48 and it does not work. Maybe @bixb922 you could try flashing again the original firmware and we can conclude if that's a Micropython "regression". |
Beta Was this translation helpful? Give feedback.
-
I browsed some similar cases and I think it would be good to test with thealternative bitbang method (no using the remote transmitter RMT of esp32) in machine bitstream before to open an issue.
Maybe some specific channel needs to be set for esp32s3 and GPIO48.
See #8198
Things done:
- I have opened an issue on VCC-GND github : vcc-gnd/YD-ESP32-S3#1
- Tried ```RMT.bitstream_channel(None)``` , no success
- Vrowsed the ESP-IDF RMT documentation, but nothing special is mentionned about Pin 47 or 48, as far as I can tell RMT should work on this pin.
|
Beta Was this translation helpful? Give feedback.
-
You can share your PCB layout here: https://www.pcbway.com/project/questionpublish |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Also you can found the official RGB example and driver here. `/* Demonstrates usage of onboard RGB LED on some ESP dev boards. Calling digitalWrite(RGB_BUILTIN, HIGH) will use hidden RGB driver. RGBLedWrite demonstrates controll of each channel: WARNING: After using digitalWrite to drive RGB LED it will be impossible to drive the same pin // the setup function runs once when you press reset or power the board void setup() { // the loop function runs over and over again forever neopixelWrite(RGB_BUILTIN,RGB_BRIGHTNESS,0,0); // Red Regards |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Similarly. If you are not getting 5V on the 5V/Vin pin, try solder the patch right next to the pin. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to make the RGB on the PCB work on a VCC-GND YD-ESP32-S3 N8R8 2022-V1.4. I tried with GENERIC_S3_SPIRAM_OCT-20230320-unstable-v1.19.1-974-ga2b31f968.bin and with the version provided by the vendor YD-ESP32-S3-N8R8-MPY-V1.1.bin. The schematic shows that the RGB is connected to GPIO48 (or GPIO38 on other versions ot the board).
The code I tried is:
The RGB pixel does not turn on. I tried with all the other pins (1 to 48), timing=0 and 1, bpp=3 and 4 and all combinations, but no result. I have only one board, so it may be defective. Has anyone tried this? Is the code correct?
(edit) neopixel works correctly on GPIO48. I used np.write instead of np.write(). I edited the above code and it works well! I can also confirm it works with RMT.bitstream_channel set to None (bitbang) and with RMT channels 1, 2, 3.
Beta Was this translation helpful? Give feedback.
All reactions