Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 10:19 20 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Dual I2C LCD

Author Message
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 04:34pm 02 Jun 2014
Copy link to clipboard 
Print this post

Gday All,

I had a play with the code John Gerrard posted for the maximite to test my MuP I2C multi-bus.

I configured two I2C LCD modules, one for address 20 and the other for address 21 and connected them to MuP using 4 wire headers (Data, Clock, +5, GND) each and modified John's `letsmakerobots.com' code to use the uMite commands then modified it to talk to two different I2C LCD modules.

If anyone is interested here is the test code..

2014-06-03_023336_Dual_I2C.zip





Regards,

Mick

Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 04:40pm 02 Jun 2014
Copy link to clipboard 
Print this post

Looking great!
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 04:43pm 02 Jun 2014
Copy link to clipboard 
Print this post

Thanks Vasi,

I was pretty `chuffed' when I saw both LCDs spring to life.. So easy to interface using I2C.

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 08:19pm 02 Jun 2014
Copy link to clipboard 
Print this post

Hi Mick

Glad you could use the code

Regards

Jman
(John Gerrard)
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 08:29pm 02 Jun 2014
Copy link to clipboard 
Print this post

Hi John,

Well thats a long story...

Glad you asked..

My I2C displays were not the same pinout as the ones in your demo but I thought I could convert your code to work as your code had all the bits defined.. However I could get Nothing happening (except blinking of the display indicating that it was receiving data).. I pulled what little hair I had left out of my head, assuming that it was the command codes for clear display/new lines etc etc but could not get anywhere converting them to what I thought would be new figures for my units... in the end a 20 minute job with a soldering iron and a magnifying lens, the same power as something Nasa would use, made mine look like your unit..

The rest was easy..

Regards,

MickEdited by bigmik 2014-06-04
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024