@schlabbermampf - Your picture shows 12 servos being driven from one battery. That's a lot if they are all running at the same time. You might be able to get away with that if only one servo moves at a time and they have no static load. But otherwise you will need to give some serious thought to a big battery with thick wires and serious connectors.
Posts made by paulhdietz
-
RE: Making a Robot: USB-C -> ATOM -> 2x SERVO2 ?
-
RE: ATOM Lite - broker status LED? (with two devices)
@ckohrt - I also posted about this issue last week: https://community.m5stack.com/topic/3812/atom-lite-led
I had to downgrade the installed M5Stack-ATOM board to pre 2.0.0 to get it to work.
-
RE: Atom-Lite LED
I think I figured it out. The problem was apparently the version of the board I had loaded in Arduino's Board Manager. I was using The official M5Stack 2.0.0 board file. This does NOT work. It has sending the LED data at effectively the wrong baud rate. Reverting to 1.0.9 solved the problem. How do I let the good people at M5Stack know they have this bug to fix?
-
RE: Atom-Lite LED
The mystery deepens. I opened up the unit to see what LED is actually used.
I probed the pin and was surprised to find Vdd on the upper right pin, GND on the lower left, and data on the other two pins. Looking at the datasheets for the WS2812C and the SK6812, GND should be next to the notch on the lower right. It's rotated from the datasheets!
I also noticed that the board is labeled "Atom V1.3 1720"
I looked at the data coming from the default firmware lighting the LED, and that looked like what I would expect. But then I looked at the data coming from the Arduino code examples that were not working, I can see them sending data to the LED at the right intervals, but the data rate is much slower - maybe an order of magnitude slower. And it looks like that slow data is not being recognized because I only see it on the one pin - as if Data out is not working.
My conclusion from this is that somewhere, the data rate is getting messed up on the Neopixel driver. Any thoughts?
-
RE: Atom-Lite LED
Thanks for the suggestion. I did try that. No luck. I added a bunch of Serial.println statements just to verify with Serial Monitor that the program was running. It was running fine, properly switching through the cases, but the LED was not responding. (By the way, it works when I program using Flow, so it doesn't appear to be a hardware issue.)
I thought maybe I had the wrong board specified in the Arduino environment since the Atom-Matrix and Atom-Lite have very different LED setups. The only choice that seems reasonable is "M5Stack-ATOM", but I see this is defining a bunch of stuff that is specific to the Matrix version. Is there an Arduino board file specifically for the Atom-Lite?
According to the schematics, the Matrix version and the Lite version use different LED protocols (WS2812C vs SK6812). I just don't see where in the LEDSet sample code I would specify one versus the other.
One last thought - do I need to put the device in USB mode or something like that? I tried erasing it with M5Burner, but that didn't see to change anything.
Thanks!
--- paul
-
Atom-Lite LED
Newbie question - I am trying to run the FastLED Blink example on my Atom-Lite, but I can't seem to get it to work. I changed the DATA_PIN to 27, and tried the NEOPIXEL, the SK6812, and various other options, but couldn't get it to work. The code seems to compile and download fine. I have the board set to "M5Stack-ATOM". Any help would be appreciated!