LOW COST LOGIC ANALYSER FOR I2C PROTOCOL TESTING.

LOW COST LOGIC ANALYSER FOR I2C PROTOCOL TESTING.

Components for project :

  1. Logic analyser for signal capture
  2. LCD 16×2 with i2c module
  3. Arduino Uno
  4. jumper wires

Arduino Uno to LCD 16×2 i2c module connections

lcd

Arduino uno code for LCD 16×2

				
					#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,16,2);   /* Set the address and dimensions of the display. 
When using an LCD I2C module with a 20x04 display, no changes need to be made in the code, just set the correct dimensions */

void setup()
{
  lcd.init();                            // Initialize lcd             
  lcd.backlight();                       // Turn on backlight
}

void loop()
{
  // Erase "Hello, world!"
  lcd.setCursor(0, 0);                   // Set cursor to the beginning of the first line
  lcd.print(".....     .....");         // Print spaces to erase the text
  delay(200);                           // Delay for 0.5 second
  
  // Write "MARUTI IT EXPERTS"
  lcd.setCursor(0, 1);                   // Set cursor to the beginning of the second line
  lcd.print("MARUTI IT EXPERT");        // Write new text
  delay(300);                           // Delay for 0.5 second
  
  // Erase "MARUTI IT EXPERTS"
  lcd.setCursor(0, 1);                   // Set cursor to the beginning of the second line
  lcd.print("                ");         // Print spaces to erase the text
  delay(200);                           // Delay for 0.5 second
  
  // Write "Hello, world!"
  lcd.setCursor(5, 0);                   // Set cursor to the beginning of the first line
  lcd.print("Hello");            // Write new text
  delay(300);                           // Delay for 0.5 second
}

				
			

Logic analyser buy link & software link

  1. LOGIC ANALYSER BUY 
  2. LOGIC ANALYSER SOFTWARE

Follow video steps

Leave a Reply