Multi Wii Copter LCD Config: Unterschied zwischen den Versionen

Aus HeliWiki
Zur Navigation springen Zur Suche springen
Zeile 46: Zeile 46:
=== Shift Register LCD ===
=== Shift Register LCD ===


Using ... Todo
Using 3 wires interface for LCD display:


http://www.arduino.cc/playground/Code/LCD3wires
http://www.arduino.cc/playground/Code/LCD3wires
Adjust the ports used here:
LiquidCrystal lcd = LiquidCrystal(8, 9, 4, 5, 6, 7); // rs, enable, d4, d5, d6, d7


== States Graphic ==
== States Graphic ==


[[Bild:LCD Config State.jpg ||thumb|400px|left|Simplified state chart of the LCD Config app]]
[[Bild:LCD Config State.jpg ||thumb|400px|left|Simplified state chart of the LCD Config app]]

Version vom 26. Januar 2011, 13:19 Uhr

LCD_Config is a hardware and software solution to programm the Multi Wii Copters on flying field, also it contains the possibility to log data while flying.

You need:


Features

  • works for Multi Wii Software 1.5 (stable) and 1.6 beta
  • Communicates to the MultiWii software over serial line like the GUI
  • Same parameters changeable as in the GUI
  • Output of values for sticks, gyro, acc, and ESCs (excluding graphical views)
  • Logging onto SD card

Hardware

LCD Keypad Shield

This is the original LCD used with the LCD_Config app:

Schematics: http://www.nuelectronics.com/estore/index.php?main_page=project_lcd

Hardware Keys

If you like to use normal hardware keys on digital ports use this schematic to connect them:

http://arduino.cc/en/Tutorial/DigitalReadSerial

Then remove the comment signs // in front of line:

#define HWKEYS 

Define the ports to use here:

// Input pins of the hardbuttons: (used when HWKEYS is defined)
#define HW_RIGHT    10
#define HW_UP        9
#define HW_DOWN     11
#define HW_LEFT      8
#define HW_SELECT    6

Shift Register LCD

Using 3 wires interface for LCD display:

http://www.arduino.cc/playground/Code/LCD3wires

Adjust the ports used here:

LiquidCrystal lcd = LiquidCrystal(8, 9, 4, 5, 6, 7); // rs, enable, d4, d5, d6, d7

States Graphic

Simplified state chart of the LCD Config app