Showing posts with label LCD. Show all posts
Showing posts with label LCD. Show all posts

Friday, June 5, 2015

LCD Shield in Visuino - Tutorial/Experiment - Part 2: The Details

The Details of the LCD Setup Seen in my Last Post

Here is the last project that I posted with screenshots and and examples of how I created it.

After starting Visuino you need to add the standard LCD component, not the I2C one.


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

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


Now Double Click the words "Text Field", twice.


Those will be added to the left-hand side of this window.  You can now close the 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 folder icon to expand it and you should see this:


"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 here:




For "Item 1" we need to set the "Row" to "1", as seen here:




The next component we will add is the AnalogSnapshot:


And connect it to the "Text Field2" input:


Then add the "Pulse Generator" and connect it to the "Analog Snapshot1":


Now that you are on the "Pulse Generator", look at the "Properties" for it and modify the "Frequency" to "3":




Following that you can add the "Sine Generator" and connect it to the analog input of the Snapshot:


The "Sine Generator Properties" should stay the same and look like this:


Now for my LCD Shield the connections will be different then a bare LCD sans the Shield, but mine connections look like this:


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

Let me know in the Comments how yours went.

Tune in next time for some more on Neo-Pixels...











Tuesday, June 2, 2015

LCD Shield in Visuino - Tutorial/Experiment

Testing the New LCD Components in Visuino

Next test I am doing is with the LCD Shield that I picked up with I Gift Card.  Since the LCD component was just added to Beta 35 of Visuino I thought it was very timely to test this.

This is the LCD Shield that I will be using: 


And I used my Freetronics Eleven board for this test, after some help in the basic sketch in Visuino from the creator, Boian Mitov, we came up with this: 


We get a nice Hello World! on the first line and a SINE number on the second.


I have uploaded the Visuino file here.

If you are interested in this program, please visit www.visuino.com for details on joining the Beta Dev Community on Google Plus.