Support for i2c LCD03 (1.9) is here...

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
User avatar
Th0rsten
Posts: 65
Joined: Mon Oct 31, 2011 10:28 am

Support for i2c LCD03 (1.9) is here...

Post by Th0rsten »

Hello!

I made the cheap LCD03 work with MultiWii 1.9
It has to be set to i2c control - just remove the jumper on its back.
The first two: http://www.robot-electronics.co.uk/acat ... plays.html
http://shop.boxtec.ch/product_info.php/ ... s_id/40376

lcd03.JPG

In MultiWii_1_9 in setup():

Code: Select all

  #if defined(LCD_LCD03)
    i2c_LCD03_init();
    i2c_LCD03_set_cursor(0,0);LCDprintChar("MultiWii");
    i2c_LCD03_set_cursor(0,1);LCDprintChar("Ready to Fly!");
  #endif


In config.h:

Code: Select all

#define LCD_LCD03       // LCD03, which is i2c

/* To use an LCD03 for configuration:
 GND to Ground
 VCC to +5V VCC
SDA - Pin A4 Mini Pro - Pin 20 Mega
SCL - Pin A5 Mini Pro - Pin 21 Mega
(by Th0rsten) */


and find attached the new LCD.pde

This work is loosely based on the code from Danal.
I will rewrite the code to match the current MultiWii_shared/ and commit it.
As soon as I found out how. :)

Have fun.
Thorsten
Attachments
LCD.zip
(6.38 KiB) Downloaded 249 times
Last edited by Th0rsten on Fri May 11, 2012 6:12 pm, edited 3 times in total.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Support for i2c LCD03 (1.9) is here...

Post by Hamburger »

thorsten,
Very good producct find and good we are getting more choics.
Contact us if integrating code needs help.

Danal
Posts: 137
Joined: Tue Oct 18, 2011 5:15 pm

Re: Support for i2c LCD03 (1.9) is here...

Post by Danal »

Excellent!

My one heartburn about the Eagle Tree was its price. This looks great.



As hamburger said, let us know if you want help with code integration.

User avatar
Th0rsten
Posts: 65
Joined: Mon Oct 31, 2011 10:28 am

Re: Support for i2c LCD03 (1.9) is here...

Post by Th0rsten »

Hello!

It's all ready for commit. I'm only waiting for Alex providing me an account on _shared.

Thorsten

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: Support for i2c LCD03 (1.9) is here...

Post by copterrichie »

I was once slow to react to the i2c interface, boy was I wrong. I2C is the only way to fly.

Great Job!

User avatar
Th0rsten
Posts: 65
Joined: Mon Oct 31, 2011 10:28 am

Re: Support for i2c LCD03 (1.9) is here...

Post by Th0rsten »

Yes, i2c is a nice solution for the pro mini because you don't need the single UART.
This was what provoked me to write the code - and the fact, that I bought the wrong LCD. :)

Got the account from Alex - will commit in a couple of hours.

Post Reply