Welcome! Log In Create A New Profile

Advanced

Megatronics v3 and RepRapDiscount LCD 12864

Posted by julieng7 
Megatronics v3 and RepRapDiscount LCD 12864
March 30, 2015 05:50AM
Hi everybody,

I have an electonical problem on my Prusa I3.

I own a megatronics v3 electronic card and I would like to plug on it a "RepRapDiscount Full Graphic Smart Controller (LCD 12864)". [reprap.org]

I bought an adapter but it was designed for the megatronics v2, I thought that all would work but it appear that pins are not in the same order between the two cards and in fact nothing happen when I plug the screen (there's even no backlight).

Here are the documentations of the two cards :

[reprapworld.com]
[reprapworld.com]

Is there anybody that can help me please?
Re: Megatronics v3 and RepRapDiscount LCD 12864
March 30, 2015 07:27PM
v3:

1. GND
2. 5V
3. LCD Contrast
4. D32
5. GND
6. D31
7. D14
8. D30
9. D39
10. D15
11. 5V
12. GND

V2:

1. GND
2. 5V
3. LCD Contrast
4. RS
5. GND
6. Enable
7. D4
8. D5
9. D6
10. D7
11. 5V
12. GND

they just change the digital pins from the mega processor but all functions still the same. check voltages between pin 1 and 2 and 11 and 12, you should have 5 volts there. Check the 5 volts fuse in the board and also adjust the trim pod next to the connector.
Re: Megatronics v3 and RepRapDiscount LCD 12864
March 31, 2015 02:46AM
Thanks a lot Ggherbaz I will check it and tell you! Where is the 5 volts fuse on the board please ?
Re: Megatronics v3 and RepRapDiscount LCD 12864
April 02, 2015 01:18PM
Well, couldn't find it. I assume they are using a voltage regulator with diode to prevent overloads.

If you don't have voltage at the LCD pin, you will have to check if there is voltage coming out of the regulator.
Re: Megatronics v3 and RepRapDiscount LCD 12864
May 27, 2015 03:35AM
Quote
ggherbaz
v3:

1. GND
2. 5V
3. LCD Contrast
4. D32
5. GND
6. D31
7. D14
8. D30
9. D39
10. D15
11. 5V
12. GND

V2:

1. GND
2. 5V
3. LCD Contrast
4. RS
5. GND
6. Enable
7. D4
8. D5
9. D6
10. D7
11. 5V
12. GND

they just change the digital pins from the mega processor but all functions still the same. check voltages between pin 1 and 2 and 11 and 12, you should have 5 volts there. Check the 5 volts fuse in the board and also adjust the trim pod next to the connector.

Hi,

I also have a Megatronics V3 with a "RepRapDiscount Full Graphic Smart Controller (LCD 12864)" but I have tried to make it work without any adapter. Gathering all information on the web on this, I succeeded to connect my LCD from the EXP1 port (on the the back of the LCD) to my Megatronics.

Here is the solution and I hope it will be useful for all.

LCD (Exp1) See also [rigidtalk.com]
Megatronics pins (LCD header) 2x6 <==> EXP1 pins (Full Graphic Smart LCD Controller 12864) 2x5
Pin 1. GND <---> Pin 2
Pin 2. 5V <---> Pin 1
Pin 3. LCD Contrast <---> XXX
Pin 4. D32 or LCD RS (Reset) <---> Pin 7
Pin 5. GND <---> XXX
Pin 6. D31 LCD Enable <---> Pin 8
Pin 7. D14 LCD_4 <---> Pin 6
Pin 8. D30 LCD_5 <---> Pin 5
Pin 9. D39 LCD_6 <---> Pin 4
Pin 10. D15 LCD_7 <---> Pin 3
Pin 11. 5V <---> Not applicable
Pin 12. GND <---> Not applicable

Keypad (EXP2)
But I did not find any documentation about the EXP2 pinout (Keypad) of the Full Graphic Smart LCD Controller 12864. Reprapworld (Bart Meijer) give the pinout of the Keypad header (2x5) :
Megatronics pins (LCD header) 2x6 <==> EXP1 pins (Full Graphic Smart LCD Controller 12864) 2x5
Pin 1. 5V <---> ?
Pin 2. GND <---> ?
Pin 3. D45 Keypad Encoder <---> ?
Pin 4. D33 Keypad Encoder <---> ?
Pin 5. D44 Keypad Encoder <---> ?
Pin 6. D34 Keypad Shift Out <---> ?
Pin 7. D43 Shift Clock <---> ?
Pin 8. D35 Shift LD <---> ?
Pin 9. D42 Keypad D42 <---> ?
Pin 10. D36 Keypad D36 <---> ?

I need some help from someone who have an adapter LDC 12864 to Megatronics V3, and who can check the pinout of the EXP2 port from the back of the LCD.


Cheers.


--

-Nx-
Re: Megatronics v3 and RepRapDiscount LCD 12864
June 12, 2015 06:26AM
Hello all,

I have finally found the solution for the EXP2 (keyboard) to megatronics pinout letting you connect this one without an adapter.

Megatronics pins (Keyboard header) 2x5 <==> EXP2 pins (keyboard)
Pin 1. 5V <---> XXX
Pin 2. GND <---> XXX

Pin 3. D45 Keypad Encoder <---> Pin 8 on EXP2
Pin 4. D33 Keypad Encoder <---> Careful pin 9 on EXP1 - This is the only exception.
Pin 5. D44 Keypad Encoder <---> Pin 6 on EXP 2
Pin 6. D34 Keypad Shift Out <---> XXX
Pin 7. D43 Shift Clock <---> XXX
Pin 8. D35 Shift LD <---> XXX
Pin 9. D42 Keypad D42 <---> XXX
Pin 10. D36 Keypad D36 <---> XXX



Share it and have a lot of fun, the LCD and the wheel button will work winking smiley

Edited 1 time(s). Last edit at 06/12/2015 06:29AM by -Nx-.
Re: Megatronics v3 and RepRapDiscount LCD 12864
March 05, 2016 02:42PM
Hi all,

Just wondering how either one of you managed to get the LCD working.

I'm a Megatronics v2 owner and recently received a 12864 display (RepRapDiscount: Full Graphic Smart Controller).
But the thing is that it just doesn't output anything (blank screen).

If I upload the U8glib helloworld sketch the display shows the 'hello world". So the display is working correctly. I changed the default pins from that sketch to reflect the megatronics 2 pin layout, and that is also working.

I was scanning true the Marlin code and noticed some different functions then the default U8glib sketches.
A lot of people are using this on RAMPS boards, there just isn't much info on Megatronics users.

So I would really appreciate some help here.
Re: Megatronics v3 and RepRapDiscount LCD 12864
March 20, 2016 10:31AM
Thanks -Nx-. I tried to make the wiring myself and then I saw this post. It helped a lot. I have made 2 pdfs - 1) a scheme of wiring and 2) pin numbers with their corresponding names - same colors as in the scheme.

I tried also to connect SD card using SDOUT on Megatronics v3. I didn't try it on board yet - can you tell me if the wiring is right and where to connect pins 2 and 6 on SDOUT (maybe to pins 4 and 7 on EXP2 (LCD module)) but how?

Thank you!

Edited 1 time(s). Last edit at 03/20/2016 10:35AM by Smatta.
Attachments:
open | download - Mega + LCD_pinout Model (1).pdf (437.4 KB)
open | download - Mega + LCD_pinout Model (2).pdf (53 KB)
Re: Megatronics v3 and RepRapDiscount LCD 12864
August 20, 2023 06:30AM
I know this is a very old topic, but..... As I came across this setup on a diy printer I got from a (past away) guy's friend I need the full solution smiling smiley

Why ? I'd like to build the pinter to work, as a akind of tribute to the guy and like to give it to my grandson to play with.

So... if anyone can help ?

What I have accomplished so far is: I got the lcd display lighting, but thats all.

As I have a Megatronics v3.1 mainboard (and those are practically the same as the v3 I guess, this should work.
Sorry, only registered users may post in this forum.

Click here to login