Shubham Jain Posted August 15, 2018 Share Posted August 15, 2018 I am not able to interface PmodCLP with arduino UNO. Code provided on the website is compiling but lcd is showing nothing. Please provide me the working code and image. Link to comment Share on other sites More sharing options...
JColvin Posted August 15, 2018 Share Posted August 15, 2018 Hi @Shubham Jain, Which demo for the Pmod CLP are you referring to? If you are referring to the "Library and MPIDE Example" that is on the Pmod CLP Resource Center, that demo has only been designed for the Pro MX4, so as is it is not pin compatible with an Arduino Uno. If you are not using that demo, which demo are using and how do you have it set up? Thanks, JColvin Link to comment Share on other sites More sharing options...
jpeyron Posted August 15, 2018 Share Posted August 15, 2018 Hi @Shubham Jain, Here is a project on hackster.io with the Arduino uno and code. It shows how to connect the pins and which pins to use on the uno. thank you, Jon . Link to comment Share on other sites More sharing options...
Shubham Jain Posted August 17, 2018 Author Share Posted August 17, 2018 Hi @JColvin @jpeyron I am using this, with the same setup they have shown. Still not working. Thanks, Shubham Link to comment Share on other sites More sharing options...
JColvin Posted August 29, 2018 Share Posted August 29, 2018 Hi @Shubham Jain, Finally figured out the issue which I should have noticed earlier. The RS and E pins are swapped, so swapping the wires around should work (since RS is pin 1 on header J2 and E is pin 3 on header J2). Alternatively, this is the code I am using that is currently running successfully on the Pmod CLP. Spoiler /************************************************************************ * * 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 uint8_t en = 11; uint8_t rs = 12; uint8_t d7 = 2; uint8_t d6 = 3; uint8_t d5 = 4; uint8_t d4 = 5; #include <LiquidCrystal.h> // Add LiquidCrystal library LiquidCrystal lcd(rs, en, d4, d5, d6, d7); // creation of object LCD void setup() { lcd.begin(16,2); // initialization of LCD object } void loop() { 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); } Let me know if you have any questions about this. Thanks, JColvin Link to comment Share on other sites More sharing options...
Question
Shubham Jain
I am not able to interface PmodCLP with arduino UNO. Code provided on the website is compiling but lcd is showing nothing. Please provide me the working code and image.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.