Pages: [1]   Go Down
Author Topic: Project Feasability  (Read 552 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all!

I have little arduino experience as well as programming (vb and C) but do have the patience to read and learn to make my project a success...  What I'm hoping to do is create a GUI to run on a PC which can control an arduino mega.

I'm an avid brewer and looking to make part of my brew day a little easier (automated) Nothing too fancy or elaborate at the start. Just want to have a few ds18b20 sensors send values to my GUI via serial and have it turn my gas burners on and off until a set temp is hit.

I've seen other sketches around for brewing but none with a GUI and control via serial...
Logged

Manchester, UK
Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sounds feasible to me. Most GUI stuff is written in the Processing language from what I have seen around (see also here: http://arduino.cc/forum/index.php?topic=121596.0).

But if you google arduino+gui you will find people who done this in matlab or Qt. I have found another interesting post here: http://www.autoitscript.com/forum/topic/138727-arduino-gui-programmer/ It uses the AutoIt scripting language.

In the end it comes down to what software you are comfortable with and if the software can read/write serial data.

All the best
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 610
Posts: 49040
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I like C# for GUIs. Easy to build forms, and very easy to communicate with the serial port. The only challenging part is dealing with serial in one thread and the GUI in another thread.

I have a starter application that I can send you, if you are interested. PM me with an e-mail address.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I guess my next question would be if it's easier for the GUI to poll the arduino for pin/sensor values and then react or have the arduino in a loop sending pin/sensor values to the GUI, have it displaying them then reacting to those values?
Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It might be worth taking a look at Bitlash Commander: http://github.com/billroy/bitlash-commander

Commander is a browser-based UI toolkit for Arduino applications.  You can poll the arduino from a UI control, or push data asynchronously from the Arduino to the control panel.  The arduino can be USB- or ethernet-connected.

It works with the Bitlash command interpreter for Arduino, but Bitlash is not required and it's easy to control your custom Arduino program over the serial port.


-br

Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 610
Posts: 49040
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I guess my next question would be if it's easier for the GUI to poll the arduino for pin/sensor values and then react or have the arduino in a loop sending pin/sensor values to the GUI, have it displaying them then reacting to those values?
Is the Arduino to be in control, keeping the PC informed? Or is the PC in control, using the Arduino like a dumb peripheral?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would prefer the arduino to be a dumb peripheral. GUI to show temperatures of my DS18B20's and then have my arduino mega switch relays to control my natural gas burners to reach an inputted temperature.
Logged

Pittsburgh, PA, USA
Offline Offline
Faraday Member
**
Karma: 98
Posts: 4801
I learn a bit every time I visit the forum.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is way more than I needed in one thread but probably just what you want:

http://www.firmata.org/wiki/Main_Page

Logged

I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 610
Posts: 49040
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
This is way more than I needed in one thread but probably just what you want:
Not if OP is going to attach OneWire devices to the Arduino.
Logged

Pittsburgh, PA, USA
Offline Offline
Faraday Member
**
Karma: 98
Posts: 4801
I learn a bit every time I visit the forum.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I didn't dig so deep once I saw it was way more than I needed.
If it's a matter of 1-wire only runs on pins that uses then I don't agree.
Logged

I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
This is way more than I needed in one thread but probably just what you want:
Not if OP is going to attach OneWire devices to the Arduino.

Paul is right... my DS18B20 Temperature sensors don't seem to work with FIrmata for me. I'm sure Paul knows exactly why...
Logged

Pages: [1]   Go Up
Jump to: