Supported Displays

From MultiWii
Jump to: navigation, search

List of supported displays utilizing serial connection or i2c as of v2.2

  • LCD_DUMMY - No Physical LCD attached. With this & LCD_CONF defined, TX sticks still work to set gains, by watching LED blink.
  • LCD_SERIAL3W - Alex' initial variant with 3 wires, using rx-pin for transmission @9600 baud fixed
  • LCD_TEXTSTAR - SERIAL LCD: Cat's Whisker LCD_TEXTSTAR Module CW-LCD-02 (Which has 4 input keys for navigating menus)
  • LCD_VT100 - SERIAL LCD: vt100 compatible terminal emulation (blueterm, putty, etc.)
  • LCD_TTY - SERIAL LCD: useful to tweak parameters over cable with arduino IDE 'serial monitor'
  • LCD_ETPP - I2C LCD: Eagle Tree Power Panel LCD, which is i2c (not serial)
  • LCD_LCD03 - I2C LCD: LCD03, which is i2c
  • OLED_I2C_128x64 - I2C LCD: OLED without rom-charset http://www.multiwii.com/forum/viewtopic.php?f=7&t=1350
  • OLED_DIGOLE - I2C displays (mixed LCD and oled) in various sizes; with rom-charset http://www.multiwii.com/forum/viewtopic.php?f=7&t=1350&p=56331#p56331

Enable appropriate display via corresponding #define.

Navigation of the configuration Menu and selecting the telemetry features can be done either via TX stick combos or via key presses, if the display supports it. Presets for keypresses are

  • LCD_MENU_PREV 'p'
  • LCD_MENU_NEXT 'n'
  • LCD_VALUE_UP 'u'
  • LCD_VALUE_DOWN 'd'
  • LCD_MENU_SAVE_EXIT 's'
  • LCD_MENU_ABORT 'x'


MWii supports two models of displays - two line displays and multiline displays. The type gets automagically detected. For mmultiline displays, the number of used lines is preset. It is possible to override both the type and number of lines via #define.

Multiline displays

Current multiline displays are

  • LCD_VT100
  • LCD_TTY
  • OLED_I2C_128x64
  • OLED_DIGOLE


Serial port

On boards with more than one serial port, the port used for the display can be configured. This allows to leave the display or the wireless adapter attached when uploading new MWii software or running the GUI.

     #define LCD_SERIAL_PORT 0    // must be 0 on Pro Mini and single serial boards; Set to your choice on any Mega based board

OLED_I2C_128x64

The supported OLED has a number of optional features to configure:

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

Double font height for better readability. Reduces visible #lines by half. The lower part of each page is accessible under the name of shifted keyboard letter :

  • 1 - ! , 2 - @ , 3 - # , 4 - $ , 5 - % , 6 - ^ , 7 - & , 8 - * , 9 - (
  • You must add both to your lcd.telemetry.* sequences
     //#define DISPLAY_FONT_DSIZE //currently only aplicable for OLED_I2C_128x64

OLED_DIGOLE

The supported OLED has a number of optional features to configure:

Double font height for better readability. Reduces visible #lines by half. The lower part of each page is accessible under the name of shifted keyboard letter :

  • 1 - ! , 2 - @ , 3 - # , 4 - $ , 5 - % , 6 - ^ , 7 - & , 8 - * , 9 - (
  • You must add both to your lcd.telemetry.* sequences
     //#define DISPLAY_FONT_DSIZE //currently only aplicable for OLED_I2C_128x64

LCD03

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)*/

Eagle Tree Power Panel LCD

  • 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

  • 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 */

VT100

This option turns MWii into a mainframe host`` speaking the vt100 terminal protocol, which is completely text based. This allows to attach any device for which a vt100 aware terminal program exists, to be used as a display for MultiWii. This is meant as a swiss army knife of displays. While it does not offer fancy graphics, it will run on possibly old devices for which no special MWii aware program exists. This can bring back usefulness to otherwise outdated devices. Known gadgets and corresponding terminal programs: