Martha MigliacioAlex Wong
Published © GPL3+

Using the Pmod CLP with Arduino Uno

Application notes for Pmod CLP and Arduino Uno. In this app, the Pmod will be programmed to display text on the LCD.

EasyShowcase (no instructions)1 hour343
Using the Pmod CLP with Arduino Uno

Things used in this project

Hardware components

Pmod CLP
Digilent Pmod CLP
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Pmod CLP and Arduino Uno Fritzing file

Fritzing file displaying the connection of the Pmod CLP to the Arduino Uno.

Pmod CLP and Arduino Uno Fritzing Image

Fritzing image displaying the connection between the Pmod CLP and Arduino Uno.
Pmodclp arduinouno bb gmplcfqzqg

Code

Pmod CLP and Arduino Uno Code

Arduino
Using this code will program the Pmod CLP to display a message.
/************************************************************************
*
* Test of the Pmod module
*
*************************************************************************
* Description: Pmod_CLP
* Message "Test module Pmod Digilent partner of Lextronic" will be show on LCD.
*
* Material
* 1. Arduino Uno
* 2. Pmod CLP
*
**************************************************/
// Affectation of pins
#define en 7
#define rs 6
#define d7 5
#define d6 4
#define d5 3
#define d4 2

#include<LiquidCrystal.h> // Add LiquidCrystal library
LiquidCrystallcd(rs, en, d4, d5, d6, d7); // creation of object LCD

voidsetup()
{
lcd.begin(16,2); // initialization of LCD object
}

voidloop()
{
lcd.clear(); // Erase screen
lcd.print("Test module Pmod");
lcd.setCursor(4,1); // cursor is on line 2 and columm 5
lcd.print("Digilent");
delay(3000);
lcd.clear();
lcd.setCursor(1,0); // cursor is on line 1 and columm 2
lcd.print("partner of");
lcd.setCursor(3,1); // cursor is on line 2 and columm 4
lcd.print("Lextronic");
delay(3000);
}

Credits

Martha Migliacio

Martha Migliacio

5 projects • 5 followers
Alex Wong

Alex Wong

5 projects • 14 followers
I work in Digilent and like creating projects
Thanks to Lextronics.

Comments

Add projectSign up / Login