- Sat Mar 30, 2019 2:33 pm
#81449
eriksl wrote:I don't believe in giving up I think we'll find a way to get it working, but you will have to help me.
What is it exactly what you're experiencing what is wrong? Be as specific as possible.
Well, me neither! I'm well over an year into this project.
As i previously wrote, i use another mcu (samd21) to calculate the position and orientation of my tiny robot based on a few sensors. This information (X,Y,O,) is sent over (at 250k baud) from samd21>esp bridge>wifi to a computer that sends back pwm commands to the esp>motor driver.
With the previous version of universal serial bridge(11, 18, 19) i had almost no latency. Now v20 has a lot of lag with the same setup, a few hundred ms to almost a second. And v19 froze (
viewtopic.php?p=81153#p81153) .
Now i'm running v11, that is the first one that i tested and it works flawlessly at least at the latency aspect.
I also tried to test v17 that is the latest without ledpixel support but i had a hard time figuring out the "io-mode" commands. Got back to v11 in the end.
My priority is the orientation and movement, after that comes in the bling component "led"
As a compromise i will try to implement the ws2812 on my last pwm pin of the other mcu and use the latest bridge i can manage to set up. If that won't work i will have to do a RBG led on 3 separate io's from the esp, a solution i'm not looking forward to.
I will also try v18 and v19 without the ledpixel defined and connected. I suspect the freezing up issue originates from this area.
I can send you a video of the latency comparison between versions if you want.
Thanks!