How can I use a motorshield with arduino to run an eggbot?

Hi,

I'm building an eggbot which is supposed to be controlled by an arduino with a motorshield.
The firmware I am using seems to be working fine because it replies correct information when I send a gcode to the eggbot.
I think the firmware needs some modification. I am not shure which pins I need to set.

Can anybody help me?

Thanks alot.

Not enough info supplied yet.
Post more details of hardware involved, code being used (use # button above).

Hi,

I'm using an Arduino UNO in combination with a motor shield and two nema 17 stepper motors.

The code comes from an spherebot.

#include <TimerOne.h>
#include <SoftwareServo.h>
#include "StepperModel.h"

#define TIMER_DELAY 64

/*

  • PINS
    */

#define XAXIS_DIR_PIN 11
#define XAXIS_STEP_PIN 3
#define XAXIS_ENABLE_PIN 4
#define XAXIS_ENDSTOP_PIN -1

#define YAXIS_DIR_PIN 5
#define YAXIS_STEP_PIN 6
#define YAXIS_ENABLE_PIN 8
#define YAXIS_ENDSTOP_PIN -1 // <0 0> No Endstop!

#define SERVO_PIN 2

I have already tried to change the digital pins but I have no idea how to set them correctly to run with my motor shield

Thanks for help!

Sorry not nearly enough information by a long way.

Read the how to use this forum sticky post for how to post code correctly and how to attach large code files to a post.

In general we need, full code, full schematics, links to libraries used and hardware used.

Hai duxx,

have you already found a solution for you problem
I am also working to build a Eggbod with the motor shield for Arduino V2, but i find no source code to make it work
Maybe you can help me or somebody else

Kind regards

Sembot:
i find no source code to make it work

The idea is that you write the source code.

Hai,

Why, I'm just busy with arduino, I can not do this

Why invent the wheel twice

Kind regards

Why invent the wheel twice

Because then you can invent a better wheel.

Otherwise you are forever just going to do stuff that has been done before. What is the point of that?

Arduno is about learning not about being a parasite.

Sembot:
Why invent the wheel twice

Why indeed? Well, we dispense knowledge and advice here. My advice to you is to go somewhere else to "find the code", 'cause it ain't gonna happen here.

Sorry for the misunderstanding, but I thought you helped on a forum with your problem, or if they do get you on your way to a solution
So just say , I do not know, or say nothing , it's easier than all this negative sounds

I will rephrase my question, who can help me on my way with my eggbot and motor shield V2

It was all meant well, but I'm still not helped

Kind regards

Sembot:
who can help me on my way with my eggbot and motor shield V2

Unless you are lucky enough to find an existing project which somebody has published with the complete hardware and software design for you to simply copy, you will need to implement the project yourself. That is the purpose of the Arduino project and these forums - to support people develop their own projects. If you develop it yourself this will involve you encountering problems and working out how to solve them. If you have difficulty solving these problems you are welcome to ask here for advice about how to solve them; there are lots of people here offering advice.

If you don't want to implement the project for yourself and want somebody to implement it for you or with you, you should post a request for help in the Gigs & Collaborations section of the forum. Note that most people would expect to be paid for working for you.

Have you check these out?