First fails regarding motor + ramps

This is the place to discuss various hardware. Topic include:
- Display devices (Projectors, Lasers & etc..)
- Microcontrollers & RAMPs boards
- Power supplies
- Z-Axis and Tilt assemblies
- etc..
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Pikusmaster
Posts: 4
Joined: Thu Feb 05, 2015 11:13 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

First fails regarding motor + ramps

Postby Pikusmaster » Thu Feb 05, 2015 11:22 am

Hi everyone! First of all I'd like to say that this forum is awesome and you guys seem to know what you are doing. Well I cannot say the same about myself :) so...

I have arduiuno mega + ramps 1.4 and A4988 + nema 17 motor. I've tried everything and I cannot understand why I'm stuck in something so basic. I cannot move this motor at all. I've tried marlin and pronter and I managed to connect, but I cannot move anything. The same with CW. How can I run some easy diagnostics to check what's wrong? I'm not even sure which part is failing.

Please help :D

Matze
Posts: 37
Joined: Fri Jan 02, 2015 7:03 am
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: First fails regarding motor + ramps

Postby Matze » Thu Feb 05, 2015 11:28 am

Hi,

I've got a similar setup and I'm also using Marlin. I had to disable the software endstops and disable all the temperature sensors in the configuration.h to make it work.

Hope that helps

Pikusmaster
Posts: 4
Joined: Thu Feb 05, 2015 11:13 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: First fails regarding motor + ramps

Postby Pikusmaster » Thu Feb 05, 2015 11:43 am

Thanks a lot! But I cannot properly disable endstops. Could you send me your configuration.h file?

Matze
Posts: 37
Joined: Fri Jan 02, 2015 7:03 am
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: First fails regarding motor + ramps

Postby Matze » Thu Feb 05, 2015 11:47 am

Of course. PM me your email.

Pikusmaster
Posts: 4
Joined: Thu Feb 05, 2015 11:13 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: First fails regarding motor + ramps

Postby Pikusmaster » Thu Feb 05, 2015 7:49 pm

Well, I used your config and all I got is this (which looks normal to me):

start
echo: External Reset
Marlinv1.0.2
echo: Last Updated: Feb 6 2015 00:32:31 | Author: (none, default config)
Compiled: Feb 6 2015
echo: Free Memory: 5093 PlannerBufferBytes: 1232
echo:Hardcoded Default Settings Loaded
echo:Steps per unit:
echo: M92 X78.74 Y78.74 Z800.00 E836.00
echo:Maximum feedrates (mm/s):
echo: M203 X500.00 Y500.00 Z5.00 E25.00
echo:Maximum Acceleration (mm/s2):
echo: M201 X9000 Y9000 Z600 E10000
echo:Acceleration: S=acceleration, T=retract acceleration
echo: M204 S3000.00 T3000.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
echo: M205 S0.00 T0.00 B20000 X20.00 Z0.40 E5.00
echo:Home offset (mm):
echo: M206 X0.00 Y0.00 Z0.00
echo:PID settings:
echo: M301 P22.20 I1.08 D114.00
echo:Filament settings: Disabled
echo:Z-Probe Offset (mm):
echo: M851 Z0.00

Still I cannot move my motor, could anyone tell me if any LEDs should be on or blinking? I really have no idea how to diagnose what is wrong :(

Simple diagnostics I did an understood:
Tried rotating the motor with LED plugged to one of the coils and it was flashing (so I guest that the motor is working)
Arduino Mega and RAMPS seem to communicate normally with pc,

Matze
Posts: 37
Joined: Fri Jan 02, 2015 7:03 am
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: First fails regarding motor + ramps

Postby Matze » Fri Feb 06, 2015 12:25 am

Just to be sure, do you have an external power supply (12v) attached to your ramps? Also, have you tried the ramps test code http://reprap.org/wiki/RAMPS_1.4#RAMPS_1.4_test_code?

Pikusmaster
Posts: 4
Joined: Thu Feb 05, 2015 11:13 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: First fails regarding motor + ramps

Postby Pikusmaster » Fri Feb 06, 2015 7:17 am

I have the power supply it is 5A 12V notebook like power supply, so I guess it should work. I haven't used this ramps check, I'll do it as soon as I get home :)

EDIT:
Ok, I've checked, and everything moves as it should :D so I guest I have to work a bit more with firmware and soft :)


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable