Problem sending commands through WiFi
Hello, I have been testing the WiFi dongle by sending commands and I found that after sending several of them Bittle gets blocked and won't listen to any other command I send, being necessary to reboot it.
When this occurs, gyroscope seems to be disabled and using the IR controller won't work neither.
It also gives me the impression there is a command buffer and sometimes, when rebooting, all those commands that I have tried to send were stored and now are sent all at once to Bittle, causing it to have a weird posture.
This is what I did the last time it happened to me:
Turn on Bittle
Wait for 30 seconds
Send Sit command
Send Balance command
Send Forward command <-- not working anymore
Has this happened to anyone else?
127 Views



Alright, I think I found something, unfortunately, my knowledge at this low level programming is very limited and don't know how to proceed.
What I did was try to print Serial data to check where was the problem on Bittle's side (as WiFi dongle sends commands through serial correctly so far). I added the following prints:
So I did the following:
Connect the WiFi dongle to USB programmer
Connect the USB programmer to Bittle
Turn on Bittle
And I got this:
It seems that Bittle is reading a wrong value through Serial communication. This value is taken as a skill and seems to block Bittle.
After this, if I send commands through he API, nothing is shown on Serial monitor.
I think I can't make any more progress by myself as I don't know what this 240 value means and how to prevent it correctly.
PS: I tried this twice and got the same result.