Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Servo motor dont work
hisaralpar-
slan
Newbie
Posts: 7
Permalink
Post Servo motor dont work
on: November 2, 2017, 07:14
Quote

Hey guys I installed the polorgraph system I used to arduino 2560 , and adafruit motor shield(v1) , 2x nema 17 , I download the code on this web side(polargraph_server_a1) I run to processing and my stepper motor is working but my servo motor doesn't work I What can I do ? Am I using wrong code ? Pls someone help me guys .
Image

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Servo motor dont work
on: November 2, 2017, 07:22
Quote

It looks like it's wired up ok, have you tested the servo to make sure it works at all?

Sn

Ozgur
Newbie
Posts: 3
Permalink
Post Re: Servo motor dont work
on: November 2, 2017, 09:10
Quote

Try connecting your servo to the other servo connector, which is below. (Hocam bu arada sorununuz olursa yazabilirsiniz daha önce yaptım bu makineyi)
ozgurgulsuna@gmail.com
ozgurgulsuna.com/polargraph.html

hisaralpar-
slan
Newbie
Posts: 7
Permalink
Post Re: Servo motor dont work
on: November 2, 2017, 14:40
Quote

Quote from Ozgur on November 2, 2017, 09:10
Try connecting your servo to the other servo connector, which is below. (Hocam bu arada sorununuz olursa yazabilirsiniz daha önce yaptım bu makineyi)
ozgurgulsuna@gmail.com
ozgurgulsuna.com/polargraph.html

Hocam çok yardıma ihtiyacım vardı kac gündür uğraşıyorum bir beceremedim yardım çok iyi olur mail atarım sana 🙂

hisaralpar-
slan
Newbie
Posts: 7
Permalink
Post Re: Servo motor dont work
on: November 2, 2017, 20:44
Quote

Quote from sandy on November 2, 2017, 07:22
It looks like it's wired up ok, have you tested the servo to make sure it works at all?

Sn

The servo works alone but dont work polar with polargraph setup . Is there a part I need to change in the arduino code(polargraph_server_a1-master)? and I use processin (processing-1.5.1version ) is this a problem ?

kongorilla
Pro
Posts: 362
Permalink
kongorilla
Post Re: Servo motor dont work
on: November 3, 2017, 18:20
Quote

I assume you made the changes to polargraph_server_a1 to make it work with a mega, right? (You compiled the source yourself, after uncommenting the define for mega, commenting out uno, and uncommenting the includes for the libraries, rather than using the pre-compiled hex).

// 1. Specify what kind of controller board you are using
// ======================================================
// UNO or MEGA. Uncomment the line for the kind of board you have.
#ifndef MICROCONTROLLER
//#define MICROCONTROLLER MC_UNO
#define MICROCONTROLLER MC_MEGA
#endif


// 2. Add some libraries if you have a MEGA
// ========================================
// Uncomment the SPI and SD lines below if you have a MEGA.  
// http://forum.arduino.cc/index.php?topic=173584.0
#include <SPI.h>
#include <SD.h>


// 3. Specify what kind of motor driver you are using
// ==================================================
// Only ONE set of lines below should be uncommented.

//   i. Adafruit Motorshield v1. The original, and still the best.
//   -------------------------------------------------------------
#define ADAFRUIT_MOTORSHIELD_V1
#include <AFMotor.h>
Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.046 seconds.