Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Lcd Implementation Using Arduino : Code Used : #include <LiquidCrystal440.h> LiquidCrystal440 lcd(38,36,34,32,40,42,44,46); void setup(){ lcd.begin(40,4); lcd.

clear(); } int i=0; void loop(){ lcd.setCursor(0,0); lcd.print("Lcd implemented by "); lcd.setCursor(0,1); lcd.print("Kunal 2010EE20521 and Aakash 2010EE20501"); lcd.setCursor(0,2); lcd.print("Amit 2010EE20506"); lcd.setCursor(0,3); lcd.print("Ishan 2010EE20517"); while(1); }

For LCD (Liquid Crystal Display) implementation we used the Library LiquidCrystal440 by including it in our code which is an open source code library in which we did a slight modification to suit our need. Our plan was to interface LCD with Arduino and Using the FPGA outputs to trigger the Arduino using interrupt pins on the microcontroller and thus displaying correspondingly on the screen. For the declaration of LCD in the Code we connected the two enable pins, Rs pin, R/W pin and 4 data pins. Also we connected the Vcc , Vdd , Contrast pin Vo in the breadboard and for contrast control we used a 10k variable resistor and we connected the grounds of both Arduino and battery used to power the LCD. The battery we used was 12V, so to step down the voltage we used a voltage regulator 7805.

You might also like