Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

New answers tagged

1

IMHO it is possible to connect more than one server PWM control inputs to a Arduino output pin. The Servo input is something like a comparator with an very high resistance. So the servos should not influence each other in any way, nor will the output pin be overloaded. Because of the input capacities of the servos, there might be a limit of the count of ...


0

If the USB chip is hot, you are out of luck.


1

I wanted to answer my own question: I had purchased some really cheap servos from AliExpress. These are not good. They burn out really fast, which has been confirmed by some friends of mine that had purchased the same servos. The voltage was correct, it was 5V. When using more quality servos that cost $15 I did not see any of these issues. Do your self a ...


0

There is a chance that this arrangement could damage the servo and possibly the Arduino. The problem is that, depending on the internals of the servo, it could try and draw power for the servo through the data pin when the button is not pressed. This would both over-stress the internals of the servo and the internals of the Arduino's GPIO pin. What you ...


0

Yes, that should be safe, as long as the button can conduct the needed current. That depends on the type of button. You can simply test this. If the button get's hot, it is too small for this. If it should happen, that the button cannot conduct the needed current, you have 2 ways to go: Just use a bigger button. You can buy buttons, that are meant for ...


0

The code in loop is always running so when you release the button, the code sees this as digitalRead(btn) = LOW. You need a state variable to know where the motor is currently. Something like this: boolean state = false; void loop() { if (digitalRead(buttonPin0) == LOW) { // only change state on button release while (digitalRead(buttonPin0) == LOW) ...


0

Ground loops can be bad. Do follow up as suggested in the comments regarding ensuring the power supply grounds are the same. To be specific, connecting the power supply grounds through the Arduino is a bad idea! The trace size should not be assumed adequate for the unknown amount of current passing between the ground outputs of the power supplies. And a ...


Top 50 recent answers are included