Screen shots as promised. The Mash Monitor app was running on my desktop. My laptop ran the Arduino Emulator, showing digital pin values on one side and analog pin values on the other. For some reason, my emulator code has about a 5% receive error rate. I'm not really interested in debugging it any further, though, since the actual board will be here soon.
Here's the virtual setup:
Digital Pin 0: Relay controlling the steam vessel heating element (HI = on)
Digital Pin 1: Relay controlling the steam solenoid valve (HI = open)
Analog Pin 0: Steam pressure sensor (multiply by .02 to get actual PSI)
Analog Pin 1: Mash temperature sensor (multiply by .18 and add 32 to get actual degrees F)
The correction factors are a rough guess since I don't have the actual sensors yet.
The screen shots were taken at separate times, so the values don't correlate exactly between the pictures, but you get the idea.
Here's the virtual setup:
Digital Pin 0: Relay controlling the steam vessel heating element (HI = on)
Digital Pin 1: Relay controlling the steam solenoid valve (HI = open)
Analog Pin 0: Steam pressure sensor (multiply by .02 to get actual PSI)
Analog Pin 1: Mash temperature sensor (multiply by .18 and add 32 to get actual degrees F)
The correction factors are a rough guess since I don't have the actual sensors yet.
The screen shots were taken at separate times, so the values don't correlate exactly between the pictures, but you get the idea.
I'm pretty happy with NetBeans, the swing library, and RxTx. I'll try to keep my code organized and commented, and most of my serial comm classes don't directly reference the GUI. RxTx mirrors javax.comm, so you can just import javax.comm.* instead of gnu.io.* if you're on a Linux/Solaris platform. So, it should be pretty easy to share code at some point.brewman ! said:Just a note... if we are going to share code, we should all work with the same Java libraries. I'll be using SWT because I've used it for other projects and it works well. Its part of the eclipse.org project.
The Arduino USB board shows up as a serial port - you use RS232 serial comm to interact with it. The solid state relays I have on order with Jameco take about 5VDC@3mA to switch up to 280VAC@40A. I'm confident that USB can handle a few of those.Jer said:I've pretty much abandon the USB idea since the only benefit I see to it is that it would power the controller, but since it can only supply 500mA, that's not enough to drive the relays and solenoids, so I'll probably just stick with rs232...