Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3, 4  Next
1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU0059) 
Author Message

Joined: Fri Jul 01, 2016 1:51 pm
Posts: 2
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Great! Cheers!


Fri Jul 01, 2016 5:55 pm
Profile

Joined: Mon Jul 11, 2016 12:55 pm
Posts: 7
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hello
I was buy and now testing your display but I must drive it with I2C,
In the rear was not specified:
R3= NOT FITTED -----ok?
R1, R8 =0R?

Pin C.S. GND, RES GND, D/C GND= address 0X3C?

Thanks for the informations, and many thanks
Marco


Mon Jul 11, 2016 1:10 pm
Profile

Joined: Mon Jul 11, 2016 12:55 pm
Posts: 7
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hi
It work, but the reset is low!!! the display run with RES at VDD
cheers, Marco


Mon Jul 11, 2016 2:01 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 650
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Quote:
R3= NOT FITTED -----ok?
R1, R8 =0R?

That looks correct to me.


Quote:
D/C GND= address 0X3C?

Yes, checking the datasheet with D/C pulled low the I2C will be 0x3C. With D/C pulled high the I2C address will be 0x3D

Code:
RES GND

Reset is active low, i.e. pulling the pin low will hold the device in the reset state. It needs to be high for normal operation.

Quote:
C.S. GND

That's correct, C.S is active low so you need to hold the pin low to communicate with the screen.

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


Tue Jul 12, 2016 9:18 am
Profile

Joined: Mon Jul 11, 2016 12:55 pm
Posts: 7
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hi
Ok many thanks now the display work well.
I have only a trouble because I have written the driver in Basic :)
and the image was shift by 4 bit left (the driver is 132x64 the display 128)
and I am unable to shift the image right
Any help?, thanks, Marco


Tue Jul 12, 2016 3:03 pm
Profile

Joined: Sun Jan 05, 2014 12:40 pm
Posts: 14
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Add 2 to x-position.


Tue Jul 12, 2016 6:07 pm
Profile

Joined: Mon Jul 11, 2016 12:55 pm
Posts: 7
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hi
Yes This night was run!!! :D :D :D
Many thanks for your assistance, I hope to buy many ;)
Marco


Wed Jul 13, 2016 1:18 pm
Profile

Joined: Thu Sep 15, 2016 12:42 pm
Posts: 2
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hello,

I buought two SH1106 displays and I can't get them working using Arduino Due.
Are there any workarounds for the following two compile errors?

****************************
C:\Users\.....\Documents\Arduino\libraries\HCuOLED\fonts.h:3114:1: error: cannot convert 'const uint16_t* {aka const short unsigned int*}' to 'const unsigned int*' in initialization
};


C:\Users\...\Documents\Arduino\libraries\HCuOLED\HCuOLED.cpp:500:47: error: 'dtostrf' was not declared in this scope

dtostrf(value, digits, DecimalPlaces, Buffer);
********************************


Thank you very much.
Regards
Enzo


Thu Sep 15, 2016 6:21 pm
Profile

Joined: Thu Sep 15, 2016 12:42 pm
Posts: 2
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
The second error can be solved adding the line
Code:
#include <avr/dtostrf.h>

in the file HCuOLED.h.

For the first error, in the file fonts.h the row 3002

Code:
const  PROGMEM uint16_t    MedProp_11ptDescriptors[][2] =

sould be changed in
Code:
const PROGMEM unsigned int MedProp_11ptDescriptors[][2] =


Code can now compile also on Arduino Due board.

Ciao
Enzo


Thu Sep 15, 2016 9:39 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 650
Post Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Thanks for the information. The uOLED library wasn't tested with the Due and although in theory it should work as it uses standard Arduino functions, there are some difference in the way things have been implemented on the Due which can sometimes cause issues.

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


Fri Sep 16, 2016 8:14 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 37 posts ]  Go to page Previous  1, 2, 3, 4  Next

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:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD