OLED display, avenue33's Serial_LCD library and Arduino UNO

Hi, Im trying to use 4d systems' μOLED-128-G1 (SGC) display with the Serial_LCD library: http://embeddedcomputing.weebly.com/serial-lcd.html. But i cant seem to get it to work when trying some of examples from that library. And I am using the Arduino UNO.

I connected the:

  • OLED screen TX to Arduino RX pin 2
  • OLED screen RX to Arduino TX pin 3
  • OLED reset through a button

as shown in the Serial_LCD tutorial. Do I need a resistor for the connection between the OLED screen RX and Arduino TX?

There was one time when i was trying out the colour_main example, when i noticed a line with blue dots on top of the OLED display. I only noticed this later after i had uploaded the code. That did not display immediately. For this, i connected a a resistor for the connection between the OLED screen RX and Arduino TX.

However, I was able to use the following library: https://github.com/planetarian/4Duino.

I dont know if I have made some silly mistake, but any help would be much appreciated! :)

edit: I was not able to display that line of blue dots again tho :(

I did some of the testing on Ave33's libraries and found them rather nice on both of my 3.2 PT SGC displays and I believe there is support for the OLED things as well. To the best of my knowledge his Picasso support is still limited or was back in July. There were good examples and good (I thought) documentation for the SGC modules from Ave33 or at least in the common package I downloaded and used. As to the Display not working you need to do a little more than complain about the issue because on the strength of the information so far... I'd have to say "Take 2 and call me in the morning". Without the sketch and a picture of your connections and/or a schematic... as well as an accurate description of the issues. They'res not much more I can do for you.

Doc

{Edit Doc}

Hey thanks very much for the reply. My internet connection is slow at the moment. So i shall post the pictures later. Do you mean that there are documentations for 4d systems' SGC modules from avenue33? I only saw a general tutorial on avenue33's website.

Here are more pictures.

DSC00294.JPG

DSC00296.JPG

Bonsoir,

You need to connect 5 pins:

Screen +5V to Arduino +5V Screen Ground to Arduino Ground Screen TX to Arduino SoftwareSerial RX = pin 2 Screen RX to Arduino SoftwareSerial TX = pin 3 Screen RESET to Arduino pin 4

The screen RESET is required by the uOLED display as its built-in Goldelox graphic controller doesn't feature auto-baud, contrary to the Picaso on uLCD screens.

On the setup() function, if myScreen is the name of your screen, include

myScreen.begin(4);

Check the example serial_software_main.pde.

Website with contact form: http://embeddedcomputing.weebly.com Documentation: http://embeddedcomputing.weebly.com/serial-lcd.html Forum: http://arduino.cc/forum/index.php/topic,60802.135.html

Hey thanks so much avenue33. I just came back from a break from uni and got to the forum. The RESET pin was my problem. The

myScreen.begin(4);

gave me clue as to how to fix it.

You're welcome!

Enjoy the display and the libraries!

Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Threads merged.

  • Moderator

The official forum for the Serial_LCD library suite is 4D Systems ?LCD-?LED-?VGA Serial_LCD Library Suite.

Best regards,

Oh sorry! This was a different problem i had regarding avenue33’s Serial_LCD library, that was why I posted the problem as a new post. I have now deleted the post and moving it to: http://arduino.cc/forum/index.php/topic,60802.150.html.

PS: I have accidentally deleted previous images that were uploaded, so I attached them again to this post.

DSC00274.JPG

DSC00279.JPG