The Arduino Mega 2560 supports all features of the OAT. It allows the most customization, however requires external stepper driver boards for all motor types.
Choose the Mega 2560 board in
Configuration_local.hpp. Refer to the Constants.hpp file for the correct option.
|Driver Pin||Arduino Pin|
For UART, the DEC driver board needs to have
MS1enabled, do this by switching the 1 button to
ON. All others, also on the RA driver have to be
Be sure to have the Drivers Logic GND actually connected properly to Arduino GND. It HAS to be Arduino GND, it can not be the same GND as from the stepper powersource!
With the standard wiring it is possible to transmit all signals for both TMC drivers over a single Ethernet cable. (If you want to use a different wiring option, check out other Enclosures).
Each driver needs the following wires: STEP, DIR, EN, UART, GND and DIAG if the autohoming feature is used (still in development). Ethernet cables have 8 wires, so we have to get a little bit creative to get the required connections into a single cable. The GND and UART wires for example can be shared by both drivers so we can save 2 wires by making a Y connection on the driver side. The EN wires do not necessarily need to be connected to the Arduino at all, all they need is to be driven with a logic LOW, that means we can just attach them to a GND connection. That saves another 2 wires.
Note the EN pins on the driver side that are now connected to GND.
The easiest way to get a Y connection for GND and UART is to simply force two wires into a single connector.
To not get confused later, it helps a lot to colorcode your connections and write them down. The side of the CAT6 adapter will have some numbers on it. For example write down: Slot 1, Blue, RA STEP. This will help a lot when you do the other side.
The pins can be changed in the configuration_pins.hpp, but the default wiring is:
As you can see in the image, bend pin connectors help a lot.
This pin will be used to configure the driver (microstepping, current etc.).
You will have to solder a bridge thats right beneath the two UART pins. It is 3 pads that all need a connection with each other. Then, solder a wire or pin on the top of the board to one of the UART pins.
Like on the Watterot drivers, you will have to solder a pin or wire to the top of the board, to the marked pin. But you wont have to solder the bridge.
The BigTreeTech TMC2208-v3.0 do support UART and 256 micro steps but there is a couple of things we need to change to get it to work. Also, make sure you get the ones with UART enabled from the factory unless you want to bridge them yourself.
Leave the MS Dips OFF on both boards.
Configuration_pins.hpp- Make the following changes
//DEC TMC2209 UART specific pins #define DEC_SERIAL_PORT Serial2 #define DEC_DRIVER_ADDRESS 0b00