Me UNO Shield - gcode -software?


#1

hi,

pls, have you an software-howto for this shield with an arduino uno to use 3 stepper-motors (for example cnc ) and to use gcode ? that would be very helpful.

i use debain-linux with arduino-IDE.


#2

no help, no support for his shield?


#3

I use the UNO shield with an Arduino Mega 2560 which works very well except having to modify the library due to differences with the pinning. You get to have more serial ports, I/Os and memory.


#4

this does not help, it’s about Arduino UNO and the me uno shield and not about mega …


#5

What makes you say that? The “Me UNO Shield” works fine on an Arduino Mega 2560, you just have to adapt the ports:

Makeblock.cpp

#include “Makeblock.h”
#include “wiring_private.h”
#include “pins_arduino.h”
#define MeBaseBoard

void print_line(const char *function, int line_number);
void print_line_string(const char *function, int line_number, char *string) ;

extern char FORMAT_BUFFER[41];

#if defined(_AVR_ATmega1280_) || defined(_AVR_ATmega2560_)

MePort_Sig mePort[11] = {{NC, NC}, {11, 10}, {9, 12}, {13, 8}, {NC, 3}, {NC, NC}, {NC, 2}, {A2, A3}, {A0, A1}, {5, 4}, {6, 7}};

#elif defined(_AVR_ATmega32U4_) // MeBaseBoard use ATmega32U4 as MCU

MePort_Sig mePort[11] = {{NC, NC}, {11, A8}, {13, A11}, {A10, A9}, {1, 0}, {MISO, SCK}, {A0, A1}, {A2, A3}, {A4, A5}, {6, 7}, {5, 4}};

#else // else ATmega328

MePort_Sig mePort[11] = {{NC, NC}, {11, 10}, {3, 9}, {12, 13}, {8, 2}, {NC, NC}, {A2, A3}, {A6, A1}, {A7, A0}, {6, 7}, {5, 4}};

#endif


#6

ok you change the makeblock-library , but i dont understand where de g-code comes ? i need help to work with software for the me-uno-shield with 3-stepper-motors, wich software is working really like: take makeblock-stuff , start programm, load gcode and start the software ? it sounds easy, but is there a really working howto ?


#7

I have no personal experience with g-codes however you may want to look at:
https://github.com/grbl/grbl/wiki and https://github.com/grbl/grbl/wiki/Compiling-Grbl as one source.


#8