top of page

Week 12

Updated: Mar 9, 2022

We learnt about LCD Display with i2c bus.


12C bus was developed by Philips during early '80s, inorder to allow easy flow communication between components which reside on the same circuit board.


Connecting and working with liquid crystal was difficult and confusing.



Wiring Diagram

Using the following wiring diagram, we connected the Arduino UNO3 with the LCD and i2C adapter. We uploaded the code, and opened serial monitor to get the result.




Exercise:

#include <Wire.h>

#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27, 16, 2);

void setup()

{

lcd.init();

lcd.backlight();

lcd.clear();

lcd.setCursor(3,0);

lcd.print("Middlesex");

lcd.setCursor(2,1);

lcd.print("University");

}

void loop()

{

}


We performed the following exercise were we can print Middlesex University on LCD. We also learnt how to position text. There was issue regarding the backlight , which was resolved by sir using a screw driver inorder to tighten the screw.


Arduino Project:

Judhi Prasetyo sir gave us brief description and guidelines to how to go about the project. Our group THE BEST had a discussion and planning regarding the ideas for the project.


We came up with around 4 Ideas:


1) Candy color sorter

2) Tiny sorter

3) Smart Green house

4) Smart Car







14 views0 comments

Recent Posts

See All

Week 20

Week 19

Week 18

Comentarios


bottom of page