Connect GT-2560v3 via UART @RasPi

Post Reply
xCite86
Posts: 2
Joined: Tue Feb 05, 2019 11:51 pm

Connect GT-2560v3 via UART @RasPi

Post by xCite86 » Wed Feb 06, 2019 12:23 am

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?

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Connect GT-2560v3 via UART @RasPi

Post by _kaktus_ » Sat Feb 09, 2019 12:20 am

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 :!:
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

Tommies
Posts: 13
Joined: Tue Jul 02, 2019 3:37 am

Re: Connect GT-2560v3 via UART @RasPi

Post by Tommies » Wed Jul 10, 2019 7:21 pm

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

Tommies
Posts: 13
Joined: Tue Jul 02, 2019 3:37 am

Re: Connect GT-2560v3 via UART @RasPi

Post by Tommies » Fri Jul 12, 2019 6:06 am

Marlin 2.0 there is possibility to define 2 serial port in case of esp3d.

Post Reply