MeBaseboard is Arduino Leonardo?

I recently purchased Makeblock’s xy plotter.
When I tried to upload driver software into the board which is set to Arduino leonard, I cannot upload code into the board.

System wide configuration file is “/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf”
User configuration file is “/Users/bigfoot/.avrduderc”
User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/cu.usbserial-1460
     Using Programmer              : avr109
     Overriding Baud Rate          : 57600
     AVR Part                      : ATmega32U4
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PA0
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
       lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : butterfly
     Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = “���
�I�”; type = �
Software Version = .�; Hardware Version = E.
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn’t
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader

avrdude done. Thank you.

the selected serial port
does not exist or your board is not connected

When I set it to Arduino Uno, as shown in the following, I can successfully upload the driver software.
Is there anyone who can mention about the board type?

avrdude: Version 6.3-20171130
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2014 Joerg Wunsch

     System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
     User configuration file is "/Users/bigfoot/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/cu.usbserial-1460
     Using Programmer              : arduino
     Overriding Baud Rate          : 115200
     AVR Part                      : ATmega328P
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PC2
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : Arduino
     Description     : Arduino
     Hardware Version: 3
     Firmware Version: 4.4
     Vtarget         : 0.3 V
     Varef           : 0.3 V
     Oscillator      : 28.800 kHz
     SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file “/var/folders/y8/q_7f67_n5qv_zm1x1nm3khz80000gn/T/arduino_build_599107/GCodeParser.ino.hex”
avrdude: writing flash (14474 bytes):

Writing | ################################################## | 100% 2.52s

avrdude: 14474 bytes of flash written
avrdude: verifying flash memory against /var/folders/y8/q_7f67_n5qv_zm1x1nm3khz80000gn/T/arduino_build_599107/GCodeParser.ino.hex:
avrdude: load data flash data from input file /var/folders/y8/q_7f67_n5qv_zm1x1nm3khz80000gn/T/arduino_build_599107/GCodeParser.ino.hex:
avrdude: input file /var/folders/y8/q_7f67_n5qv_zm1x1nm3khz80000gn/T/arduino_build_599107/GCodeParser.ino.hex contains 14474 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.88s

avrdude: verifying …
avrdude: 14474 bytes of flash verified

avrdude done. Thank you.

In addition, without using mdraw and benbox, I would like to move the plotter using gcode provided by GRemoteFull code. Is it possible to command xy-plotter by a script prepared by a use?

Thanks in advance.

Hey @BillyGo

Welcome to the RobotShop Community!

The MakeBlock XY plotter is controlled by a Makeblock Orion, which is compatible with Arduino Uno.

You do need to create the toolpath via the mdraw software, and use a .SVG to start drawing.

Thanks for your comments.

Would you please let me know where I can download source code about Makeblock Orion?

Although I downloaded and tested the source code from https://github.com/Makeblock-official/XY-Plotter-2.0, the https://github.com/Makeblock-official/XY-Plotter-2.0/archive/master.zip seems to have Me Baseboard code because it has different pinout unlike Arduino Uno boards. Its code is not working on my xy plotter.

The manufacturer (Makeblock) raised may confusion about theirs documents and code.

Thanks again.

Hi,

You can find all the documentation here:
PDF File

ZIP File

Thanks for your helps.

I found a link reference from a xy_plotter_v2.02_software_manuals.pdf file like https://github.com/Makeblock-official/XY-Plotter-2.0.

Basically, I do not want to use a plotting software like mDraw or Inkscape. On behalf of it, I want to use GReomoteFull (GRemote.sh) to control the plotter by GCode scripts.

By the software manual, the code is located at the following url.

When I uploaded GCodeParser.ino and two more file, then the stepper motors are not working. Just printing “init”… That’s it!
Although the code is not explicitly mentioned, I think the code is written for Me Baseboard (Leonardo) not Orion one.

I disclose pin layout information for both of boards as the follows:
Me Baseboard
int X_STEP_PIN = 8;
int X_DIR_PIN = 11;
int X_ENABLE_PIN = 4;
int X_MIN_PIN = A4;
int X_MAX_PIN = A5;
int Y_STEP_PIN = 12;
int Y_DIR_PIN = 13;
int Y_ENABLE_PIN = 4;
int Y_MIN_PIN = A1;
int Y_MAX_PIN = A0;
int Z_STEP_PIN = A3;
int Z_DIR_PIN = 9;
int Z_ENABLE_PIN = 4;
int Z_MIN_PIN = A1;
int Z_MAX_PIN = A0;

I finally found code for Orion board by googling.
The code is working for x and y stepper motors, but limit switches and z-axis pen servo are not working.
Orion board
int X_STEP_PIN = 10;
int X_DIR_PIN = 11;
int X_ENABLE_PIN = -1;
int X_MIN_PIN = 17;
int X_MAX_PIN = 16;
int Y_STEP_PIN = 9;
int Y_DIR_PIN = 3;
int Y_ENABLE_PIN = -1;
int Y_MIN_PIN = 13;
int Y_MAX_PIN = 12;
int Z_STEP_PIN = 15;
int Z_DIR_PIN = -1;
int Z_ENABLE_PIN = -1;
int Z_MIN_PIN = -1;
int Z_MAX_PIN = -1;

Thus, would you please share your plotter’s pin layout information?
I would like to double-check with my layout information.

Very appreciated of your helps again.

Hey @BillyGo

At this point, I would suggest you to contact directly the manufacturer, considering they should have more information to give you for your project for the XY plotter:

I’ve found also an instructables that does use GRemoteFull:

Dear @AudioVOX,

Thank you so much for your help.
As you commented on the issue, I will try to contact the manufacturer directly.