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
1
vote
1 answer

Making a Minute Rate Metric in Netflix Servo

I want to convert the StepCounter from doing the rates based on seconds to rate per minute (we have a monitor that runs every minute). When I try to switch them polling from 1 per second to once every 60 seconds, it will, instead, take the increment…
VerticalEvent
  • 619
  • 1
  • 11
  • 18
1
vote
3 answers

generate infinity pwm with stm32 with 2 timers

I have 10 servo motor and I want to derive all of them.I used 2 timers interrupt with different timer frequency to generate different PWM frequency for each pin. the pins connected to servos, I derived one servo with each pin, .the code is…
Hamid
  • 1,493
  • 2
  • 18
  • 32
1
vote
0 answers

Arduino and processing controlling servo

I am trying to control a servo using processing. Basically, what I want is to press a button on processing and make the servo go from 0 to 180 degrees and back every two seconds and if I press another button on processing I should be able to move…
1
vote
1 answer

Rookie test bencher, can't make head or tail of errors. (Using Icarus Verilog)

I've been trying to get this code that I whipped up on a whim. For the most part, I think I'm sure the modules themselves are okay. Its the test bench that's throwing up all the errors. Here's the code in its entirety: /* Primitive code to control…
Dwiref Oza
  • 13
  • 2
1
vote
2 answers

Arduino with servo and RTC

I am making a project that involves a RTC and a servo motor so that it only turns on at a certain time. A snippet from the loop is: void loop() { DateTime now = rtc.now(); if (DateTime == 19:10) { //Some stuff } else { …
user5987041
1
vote
0 answers

Servo Control using FPGA (Altera DE2)

I am creating a VHDL code for controlling servo position using 8 switches on DE2 development kit. When the code is done, I tested the code with the servo motor but it is not working. Then I did a waveform simulation with timing analysis, I found…
Ng Zen
  • 281
  • 1
  • 2
  • 14
1
vote
1 answer

Providing custom names for for Metrics in Netflix Servo

Currently, when I create a JMX Metric and I register it, the metric's namespace seems to be generated as: TYPE.METRIC-NAME.CLASS-NAME.ID So, a counter metric called "numberOfVisitors" in the class VisitorMetric, registered as VistitorServlet looks…
VerticalEvent
  • 619
  • 1
  • 11
  • 18
1
vote
2 answers

Controlling servo drive/motor with iPad

I am new to the field of automation, hence the 'beginner' question: The goal is to control two servo motors via an iPad app. I thought of using either a Panasonic or Beckhoff driver, the Panasonic being a bit cheaper but the Beckhoff probably has…
user3603948
  • 153
  • 3
  • 12
1
vote
1 answer

Arduino servo with facetracking using arduino, processing and opencv

I'm working on a project to keep your face in the center of the screen, by using a camera on top of a servo. I've used the simple servo control tutorial, on the arduino playground website, to use the mouse to control the servo and tried to rewrite…
0
votes
0 answers

Jetson.GPIO is installed but cannot be imported?

i’m working in a virtual environment with all my packages (blinka, servokit, Jetson.GPIO) have been installed successfully, but when i try to import Jetson.GPIO, it keep telling me that i have not installed the library. Please help me with this…
0
votes
1 answer

Control fan speed with PCA9685 and a PIC

I would like to control the speed of various motors using a PIC and PCA9685 This following code allow me to start the rotation but it does not reduce the speed void pca9685_Set_rate(int address, int rate) { i2c_start(); …
0
votes
0 answers

Millisecond precision with servo motors

I have a few micro servo motors connected to a PCA9685 board and I require them to make a small and fast rotation (as fast as the servo motors allow me) every now and then. I am new to servos and although I understand how the duty cycle works I do…
ZoiloN
  • 1
  • 2
0
votes
0 answers

Servo Parallel Browser Engine Project - doesn't work in windows?

https://github.com/servo/servo I tried to setup this open-source pure browser on my local and according to their read me mach bootstrap would help me to install CMake, Git, Ninja, Python and the Visual Studio 2019 Build Tools via choco in an…
web-sudo
  • 701
  • 2
  • 13
0
votes
0 answers

Can't install approxeng.input==2.6.3

I am making a weird robot out of k'nex and a pi and I am controlling it over bluetooth with a DS4. The motor The controller The DS4's D-pad will control the movement. I was looking for librarys to drive the controller, and I found approxeng.input.…
0
votes
0 answers

Compilation error when trying to transmit and receive data to Dynamixel XL320 motors with esp32 with an active BLE connexion

I am trying to control various Dynamixel XL320 motors (https://emanual.robotis.com/docs/en/dxl/x/xl320/) with an esp32. I want my program to do three things: Transmit data to the motors (control mode, speed goal, ...) Read data from the motors…