Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working with AMB82-MINI #383

Open
rkuo2000 opened this issue Mar 19, 2024 · 19 comments
Open

not working with AMB82-MINI #383

rkuo2000 opened this issue Mar 19, 2024 · 19 comments

Comments

@rkuo2000
Copy link

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.

@caternuson
Copy link

What does "not working" mean? Please provide more details.

@rkuo2000
Copy link
Author

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

@caternuson
Copy link

Are you using this BSP for Arduino support of the AMB82-MINI?
https://github.com/ambiot/ambpro2_arduino/

What sketch code are you running?

@rkuo2000
Copy link
Author

Adafruit Neopixel Library/examples/strandtest/strandrest.ino

@caternuson
Copy link

The pinout and datasheet information for that board does not appear to be publicly available. Do you have its pinout information?

@rkuo2000
Copy link
Author

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

@caternuson
Copy link

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?

@rkuo2000
Copy link
Author

AMB82-mini pinout is here
I just assign one GPIO pin to drive WS2812B LED's DIN

@caternuson
Copy link

caternuson commented Mar 20, 2024

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

@rkuo2000
Copy link
Author

rkuo2000 commented Mar 20, 2024

I think this Adafruit library wont work, not even using ESP32, ESP8266, I am trying other WS2812B libraries.
Here's WS2812B timing spec

@caternuson
Copy link

caternuson commented Mar 20, 2024

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?
pin

@rkuo2000
Copy link
Author

https://www.amebaiot.com/en/amebad-arduino-ws2812b-basics/
I will try this one first. Thanks !

@rkuo2000
Copy link
Author

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? pin

Yes

@caternuson
Copy link

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.

@rkuo2000
Copy link
Author

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.

@caternuson
Copy link

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/

@nsmith1024
Copy link

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?

@rkuo2000
Copy link
Author

rkuo2000 commented Jul 6, 2024

The pin out diagram on the left (BACK) is the printed on AMB82-mini board, you can turn it to see it on PCB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants