Welcome! Log In Create A New Profile

Advanced

Megatronics v3.0 I2C Marlin firmware

Posted by Megatronics007 
Megatronics v3.0 I2C Marlin firmware
April 26, 2015 04:47PM
I'm trying to use the I2C serial connection on the Megatronics v3.0 board.
I thought it would be no problem at all to implement this in the Marlin firmware because
it's a custom Arduino controller with similar pins for I2C (pin 20 SDA and 21 SCL) like the Arduino Mega 2560.

The SCL and SDA pins on my Megatronics board stay high because of the on board pull up resistors so the pins aren't recognised by the firmware.
I've tried to establish a connection with the default Arduino Wire.h library but that didn't work...

I guess I have to do some register level programming of the Atmega2560 microcontroller but I don't have any idea how to start.

So is there someone who knows how to set up an I2C connection with this type of board, how to get communication with these pins...

Edited 2 time(s). Last edit at 04/28/2015 12:19PM by Megatronics007.
Sorry, only registered users may post in this forum.

Click here to login