Reply to topic  [ 39 posts ]  Go to page Previous  1, 2, 3, 4
SSD1306 128x64 Pixel uOLED display module (HCMODU0050&2) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: SSD1306 128x64 Pixel uOLED display module (HCMODU0050&2)
I'm afraid the manufacturer hasn't supplied a schematic. Your best option is to just reference the datasheet which will give you a good idea of how the module works.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Fri May 08, 2015 8:47 am
Profile

Joined: Sun Jan 05, 2014 12:40 pm
Posts: 14
Post Re: SSD1306 128x64 Pixel OLED display module (HCMODU0050&2)
cbajema wrote:
I'm trying to get this display working on a custom board using an ARM chip and IAR but haven't been able to get it to do anything after hours.

My startup routine is (all tested with multimeter in debugging):
    Reset pin low
    Wait 10us
    Reset pin high
    Wait 8us
    Send 0xAE (DC low, CS low) - Display on
    Send 0xA5 - Whole screen on



My interpretation of the datasheet is that this code should result in all pixels being lit up. Most of the initialisation code I have seen seems to set many values to POR values, which is pointless. I'm trying to get this module working with PIC, so far not a glimmer.


Fri Jan 22, 2016 4:29 pm
Profile

Joined: Thu Dec 04, 2014 12:26 am
Posts: 1
Post Re: SSD1306 128x64 Pixel uOLED display module (HCMODU0050&2)
Bought one of these the other day but the circuit board is completely different, instead of the S pads there are a series of R pads that need changing to configure the device for IIC. See attached picture.

Does anyone have any experience or advice on configuring these displays for IIC or any advice on configuration in general?


Cheers,
Keith.


You do not have the required permissions to view the files attached to this post.


Sun Feb 07, 2016 12:22 am
Profile

Joined: Sat Aug 29, 2015 12:45 pm
Posts: 3
Post Re: SSD1306 128x64 Pixel uOLED display module (HCMODU0050&2)
Are there any disadvantages like increased power consumption etc. of simply pulling CS (Chip Select) to ground? My guess is that CS is only important when having multiple displays on the same bus. I want to reduce the number of signal lines to 6 or below so the display can be controlled by an ATtiny85.


Fri Mar 18, 2016 8:37 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: SSD1306 128x64 Pixel uOLED display module (HCMODU0050&2)
Quote:
Are there any disadvantages like increased power consumption etc. of simply pulling CS (Chip Select) to ground?


I've checked the datasheet but I cant see any references to power consumption for the CS pin. It's probably used internally to power up the input drivers in the serial interface but even if so I'd expect that this difference wouldn't be significant. Being an OLED display most of the power consumption is dependent on how many pixels are turned on.

Quote:
My guess is that CS is only important when having multiple displays on the same bus. I want to reduce the number of signal lines to 6 or below so the display can be controlled by an ATtiny85.


Yes you should be able to just tie it low to leave it permanently selected. One thing I should point out is that it is important to pulse the reset pin when the display is first powered up. If you don't it may still work some of the time but sometimes it won't turn on if you don't reset it first. So you'll need to provide some sort of provision for this.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Sat Mar 19, 2016 8:29 am
Profile

Joined: Tue Jun 05, 2018 4:37 pm
Posts: 2
Post I2C usage
I have one of these neat little modules. It is does not look like the photos here (but Hobby Components sold it as the same part, so I guess it's a new version). It does look like the one posted by KeithParks, above -- I have basically the same question as the one to which he never got a reply.

I gather the old version needed some hardware changes to use it as an i2c device. Is this still necessary?

If so, what do I need to change ... the differences between the old module and the one I have make the old instructions (such as they were) inapplicable.

I'm rather hoping that the new model can simply be wired up to the i2c bus and everything will work ...


Tue Jun 05, 2018 6:34 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: SSD1306 128x64 Pixel uOLED display module (HCMODU0050&2)
If the back of your display is as pictured above you would need to move resistor R3 to pads R1 and resistor R5 to pads R8. Note that you should only attempt to make this modification if you are comfortable with soldering surface mount components.

In I2C mode the connections to an Arduino (Uno/Nano) would be as follows:

OLED Module.......Uno
GND...................GND
VCC..................+5V
D0.....................A5 (SCK)
D1.....................A4 (SDA/Din)
RESET.................D8 (if using HCOLED library)
DC (SA0)............I2C Address select (Low = 0x3C, High = 0x3D)
CS.....................GND

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Wed Jun 06, 2018 8:40 am
Profile

Joined: Tue Jun 05, 2018 4:37 pm
Posts: 2
Post Re: SSD1306 128x64 Pixel uOLED display module (HCMODU0050&2)
andrew wrote:
If the back of your display is as pictured above you would need to move resistor R3 to pads R1 and resistor R5 to pads R8. Note that you should only attempt to make this modification if you are comfortable with soldering surface mount components.


Thanks for the quick reply. I'll try that if I need to, but I'm still playing with the board and deciding whether it is suitable for what I'm trying to build -- at this stage I can use the display in SPI mode but as I'm already using the I2C bus it would be convenient to hang everything off the same two pins.

I'm (over)confident enough to attempt the mod, despite surface mount soldering, but a lot of people wouldn't be -- it would be great if you could supply these things already set up from the factory in I2C mode (or with the interface switchable or jumperable).

Quote:
In I2C mode the connections to an Arduino (Uno/Nano) would be as follows:

(snip pin assignments)

I'll probably be using an 8266 board of some kind -- I'm currently working with the WEMOS D1 mini pro -- rather than a Uno, but I get the picture.

Do I gather that even in I2C mode the display needs an explicit reset on the RES pin? There goes another of my limited GPIOs!


Wed Jun 06, 2018 9:11 am
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 779
Post Re: SSD1306 128x64 Pixel uOLED display module (HCMODU0050&2)
Quote:
it would be great if you could supply these things already set up from the factory in I2C mode (or with the interface switchable or jumperable).


We are looking at stocking an I2C version if we can find a suitable supplier.


Quote:
Do I gather that even in I2C mode the display needs an explicit reset on the RES pin?


Yes, it will need to be reset shortly after power on I'm afraid. If you have a reset button you could tie it to that as the library only asserts the reset once at startup.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Wed Jun 06, 2018 2:49 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 39 posts ]  Go to page Previous  1, 2, 3, 4

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD