Let's Make Robots!

Servo

Trying to encapsulate a servo instance, no movement

Hi there,

I'm having an issue with encapsulating servo functionality in its own class. What I want to do is creating a class that contains a couple of methods that control a servo more or less autonomously, in such a way that just requires me to set the context and then in the loop calling myservo.update() to have the myservo class take care off its own. Very OOP indeed :-)

For some reason I just can't get it to work. Brought down to the bare minimum, I have three source files, main.ino (off course), myservo.h and myservo.cpp:

myservo.h contains this:

Dagu Robotic Arm 6DoF - Bacuri02 Project

I recently received my Dagu Robotic Arm 6 DOF with Arexx control board 32 servos.

My original project is to use an Arduino Mega to control the arm and then make a wifi connection joystick control.

As I have not received my Arduino Mega board, I started tinkering in Arexx control board that I received along with the robotic arm. Along with the kit also came with a CD ROM which I believed the program to be installed on the computer to control the arm.

Biped Howto: Moving servos

+++ UPDATE (12-march-2014): Rename title as "Biped Howto".

Hi, I will try to explain, in a very simplistic manner, the way in which servo motors can be controlled.

Servo motors are controlled by a PWM signal, in which the active part of the signal (known as duty cycle) define the amount of degrees the servo will rotate.

raspberry pi arduino,

So im pretty newish to robotics and programming in general, but ive done some reading and have started down my own path.

my robot(including a picture, description, wiring diagram and code) is posted here http://letsmakerobots.com/node/40350

Starter Robot Question

Howdy! I've been working on my "Start here" robot. I've not yet got a distance sensor (I am instead using a light sensor to take two readings moments apart, generate random numbers from them, and then compare those two so as to travel at random.) I do have a servo, but I have been enjoying having it play sounds through a speaker. Now, that being said, I'd like to hook up the servo, but A.) don't have the 330r DIL chip, and B) don't want to take out the darlington. 

Arduino Servo library and softwareserial library conflict

Hi,

I need some help for this.

I am using arduino UNO and i have connected a GPS to softserial and a servo to pin9 and when the software runs the servo and softserial fights. I check online about the issue and it happend to many people and still i am unable to get a solution for. 

I even tried almost all combinations of solution from internet and it did not work. When this happening some times servo works and other times GPS works. 

hope to get some support

Robot Servos/control board advice

Hi, I would like to do an investment and to buy some servos (10/20 units).

I don't have too much money to spend, so I'm looking for cheap servos with however enough torque to do some interesting robots (humanoid, arm, hexapod, etc).

Initially I found MG995/MG996R servos, then I found rds3115 robot servo.

The features of the rds3115 are:

modified servo .. continious rotation problem

Hi all ... have a little problem with a servo i modified for continous rotation 

#include <Servo.h> 

  Servo myservo;  // create servo object to control a servo 

  void setup() 

  myservo.attach(9);  // attaches the servo on pin 9 to the servo object 

  void loop() 

Updated instruction manual for Mini Driver

The Mini Driver was released by DAGU some time ago. It is essentially our Magician controller in SMD format. Unfortunately the engineer who designed it does not have very good English so I was asked to re-write the manual. You can view/download the manual from here: https://drive.google.com/file/d/0B__O096vyVYqczRjX1k5LTRkcjA/edit?usp=sharing

Few questions about Spider Controller (DAGU)

Hello all!

I'm newbie and I have few questions about Spider Controller (from DAGU).

1) When USB is plugged and the battery is plugged too - which source of power controller will be use for servos?

2) As i understand, If i use analog servos I should plug it to PWM-outputs. And digitall servo can be plugged to any output. Am i right?

3) Can't understand what is the role of ON/OFF switcher. It is for battery only?

 

Many thanks in advance.

Looking for ideas on a I2C Pan/tilt stand-alone sonar

This quest to build a stand-alone I2C pan/tilt range finder controller started with an article here by Ladvien.  In    http://letsmakerobots.com/node/39130, Ladvien explores using an ATtiny85 (84) as an I2C motor controller...

And in http://letsmakerobots.com/node/39222,   Chris the Carpenter   gives us an awesome pan and tilt code example... so...

Chiro! Named after the order Chiroptera, which are bats!I named it this because of the ultrasonic distance sensor. Read more
Navigate via website commands, ip webcam
Using a
Parts:            Parallax Boe-bot (Basic Stamp; Board of Education USB)      Raspberry Pi      Wireless adapter Wireless IP … Read more

PICAXE28x1, Sharp IR Sensor and Infrared sensor problems

Hi everyone,

 

I'm making a robot project for my mechatronics course and I am using picaxe28x1 with an infrared range sensor that I just copied from the Start Here post here at LMR. I did everything, and exactly the same set up like what the guy did. Howeve because we are required to make at least one of our own infrared circuit, I added an infrared sensor (with a transmitter and receiver circuit and a LED indicator) circuit together with the servo and the Sharp IR sensor. I did the set up and wrote my program but it's not doing the job.

So this guy happened last night. I have been inspired by the work of Mr. Protowrxs and his Box Head Robot and thought I needed a little deskbot as well. I also … Read more

Help requested with programming "Official Arduino Robot".

I need some help programming a servo routine for the new "Official Arduino Robot".

So far, NONE of the standard Arduino servo routines function with this robot. "#include <Servo.h>" is the most common servo control routine and I get an "Error 17" whenever I attempt to use it.

More recent "standard" servo routines refuse to function as well.

It was a big shock that the robot included no servo control in its list of functions. "Forget something, Arduino???" :-)

Any help would be GREATLY appreciated!

PROJECT CONTINUED! So I found a motor from a toy. Works fine. The same speed as the other. But I still have the problem with the whole robot turning. I'll post a … Read more

6 wire RC steering servo?

Hi All!

This is my first post so go easy on me. :)

I am trying to build an obstical avoidance robot and decide to salvage a chasis from an old Radio Shack RC truck. The main board is fried. when I got to the se=teering mechanism I discovered 6 wires coming form what I would think is a servo. I was expecting three wires so I'm not sure how to hook it up to my motor shield for an arduino.

I discovered that if I applied a voltage to two of the wires the wheels turn on direction and if I reverse them they go the other way.

My PCB's Are Here!!!

Hello everyone my PCB's are here, they were actually meant to make my robot more tidy as shown here (turn off the sound)

Is my servo defect? (fast one way, struggle the other)

Hi
I bought a pan/tilt kit from nodna.de, with 2 micro servos...
I hooked them up to my Fez Panda II's PWM and 5V power, then made a simple program to move them  from all the way left to right.

But when i run it, it moves really fast to one side, then it struggles to move the other way, nearly dont move...?
Same problem with both of them... sounds like they dont have the power to turn... ?

Could there be somthing im doing wrong? or are they just simply defect? 

UPDATE:

Using Sabertooth 2x12 with motor and servo.

 

I have an RC car that i've stripped down to it's bare essentials.  It has one motor that provides forward/backward movement and it has a servo that turns the front wheels left/right.   I can use the Sabertooth 2x12 fine with the motor.  The problem is however the servo. 

Now available from PicoKit!http://www.picokit.com - A cheap and simple 3 servo robot walker that anyone can make for under $40. My students in Industrial … Read more
Tweet to @OurCatDoor and the "Hand of PI" reacts.
Using a
Full build page (with source) at: http://whiskeytangohotel.com/handofpi You can control the "The Hand of PI" by sending a tweet to @OurCatDoor. If your tweet … Read more

Everything you never wanted to know about two wheel drive.

Platform Drive Control.

This platform is driven by two wheels mounted so that the wheel axis
is just off center. There is a small caster wheel mounted in the 'rear'.

At this time there is no speed control feedback.

Maneuvers are accomplished by independent but coordinated control of
each wheel motor.

The drive motors are servos that have been hacked to continuous rotation.
The servo hack involved pulling the feedback control board and pot as
well as cutting the stop on the main gear. Thus the servos are converted

Need help controlling Traxxas ESC and Servo with Arduino

I'm working on an autonomous ground vehicle, guided by a U-BLOX Neo 6m GPS Module, and HMC5883l compass.

The ESC connects to the 7.2 NiMH Battery pack and is supposed to be connected to a RC receiver with a standard 3 wire servo cable, it also provides 6 volt regulated power from the same cable. Because the power is too high for an Arduino, I used a separate 5 volt power supply for the rest of the electronics, except the steering servo. Using a separate power supply makes the ESC and servo uncontrollable, creating a lot of jitter.

Potential Parts Store

 

I am looking into selling robot parts online, and I am curious what parts you, the potential customers, would like to see.

micro servo gear diametral pitch / module

Does anyone know what diametral pitch or module the gears are in those micro servos?

I want to make a gear that directly mates with the servo final gear but I can't unless I know the module or diametral pitch.

I have the servo gear so with digital calipers I measured the outer diameter of the 31 tooth gear to be 9.96 mm. If I use cad software to create a 0.3 module gear with 31 teeth, this gives me an outer diameter of 9.814 mm. Pretty close but it's not a home run.

ATtiny servo control

 

After a brief discussion with fellow LMR member Maxhirez, about his Hedwig robot,
it seems as though there isn't much support for servos in the ATtiny family of
microcontrollers. After fighting with the 8-bit servo library I found HERE that was
supposed to make it as easy as a standard Arduino to add servos to an ATTiny project,