enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Increasing servo motor speed - Programming Questions - Arduino...

    forum.arduino.cc/t/increasing-servo-motor-speed/1320059

    Hi. I'm controlling a servo motor? I want the servo rotate faster. I commented the delay but it's slow yet. How can I increase it's speed? This is the sketch: #include <SoftwareSerial.h> #include <Servo.h> #include "HCPCA9685.h" SoftwareSerial BT(13,12); //RX , TX pins char state=0; /* I2C slave address for the device/module. For the HCMODU0097 the default I2C address is 0x40 */ #define I2CAdd ...

  3. [fixed] Servo not working / powering servo and motors on Arduino...

    forum.arduino.cc/t/fixed-servo-not-working-powering-servo-and-motors-on...

    Hi! I'm starting a new project and even the very basic setup does not work. When trying to read servo position - I always get 93. Sweep does not work, I hear no motor buzzing that's usually heard when the servo is powered. Checked the connection on the commong ground between servo and arduino. Checked the 5v power on servo power pins. Tried powering with a battery pack that outputs 5V, and ...

  4. I need code for servo motor - Arduino Forum

    forum.arduino.cc/t/i-need-code-for-servo-motor/1294553

    Here's an Arduino program to control a stepper motor with the specifications you've provided: #include <Stepper.h> // Define the number of steps per revolution for your stepper motor const int stepsPerRevolution = 200; // Adjust this value according to your motor's specification // Initialize the stepper motor object with the number of steps per revolution and the pins it's connected to ...

  5. [SOLVED/CLOSED] servo motor that runs once every 8 hours

    forum.arduino.cc/t/solved-closed-servo-motor-that-runs-once-every-8-hours/1317385

    Hello! This is my first post on this forum so please go easy on me lol. So basically I have a program that will work outdoors by rotating a servo motor in and out every 8 hours. Since it's outdoors, it will run on a 9V battery requiring me to conserve as much power as possible (which I am doing using power down). Unfortunately I cannot replace/get more components at this time unless absolutely ...

  6. Arduino Sensor and Servo motors

    forum.arduino.cc/t/arduino-sensor-and-servo-motors/1297013

    I want my servo motor have different angles like when the capacitive sensor detect something the servo will rotate to a certain degree and when inductive sensor also detect something the servo will also rotate to a certain degree but not the same as the capacitive. Here's the code: #include <Servo.h> Servo tap_servo; Servo tapservo; int sensor ...

  7. Getting a servo motor to work with esp8266 - Arduino Forum

    forum.arduino.cc/t/getting-a-servo-motor-to-work-with-esp8266/1188288

    this is the code: #include <ESP32Servo.h> Servo myservo; // create servo object to control a servo // Recommended PWM GPIO pins on the ESP32 include 2,4,12-19,21-23,25-27, 32 int servoPin = 13; void setup() { myservo.setPeriodHertz(50); myservo.attach(servoPin); } void loop() { myservo.write(0); delay(2000); myservo.write(180); delay(2000...

  8. Arduino UNO - how to get smooth servo movement

    forum.arduino.cc/t/arduino-uno-how-to-get-smooth-servo-movement/550275

    I'm trying to get smooth servo movement from my arduino UNO (one of the clones). I know already I should always power up my servo from separate power source, therefore it gets power from dedicated 4xAA = 6V pack. The ground is connected to the arduino ground, and the signal coms from pin9. I'm using a thumb joystick to control the servo.

  9. How to control continuous rotation servo motor (360°)?

    forum.arduino.cc/t/how-to-control-continuous-rotation-servo-motor-360/610983

    Connected servo motor (180°) to Arduino Uno R3. Currently I am using a servo motor which have rotation angle specified as 180°, but I have a requirement to rotate to certain angles greater that 180°. So do I need to go for a continuous rotation servo motor (360°), so that I can stop the motor at different angles greater than 180°, was my assumption true, will continuous rotation servo ...

  10. servo motor and photoresistor - Arduino Forum

    forum.arduino.cc/t/servo-motor-and-photoresistor/693418

    Note: the map function does not check for out of range values. Use constrain() for that, to avoid damaging the servo. Finally, don't try to use the Arduino 5V output to power the servo, as that can damage the Arduino. Use a 4xAA battery pack to power the servo instead, and connect all the grounds.

  11. How to control 3 servo motors with the UNO - Arduino Forum

    forum.arduino.cc/t/how-to-control-3-servo-motors-with-the-uno/81455

    Hope it will help you . #include <Servo.h> Servo myservo; // create servo object to control a servo // a maximum of eight servo objects can be created void setup() { myservo.attach(9); // attaches the servo on pin 9 to the servo object } void loop() { myservo.write(90); // tell servo to go to position 90 digrees delay(1000); // waits 1000ms for the servo to reach the position myservo.write(0 ...