NKC Electronics

NKC Electronics Support, Project and Discussion Forums
It is currently Fri Nov 17, 2017 9:55 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri May 18, 2012 3:05 pm 
Offline

Joined: Thu Sep 08, 2011 9:59 pm
Posts: 71
This is the screen capture of the logic analyzer software (zeroplus) used to illustrate i2c communication between an Arduino board and the serial LCD module. As indicated in another post, to use i2c, you need to solder a jumper in R1.
Image

The light blue tag is i2c START
0x28 is the address of the serial LCD module
The next tag is WRITE (dark orange)
Next is the A-ACK (address ACK)
Then you can identify several data like 0xFE (escape character to send commands to the LCD controller), 0x45 is the cursor position command ID, 0x44 is the cursor position data (2nd line, 5th character), 0x03 is the character (I am running the CustomCharacter example, where character 3 is the little man with the hands down), then finally the STOP tag
After each DATA, you can identify the light green tag which is D-ACK (data ACK).

Hope this helps visualize what is being transmitted through the wires in i2c mode


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group