Page 1 of 1

Connect GT-2560v3 via UART @RasPi

Posted: Wed Feb 06, 2019 12:23 am
by xCite86
hello community

is it possible to control the geeetech a10 with an raspberry pi zero and octoprint via rx & tx? i have an GT-2560 V3 board and found a UART interface..

Image

i've tried to connect the rx3 and tx3 pins with my raspberry but they wont connect :(

Code: Select all

Connecting to: /dev/ttyAMA0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0xae5d1090, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0 M110 N0*125
Unexpected error while reading serial port, please consult octoprint.log for details: IOError: '[Errno 25] Inappropriate ioctl for device' @ comm.py:_readline:2605
Changing monitoring state from "Connecting" to "Offline (Error: IOError: '[Errno 25] Inappropriate ioctl for device' @ comm.py:_readline:2605)"
Connection closed, closing down monitor
Image

is this the right uart-interface to control them or am i wrong?

Re: Connect GT-2560v3 via UART @RasPi

Posted: Sat Feb 09, 2019 12:20 am
by _kaktus_
Hi.
:mrgreen:

I would like to draw your attention to an important point.

Your controller board has µC, powered by 5V.
I expect that µC RPi is powered by 3V.

In this case you should use logical signal level translator when connecting these two devices.

Check this in order not to accidentally damage one of these devices :!:

Re: Connect GT-2560v3 via UART @RasPi

Posted: Wed Jul 10, 2019 7:21 pm
by Tommies
Hello,
did you try to change config.h in marlin firmware?

Code: Select all

/**
 * Select which serial port on the board will be used for communication with the host.
 * This allows the connection of wireless adapters (for instance) to non-default port pins.
 * Serial port 0 is always used by the Arduino bootloader regardless of this setting.
 *
 * :[0, 1, 2, 3, 4, 5, 6, 7]
 */
#define SERIAL_PORT 0

Re: Connect GT-2560v3 via UART @RasPi

Posted: Fri Jul 12, 2019 6:06 am
by Tommies
Marlin 2.0 there is possibility to define 2 serial port in case of esp3d.