Welcome! Log In Create A New Profile

Advanced

Generation 7 LCD + SD pinouts

Posted by peter6960 
Re: Generation 7 LCD + SD pinouts
March 06, 2013 11:55PM
How are you! May I ask why you do not have LCD 1602 Keypad Shield, I think this will be a bit better! But I do not know how wiring, some guidance about it?
Re: Generation 7 LCD + SD pinouts
March 21, 2013 03:37PM
Hi

Yeah I also got sidetracked for a while with other projects, moved down to the Coast, etc

Today was actually a public holiday in South Africa, and must have been telepathy as I was working on it all day

While at some point I almost thought it was an issue moving from 644 to 1284, or code, it seems the PCF8574's is the bull in that equation. Went and got some MCP23017's
Copied the Panelolu2 schematic/pinout and got Marlin/Sanguino/MCP23017 running smoothly today - display wise. SD and Encoder not yet but have not really dug into it. Used Think3dPrint3's pinouts so was expecting the #define PANELOLU2 to do its thing without having to tweak pinouts in code again.

Anyway, not a biggie - its usually easier to sort that out. i2c LCD was driving me up the wall so glad it works now

Have not tried it on Gen7 yet, will etch up a small adapter tomorrow. The board I made for this uses 2 x 6pin IDC cables, so adapters are trivial and always easier to wire IDC than individual wires as well

One of the 6pins goes on the ICSP (SPI to SD + 5v and GND and Reset) the other 6 pin is used for ENC-A,B,C and I2C





Peter



mcp Wrote:
-------------------------------------------------------
> Hello Peter,
> just lost track, if you got your Display and
> SD-Card now running with Repetier ?
> I just managed to get mine upo and running with
> the latest Repetier and a small patch to work
> around an issue with the used Pin4 which is
> required to get the SPI interface for the SD-Card
> running.
>
> cu
>
> Michael
Re: Generation 7 LCD + SD pinouts
March 21, 2013 03:39PM
Hi James

That one would use too many pins.

And the Adafruit one is I2C but the 16x2 does get a bit too small. 20x4 is much more navigable

Peter



james520chen Wrote:
-------------------------------------------------------
> How are you! May I ask why you do not have LCD
> 1602 Keypad Shield, I think this will be a bit
> better! But I do not know how wiring, some
> guidance about
> it?[img04.taobaocdn.com]
> 2/T2mizhXdFXXXXXXXXX_!!140956032.jpg
Re: Generation 7 LCD + SD pinouts
March 22, 2013 10:06AM
Looking forward to your Gen7 test. I really would like to be able to print with no computer hooked up. Been trying to figure out how to do it. I would like to try the Touch TFT that is on Thingiverse.

Brian
Re: Generation 7 LCD + SD pinouts
March 31, 2013 01:36PM
Worked a charm (:



sonex128 Wrote:
-------------------------------------------------------
> Looking forward to your Gen7 test. I really would
> like to be able to print with no computer hooked
> up. Been trying to figure out how to do it. I
> would like to try the Touch TFT that is on
> Thingiverse.
>
> Brian
Re: Generation 7 LCD + SD pinouts
May 05, 2013 12:11AM
Hello,
Anyone has the final schematic for a LCD 20x4 and SD + Encoder?

Regards!


Juan
Re: Generation 7 LCD + SD pinouts
May 24, 2013 08:13AM
Anyway to make an SPI 4x40 display work in marlin I know I can make an sd card adapter work if I keep the cables short (have a micro sd one from reprapdiscount I could utilize. But I would need an lcd to make it work.
Because I would like to make it work with marlin anyone know if that is feasible the lcd shield you folks discussed in this thread?
terramir
Re: Generation 7 LCD + SD pinouts
June 19, 2013 05:42PM
peter6960 Wrote:
-------------------------------------------------------
> Hi
>
> [...]
>
> While at some point I almost thought it was an
> issue moving from 644 to 1284, or code, it seems
> the PCF8574's is the bull in that equation. Went
> and got some MCP23017's
> Copied the Panelolu2 schematic/pinout and got
> Marlin/Sanguino/MCP23017 running smoothly today -
> display wise. SD and Encoder not yet but have not
> really dug into it. Used Think3dPrint3's pinouts
> so was expecting the #define PANELOLU2 to do its
> thing without having to tweak pinouts in code
> again.
>
> Anyway, not a biggie - its usually easier to sort
> that out. i2c LCD was driving me up the wall so
> glad it works now
>
> Have not tried it on Gen7 yet, will etch up a
> small adapter tomorrow. The board I made for this
> uses 2 x 6pin IDC cables, so adapters are trivial
> and always easier to wire IDC than individual
> wires as well
>
> One of the 6pins goes on the ICSP (SPI to SD + 5v
> and GND and Reset) the other 6 pin is used for
> ENC-A,B,C and I2C
>
> [s24.postimg.org]
> pg
>
> [s23.postimg.org]
> pg
>
> Peter

Hi,

Looks good smiling smiley

I'm currently trying to keep PCF8574 and using LCD_I2C_TYPE_PCF8575 in Marlin.

By now, only LCD is tested [1] (still waiting for a rotary encoder and a SD socket). I add some #defines into Configuration.h and pins.h [2] and wire the LCD and de IC using the default pin mapping from `ultralcd_implementation_hitachi_HD44780.h` [3], and switching the backlight with a BC557 as in DigisparkLCD schematics [4].

5V are taken from +5V in ExtensionBoard, and It works, but with some bugs:

* If I send M81 and turn the PSU off, I can't turn it on again by sending M80. It only happends when LCD is powered by +5V; if it's powered by 5VSB and it's not turned off when M81, I can use M80 to turn PSU on again. Seems to be som related to backlight or whatever... or capacitors... Do I need some capacitors in the LCD circuit?

I'll do some tests when the printer wasn't printing grinning smiley

[1]
* [dl.dropboxusercontent.com]
* [dl.dropboxusercontent.com]
[2] [gist.github.com]
[3] [github.com]
[4] [github.com]
Re: Generation 7 LCD + SD pinouts
June 30, 2013 11:53AM
So, just incase any of you thought I was abandoning this, here's a small update

1. We spoke to Traumflug and sorted out the licensing

Basing our design somewhat on the Gen 7 - most importantly by staying PIN COMPATIBLE so all exising firmwares can run on it, also using the Gen 7 bootloader to make that easier - we made our new controller

[wiki.openhardware.co.za]

It's also licenced NC... But feel free to make yourself one or two

Peter
Re: Generation 7 LCD + SD pinouts
July 23, 2013 03:27PM
Here's the final versions of the boards mentioned in my previous post. Sure its not a gen7 in the singlesided diy fashion, but it is a Gen 7 by heart where it counts (; And the most important bit, as promised is that all the external circuitry and all the firmware will still work on you Gen 7 - so you can take advantage of this as well. Schematics etc posted on [wiki.openhardware.co.za]

But just to show all the Ramps fanboys - they can suckit (; - Gen 7 is more than capable


Re: Generation 7 LCD + SD pinouts
July 24, 2013 08:55AM
Re: Generation 7 LCD + SD pinouts
April 16, 2014 07:21AM
Gday Peter,
It seems you have this working with marlin. Have you had any success getting it to work with repetier.
I have been searching and it seems there are issues with 1284 based boards and I2C in repetier.

Thanks,
Don
Re: Generation 7 LCD + SD pinouts
April 22, 2014 02:57AM
I built Nightfly's version and everything works with Repetier except the SD card. Never have figured that out yet.
Sorry, only registered users may post in this forum.

Click here to login