LCD Shield in Visuino - Tutorial/Experiment

by KurtRoesener in Circuits > Arduino

4722 Views, 12 Favorites, 0 Comments

LCD Shield in Visuino - Tutorial/Experiment

DSC01864.JPG

Testing the LCD Components in Visuino

This Insrtuctable is using the LCD Shield that I picked up with a Gift Card.
Since the LCD component is a popular component, this shows how to setup the LCD Shield in Visuino.

Hardware that is needed:

  1. LCD Shield - I am using a OSEPP-LCD-01 - this one came pre-soldered, but there are kits for these too.
  2. UNO Compatible board - Even though you can't see it, I am using a Freetronics Eleven Board for this project.

    Pictures can be seen in the next step.

Software Required:

  1. Arduino IDE 1.6.7 or higher
  2. Visuino The current release is 7.8.2.15

First thing to do is plugin you LCD Shield, then power on your Arduino.

The Hardware

ELEVEN-v2_0-top_1024x1024.jpg
16x2LCD_shield.jpg

Picture 1 Shows the UNO compatible board I used for this Instructable.

Picture 2 Is the LCD Shield that I had on hand to setup for this project.

Setting Up the LCD Shield in Visuino

Search Box Capture.JPG
LCD search Capture.JPG
Capture_LCD 2_3.JPG

Next you will need to Run, Visuino and you'll start with the main screen.

Then you need to do a search for 'LCD' in the upper right corner, Picture 1.

Picture 2 shows the results of the Search and the correct version of the Component to drag on to the Workspace.
Once that is done you should see Picture 3 showing the 2 components so far.

This one gives us the the DATA pins that we need to connect to the Arduino board.

LCD Shield - Visuino - Text Fields

Capture_LCD 3_1.JPG
Capture_LCD 3_2.JPG
Capture_LCD 3_3.JPG
Capture_LCD 2_4.JPG
Capture_LCD 2_5.JPG
Capture_LCD 2_6.JPG

Next we add the Text Fields that will display on the LCD.
Double Click on the top bar and you will see this come up: The "Elements" window; Picture 1

Now Double Click the words "Text Field", twice. Picture 2 shows what it should look like after the first double-click and Picture 3 shows after the second double-click.

Those will be added to the left-hand side of LCD window. You can now close the Elements window.

Select the LCD component and look to the left-hand side of the Visuino window, here you should see the "Properties" of the LCD block. Click the plus sign folder icon to expand it and you should see what's in Picture 4.

"Item 0" is the top row of the LCD and "Item 1" is the bottom row, So for the top row we want to type in "Hello World!" for the "Initial Value" As seen in Picture 5.

For "Item 1" we need to set the "Row" to "1", as seen in Picture 6.



LCD Shield - Visuino - Other Components

Capture_LCD 3_1.JPG
Capture_LCD 3_2.JPG
Capture_LCD 3_3.JPG
Capture_LCD 3_4.JPG
Capture_LCD 3_6.JPG

The next component we will add is the Sine Analog Generator, Picture 1

And connect it to the "Text Field2" input, Picture 2

Then add the Clock Generator and connect it to the "Clock Pin", Picture 3 on theSine Analog Generator.

Now that you are on the "Clock Generator", look at the "Properties" for it
and modify the "Frequency" to "3", Picture 4 The Value of "3" indicates that it will refresh 3 times per second.

The "Sine Generator Properties" should stay the same and look like Picture 5






LCD Shield - Visuino - the LCD Connections

Capture_LCD 4_1.JPG
DSC01866.JPG
Capture_LCD 4_2.JPG

Now for my LCD Shield the connections will be different then a bare LCD sans the Shield, but this shields connections look like this. Picture 1

Now you can save the Visuino sketch and connect up you Arduino and Shield, then power it all on to upload it.

Picture 2 is another shot of mine when I loaded this sketch.

Picture 3 shows the entire layout, in Visuino

Let me know in the Comments how yours went.