Welcome! Log In Create A New Profile

Advanced

MKS gen L v1.0 (RAMPS 1.4) SDA/SCL?

Posted by tru_visual 
MKS gen L v1.0 (RAMPS 1.4) SDA/SCL?
August 23, 2020 01:55PM
Hi everyone,
can someone tell me, where do i find the SDA and SCL (I2C Bus) on the MKS gen L v1.0?
I need to wire three wires from an extantion board to it, SDA, SCL and a GND.

On Ramps 1.4 board easy to find.

I've read in the internet, that i can use AUX 1, D0 and D1, but i'm not sure.

Thanks for a helffull advice.

Regards,
tru

Edited 1 time(s). Last edit at 08/23/2020 01:56PM by tru_visual.
Re: MKS gen L v1.0 (RAMPS 1.4) SDA/SCL?
August 23, 2020 09:59PM
Like all atmega2560 based boards i2c is on D20 (SDA), D21 (SCL) (arduino naming convention)

Unfortunately The MKS gen L is a minimalistic board. those pins on the processor are not connected to anything.

You would have to directly connect wires to pins 43 and 44 of the MPU

DO/D1 is serial port 0, not i2c.

MKS-GEN_L circuit diagram.
Re: MKS gen L v1.0 (RAMPS 1.4) SDA/SCL?
August 25, 2020 04:47AM
Hi and thank you Dust, for your reply.
Ok, so i have to solder the wires?

I found it on the diagram, but where is it located on the board?

Is it the same on an other board, like MKS gen L v2.0?

Regards,
tru
Re: MKS gen L v1.0 (RAMPS 1.4) SDA/SCL?
August 25, 2020 06:25AM
Is there a communication issue here?

The only place these signals are available on the MKS gen L v1.0 controller board is directly on pins 43 and 44 of the MPU
It is not available anywhere else on that board.


Also since this is i2c, you will also need to add pull up resistors.


All boards are different with their own quirks...
The MKS gen L v2.0 the pins are uses as IO pins E1_TX and D21, but they are not setup as I2C
Sorry, only registered users may post in this forum.

Click here to login