Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
Smashim  
#1 Posted : Thursday, May 07, 2015 4:45:51 PM(UTC)
Smashim

Rank: Newbie

Groups: BetaUser, Registered
Joined: 5/2/2015(UTC)
Posts: 3

Thanks: 1 times
I was wondering if you have any plans to extend this graphical programming tool to also be used as a live dashboard displaying selected variable and i/o pin values. An example would be similar to something like MakerPlot allowing a custom data dashboard.
I can see many pc screen data acquisition and control panel display ideas for this tool.

One fun idea would be to set up a greenhouse or hydroponics system. First use Embrio to program the control system then use Embrio to build a custom pc graph/control GUI dashboard.

thoughts?

Edited by user Thursday, May 07, 2015 4:46:30 PM(UTC)  | Reason: Not specified

IngmarGuillaume  
#2 Posted : Thursday, May 07, 2015 11:38:32 PM(UTC)
IngmarGuillaume

Rank: Member

Groups: BetaUser, Registered
Joined: 4/4/2015(UTC)
Posts: 25

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
I definitely support this idea.ThumpUp
EmbrioAdmin  
#3 Posted : Friday, May 08, 2015 5:25:08 PM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
Yeah definitely, something like that is on my list. I'd like to make it so that a compiled program will spit out serial data on whatever values you specify, and make a stand alone program that listens on a port for an Embrio program and displays those values in a dashboard panel.

In the mean time it should be pretty easy to have an Embrio project communicate with an existing solution like MicroPlot. I haven't seen MicroPlot before, it looks really cool and powerful for what it does. It looks like you just need to Serial.print data to integrate with it. Try pasting the below xml into an Embrio project as a starting point. If you have any success let me know and I'll make a tutorial on setting up a compiled Embrio project to be visualized with MicroPlot. The XML below defines two nodes, one that reads an analog input on pin A1, and a custom Arduino node that sends the value over the serial port. If you have a full license you can compile and upload it, then open a serial monitor through the Arduino IDE and see the data streaming in.

<Nodes>
<Node>
<UniqueID>f373a0ba-d42d-40f6-9068-0c7a6b7d87f9</UniqueID>
<AssemblyType>Embrio.NodeEngine.AgentController.Nodes.AgentControllerInputNode</AssemblyType>
<NodeType>Controller Input</NodeType>
<UserDefinedName></UserDefinedName>
<Description>Reads an input from an analog or digital Arduino pin.</Description>
<NodeColor>201,204,227,255</NodeColor>
<X>0</X>
<Y>0</Y>
<Width>260</Width>
<PinType>Analog</PinType>
<RangeMin>0</RangeMin>
<RangeMax>1023</RangeMax>
<Pin>A1</Pin>
<UsePullup>False</UsePullup>
<Inputs>
<Input>
<UniqueID>eb20c6aa-d8c1-41b0-9ae0-e3df30434b7c</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Design Time Activation</DefaultName>
<CustomName></CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>True</IsNative>
<TypeName>Numeric</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.NumericNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>False</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
<BlendMode>Add</BlendMode>
<DisconnectedValue>0</DisconnectedValue>
<UseNegativeRange>False</UseNegativeRange>
<CanUseNegativeRange>True</CanUseNegativeRange>
</Input>
</Inputs>
<Outputs>
<Output>
<UniqueID>b6f26499-0a59-42f8-b4ac-ffbd11eb9837</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Activation</DefaultName>
<CustomName></CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>True</IsNative>
<TypeName>Numeric</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.NumericNodeOutput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>False</IsUserAdded>
<MinValue>0</MinValue>
<MaxValue>1</MaxValue>
<UseNegativeRange>False</UseNegativeRange>
<CanUseNegativeRange>True</CanUseNegativeRange>
</Output>
</Outputs>
</Node>
<Node>
<UniqueID>cc1f75d1-e6af-42e0-b04b-505e95caa9da</UniqueID>
<AssemblyType>Embrio.NodeEngine.AgentController.Nodes.AgentControllerCustomArduinoNode</AssemblyType>
<NodeType>Custom Arduino Node</NodeType>
<UserDefinedName></UserDefinedName>
<Description>A node that lets you write any Arduino code to interact with the Arduino hardware. Can be both an input and output.</Description>
<NodeColor>201,204,227,255</NodeColor>
<X>292</X>
<Y>116</Y>
<Width>546</Width>
<IncludeCode></IncludeCode>
<DeclerationCode></DeclerationCode>
<SetupCode>Serial.begin(57600);</SetupCode>
<ImageName>arduino.png</ImageName>
<InfoURL></InfoURL>
<CodeDefinitions>
<CodeDefinition>
<UpdateCondition>InputChange</UpdateCondition>
<Code>Serial.print(transform(Input_Activation, 0.0, 1.0, 0, 1024));</Code>
<UniqueID>da9fbd58-a163-4a24-9731-c97ca5ded222</UniqueID>
<Inputs>
<Input>33bac166-672b-4f55-a3c7-2c08b5c6cf33</Input>
</Inputs>
</CodeDefinition>
</CodeDefinitions>
<Inputs>
<Input>
<UniqueID>33bac166-672b-4f55-a3c7-2c08b5c6cf33</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Activation</DefaultName>
<CustomName></CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Numeric</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.NumericNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs>
<Output>b6f26499-0a59-42f8-b4ac-ffbd11eb9837</Output>
</ConnectedOutputs>
<BlendMode>Add</BlendMode>
<DisconnectedValue>0</DisconnectedValue>
<UseNegativeRange>False</UseNegativeRange>
<CanUseNegativeRange>True</CanUseNegativeRange>
</Input>
</Inputs>
<Outputs></Outputs>
</Node>
</Nodes>
thanks 1 user thanked EmbrioAdmin for this useful post.
Smashim on 5/10/2015(UTC)
Smashim  
#4 Posted : Sunday, May 10, 2015 2:37:47 PM(UTC)
Smashim

Rank: Newbie

Groups: BetaUser, Registered
Joined: 5/2/2015(UTC)
Posts: 3

Thanks: 1 times
Now that I know you support this idea I will purchase the product today !

I was not thinking so much to link Embrio to an app like MakerPlot but that is also an interesting idea.
To me that may end up as an easier path but not knowledgable enough to make that call.

My thoughts were that within Embrio you already have 90% of the work done and all you need is to add is a simple way to have the user build their own dashboard of selectable input value graphs, gauges, and status lights and some output switch/sliders etc with the ability to customize appropriate labeling.

A great test project would be a simple hydroponics DAC system

Inputs = Temp, water/nutrients pump status, water tank flow/level , nutrients tank flow/level, nutrients mix concentration %, etc
Outputs = Water pump on/off, Nutrients pump on/off etc.

I think that would make for a great example project. A simple hydroponic "rain-tower" comes to mind.

thoughts? I would be willing to build something like this if there is interest to make this a cool example.

Edited by user Monday, May 11, 2015 1:45:22 AM(UTC)  | Reason: Not specified

Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error