Introduction: Arduino Graphical Serial Communication With FlowStone (Blink LED)

Picture of Arduino Graphical Serial Communication With FlowStone (Blink LED)

Arduino is using widely for different kind of computer/electronic projects for many purposes, it has a well designed compiler that reduce coding and uploading time, FlowStone is a Graphical Programming Language studio that use hight graphical components with ability to internal coding with Ruby and Assembly for extending abilities and it has possibility to work with other programming languages like C/C++, C#, etc, this awesome abilities make FlowStone very powerful and flexible with easy learn and nice appearance that do many things in program creation engineering. It has been designed to work with different hardware to control and monitoring boards and sensors. It is very easy to install and very light weight for use in old and new windows based systems. Educational license will be useful for students and teachers to reduce cost of projects.

In this tutorial step by step with visual learning method I will show you how to make a project to turn on a LED in Arduino from FlowStone with graphical environment very easy and very interesting.

Step 1: Project Video

Step 2: Download FlowStone Www.dsprobotics.com/download

Picture of Download FlowStone  Www.dsprobotics.com/download

Step 3: Install FlowStone

Picture of Install FlowStone

Step 4: From File Menu Create New

Picture of From File Menu Create New

Step 5: Add COM Port Component From Toolbox to Base With Drag & Drop

Picture of Add COM Port Component From Toolbox to Base With Drag & Drop

Step 6: Add 3 Int Component

Picture of Add 3 Int Component

Step 7: Fill Them With This Values

Picture of Fill Them With This Values

Step 8: Tip 1: This Values Are Connection Parameters of Arduino Uno (Other Boards Could Be Different)

Picture of Tip 1: This Values Are Connection Parameters of Arduino Uno (Other Boards Could Be Different)

Step 9: Link Int Components to COM Port Component With Drag & Drop

Picture of Link Int Components to COM Port Component With  Drag & Drop

Step 10: Add 2 Boolean Component

Picture of Add 2 Boolean Component

Step 11: Link Them to COM Port

Picture of Link Them to COM Port

Step 12: Add 2 Int Component

Picture of Add 2 Int Component

Step 13: Link Them to COM Port

Picture of Link Them to COM Port

Step 14: Add 1 Boolean Component

Picture of Add 1 Boolean Component

Step 15: Link It to COM Port

Picture of Link It to COM Port

Step 16: Add a Trigger Component

Picture of Add a Trigger Component

Step 17: Link It to COM Port (1 > 3)

Picture of Link It to COM Port  (1 > 3)

Step 18: Add 1 LED Component, Right Click on It and Rename It to “Port State”

Picture of Add 1 LED Component, Right Click on It and Rename It to “Port State”

Step 19: Link COM Port to LED

Picture of Link COM Port to LED

Step 20: Add 1 Text Component

Picture of Add 1 Text Component

Step 21: Link COM Port to Text and Resize Text

Picture of Link COM Port to Text and Resize Text

Step 22: Open Connection With Click on “Open” Boolean and Check Logs on Text Component (LED On)

Picture of Open Connection With Click on “Open” Boolean and Check Logs on Text Component (LED On)

Step 23: Close Connection With Click on “Close” Boolean and Check Logs on Text Component (LED Off)

Picture of Close Connection With Click on “Close” Boolean and Check Logs on Text Component (LED Off)

Step 24: Clear Logs and Refresh Connection by Click on Trigger

Picture of Clear Logs and Refresh Connection by Click on Trigger

Step 25: Select All Component With Keyboard Shortcut “Ctrl+A”

Picture of Select All Component With Keyboard Shortcut “Ctrl+A”

Step 26: Right Click on a Component and Select “Make Module” Form Opened Menu

Picture of Right Click on a Component and Select “Make Module” Form Opened Menu

Step 27: Module Created and All Components Are Inside Module

Picture of Module  Created and All Components Are Inside Module

Step 28: Add 1 Button From Toolbox to Parent Base

Picture of Add 1 Button From Toolbox to Parent Base

Step 29: Resize Button With Right-down Corner Section and Rename It by Click on Small “P” in the Right-down Corner

Picture of Resize Button With Right-down Corner Section and Rename It by Click on Small “P” in the Right-down Corner

Step 30: Click on Module to Select It and Click on Small Tree-angle

Picture of Click on Module to Select It and Click on Small Tree-angle

Step 31: Module Will Be Opened in New Window

Picture of Module Will Be Opened in New Window

Step 32: Add 1 Input Component

Picture of Add 1 Input Component

Step 33: Link Input Component to COM Port Component

Picture of Link Input Component to COM Port Component

Step 34: Switch to Parent Window, Now You Can Link Button to Your Module

Picture of Switch to Parent Window, Now You Can Link Button to Your Module

Step 35: Link Button to Your Module

Picture of Link Button to Your Module

Step 36: Go to Your Module, Close Connection and Click on Trigger

Picture of Go to Your Module, Close Connection and Click on Trigger

Step 37: Put a LED to Arduino Like Schematic Blow and Attach Arduino USB to Computer

Picture of Put a LED to Arduino Like Schematic Blow and Attach Arduino USB to Computer

Step 38: Open Arduino IDE and Write This Code

Picture of Open Arduino IDE and Write This Code

Step 39: Upload Sketch to Arduino

Picture of Upload Sketch to Arduino

Step 40: Go Back to FlowStone Open Module and Open Connection

Picture of Go Back to FlowStone Open Module and Open Connection

Step 41: Click on Button Then LED Will Be Turned on for 3 Seconds.

Picture of Click on Button Then LED Will Be Turned on for 3 Seconds.

Step 42: Finished

Picture of Finished

Step 43: Project Source Files

Comments

armandosalinasperez (author)2017-02-05

Thank you!, This was very useful, i have problems trying to send more than one byte in order to control differents variables.

seamster (author)2016-02-01

This looks very useful. Thanks for sharing the details!

About This Instructable

1,514views

5favorites

License:

Add instructable to: