The simulator does not show a servo. The servo does not move with this code. I believe I have wires connected correctly.
Servo does not work.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Petet
- Posts: 3
- Joined: Tue Aug 16, 2022 8:42 am
Servo does not work.
The simulator does not show a servo. The servo does not move with this code. I believe I have wires connected correctly.
- rooppoorali
- Posts: 98
- Joined: Sat Jul 16, 2022 12:04 pm
Re: Servo does not work.
Hi, have you checked the servo separately? If it is working then looks like the simulator is either corrupted or something was missing during the installation process.
- Petet
- Posts: 3
- Joined: Tue Aug 16, 2022 8:42 am
Re: Servo does not work.
2 servos came in the kit. I tried hooking both up to 4.5 volts (three AA batteries). Nothing happened. I assumed I wasn’t hooking them up correctly because I can’t believe both servos are bad. It even without the servos connected to the board shouldn’t the emulator show a servo?
- adafruit_support_bill
- Posts: 89499
- Joined: Sat Feb 07, 2009 10:11 am
Re: Servo does not work.
Simply connecting power to a servo won't make it do anything. It needs to see control pulses on the signal wire. This sounds like an issue with your MakeCode setup. Please post some details of your MakeCode setup. And I will move this topic to the MakeCode forum.
- Petet
- Posts: 3
- Joined: Tue Aug 16, 2022 8:42 am
Re: Servo does not work.
I inserted a “set servo A1 angle to 90 degrees” block in an “on start block. Nothing happens when I push the A1 button.
- adafruit2
- Posts: 22752
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Servo does not work.
please post a screenshot of the makecode blocks being run
Please be positive and constructive with your questions and comments.