Please let me know if you can replicate this- we were a little TOO good at replicating it. The 2-servo robot demo gave me confidence we could get away with this- it should probably come down or get a warning if using fullsize servos is likely to waste a board. Any chance we could get some replacements for those 4 boards?
Thanks-
Smokin' with a Servo
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- CorlettT
- Posts: 25
- Joined: Wed Jun 21, 2017 5:46 pm
Re: Smokin' with a Servo
Correction, 5 boards, one that I thought we'd saved just floated to the top of the tank.
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Smokin' with a Servo
Tested a "standard" sized servo and it also worked. Same setup and sketch. Let it run for over 5 minutes.
- CorlettT
- Posts: 25
- Joined: Wed Jun 21, 2017 5:46 pm
Re: Smokin' with a Servo
So what are you concluding? This should work, but it doesn't. Sounds like we may have a defective run of boards?
Thanks-
Thanks-
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Smokin' with a Servo
we're just trying to figure out what is up - it isn't something that a defective run of boards would necessarily cause. i have a test running too with the 5010 servo, ill let it sit for a while and see how it does. please do not connect any more boards to the servo, if it doesnt work for you and it only going to break more boards :)
for the record, im running this on my circuit playground classic (rev B hardware)
for the record, im running this on my circuit playground classic (rev B hardware)
Code: Select all
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup() {
myservo.attach(12); // attaches the servo on pin 12 to the servo object
}
void loop() {
for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
for (pos = 180; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
}
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Smokin' with a Servo
ran it for a few hours and nothing happened
are you using only one servo for all these tests? maybe its the servo thats breaking things?
are you using only one servo for all these tests? maybe its the servo thats breaking things?
- CorlettT
- Posts: 25
- Joined: Wed Jun 21, 2017 5:46 pm
Re: Smokin' with a Servo
No, we tried this with ten different servos and had the issue multiple separate reproducible times.
What's the path forward here? I'd love to continue to use CP, especially because the students are already using them- but if there's no determination on what happened or why, I think we'll have to send back all the circuit playgrounds we bought, you can credit our account, and we can buy something that we know will move a servo.
Thanks-
What's the path forward here? I'd love to continue to use CP, especially because the students are already using them- but if there's no determination on what happened or why, I think we'll have to send back all the circuit playgrounds we bought, you can credit our account, and we can buy something that we know will move a servo.
Thanks-
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Smokin' with a Servo
you can return them, dont use Circuit playground for this project - thx!
- CorlettT
- Posts: 25
- Joined: Wed Jun 21, 2017 5:46 pm
Re: Smokin' with a Servo
Hi, I think I have relevant info. I just realized the silkscreen on these boards says "Circuit Playground Developer Edition". Did we get an older beta version of the board?
Thanks-
Thanks-
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Smokin' with a Servo
@adafruit2 is better suited to say if the "Developer Edition" vs. "Classic" labeling is anything more than just cosmetic.
But I used a "Developer Edition" board when I did my testing. So I don't think that's the issue.
But I used a "Developer Edition" board when I did my testing. So I don't think that's the issue.
Please be positive and constructive with your questions and comments.