Ss Brewing Technologies Giveaway!

Home Brew Forums > Home Brewing Beer > DIY Projects > Programming question

Reply
 
LinkBack Thread Tools
Old 12-03-2009, 02:23 PM   #1
jakeshivers
Feedback Score: 0 reviews
Recipes 
 
Join Date: Oct 2009
Location: Denver
Posts: 36
Default Programming question

Calling all nerd-geeks. I'm working on an automated brew system similar to that of Deep Six and a few others on here. I know there are a few people doing the same thing, as well.

Where do you get your temp gauges? I looked for some code or a plug-in online but came up with nothing. I don't think .NET has anything useful for this either. Any help would be awesome. Thanks!

http://johnbeere.com/rig/DSC00630.jpg

__________________

-------
N00B

jakeshivers is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 03:18 PM   #2
TipsyDragon
Feedback Score: 0 reviews
Recipes 
 
Join Date: Mar 2009
Location: California
Posts: 2,607
Liked 21 Times on 19 Posts

Default

ah you want a nice temp gauge graphic with a line pointing to the proper value. well assuming your a programmer you could make the graphic with a bmp. then use LineTo to draw the indicator. you know at what angle 0 should be and what angle the max reading should be .. should be a simple linear interpolation to figure out where the line should point.

__________________
TipsyDragon is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 03:20 PM   #3
jakeshivers
Feedback Score: 0 reviews
Recipes 
 
Join Date: Oct 2009
Location: Denver
Posts: 36
Default

yeah, that's exactly what I want. I was just hoping there was something else already done for me. I'm not too artistic.

__________________

-------
N00B

jakeshivers is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 04:11 PM   #4
mdzitter
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2009
Location: LA
Posts: 18
Likes Given: 1

Default

I don't think you need to be super artistic here. You could just draw the whole thing in code, Thats probably what I would do, since then you could draw tickmarks VERY accurately... Otherwise, just pop open MSpaint.

__________________
mdzitter is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 08:26 PM   #5
eccsynd
control freak
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
 
eccsynd's Avatar
Recipes 
 
Join Date: Apr 2008
Location: Minnesota
Posts: 175
Liked 1 Times on 1 Posts
Likes Given: 1

Default

I recently re-did mine for the BCS using the <canvas> html element. It was very easy to use. They also offer some gradients, so you can make shadows, etc. If interested, you can log onto the demo unit and 'view source'.

__________________

BCS-460 Temperature Controller - Interactive web based interface, data logging, and programmable control rules.
http://www.embeddedcc.com
Become an ECC fan on Facebook

eccsynd is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 08:34 PM   #6
jakeshivers
Feedback Score: 0 reviews
Recipes 
 
Join Date: Oct 2009
Location: Denver
Posts: 36
Default

Quote:
Originally Posted by eccsynd View Post
I recently re-did mine for the BCS using the <canvas> html element. It was very easy to use. They also offer some gradients, so you can make shadows, etc. If interested, you can log onto the demo unit and 'view source'.

Does this involve AJAX controls? I can't currently log into the demo page for some reason.
__________________

-------
N00B

jakeshivers is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 08:45 PM   #7
cruelkix
Feedback Score: 0 reviews
Recipes 
 
Join Date: May 2009
Location: Aurora, CO
Posts: 513
Liked 15 Times on 14 Posts
Likes Given: 8

Default

I say skip the guages all together. I used the space on my system for GREAT BIG NUMBERS that I can see from anywhere. I only have 7" of space on my screen though. The gauges to me are gimmicky.... There is a reason the digital clock was invented.

Good luck either way. Just thought I would throw in my perhaps not so helpful $.02

__________________
cruelkix is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 08:47 PM   #8
jakeshivers
Feedback Score: 0 reviews
Recipes 
 
Join Date: Oct 2009
Location: Denver
Posts: 36
Default

Quote:
Originally Posted by cruelkix View Post
I say skip the guages all together. I used the space on my system for GREAT BIG NUMBERS that I can see from anywhere. I only have 7" of space on my screen though. The gauges to me are gimmicky.... There is a reason the digital clock was invented.

Good luck either way. Just thought I would throw in my perhaps not so helpful $.02
haha! now why the hell didn't I think of that? Occam's Razor at it's finest
__________________

-------
N00B

jakeshivers is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 08:53 PM   #9
eccsynd
control freak
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
 
eccsynd's Avatar
Recipes 
 
Join Date: Apr 2008
Location: Minnesota
Posts: 175
Liked 1 Times on 1 Posts
Likes Given: 1

Default

Do you get a password prompt? Userid: admin Passwd: bcsdemo

Here's a good tutorial. Yes, controlled with AJAX.
https://developer.mozilla.org/en/Canvas_tutorial

__________________

BCS-460 Temperature Controller - Interactive web based interface, data logging, and programmable control rules.
http://www.embeddedcc.com
Become an ECC fan on Facebook

eccsynd is offline
 
Reply With Quote Quick reply to this message
Old 12-03-2009, 09:26 PM   #10
kladue
Senior Member
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2006
Location: Turner, Oregon, Oregon most of the time now
Posts: 2,308
Liked 47 Times on 43 Posts

Default

Which programming language are you working in?, if Java I have a gauge bean that might be usefull. I am interested in your approach to the automation and brewing hardware controls. My software currently integrates the recipe construction with the automatic control functions and automatic shut down on alarm conditions.

__________________
kladue is offline
 
Reply With Quote Quick reply to this message
Reply


Quick Reply
Message:
Options
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with Love TS programming GamePreserve DIY Projects 17 12-24-2009 05:00 PM
Help Programming PID Please kickflip_mj Equipment/Sanitation 5 08-13-2009 03:21 PM
Need some help programming this thing... Sherpa FE Equipment/Sanitation 10 02-09-2009 11:21 PM
Computer Programming brauhaus General Chit Chat 21 08-06-2008 07:00 PM
C++ Programming help SporkD2 General Chit Chat 52 08-05-2008 12:41 AM