Welcome to Multi-Rotor UK. Please login or sign up.

Tuesday,April 23, 2024, 11:17:44

Login with username, password and session length

Shoutbox

Gaza07:
23 Apr 2024 08:09:45
The Domain expires for the forum in 60 days, I'm not going to renew it this time unless I see any activity  :beer2:
Gaza07:
20 Apr 2024 18:02:50
Is there anyone who would like to see this forum stay open ? :shrug:
hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Bad Raven:
26 Mar 2024 08:41:05
 :(
Andy7:
25 Mar 2024 14:49:21
An excess of work and rain.  :thumbdown:
Bad Raven:
23 Mar 2024 18:12:38
Almost a personal Blog, it would seem. LOTS of members, but NO posts.  :-/   :shrug:
Gaza07:
06 Mar 2024 16:59:49
Anyone still here  :shrug:
ched:
24 Dec 2023 11:48:48
Hope you all have a Great Christmas and a happy New Year.
Bad Raven:
20 Dec 2023 06:17:47
 ~~   :beer2: 
Gaza07:
19 Dec 2023 22:20:27
Merry Christmas All  :beer2:
Members
  • Total Members: 8,195
  • Latest: lokloks
Stats
  • Total Posts: 201,426
  • Total Topics: 20,261
  • Online today: 36
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 31
Total: 31

Theme Changer





3d - Printworx

RcTimer CO-16 OLED Display Module v1.0

Started by Gaza07, Wednesday,September 05, 2012, 21:23:09

Previous topic - Next topic

Gaza07

This new display looks interesting it says its for the Crius V1 but Im thinking it may work on other multi wii boards to as the support is in the code and not so much the board  ~~

http://www.rctimer.com/index.php?gOo=goods_details.dwt&goodsid=797&productname=
I think I might get one just to have a play they are cheap enough and its a new gadget  ::)

Features:
•High brightness, self-emission, high contrast ratio
•monochrome 128×64 dot
•5V I2C interface
•Used for telemetry and debug MultiWii FC.

Other
•Dimension: 27mmX27mm
•Height: 6.5mm
•Weight:3.7g/4.9g(include cable)

Package content
•CO-16 OLED Display Module x 1
•4Pin cable 100mm x1

Arduino sources code : http://www.wide.hk/download/i2c_OLED.rar

[attach=3][attach=4]

CO-16 OLED connected to the Paris v3 FC Board:

[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

neagron

Hi Gaza07,ive got one of these comming,I think with multiwii 2.1 the code is in there,not sure yet,your's,Marty.

Gaza07

Let us know when you get it Marty I fancy getting one to not because I need one but because it looks cool and is another gadget  :rolleyes:  ::)

Dont know if anyone has mentioned it yet they probably have but we love pics and video's  :whistling:
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

Wilfrid70

Hi everyone,
I just received one but I can't make it work. Screen remains black whatever I do. I've updated provided i2c-arduino code, with both old or new arduino IDE, program runs, debug is sent to serial but nothing on screen. It stands black as if no power (while 5v is present). Is there something supposed to appear on screen when powered on (even with no arduino) ???
Is there someone who could help or give feedback on their experience with this device ?
(I'm not using multiwii and even not able to compile it bit it's another story... No?)
Thanks in advance.
Wil

Gaza07

Hi Wilfrid70 and welcome to the forum  :welcome:
I am running this screen on a multi wii v2.1 quad rotor, and it works ok but some times the screen crashes, without multi wii I dont think the screen will display any thing, are you having problems setting up multi wii or are you looking to use the screen for some thing else ?

The file I linked to above has nothing to do with multi wii and you dont need it if your going to use the screen with multi wii, heres a video of the screen in use with the multi wii v2.1 firmware, It explains how the screen is used via the tx,
If you need any help setting up multi wii, just post in here what problems your having and will do my best to help you  ~~

http://youtu.be/umEerh-PrLY



Quote from: Wilfrid70 on Friday,October 05, 2012, 22:27:36
Hi everyone,
I just received one but I can't make it work. Screen remains black whatever I do. I've updated provided i2c-arduino code, with both old or new arduino IDE, program runs, debug is sent to serial but nothing on screen. It stands black as if no power (while 5v is present). Is there something supposed to appear on screen when powered on (even with no arduino) ???
Is there someone who could help or give feedback on their experience with this device ?
(I'm not using multiwii and even not able to compile it bit it's another story... No?)
Thanks in advance.
Wil
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

neagron

Hi Gaza,ive got one sitting here,have not used it yet,what did you define in Multiwii 2.1,many thanks,Marty.

Wilfrid70

Hi Gaza.
I'd like to use the oled for some personal devs. I would use some multiwii functionalities as well but not for RC stuff.
My first need is to make work that screen or at least to know if it is not dead.
Is it possible to use Multiwii for that oled test even if I have no IMU or RC or Motor board connected ?
I tried the arduino stuff proposed for that oled (i2c arduino.rar), but no more luck...
Looking around I saw 2 potential issues. Some seems using reset pin but not available on the CO-16 (right?).
Else, it seems there I two possible i2c address for the oled (3C or 3B depending on SA0 ???).
What do you think ?
I couldn't found data sheets for that oled, would someone have a track for me ?

Thanks a lot

Gaza07

Hi Wilfrid I have tried the screen with multi wii and no sensors attached but it doesn't work so your maybe going to have to go through the multi wii code and alter it in some way to get around this, I have also looked at the code supplied on the screen manufacturers site and that doesn't work for me either, I will keep looking for a solution and let you know if I find some thing  ;)
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

Gaza07

Marty here's the lines in the config.h file that i have un-commented to get the screen working on multi wii, search for those lines and make sure they have the // removed there are other already defined just leave them as they are  ~~


#define LCD_CONF

#define OLED_I2C_128x64 // I2C LCD: OLED http://www.multiwii.com/forum/viewtopic.php?f=7&t=1350

#define LCD_TELEMETRY

#define LCD_TELEMETRY_STEP "0123456789" // must begin with 0

#define VBATREF 24

[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

Wilfrid70

Ok thanks Gaza. As we have the same result without full MultiWii board and provided code, I can at least expect that my screen is not dead, that already a big step for me ! :-)
Stay tuned !

Gaza07

I'm pretty sure the code stops until it gets a signal back from the sensors, so the screen doesn't get initialized and doesn't show any sign of life  :rolleyes:
please keep us informed if you make any progress with it  ~~

Quote from: Wilfrid70 on Monday,October 08, 2012, 15:59:46
Ok thanks Gaza. As we have the same result without full MultiWii board and provided code, I can at least expect that my screen is not dead, that already a big step for me ! :-)
Stay tuned !
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

Wilfrid70

Hello,
I'm trying to extract core oled functions from MultiWii but there are ramifications everywhere !!!
Oled initialisation in Multiwii seems more complex than in other samples, but if it works it is maybe for such a good reason...)
However, I'll let you know.

One question although, did you tried to use only 3.3v VCC instead of +5v ? (Even if I tried with 5v and it is noted 5v on the board... but just wondering for future apps if one day it works :-))

Wilfrid

Gaza07

#12
I only tried 5v and the one I have running on my quad is 5v to  ~~
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

jtpile

#13
Hi Gaza07,

I couldn';t find this line: #define VBATREF 24,  where could I find it? Still can';t get my Crius OLED display to work, only displays little dots. Any help is greatly appreciated!!!
-cheers

Quote from: Gaza07 on Monday,October 08, 2012, 15:58:19
Marty here';s the lines in the config.h file that i have un-commented to get the screen working on multi wii, search for those lines and make sure they have the // removed there are other already defined just leave them as they are  ~~


#define LCD_CONF

#define OLED_I2C_128x64 // I2C LCD: OLED http://www.multiwii.com/forum/viewtopic.php?f=7&t=1350

#define LCD_TELEMETRY

#define LCD_TELEMETRY_STEP "0123456789" // must begin with 0

#define VBATREF 24



Gaza07

Hi Im afraid to say these displays are very unreliable and often just display dots, I have 2 of them and 1 does it more often then the other, rctimer say you should power off for a few seconds and then power up again to clear this but that doesnt always work either, when the display does work it is very good and you can edit your settings at the field  ~~

Heres a copy of my code you will see the line you are looking for right at the bottom it appears just before the buzzer section if your using v2.1 of the firmware

/**************************************************************************************/
  /***********************        LCD/OLED - display settings       *********************/
  /**************************************************************************************/

    /* uncomment this line if you plan to use a LCD or OLED */
      #define LCD_CONF

    /* to include setting the aux switches for AUX1 -> AUX4 via LCD */ //to review (activate[] is now 16 bit long)
      //#define LCD_CONF_AUX

    /* if program gets too large (>32k), need to exclude some functionality */
      /* uncomment to suppress some unwanted aux3 aux4 items in config menu (only useful if LCD_CONF_AUX is enabled) */
      //#define SUPPRESS_LCD_CONF_AUX34

    /*****************************   The type of LCD     **********************************/
      /* choice of LCD attached for configuration and telemetry, see notes below */
      //#define LCD_SERIAL3W    // Alex'; initial variant with 3 wires, using rx-pin for transmission @9600 baud fixed
      //#define LCD_TEXTSTAR    // SERIAL LCD: Cat';s Whisker LCD_TEXTSTAR Module CW-LCD-02 (Which has 4 input keys for selecting menus)
      //#define LCD_VT100       // SERIAL LCD: vt100 compatible terminal emulation (blueterm, putty, etc.)
      //#define LCD_ETPP        // I2C LCD: Eagle Tree Power Panel LCD, which is i2c (not serial)
      //#define LCD_LCD03       // I2C LCD: LCD03, which is i2c
      #define OLED_I2C_128x64 // I2C LCD: OLED http://www.multiwii.com/forum/viewtopic.php?f=7&t=1350

    /******************************   Logo settings     ***********************************/
      //#define SUPPRESS_OLED_I2C_128x64LOGO  // suppress display of OLED logo to save memory

    /* style of display - AUTODETECTED via LCD_ setting - only activate to overwrite defaults */
      //#define DISPLAY_2LINES
      //#define DISPLAY_MULTILINE
      //#define MULTILINE_PRE 2  // multiline configMenu # pref lines
      //#define MULTILINE_POST 6 // multiline configMenu # post lines
    /********************************    Navigation     ***********************************/
    /* keys to navigate the LCD menu (preset to LCD_TEXTSTAR key-depress codes)*/
      #define LCD_MENU_PREV ';a';
      #define LCD_MENU_NEXT ';c';
      #define LCD_VALUE_UP ';d';
      #define LCD_VALUE_DOWN ';b';

      #define LCD_MENU_SAVE_EXIT ';s';
      #define LCD_MENU_ABORT ';x';

    /* To use an LCD03 for configuration:
       http://www.robot-electronics.co.uk/htm/Lcd03tech.htm
       Remove the jumper on its back to set i2c control.
       VCC to +5V VCC (pin1 from top)
       SDA - Pin A4 Mini Pro - Pin 20 Mega (pin2 from top)
       SCL - Pin A5 Mini Pro - Pin 21 Mega (pin3 from top)
       GND to Ground (pin4 from top)*/

    /* To use an Eagle Tree Power Panel LCD for configuration:
       White wire  to Ground
       Red wire    to +5V VCC (or to the WMP power pin, if you prefer to reset everything on the bus when WMP resets)
       Yellow wire to SDA - Pin A4 Mini Pro - Pin 20 Mega
       Brown wire  to SCL - Pin A5 Mini Pro - Pin 21 Mega */

    /* Cat';s whisker LCD_TEXTSTAR LCD
       Pleae note this display needs a full 4 wire connection to (+5V, Gnd, RXD, TXD )
       Configure display as follows: 115K baud, and TTL levels for RXD and TXD, terminal mode
       NO rx / tx line reconfiguration, use natural pins.
       The four buttons sending ';A';, ';B';, ';C';, ';D'; are supported for configuration navigation and request of telemetry pages 1-4 */


  /**************************************************************************************/
  /***********************                telemetry            **************************/
  /**************************************************************************************/

    /* to monitor system values (battery level, loop time etc. with LCD enable this
       note: for now you must send single characters to request  different pages
       Buttons toggle request for page on/off
       The active page on the LCD does get updated automatically
       Easy to use with Terminal application or display like LCD - if available uses the 4 preconfigured buttons  to send ';A';, ';B';, ';C';, ';D'; */
    /********************************    Activation     ***********************************/
    #define LCD_TELEMETRY

    /* to enable automatic hopping between a choice of telemetry pages uncomment this.
       This may be useful if your LCD has no buttons or the sending is broken
       hopping is activated and deactivated in unarmed mode with throttle=low & roll=left & pitch=forward
       set it to the sequence of telemetry pages you want to see
       2 line displays support pages 1-9
       multiline displays support pages 1-5 */
    //#define LCD_TELEMETRY_AUTO "123452679" // pages 1 to 7 in ascending order
    //#define LCD_TELEMETRY_AUTO  "212232425262729" // strong emphasis on page 2

    /* same as above, but manual stepping sequence; requires
       stick input (throttle=low & roll=right & pitch=forward) to
       step through each defined telemetry page */
    #define LCD_TELEMETRY_STEP "0123456789" // must begin with 0


    /* on telemetry page B (2) it gives a bar graph which shows how much voltage battery has left. Range from 0 to 12 Volt is not very informative
       so we try do define a meaningful range. For a 3S battery we define full=12,6V and calculate how much it is above first warning level
       Example: 12.6V - VBATLEVEL1_3S  (for me = 126 - 102 = 24) */
    #define VBATREF 24
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

jtpile

Hi Gaza07,

Thanks for the help but still not working. I have seen the screen work but only when connected via USB. I';ll wait till they';ve got the bugs worked out, going to try to get the Bluetooth module to work instead.
-cheers :)

Quote from: Gaza07 on Monday,October 29, 2012, 09:25:04
Hi Im afraid to say these displays are very unreliable and often just display dots, I have 2 of them and 1 does it more often then the other, rctimer say you should power off for a few seconds and then power up again to clear this but that doesnt always work either, when the display does work it is very good and you can edit your settings at the field  ~~

Heres a copy of my code you will see the line you are looking for right at the bottom it appears just before the buzzer section if your using v2.1 of the firmware

/**************************************************************************************/
  /***********************        LCD/OLED - display settings       *********************/
  /**************************************************************************************/

    /* uncomment this line if you plan to use a LCD or OLED */
      #define LCD_CONF

    /* to include setting the aux switches for AUX1 -> AUX4 via LCD */ //to review (activate[] is now 16 bit long)
      //#define LCD_CONF_AUX

    /* if program gets too large (>32k), need to exclude some functionality */
      /* uncomment to suppress some unwanted aux3 aux4 items in config menu (only useful if LCD_CONF_AUX is enabled) */
      //#define SUPPRESS_LCD_CONF_AUX34

    /*****************************   The type of LCD     **********************************/
      /* choice of LCD attached for configuration and telemetry, see notes below */
      //#define LCD_SERIAL3W    // Alex'; initial variant with 3 wires, using rx-pin for transmission @9600 baud fixed
      //#define LCD_TEXTSTAR    // SERIAL LCD: Cat';s Whisker LCD_TEXTSTAR Module CW-LCD-02 (Which has 4 input keys for selecting menus)
      //#define LCD_VT100       // SERIAL LCD: vt100 compatible terminal emulation (blueterm, putty, etc.)
      //#define LCD_ETPP        // I2C LCD: Eagle Tree Power Panel LCD, which is i2c (not serial)
      //#define LCD_LCD03       // I2C LCD: LCD03, which is i2c
      #define OLED_I2C_128x64 // I2C LCD: OLED http://www.multiwii.com/forum/viewtopic.php?f=7&t=1350

    /******************************   Logo settings     ***********************************/
      //#define SUPPRESS_OLED_I2C_128x64LOGO  // suppress display of OLED logo to save memory

    /* style of display - AUTODETECTED via LCD_ setting - only activate to overwrite defaults */
      //#define DISPLAY_2LINES
      //#define DISPLAY_MULTILINE
      //#define MULTILINE_PRE 2  // multiline configMenu # pref lines
      //#define MULTILINE_POST 6 // multiline configMenu # post lines
    /********************************    Navigation     ***********************************/
    /* keys to navigate the LCD menu (preset to LCD_TEXTSTAR key-depress codes)*/
      #define LCD_MENU_PREV ';a';
      #define LCD_MENU_NEXT ';c';
      #define LCD_VALUE_UP ';d';
      #define LCD_VALUE_DOWN ';b';

      #define LCD_MENU_SAVE_EXIT ';s';
      #define LCD_MENU_ABORT ';x';

    /* To use an LCD03 for configuration:
       http://www.robot-electronics.co.uk/htm/Lcd03tech.htm
       Remove the jumper on its back to set i2c control.
       VCC to +5V VCC (pin1 from top)
       SDA - Pin A4 Mini Pro - Pin 20 Mega (pin2 from top)
       SCL - Pin A5 Mini Pro - Pin 21 Mega (pin3 from top)
       GND to Ground (pin4 from top)*/

    /* To use an Eagle Tree Power Panel LCD for configuration:
       White wire  to Ground
       Red wire    to +5V VCC (or to the WMP power pin, if you prefer to reset everything on the bus when WMP resets)
       Yellow wire to SDA - Pin A4 Mini Pro - Pin 20 Mega
       Brown wire  to SCL - Pin A5 Mini Pro - Pin 21 Mega */

    /* Cat';s whisker LCD_TEXTSTAR LCD
       Pleae note this display needs a full 4 wire connection to (+5V, Gnd, RXD, TXD )
       Configure display as follows: 115K baud, and TTL levels for RXD and TXD, terminal mode
       NO rx / tx line reconfiguration, use natural pins.
       The four buttons sending ';A';, ';B';, ';C';, ';D'; are supported for configuration navigation and request of telemetry pages 1-4 */


  /**************************************************************************************/
  /***********************                telemetry            **************************/
  /**************************************************************************************/

    /* to monitor system values (battery level, loop time etc. with LCD enable this
       note: for now you must send single characters to request  different pages
       Buttons toggle request for page on/off
       The active page on the LCD does get updated automatically
       Easy to use with Terminal application or display like LCD - if available uses the 4 preconfigured buttons  to send ';A';, ';B';, ';C';, ';D'; */
    /********************************    Activation     ***********************************/
    #define LCD_TELEMETRY

    /* to enable automatic hopping between a choice of telemetry pages uncomment this.
       This may be useful if your LCD has no buttons or the sending is broken
       hopping is activated and deactivated in unarmed mode with throttle=low & roll=left & pitch=forward
       set it to the sequence of telemetry pages you want to see
       2 line displays support pages 1-9
       multiline displays support pages 1-5 */
    //#define LCD_TELEMETRY_AUTO "123452679" // pages 1 to 7 in ascending order
    //#define LCD_TELEMETRY_AUTO  "212232425262729" // strong emphasis on page 2

    /* same as above, but manual stepping sequence; requires
       stick input (throttle=low & roll=right & pitch=forward) to
       step through each defined telemetry page */
    #define LCD_TELEMETRY_STEP "0123456789" // must begin with 0


    /* on telemetry page B (2) it gives a bar graph which shows how much voltage battery has left. Range from 0 to 12 Volt is not very informative
       so we try do define a meaningful range. For a 3S battery we define full=12,6V and calculate how much it is above first warning level
       Example: 12.6V - VBATLEVEL1_3S  (for me = 126 - 102 = 24) */
    #define VBATREF 24


Gaza07

I have actually used the screen to change settings but its just to temperamental and just refuses to work at times, I think its a prob with the screens and not the code, I have a Android phone now and have the Multi Wii apps for that via blue tooth it is much better  ~~
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

Ross

Let's be careful out there.
SAFETY is.. NO accident.

Gaza07

I was looking at this on the wii forum the other day and was going to do the fix to mine but to be honest the screens are crap and you can buy other brands and they work fine, not sure I will ever use it  as I have blue tooth on my quad and connect with the android wii app :hmm:
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]