Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Firmware uploaded ok, controller conected, no motor or servo movement
parshulea
Newbie
Posts: 2
Permalink
Post Firmware uploaded ok, controller conected, no motor or servo movement
on: November 11, 2017, 08:16
Quote

Hi there,
This is my configuration:
Arduino UNO, 2xA4988 drivers, 2xNEMA 17 200 st/rev, external power source for motors, SG90 servo.

I installed arduino code from here: https://github.com/euphy/polargraph_server_a1

I set #define SERIAL_STEPPER_DRIVERS in polargraph_server_a1 (and I commented the other options)
the motor pins are:
#define MOTOR_A_ENABLE_PIN 3
#define MOTOR_A_STEP_PIN 4
#define MOTOR_A_DIR_PIN 5
#define MOTOR_B_ENABLE_PIN 6
#define MOTOR_B_STEP_PIN 7
#define MOTOR_B_DIR_PIN 8

When I upload the code or I reset the uno board there is a short sound of steppers and a little move on servo. Also I verified steppers with a short arduino code to be sure that they are properly wired.

I cannot run the last version of the controller, it doesn't start, but I manage to run the polagraphcontroller from 1.7.25-1.7. The Uno is conected, and it seems receive comands from queue (the RX led is blinking).

The problem: the motors and servo not moving - I tried to move the pen, to lift it or todrop , etc. PLEASE, give me a hint!
Image

kongorilla
Pro
Posts: 338
Permalink
kongorilla
Post Re: Firmware uploaded ok, controller conected, no motor or servo movement
on: November 11, 2017, 22:06
Quote

Some things you didn't mention:

    - Editing the default.txt and uploading the machine spec
    - Clicking the HOME button
    - Clicking cntrl-c to open the console and seeing what's being communicated, including error messages (I'm bad with version numbers, but some versions of the controller have messages top right)
parshulea
Newbie
Posts: 2
Permalink
Post Re: Firmware uploaded ok, controller conected, no motor or servo movement
on: November 13, 2017, 16:50
Quote

When sending from queue, the java console look like:
Dispatching command: C31,600.0,END
Last command:C31,600.0,END:3221029769
regenerating preview queue.
incoming: READY
Dispatching command: C32,400.0,END
Last command:C32,400.0,END:149507342
regenerating preview queue.
incoming: READY
Dispatching command: C14,180,END
Last command:C14,180,END:3137006284
regenerating preview queue.
incoming: READY
Dispatching command: C13,90,END
Last command:C13,90,END:2914537854
regenerating preview queue.
incoming: READY
Dispatching command: C14,180,END
Last command:C14,180,END:3137006284
regenerating preview queue.
incoming: READY
Dispatching command: C13,90,END
Last command:C13,90,END:2914537854
regenerating preview queue.
incoming: READY
Dispatching command: C14,180,END
Last command:C14,180,END:3137006284
regenerating preview queue.
incoming: READY
...and so on,

I don't edit the default.txt (in my version default.properties.txt).
I thought there are the information sor calibration, for now I just wanna see some movements.

kongorilla
Pro
Posts: 338
Permalink
kongorilla
Post Re: Firmware uploaded ok, controller conected, no motor or servo movement
on: November 13, 2017, 19:10
Quote

What does it say when you send a new pen position? (not a lift or drop)

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.028 seconds.