0

CIRCUIT PLAYGROUND ERROR LIGHTS
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CIRCUIT PLAYGROUND ERROR LIGHTS

by steamtruck on Tue Apr 27, 2021 10:57 am

image1.jpeg
image1.jpeg (122.64 KiB) Viewed 330 times


Hello,
The CPX produced these error lights (and movement stopped) after our robot had traveled around for a few minutes. Could someone clarify what the lights indicate?

steamtruck
 
Posts: 12
Joined: Wed Dec 30, 2020 1:50 pm

Re: CIRCUIT PLAYGROUND ERROR LIGHTS

by adafruit_support_carter on Tue Apr 27, 2021 12:14 pm

What code were you running on the CPX?

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: CIRCUIT PLAYGROUND ERROR LIGHTS

by steamtruck on Tue Apr 27, 2021 2:13 pm

Here are screenshots from my colleague:
Screen Shot 2021-04-27 at 12.39.29 PM.png
Screen Shot 2021-04-27 at 12.39.29 PM.png (80.28 KiB) Viewed 317 times


Screen Shot 2021-04-27 at 12.39.39 PM.png
Screen Shot 2021-04-27 at 12.39.39 PM.png (53.66 KiB) Viewed 317 times

steamtruck
 
Posts: 12
Joined: Wed Dec 30, 2020 1:50 pm

Re: CIRCUIT PLAYGROUND ERROR LIGHTS

by Paco_Hanlon on Wed Apr 28, 2021 8:43 am

Hello. I have a video attached here of this problem. It works to run the continuous servos on first push of the button, but the second one causes the error.

https://drive.google.com/file/d/1ocWKIIJ5M1v6nlLwrN_HZzCwljgCe0iQ/view?usp=sharing

If I'm reading the lights correctly, it looks like the error code is 0101101000, which is 90, and corresponds to "90 (PANIC_CODAL_HARDWARE_CONFIGURATION_ERROR): actual board hardware doesn’t match the configuration description"

Thanks!
Paco (via STEAM Truck)

Paco_Hanlon
 
Posts: 4
Joined: Wed Apr 28, 2021 8:40 am

Re: CIRCUIT PLAYGROUND ERROR LIGHTS

by adafruit_support_carter on Wed Apr 28, 2021 9:43 am

You could be dealing with a brown out issue (power related) since you are using batteries to drive servos. Does the CPX behave OK if you revert back to testing with some non-servo code? Can be anything, like maybe something that just spins the NeoPixels.

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: CIRCUIT PLAYGROUND ERROR LIGHTS

by Paco_Hanlon on Wed Apr 28, 2021 11:26 am

We figured it out. Apparently when you use the STOP SERVO command, it renders that servo unusable, so the next time a command is sent, it has the hardware error.

That begs the question, of course, how can we stop a servo motor without a stop command? We found a workaround by programming the servos to continuously move at 0% (this didn't QUITE work, because of the inaccuracy of inexpensive servos, but if you do -3% they generally stop).

Does MakeCode and Adafruit know that the Stop Servo command doesnt work as intended? (unless that IS how it was intended)

Paco_Hanlon
 
Posts: 4
Joined: Wed Apr 28, 2021 8:40 am

Re: CIRCUIT PLAYGROUND ERROR LIGHTS

by adafruit2 on Sat May 01, 2021 8:15 pm

yah 'stop servo' disconnects the servo completely.
to stop the servo from turning you would set it to 0% there's a little screw in the body of the servo, you can tweak it until 0% is 'off'
https://learn.sparkfun.com/tutorials/co ... rvo-motors

adafruit2
Site Admin
 
Posts: 20055
Joined: Fri Mar 11, 2005 7:36 pm

Please be positive and constructive with your questions and comments.