loading

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

Step 3: Install FlowStone

Step 4: From File Menu Create New

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

Step 6: Add 3 Int Component

Step 7: Fill Them With This Values

Step 8: 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

Step 10: Add 2 Boolean Component

Step 11: Link Them to COM Port

Step 12: Add 2 Int Component

Step 13: Link Them to COM Port

Step 14: Add 1 Boolean Component

Step 15: Link It to COM Port

Step 16: Add a Trigger Component

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

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

Step 19: Link COM Port to LED

Step 20: Add 1 Text Component

Step 21: 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)

Step 23: 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

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

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

Step 27: Module Created and All Components Are Inside Module

Step 28: 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

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

Step 31: Module Will Be Opened in New Window

Step 32: Add 1 Input Component

Step 33: Link Input Component to COM Port Component

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

Step 35: Link Button to Your Module

Step 36: 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

Step 38: Open Arduino IDE and Write This Code

Step 39: Upload Sketch to Arduino

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

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

Step 42: Finished

<p>Thank you!, This was very useful, i have problems trying to send more than one byte in order to control differents variables.</p>
<p>This looks very useful. Thanks for sharing the details!</p>

About This Instructable

1,334views

5favorites

License:

More by Eng_AliKazemi:Arduino Graphical Serial Communication with FlowStone (Blink LED) 
Add instructable to: