<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>sanguinololu 1.3b and the 12864 LCD</title>
        <description> I bought the Full graphic display to go with my new Sanguinololu. Unfortunately it came with the RAMPS smart adapter only. I&#039;ve been staring at both, the 1.3b and Graphics displays schematics on the reprap wiki, but I can not work out which pin needs to connect to what, on the GPIO.

Does anyone know of a schematic for the actual smart adapter for the Sanguinololu 1.3b?</description>
        <link>https://reprap.org/forum/read.php?158,498417,498417#msg-498417</link>
        <lastBuildDate>Tue, 09 Jun 2026 20:50:54 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,538427#msg-538427</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,538427#msg-538427</link>
            <description><![CDATA[ Well, the cable is I think 1 meter length supplied with the printer kit, I turned on the printer to print rod clamp, it got me worried what if the atmega chip were bricked because pronterface unable to connect. I immediately reflashed the working firmware that were working (before I added the code above to make 12864lcd work) and it works like it before. <br />
<br />
Mine got 1284p chip, and flashing the firmware using arduino ide, Tried avrasp mk2 and avrisp (I wonder if there's any difference here) both gave me mismatch error that time.]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Mon, 27 Jul 2015 20:36:51 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,537918#msg-537918</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,537918#msg-537918</link>
            <description><![CDATA[ 3 main ideas come to mind<br />
<br />
bad cabling, use  high qualty not overly long cables <br />
<br />
bad processor, its just dead. That memory location for what ever reason just doesnt work. Get a new cpu<br />
<br />
bad programer, Some ISP's are limited to 64k, if you attempt to program above that location it get errors like this. eg isptiny <br />
Are you even using a programmer or just the boot loader?<br />
<br />
Or it was justa once off... does it do it every time. ?]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Mon, 27 Jul 2015 00:08:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,537514#msg-537514</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,537514#msg-537514</link>
            <description><![CDATA[ ahh, that would be weird, what the problem might be?]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sun, 26 Jul 2015 05:40:26 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,537489#msg-537489</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,537489#msg-537489</link>
            <description><![CDATA[ The error <blockquote class="bbcode"><div><small>Quote<br /></small><strong>avrdude: verification error, first mismatch at byte 0x1f800          0x20 != 0x0c avrdude: verification error; content mismatch</strong><br />
</div></blockquote>
<br />
Is an upload and verification issue, not related to the code at all.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sun, 26 Jul 2015 03:07:35 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,537479#msg-537479</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,537479#msg-537479</link>
            <description><![CDATA[ I got an error though, I commented the pragma optimize and tried to upload, below is the error I got<br />
<br />
<pre class="bbcode">
avrdude: verification error, first mismatch at byte 0x1f800
         0x20 != 0x0c
avrdude: verification error; content mismatch</pre>
I will try again later tonight with pragma enabled.<br />
<br />
Is there a way for me to find out the marllin version in the files?]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sun, 26 Jul 2015 01:58:54 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,536050#msg-536050</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,536050#msg-536050</link>
            <description><![CDATA[ sarf2k4 - if you are using the Development version of Marlin, you need to make the changes in pins_SANGUINOLOLU_11.h around line 109<br />
<br />
If you are using 1.0.2 then you need to make them in pins.h around line 1281<br />
<br />
In both cases, search for this comment: (//SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0)<br />
<br />
Also, if your Sanguinololu is running at 20 MHz, you will need to comment out the line #pragma GCC optimize (3) in file ultralcd_st7920_u8glib_rrd.h or else you will get garbled display]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 22 Jul 2015 22:55:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,536013#msg-536013</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,536013#msg-536013</link>
            <description><![CDATA[ So the solution was this?<br />
<br />
<pre class="bbcode">
#ifdef U8GLIB_ST7920 //SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
   #if MB(MELZI) // Added check for Melzi boards
     #define LCD_PINS_RS 30 //CS chip select /SS chip slave select
     #define LCD_PINS_ENABLE 29 //SID (MOSI)
     #define LCD_PINS_D4 17 //SCK (CLK) clock
     #define BEEPER 27 // Pin 27 is take by LED_Pin, but Melzi LED do nothing with Marlin and I take this pin for BEEPER.... See here &gt; [github.com] , If you want use this pin with Gcode M42 instead BEEPER
   #else // Added pins for Sanguinololu 1.3
     #define LCD_PINS_RS     4 
     #define LCD_PINS_ENABLE 17 
     #define LCD_PINS_D4     30 
     #define LCD_PINS_D5     29
     #define LCD_PINS_D6     28
     #define LCD_PINS_D7     27
   #endif</pre>
<br />
What about the graphic? Is it displaying proper graphic now?<br />
<br />
Edit:<br />
I managed to put into my marlin version like this. I don't know which version I'm running probably 1.0.0, the marlin still using <b>MOTHERBOARD</b> var name<br />
<br />
<pre class="bbcode">
 //sangui u8glib support
 #ifdef U8GLIB_ST7920 //SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
   #if MOTHERBOARD == 63 // Added check for Melzi boards
     #define LCD_PINS_RS 30 //CS chip select /SS chip slave select
     #define LCD_PINS_ENABLE 29 //SID (MOSI)
     #define LCD_PINS_D4 17 //SCK (CLK) clock
     #define BEEPER 27 // Pin 27 is take by LED_Pin, but Melzi LED do nothing with Marlin and I take this pin for BEEPER.... See here &gt; [github.com] , If you want use this pin with Gcode M42 instead BEEPER
   #else // Added pins for Sanguinololu 1.3
     #define LCD_PINS_RS     4 
     #define LCD_PINS_ENABLE 17 
     #define LCD_PINS_D4     30 
     #define LCD_PINS_D5     29
     #define LCD_PINS_D6     28
     #define LCD_PINS_D7     27
   #endif
  #endif</pre>
<br />
So far no compile errors and I added <b>#endif</b> because the arduino ide gave me unterminated endif error. Currently I'm unable to test, need to check out later tonight]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 22 Jul 2015 19:58:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,535687#msg-535687</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,535687#msg-535687</link>
            <description><![CDATA[ SOLVED IT!!!<br />
<br />
Check for the solution here: [<a href="https://github.com/MarlinFirmware/Marlin/issues/2482" target="_blank"  rel="nofollow">github.com</a>]]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 22 Jul 2015 07:19:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,534620#msg-534620</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,534620#msg-534620</link>
            <description><![CDATA[ err... so I guess still not really work, navigating the control panel blindly not a good practice though :)]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Mon, 20 Jul 2015 09:31:31 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,534466#msg-534466</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,534466#msg-534466</link>
            <description><![CDATA[ Nope, I did not mod the default Marlin pins. I just hooked the EXT1 EXT2 cables up so that I was seeing the grid shown on image IMG_0040.JPG And then started trying to navigate the menus blindly with the encoder wheel.<br />
So I know for sure that the following pins are correct:<br />
BTN_EN1<br />
BTN_EN2<br />
BTN_ENC]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sun, 19 Jul 2015 23:02:35 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,534444#msg-534444</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,534444#msg-534444</link>
            <description><![CDATA[ hmm, so basically, you modded the default marlin 12864 lcd pins, no display but the controllers still worked?]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sun, 19 Jul 2015 20:51:41 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,534144#msg-534144</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,534144#msg-534144</link>
            <description><![CDATA[ Finally some progress!<br />
<br />
The reprap.me tech was sadly unable to help, as they sell the LCD as a RAMPS panel, so they offer no support for setting it up with other controllers. He did however suggest that the image where I have the grid displaying, is the correct way to hook it up and that there's probably just a problem with pins declaration, so the display data never reaches the panel.<br />
<br />
So what I did was I hooked the panel up to Sanguinololu, opened up the PDF with Marlin LCD menu layout and tried to use it "blind"<br />
<br />
And what do you know! It actually works :D I just can't see anything.<br />
<br />
If anyone out there could advise which pin(s) I should double check, it would make my life a lot easier :)]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sun, 19 Jul 2015 00:42:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,527816#msg-527816</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,527816#msg-527816</link>
            <description><![CDATA[ Ahh~~, that would be nice, I will be waiting for the results then, hopefully can be used with sangui 1.3a]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 01 Jul 2015 03:12:31 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,527778#msg-527778</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,527778#msg-527778</link>
            <description><![CDATA[ I'm back in business :) I accidentally discovered that avrdude supports PICKit2, which I happened to have from the old robotics days. So my sanguinololu is up and running with spiffy new bootloader once again.<br />
I've sent the reprap.me (that's where I got it from) support an e-mail asking about the LCD. Their tech savvy person is on vacation right now but they promised to get back to me as soon as he is back.]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 30 Jun 2015 23:44:52 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,527763#msg-527763</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,527763#msg-527763</link>
            <description><![CDATA[ I'm unsure how to get the lcd working in this board, I saw some other thread saying you need to modify the pins.h but that's what they say only<br />
<br />
Too bad the chip somewhat bricked i guess, you could try use arduino/avrisp with the icsp port on the sangui board]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 30 Jun 2015 21:23:00 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,527476#msg-527476</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,527476#msg-527476</link>
            <description><![CDATA[ For the time being I'm all done with testing. I turned on the printer this morning, all fine and dandy. Did couple tests with different Marlin configurations and all of a sudden I was not able to upload new firmware anymore. It looks as if the bootloader got mangled somehow. <br />
<br />
So I won't be able to do any more tests until I get that sorted. Need to find a programmer to burn the bootloader again...]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 30 Jun 2015 06:44:29 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,527431#msg-527431</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,527431#msg-527431</link>
            <description><![CDATA[ Did you properly connect the controller board to the psu? Sangui will throw you errors due to not enough memory I guess and the pictures you show most likely due to not enough power to display (from 5v usb)]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 30 Jun 2015 03:58:25 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,527219#msg-527219</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,527219#msg-527219</link>
            <description><![CDATA[ Welp, I'm not out of the woods just yet. <br />
<br />
The reason I have not given any feedback here is that I was waiting for my adapter to arrive. I gave up on trying to make my own and ordered one off ebay. So today it arrived and I immediately hooked it up. And lo and behold.... nothing changed. I'm still getting either a blank blue screen or the background grid, depending on which way I connect the EXP1&lt;-&gt;EXP2 <br />
<br />
Also, going on a hunch I tried Marlin 1.0.2 (Been using the Dev release) and I immediately got the same compile errors sarf2k4 was talking about. <br />
<br />
I tried initializing the SD card in Octoprint to see if it could just be a backlight thing, but that fails as well. <br />
<br />
I'm at a loss here. If I was not seeing this error pop up for others out there, I'd figure I have a faulty LCD]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Mon, 29 Jun 2015 09:03:29 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,509849#msg-509849</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,509849#msg-509849</link>
            <description><![CDATA[ I am using v1.0.5rc2, because version above than 1.0.6 will have trouble adding custom board especially sangui board, I got u8glib pins error not declared or something]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sun, 17 May 2015 02:54:12 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,509620#msg-509620</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,509620#msg-509620</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>sarf2k4</strong><br />
I got a problem about a pin error during upload process on the u8glib or something, someone can help me in this?</div></blockquote>
<br />
I think I had that issue with the latest Arduino IDE. After downgrading to 1.0.6 everything worked like a charm]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sat, 16 May 2015 11:39:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,508738#msg-508738</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,508738#msg-508738</link>
            <description><![CDATA[ I got a problem about a pin error during upload process on the u8glib or something, someone can help me in this?]]></description>
            <dc:creator>sarf2k4</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 13 May 2015 23:47:09 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,507345#msg-507345</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,507345#msg-507345</link>
            <description><![CDATA[ Could your problem be related to a bad contrast setting?  A lot of full graphic display adapters have this type of problem - mine had this as well.<br />
See [<a href="http://forums.reprap.org/read.php?13,448609" target="_blank"  rel="nofollow">forums.reprap.org</a>] regarding this.]]></description>
            <dc:creator>enif</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sun, 10 May 2015 12:04:02 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,507162#msg-507162</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,507162#msg-507162</link>
            <description><![CDATA[ Thanks for the link enif, it definitely get me on the right tracks.<br />
<br />
I created my own adapter using the PCB layout shown there, but I must still be missing something.<br />
<br />
When I connect the LCD to my Sanguinololu, I'm not getting any graphics to show up. I've tried swapping the EXP1 and EXP2 which result in slightly different output, but neither setup really works.<br />
<br />
What I have done so far:<br />
<ul><li> uncommented #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER</li><li> added U8glib to Arduino</li><li> compiled and uploaded Marlin to Sanguinololu</li></ul>
<br />
When I power up the sanguinololu, depending on which way I have the EXP headers connected I get either a clear screen with only the backlight on (the backlight comes on when Marlin has finished initializing. Stop button on the LCD has no effect) Or if I swap the EXP cables, I get the backlight with a visible grid. (the panel comes on as soon as I power up the Sanguinololu and the Stop button resets the main controller when pressed.)]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sat, 09 May 2015 23:19:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,498444#msg-498444</guid>
            <title>Re: sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,498444#msg-498444</link>
            <description><![CDATA[ Have you checked <a href="http://forums.reprap.org/read.php?158,284990" target="_blank"  rel="nofollow">this thread</a>?  Note that the non-graphic 2004 and the full graphic display use the same cabling.  But watch out if you buy an adapter, some have connectors that are mounted reverse - on mine I had to rotate the black plastic frames of the 10-pin sockets the by 180 degrees..]]></description>
            <dc:creator>enif</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sat, 18 Apr 2015 04:33:08 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,498417,498417#msg-498417</guid>
            <title>sanguinololu 1.3b and the 12864 LCD</title>
            <link>https://reprap.org/forum/read.php?158,498417,498417#msg-498417</link>
            <description><![CDATA[ I bought the <a href="http://reprap.me/electronic/lcd-board.html" target="_blank"  rel="nofollow">Full graphic display</a> to go with my new Sanguinololu. Unfortunately it came with the RAMPS smart adapter only. I've been staring at both, the 1.3b and Graphics displays schematics on the reprap wiki, but I can not work out which pin needs to connect to what, on the GPIO.<br />
<br />
Does anyone know of a schematic for the actual smart adapter for the Sanguinololu 1.3b?]]></description>
            <dc:creator>thucar</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sat, 18 Apr 2015 00:13:35 -0400</pubDate>
        </item>
    </channel>
</rss>
