[java-dev] weather station into max
bart woodstrup
bart at bartwoodstrup.com
Sun Aug 12 19:04:17 MDT 2007
- Previous message: [java-dev] Re: Problem with long file name
- Next message: [java-dev] weather station into max
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Hi - mxj works! cool, but... I have an issue that I could use some advice with: Background on my project: I have built a weather station (full of fun wind, solar, temp, etc. sensors). This weather station uses the "1-Wire" system from Dallas Semiconductors. The java code I am using is called "simpleWeather" and comes from weathertoys.net. I'm on an Intel Mac and using a Keyspan USB adapter as the serial port to talk to my sensors. The "simpleweather" java code uses two libraries (one for the serial adapter and one for the 1-Wire devices), a class for each sensor (currently 6 total), and a main class called simpleWeather. All of the classes use a "package" called simpleWeather. I have (with help) successfully gotten this to work in Max. I have an object named "mxj simpleWeather.SimpleWeather" that takes a bang in its inlet and sends the data from each sensor to its own outlet (6 total). It's finicky, but does work. Here's my problem. When I "bang" the object, Max freezes (spinny wheel mode) for about 2.5 seconds, and then it gives me my data. Do any of you have any suggestions for a way that I might be able to access the data without stopping whatever process is happening in max/jitter? Do you need more info to answer this - if so what? ..or since it's a serial port, am I better off trying to get the data through the "serial" object? - tho I'm not sure I can convert/rewrite the Java code in max. thx in advance. Bart
- Previous message: [java-dev] Re: Problem with long file name
- Next message: [java-dev] weather station into max
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
