Menu Close
Spread the love

Control LCD Display with Arduino and Visual basic


Control LCD Display with Arduino and Visual basic
Serial Communication Visual Basic Project.
Visual basic windows application with Arduino nano.

Control LCD Display

Parts Required:

  1. Arduino NANO
  2. LCD – Alphanumeric-16X2 Characters (1)
  3. resistor 220 ohm (1)
  4. Potentiometer
  5. Wires to connect it all together



#include <LiquidCrystal.h>

const int ledPin =  6;
int buttonState = 0;
String x;
String str;
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
pinMode(ledPin, OUTPUT);
lcd.begin(16, 2);
digitalWrite(ledPin, HIGH);

void loop () {
if(Serial.available() > 0){
x = Serial.readString();
if (x==“LED OFF”){
digitalWrite(ledPin, LOW);
digitalWrite(ledPin, HIGH);


For more Please make sure to subscribe to Officialhrm YouTube channel and like Facebook Page.

Thank you for visiting OfficialhrmPlease don’t forget to share this website with your friends.


File Description Date added File size Downloads
zip LCD text from Pc February 26, 2019 7:09 pm 3 MB 1894
Posted in Arduino

Related Posts

1 Comment

  1. Skincell Pro Ingredients

    Oh my goodness! Incredible article dude! Thanks,
    However I am encountering difficulties with your RSS. I don’t understand why I cannot subscribe to it.
    Is there anybody else having similar RSS issues?
    Anyone who knows the answer will you kindly respond?

Leave a Reply

Your email address will not be published.