Quantcast
Channel: DIY Tiny OLED I2C full graphics controller
Viewing all 233 articles
Browse latest View live

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
enif
This describes a little DIY project I did for building a I2C based tiny full graphic controller using the SSD1306 128x64 OLED display.

This OLED display comes in two sizes, 0.96" and 1.3", and can be ordered on eBay for a few dollars. So far I only have the 0.96" version, but I have now ordered the 1.3" version. Fortunately, the SSD1306 interface is already supported in U8GLIB, so no programming is needed, just some configuation changes. Since the OLED display uses the I2C, only 4 wires (VCC, GND, SCL, SDA) are needed for the display itself. Add to that the 3 signals for the rotary encoder plus one signal for an (optional!) piezo buzzer, to a total need for only 8 wires. I found this especially useful for the Sanguinololu, where not so many additional pins are available.

Other advantages of the OLED display are that is really bright, does not need any fiddling with the contrast, only draws a total current of about 8mA and, last but not least, works with either 5V or 3.3V supply and signals - the latter being particularly interesting for ARM based controller boards.

For building the controller you need the following:
  • an SSD1306 I2C 128x64 OLED display (available as 0.96" or 1.3" versions)
  • a rotary encoder with integrated click switch
  • a piezo buzzer (optional, just for audible feedback of click)
  • a piece of prototype PCB board (about 1.5"x2.5" is enough)
  • some wires and pin headers

Here first the schematic how I wired the components and connected them to either RAMPS or Sanguinololu..

The modifications to Marlin are only minimal changes in the files Configuration.h, Conditionals.h, dogm_lcd_implementation.h, pins_SANGUINOLOLU_11.h and pins_RAMPS_13.h. The attached patch file contains all the changes needed to the current version 1.0.3 of Marlin.

For those wanting printing from an SD-card (I don't), it is easy to add one of these cheap SPI based micro-SD modules that can be ordered on eBay for less than 2$, since the standards SPI pins used for the SD-cards are left untouched by the OLED display. Here pictures of my test using the tiny OLED controller together with an micro-SDcard module, on both RAMPS and Sanguinololu:
I know, buying a ready made 2004 or full graphic LCD controller is so cheap today, that you won't save any money by building things yourself. But that was not my aim for this project, rather my goal was (other than the fact that I really like tinkering) to have something really small, need only a minimum of cabling, draws only little current and is also working on 3.3V...
Firstly: Very nice work man :)

Anyone got it to Work with the new Marlin firmware, where the "Conditionals.h" file no longer exists?
I got it to Work successfully with previous versions of Marlin, but I can't seem to get it to work with the new layout.. anyone had any luck at this?

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
dintid
Anyone got it to Work with the new Marlin firmware, where the "Conditionals.h" file no longer exists?

Which version do you refer to, exactly?

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
I have a problem with I2C Display.
My SD-menu is very slow like this: video

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
Samlol
I have a problem with I2C Display.
My SD-menu is very slow like this: video

Please tell us more about your setup. Which printer controller? Which firmware and version? What pin configuration are you using for OLED, encoder and SD-card? Any other add-ons?

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
I'm using MEGA / RAMPS 1.4 with Marlin 1.0.2 and 1.1.0 rc1.

other components:

2.42" OLED Display I2C configured
SD card module
Encoder
Beeper

The SD module is wired to AUX 3 on Ramps
Encoder and Beeper like REPRAP_DISCOUNT_SMART_CONTROLLER
Display is on SCL and SDA

[attachment 62919 picture.JPG]

configuration.h:

#define SDSUPPORT
#define REPRAP_DISCOUNT_SMART_CONTROLLER
#define U8GLIB_SSD1306

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Why do you define REPRAP_DISCOUNT_SMART_CONTROLLER if you have an I2C OLED? Have you tried with SH1106_OLED_I2C_CONTROLLER or SSD1306_OLED_I2C_CONTROLLER along with the changes described earlier in this thread?

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Defining REPRAP_DISCOUNT_SMART_CONTROLLER because it defines the pins.h and also ULTIPANEL and NEWPANEL like your patch for my breadboard setup.
I tried your patch but it's the same behaviour.

The rest of the menu works great, only if I open "Print from SD" it begins slowing down.

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
enif
Quote
dintid
Anyone got it to Work with the new Marlin firmware, where the "Conditionals.h" file no longer exists?

Which version do you refer to, exactly?
Just main fork marlin 1.0.2. - The file "conditionals.h" no longer exists in that build.
[github.com]

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
dintid
Just main fork marlin 1.0.2. - The file "conditionals.h" no longer exists in that build.
[github.com]

It's not "no longer" but rather "not yet", these new files (Conditionals.h, pins_XXX.h, ...) were introduced in 1.0.3dev (which is the one I am using) and are now also in the newest release candidate 1.1RC.

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
enif
Quote
dintid
Just main fork marlin 1.0.2. - The file "conditionals.h" no longer exists in that build.
[github.com]

It's not "no longer" but rather "not yet", these new files (Conditionals.h, pins_XXX.h, ...) were introduced in 1.0.3dev (which is the one I am using) and are now also in the newest release candidate 1.1RC.
Thanks.
That's really odd really. I used it on my older printer with old firmware. Meaning from May this year. - No longer has version number in the Configuration.h file though.

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
How come mine looks like this:

[drive.google.com]

EDIT:

i found the problem myself.

it was a driver issue ( i was having a driver SH1106 and not SSD1306) :)

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
TinyOLED V1.2 Module 128x64 for RAMPS

• 128x64 pixel 1.3" I2C OLED / 0.96" I2C OLED (Detachable)
• TinyOLED V1.2 Connector Board (Custom Design : 45mm x 37mm)
• TF Card Module (Offline Printing, Detachable)
• Rotary Encoder (User Control)
• BlueTooth HC-05 Module (Wireless Connection - short range, Detachable)
• ESP8266-01 WIFI Module (Wifi Connection - long range, Deachable)

•Change Bitmap to OLED with LCD Bitmap converter
[forums.reprap.org]
[ati-soft.biz]

[www.HKMakers.hk]




Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
fredchan
TinyOLED V1.2 Module 128x64 for RAMPS

• 128x64 pixel 1.3" I2C OLED / 0.96" I2C OLED (Detachable)
• TinyOLED V1.2 Connector Board (Custom Design : 45mm x 37mm)
• TF Card Module (Offline Printing, Detachable)
• Rotary Encoder (User Control)
• BlueTooth HC-05 Module (Wireless Connection - short range, Detachable)
• ESP8266-01 WIFI Module (Wifi Connection - long range, Deachable)

•Change Bitmap to OLED with LCD Bitmap converter
[forums.reprap.org]
[ati-soft.biz]

[www.HKMakers.hk]

visited your store, can't put things in cart with Safari, changed to chrome, put whole Displayassembly in cart, proceeded to checkout, saw 34€ shippingfee and no option to change this, closed chrome. I'm lazy and for sure would have paid 30€-40€ in total. But not 70€. Your shipping fee for such small things is ridiculous. And your store doesn't work with Safari.

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
Skimmy
visited your store, can't put things in cart with Safari, changed to chrome, put whole Displayassembly in cart, proceeded to checkout, saw 34€ shippingfee and no option to change this, closed chrome. I'm lazy and for sure would have paid 30€-40€ in total. But not 70€. Your shipping fee for such small things is ridiculous. And your store doesn't work with Safari.
Have to agree on the shipping cost argument! Seems like shipping fee goes up alon with the shopping cart and not due to actual costs?

I bought the first DIY 1,3" OLED and been very happy (somewhat) using it :) But shipping is silly... many/most asian sellers can sell for free, or at least not over $10 for such light items.
Somewhat = Has to use marlin RC to make it Work. It does not Work in latest stable Marlin.. unfortunately the Auto-level in RC makes my printer move very slowly... so for now I have no display.

Any way to make this Work in latest stable version of Marlin

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
it's wrong settings for the mail charges, and it's corrected, We are using chrome, Internet Explorer, EDGE and will try to using safari to solve the problem

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Thanks for the commets, I will try the lastest Marlin out with this TinyOLED,

BTW, the shipping charges is set wrongly and fixed, because I need to setup shipping charges for the Tinyboy 3D Printer Extended with weight is 4KG
!!! :p:

[github.com]

// SSD1306 OLED generic display support
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: [code.google.com]
#define U8GLIB_SSD1306





--------------------------------------------------------------------------------------------------------------------------------------------------------
#elif defined(SSD1306_OLED_I2C_CONTROLLER) || defined(SH1106_OLED_I2C_CONTROLLER)
#define BTN_EN1 31
#define BTN_EN2 33
#define BTN_ENC 35
#define BEEPER 37
#define LCD_SDSS 53
#define SDCARDDETECT -1
#define KILL_PIN -1

#elif defined(LCD_I2C_PANELOLU2)
#define BTN_EN1 47 // reverse if the encoder turns the wrong way.

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
How the hell do you guys use it?
I compiled successfully 1306 on marlin kimbra, marlin RC and even repetier 0.92!
But it overloads arduino! 2560+ramps1.4
When I print the printer is stuttering. Cartesian printer.
When I print the same gcode with non grafic rrd smart controller all is good.( yes I reprogrammed arduino every time)
What I need to do?

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
How you change the Marlin ?
what OLED are you using ? 0.96 / 1.3" 1306 or 1106 driver ?

Re: DIY Tiny OLED I2C full graphics controller

$
0
0
Quote
fredchan
How you change the Marlin ?
what OLED are you using ? 0.96 / 1.3" 1306 or 1106 driver ?

No need to change Marlin ( except Configuration.h and maybe pins.h). Oled 1306 is supported ( arduino pins 20,21)

Re: DIY Tiny OLED I2C full graphics controller

Viewing all 233 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>