Questions tagged [servo]

Programming questions related to controlling a servo motor through programming.

A servo is a hardware mechanism that moves with signal input. It uses negative feedback to control itself precisely.

297 questions
0
votes
3 answers

Servo Issues while using PWM with Raspberry Pi

My setup is simply the servo JX-PDI-6221MG being directly activated with raspberry pi's PWM through GPIO library. The servo is brand new, I followed this tutorial and set duty cycle values between 0 and 100. The angles it makes have no pattern, it…
atelles3
  • 3
  • 2
0
votes
1 answer

Arduino project Servo glitch (memory game)

I recently got into Arduino with a Rex Qualis Arduino Uno R3 and I am trying to build a project that would beat the Simon memory game (or Repeat the Beat). It waits for user response through one of four buttons then adds that to the list, executes…
Da Cube
  • 1
  • 3
0
votes
1 answer

The mouth movement of the robot is synchronous with speech

I work on a human robot project and I want to make this robot move his mouth when he speaks What is the method? Is there a sound sensor or a specialized software algorithm? I want all the things related to it .. and what is the algorithm that makes…
0
votes
1 answer

Power supply to Tinkerkit's braccio fails when working with firmata.js

I am trying to control Tinkerkit's braccio (https://store.arduino.cc/tinkerkit-braccio) with firmata.js. I have an Arduino UNO and have uploaded StandardFirmata on it. The braccio comes in made of 6 servos and comes with a shield. The problem is…
cnaomi
  • 3
  • 2
0
votes
1 answer

MQTT code stops working after a couple of hours

Made some code for a NodeMCU in the Arduino IDE to push a button using MQTT. The code works perfectly fine for some time, but after a couple of hours it will not respond anymore. The code is very frankenstein, since I am a mega rookie, and is as…
petrepa
  • 13
  • 1
  • 5
0
votes
0 answers

Node-RED PCA9685 not working

I am using node red on a Raspberry Pie 3. I have a PCA9685 board. I did the operations as described here. I have an pca9685 integrated. I feed the energy from the external adapter with 5 volts. I made the connections like the template. I wrote the…
0
votes
1 answer

Simultaneous servo control

Stumbling my way thru a problem where I'm trying to move two or more servos at the same time while iterating through multiple arrays. Think of a drum machine, where I may want to hit a snare, bass and high hat all the same time on some beats. Not on…
user1764417
  • 129
  • 1
  • 1
  • 8
0
votes
1 answer

Is it possible to integrate a Browser engine to a custom Browser interface?

Recently I was reading an article about "Browser Internals" and suddenly this idea struck me. What if I create my own Browser? So, I have two questions with me. Question 1: Is it possible to integrate an Open source Web Engine like "Servo" or…
Panther Coder
  • 1,058
  • 1
  • 16
  • 43
0
votes
0 answers

Serial - cannot control servo from c++

I would like to ask about my program. I program to show sensor data yaw, pitch from oculus on C++ VS2013 then i send the data using serialport to arduino (parsing). The servo not moving but RX in my arduino already blinking when serial begin. this…
jecky
  • 1
0
votes
1 answer

Control 2 servo motors with 2 buttons Arduino

I'm working on another school project where I'm trying to make an obstacle course (model size). For this project I'm using 2 servo motors, which I want to control with 2 different buttons. So 1 button is connected to 1 servo motor and the other one…
0
votes
1 answer

Program stops after I add more if statements

Recently I've been having a problem where I add 2 more if statements and it stops my code all together. For example, the code below will work with the two gyroX if statements but once I add those two gyroY if statements the whole code won't run. Any…
0
votes
2 answers

Servo Arm Issue

I built a robotic arm with Arduino uno and a Servo shield. The arm is controlled by C# visual studio with USB. There are currently 6 servos attached to the arm and a power supply is used with 5V,2A. I can control the arm by sending data to it. The…
Chris N
  • 125
  • 1
  • 7
0
votes
1 answer

Servo delay on direction change

I'm using a SG-90 servo and sweeping left and right between two values. My problem is that there is a distinct delay of about 500ms between direction changes. I would like the position of the servo to be predictable, but due to this at direction…
RobotRock
  • 4,211
  • 6
  • 46
  • 86
0
votes
1 answer

Control a Servo by C#, Windows 10 IoT and the Magellanic.ServoController - CPU issues and how to resolve them?

i am currently in the process of learning C# and the first thing i tried is to build an universal app, run it on Windows 10 IoT and to control an Servo Motor by it. My idea is to have an slider which controls the direction of the servo. For…
Unkown13
  • 3
  • 2
0
votes
2 answers

How to make servo reach the desired angle slowly?

I found a solution that make a servo reach a desired angle step by step , But it depends on the current angle of servo . this is the code : if servo_current angle > servo_desired_angle : while(x=true) : servo_current_angle…