[Gambas-user] gambas and outportb
mike webb
mwebb at ...1362...
Mon Jun 26 13:26:59 CEST 2006
sorry rob when i wrote my question i was in a big hurry and didn't
explain myself properly.
really i'm working on two different projects at the same time.
the first one controls a water sprinkeler system on the roof of the factory.
the idea here is to lightly spray a bit of water on the roof and then
wait for it to evaperate.
i have two sprinkers up there now, on friday it was 95 degrees, the
parts of the roof which i was watering hovered around 100 degrees the
rest of the roof was anywhere between 130 and 145.
i was wanting to tap into the net to get the tempemater, humidity and
wind speed.
seems like it would be more trouble than its worth though, i don't
really think i want to have linux between me and my I/O board. also
with ms-dos and turbo c i can use any old computer we have laying
around. the program and dos can fit on a floppy drive.
controlling the AC units is coming up as soon as i get finished
installing all the sprinkers.
we have 8 ac units running 440 volts 3 phase at 65 amps. they are all
thermostatly controlled, i'm planning on tapping into the termostat control lines with relays.
the plan is to never have more than 6 units on at the same time.
theirs good reasons for trying this, almost half of our electric bill is base on "worst 15 minutes" of the month. in other words we had to pay 7000 dollars because on may 30 from 1:30 in the afternoon until 1:45 we "peaked for the month and used 750 kva of electricity.
i believe you dutch guys have a saying for that: "to gek".
if my math is right then 65 amps x 2 = 80 kva.
80 kva = +- 760 dollars per month (at least thru july and aug)
hope i was alittle clearer without being to long winded.
thanks for the help.
Rob Kudla wrote:
>On Sat June 24 2006 01:46, Laxminarayan G Kamath A wrote:
>
>
>>On 06/23/06 13:46, mike webb wrote:
>>
>>
>>>writing a program to control our air condition units in our
>>>factory. have always used ms-dos and turbo c to control
>>>hardware. in this case though, i need to access web pages on
>>>the Internet and extract our local temp.
>>>
>>>
>>_Bad_ programming practice.. never do this for mission
>>critical stuff. what will happen if the page changes a bit for
>>some reason and wrong values go in? _HAVOC_ !
>>
>>
>
>No, not havoc... sanity checks followed by error messages as
>appropriate. I've been scraping Weather Underground for about 4
>years to feed a KDE temperature + heat index/wind chill applet I
>wrote, and the worst it's ever done is give me "--" or "0"
>because it can't parse the data.
>
>Before that, I wrote a currency converter that used Yahoo Finance
>as a back end (which I'm sure would now either be prevented by a
>CAPTCHA or just against their terms of use), and when they
>changed their format I had it throw an error saying "Yahoo
>Format Error - If this persists, call Rob." It's not like my
>company at the time would have gotten 1 dollar = 0 pounds and
>had all its UK bills go out for infinite amounts.
>
>If there's a better defined source for temperature data local to
>him, he should use it (and I'm sorry if this sounds
>condescending, but.... hello, thermostats are really not that
>expensive), but scraping is a time-honored integration practice
>when you have no control over your source data, and can
>certainly be done right.
>
>Rob
>
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060626/34628518/attachment.html>
More information about the User
mailing list