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

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

Postby Th0rsten » Sun Jan 08, 2012 12:08 pm

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 154 times
Last edited by Th0rsten on Fri May 11, 2012 6:12 pm, edited 3 times in total.
User avatar
Th0rsten
 
Posts: 65
Joined: Mon Oct 31, 2011 10:28 am

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

Postby Hamburger » Sun Jan 08, 2012 7:08 pm

thorsten,
Very good producct find and good we are getting more choics.
Contact us if integrating code needs help.
User avatar
Hamburger
 
Posts: 2557
Joined: Tue Mar 01, 2011 2:14 pm
Location: air

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

Postby Danal » Mon Jan 09, 2012 3:54 pm

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.
Danal
 
Posts: 137
Joined: Tue Oct 18, 2011 5:15 pm

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

Postby Th0rsten » Mon Jan 09, 2012 4:09 pm

Hello!

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

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

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

Postby copterrichie » Mon Jan 09, 2012 5:09 pm

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

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

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

Postby Th0rsten » Mon Jan 09, 2012 5:21 pm

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.
User avatar
Th0rsten
 
Posts: 65
Joined: Mon Oct 31, 2011 10:28 am


Return to Software development

Who is online

Users browsing this forum: No registered users and 3 guests