Open rkuo2000 opened 4 months ago
What does "not working" mean? Please provide more details.
What does "not working" mean? Please provide more details.
No dots(led)will light up, I tried 1,4,8,16 LEDs , but 1st led will be on if use use resistor to touch it for pullup. I saw esp8266.cpp & esp.cpp are in the Adafruit Neopixel library, but I can't get it running either, saw some post about Neopixel need <1.5us pulse when use GPIO to drive Neopixel
Are you using this BSP for Arduino support of the AMB82-MINI? https://github.com/ambiot/ambpro2_arduino/
What sketch code are you running?
Adafruit Neopixel Library/examples/strandtest/strandrest.ino
The pinout and datasheet information for that board does not appear to be publicly available. Do you have its pinout information?
pin is Vcc (5V), Din, Gnd at the Neopixel device, sample code assign a GPIO to send 0/1 to Din please refer to the code in https://github.com/adafruit/Adafruit_NeoPixel
Which pin on the AMB82-MINI is the NeoPixel's DIN connected to?
Are you changing the code in the strandtest.ino to match the pin being used?
Without the actual pinout information for the AMB82-MINI, how are you determining what pin should be used?
AMB82-mini pinout is here I just assign one GPIO pin to drive WS2812B LED's DIN
I just assign one GPIO pin to drive WS2812B LED's DIN
Which pin?
What does this line of code look like in your sketch?
#define LED_PIN 6
I think this Adafruit library wont work, not even using ESP32, ESP8266, I am trying other WS2812B libraries. Here's WS2812B timing spec
This library is known to work fine on ESP32, ESP8266, and others.
If it is not working for your specific setup, then more information is needed. At this point, it is still not clear if the correct pin is even being used and referenced correctly in code.
The code linked has this:
#define PIN 1 // On Trinket or Gemma, suggest changing this to 1
Is this the specific pin the NeoPixel DIN is being connected?
https://www.amebaiot.com/en/amebad-arduino-ws2812b-basics/ I will try this one first. Thanks !
This library is known to work fine on ESP32, ESP8266, and others.
If it is not working for your specific setup, then more information is needed. At this point, it is still not clear if the correct pin is even being used and referenced correctly in code.
The code linked has this:
#define PIN 1 // On Trinket or Gemma, suggest changing this to 1
Is this the specific pin the NeoPixel DIN is being connected?
Yes
That nominally seems OK in terms of pin set in code. It could be other things like power and logic level.
Try that other library and report back here if it was successful or not. If that library works, it would eliminate a lot of possible hardware related causes.
For BW16. WS2812B_Basics.ino works, I can set LED one by one using led.setPixelColor, but led.fill failed to drive multiple leds. WS2812B_Patterns.ino failed to drive leds.
So the issue is not specific to this library. You are also seeing issues using the amebaiot examples and library. Please open this issue in their forums: https://forum.amebaiot.com/
Hello,
Are the pins reversed on the diagram, or just the labels?
https://www.amebaiot.com/en/amebapro2-amb82-mini-arduino-getting-started/
Why would anybody show the pins and names on the BACK of the board? Who can see it if the board is showing the BACK?
If its indeed reversed, the is pin 0 really on the right/top of the board?
Something is wrong because i cant seem to get the correct GPIOS to turn on/off.
Also im pretty sure i burnt the thing out because i dont really know where the ground is because everything is reverse, and how can pin 0 be at the top/right.
Maybe some things are flipped and some not?
Thanks for the clarification.
Maybe someone can update the pinouts with the board FACING UP like a normal person would do it?
The pin out diagram on the left (BACK) is the printed on AMB82-mini board, you can turn it to see it on PCB.
I have bought Neopixel ring and matrix, both are not working with AMB82-MINI (RTL8735B), https://www.amebaiot.com/en/amebapro2/ it would be good to see Neopixel working with this EdgeAI MCU (WiFi, BLE4.2, 0.4TOPs NN engine) work as portable ChatGPT device.