Page 2 of 2 FirstFirst 1 2
Results 51 to 95 of 95
Like Tree6Likes

Thread: USB Temperature Data Logger - RML (Roast Monitor Language)

  1. #51
    Senior Member
    Join Date
    Jul 2006
    Posts
    434
    What KJM and I were looking at was the intro mentioned in post #1, IntroducingRML.html.

    Is that the file mentioned in #44?

  2. #52
    Senior Member flynnaus's Avatar
    Join Date
    May 2008
    Location
    Sydney
    Posts
    3,630
    No, it isn't. Post #44 is a RML file.

    I think what you are looking for is also referred to in Post #1 of this thread: USB Temperature Data Logger Thermocouple and RoastMonitorUSB software


    Might need to email Andy or hope GrahamK reads and updates this thread.

  3. #53
    CoffeeSnobs Owner Andy's Avatar
    Join Date
    Mar 2004
    Location
    Internet
    Posts
    15,144
    Blog Entries
    1
    I just fixed the link in the first post...
    ('twas a forum migration bug)

    Introducing RML

  4. #54
    Senior Member
    Join Date
    Jul 2006
    Posts
    434
    Thanks, all working now ...

  5. #55
    Member sando's Avatar
    Join Date
    Jul 2012
    Location
    Avalon NSW
    Posts
    82
    The penny of how this all works has just dropped.
    I am a slow learner but, get there in the end! I had a laugh.

    This just gets better all the time...

    Thanks everyone for everything.

    cheers
    Sando

  6. #56
    CoffeeSnobs Owner Andy's Avatar
    Join Date
    Mar 2004
    Location
    Internet
    Posts
    15,144
    Blog Entries
    1
    If you don't write code then it does seem a little alien at first but it's very logical and super powerful... with RML you can automate lots of tasks or give yourself warnings during a roast.

    If you write something cool post it up for others to use in their RML too.

  7. #57
    Junior Member
    Join Date
    Jul 2012
    Location
    Cape Town, South Africa
    Posts
    3

    Keeping profiles and logs organised

    Hi Guys

    Thanks for all the shared RML code. Really has helped getting the most our of the software!

    I, like many, hate admin and although at the beginning always want to keep things organized and neat end up with things everywhere.

    So I made a slight adaption to the RoastMonitor.bat file to keep things organized.

    This is the current code in the RoastMonitor.bat file:

    Code:
    REM Copyright 2007-2009 CoffeeSnobs.com.au
    
    set d=%date:~-4,4%%date:~-7,2%%date:~0,2%
    set d=%d: =_%
    set t=%time:~0,2%%time:~3,2%
    set t=%t: =0%
    set dirname="profiles/%d%"
    
    mkdir %dirname%
    
    java -cp DataLogger.jar au.com.coffeesnobs.profiler.DataLogger
    
    ren "RoastMonitorLog.txt" "RoastMonitorLog-%d%-%t%.txt"
    
    MOVE "RoastMonitorLog-%d%-%t%.txt" "%dirname%/"
    I then have my RML point to the folder created above with the current date.

    This is what the above code does:

    1. Creates a directory under "profiles" folder that is named by the current date. YYYYMMDD
    2. After the Roast Monitor software closes it renames the RoastMonitorLog.txt to include date and time.
    3. It then moves the log to the dated folder.


    Hope this helps others out there who are not naturally organized
    sando likes this.

  8. #58
    Junior Member
    Join Date
    Jul 2012
    Location
    Cape Town, South Africa
    Posts
    3

    Collation of the days roasts

    Not sure if anyone will use this but thought would post it anyways.

    One thing I'm missing is having the roasts tabulated to compare, add comments and taste notes too.

    So I put together the following, I am sure there is an easier solution, and definitely a less messy one, but this seems to work well.


    First I changed all my RML created logs to be in a csv format (all values separated by "," ).

    Code:
    IF M1S("Unload") > 0
        LIMIT 1 {
                    #sets variables for the log and alert
                    SET Loadtemp = M1D("Load");
                    SET FirstC = M1S("First crack");
                    SET FirstCtemp = M1D("First crack");
                                    
                    SET Loadt = M1S("Load");  
                    SET Unloadt = M1S("Unload");
                    SET Timebtwc = ((Unloadt-FirstC)/60);
                    SET Totalt = ((Unloadt-Loadt)/60);
                    
                    #logs variable of roast in a csv format
                    LOG "," : Bean : "," : Weight : " kg," : Loadtemp : "," : FirstC : "," : FirstCtemp : "," : Timebtwc : "," : Totalt : "," : Comment : " ";
                    
                    }
    Then like my previous post I edited the RoastMonitor.bat file to the following:

    Code:
    REM Copyright 2007-2009 CoffeeSnobs.com.au
    
    set d=%date:~-4,4%%date:~-7,2%%date:~0,2%
    set d=%d: =_%
    set t=%time:~0,2%%time:~3,2%
    set t=%t: =0%
    set dirname="profiles/%d%"
    
    REM creates directory under profiles/ with the date as the name
    mkdir %dirname%
    
    REM Runs Roast Monitor
    java -cp DataLogger.jar au.com.coffeesnobs.profiler.DataLogger
    
    REM checks to see if there is a log/csv file already
    If EXIST "profiles/%d%/RoastMonitorLog-%d%.csv" goto :fileexists
    If NOT EXIST "profiles/%d%/RoastMonitorLog-%d%.csv" goto :filenotexists
    
    REM adds current log to previous
    :fileexists
    type RoastMonitorLog.txt | findstr /v Starting | findstr /v Monitor | findstr /v Saved  >> profiles/%d%/RoastMonitorLog-%d%.csv
    goto :finished
    
    REM adds headings. Removes unwanted lines from log. Renames and moves log to dated folder.
    :filenotexists
    @echo off
    echo Time,Bean,Weight,Load Temp,C1 time,C1 temp,Time between,Total time,Comment > new.txt
    type RoastMonitorLog.txt | findstr /v Starting | findstr /v Monitor | findstr /v Saved  >> new.txt
    copy /y new.txt RoastMonitorLog-%d%.csv
    del new.txt
    MOVE "RoastMonitorLog-%d%.csv" "%dirname%/"
    goto :finished
    
    :finished
    del RoastMonitorLog.txt
    So this is what it does:

    1. Creates date directly (like my previous post but with no time in the name)
    2. Checks to see if the file exists
      • if it does it just updates it. So you can close and open on same day and will just add to previous log

    3. Then adds "headings" for the logs.
    4. Has to then remove lines in the log that will inhibit a neat csv file (eg. saving log)
    5. Ends by moving the created csv to the dated folder and cleans up.


    Hope this makes sense. If you want to use this you will need to clear all your current RML logs and follow my previous post as well.

    What I'm enjoying is finishing the roast closing the program and everything is sorted. If I want to review the roasts I go to the dated folder and open the CSV file and all the logs are tabulated and easy to read.

    Cheers

  9. #59
    Junior Member
    Join Date
    Jul 2012
    Location
    Cape Town, South Africa
    Posts
    3
    This thread is awfully quiet, not sure if anyone is still editing RML and using it but thought I would still add something I have found useful.

    I don't think this will be useful for all types of roasters but especially where the addition of green beans seriously drops the environments temperatures and also if you if you struggle getting a previous template profile to align to current roast then this may help.

    I put in a countdown timer in the RML to help me always load at the same time, which makes sure the graphs and profiles are better aligned. This for me has replaced clicking the load button so I have changed the load time and tempreture for my log and alerts as well.

    Oh and also I have made a timer after the C1 is hit. It alerts after every couple seconds. I use a type of loop that counts the loops and then divides to get the right rounded off seconds.

    Let me know if it doesn't work for you or if something doesn't make sense:

    # Count down to load. Makes sure that load point is the same on all roasts.

    IF M1S_NOW > 5
    LIMIT 1
    {

    BEEP;
    ALERT "3";

    }
    IF M1S_NOW > 6
    LIMIT 1
    {

    BEEP;
    ALERT "2";

    }
    IF M1S_NOW > 7
    LIMIT 1
    {

    BEEP;
    ALERT "1";

    }

    IF M1S_NOW > 8
    LIMIT 1
    {

    BEEP;
    ALERT "0: Load now";
    SET Loadtemp = M1D_NOW;
    ALERT "Load temp: " :loadtemp : " C";
    SET Loadt = M1S_NOW;
    SET saveNeeded = "yes";
    SET FCtimer = "0";
    SET FCtimercount = "1";

    }

    #loops to count after first crack
    IF M1S("First Crack") > 0
    {
    SET FCtimer = (M1S_NOW-M1S("First Crack"))/FCtimercount;
    }
    IF FCtimer > 5
    {
    ALERT " After C1: " : (FCtimercount*5) : " seconds";
    SET FCtimercount = FCtimercount +1;
    }

  10. #60
    Member sando's Avatar
    Join Date
    Jul 2012
    Location
    Avalon NSW
    Posts
    82
    Quote Originally Posted by mrbradman View Post
    This thread is awfully quiet, not sure if anyone is still editing RML and using it but thought I would still add something I have found useful.

    Let me know if it doesn't work for you or if something doesn't make sense:

    Hi Mrbradman

    The quietness could have something to do with the fact that we (and I speak for myself) look at the code and while we can read it and it sort of makes sense ...
    Changing the code is another whole thing.

    Basically ...NO IDEA !!!


    I wonder if you get a chance could post the code required for loading at 60 seconds (after GO) with a 10 second countdown to Load.

    I use the default.rml file V15 10/04/2012 - Graham Kennedy

    If you can that would be unreal....
    baie dankie in advance.

    cheers
    Sando

  11. #61
    Senior Member GrahamK's Avatar
    Join Date
    Jun 2009
    Location
    Ormiston - Brisbane
    Posts
    508
    Hi Sando,

    Not sure if you ever got a reply to your request for the timer changes?

    If not, I have attached a "Sando Special" default.rml file with a 60sec timer after "GO" and a 10sec countdown to Load as requested. It's based on my old V15 rml file, (since I changed Roasters my current RML file is quite different), with a few slight logging changes including the changes you have requested. I have added a few notes in the code to see where you can adjust the 60sec & 10sec timers later if needed.

    Note: It now calculates your Load Time and Load Temp based on the Alert prompt to Load the beans, rather than checking for "Load" being pressed. So you will need to load ASAP the Alert comes to ensure your logged timings & temps are accurate.

    Have fun

    GrahamK
    Attached Files Attached Files

  12. #62
    Member sando's Avatar
    Join Date
    Jul 2012
    Location
    Avalon NSW
    Posts
    82
    Hi GrahamK

    Thanks a million.
    Just did a quick trial and perfect.

    I always load at 60 sec, it just gives me that last minute (60 seconds) to check that all is OK before I dump the green beans.

    And the waittime gives the little netbook time to refresh the screen before saving the X.jpg file so I get the complete pic.

    Thanks again.
    cheers
    Sando

  13. #63
    Senior Member GrahamK's Avatar
    Join Date
    Jun 2009
    Location
    Ormiston - Brisbane
    Posts
    508
    Hi Sando,

    I have attached an improved version of your countdown default.rml program. The previous one I posted did not really do what it said on the side of the tin (i.e. the countdown was not really able to be changed by merely changing the values, and the code was a bit crude).

    It will now also take the info from the time the LOAD button was pushed provided you use it within 30secs after the countdown. So if you charge the beans a bit later than the end of the countdown, using the LOAD button will ensure the logging data is more correct.

    The attached one is more flexible if you wish to change the countdown values and the code is less crude and more efficient.

    GrahamK
    Attached Files Attached Files
    Last edited by GrahamK; 16th August 2013 at 10:24 AM.

  14. #64
    Member sando's Avatar
    Join Date
    Jul 2012
    Location
    Avalon NSW
    Posts
    82
    Improved version.

    Now even more PERFECT!!!

    Thanks GrahamK

    Much appreciated.
    Sando

  15. #65
    Senior Member
    Join Date
    Aug 2013
    Location
    Adelaide, South Australia, Australia
    Posts
    177
    is there any way in RML to replicate a button press?

    I am trying to get the App to automatically "Load" after the load timer has been reached in the above default RML file that GrahamK created.

    I had a look through the spec, and it doesn't look like it ? Am i missing something?

    Im assuming of course that i cant just assign a label to a specific time/plot like


    M1D_NOW = 'Load'

  16. #66
    Senior Member
    Join Date
    Aug 2013
    Location
    Adelaide, South Australia, Australia
    Posts
    177
    Uploading my modified versions of the bat run file and Grahams Defult RML file.

    Change notes below

    RoastMonitor.Bat
    REM Copyright 2007-2009 CoffeeSnobs.com.au
    REM V2 - Changed the format for folder creation, on windows 7, this was using the day name instead of date

    Default.rml
    Download RML file by clicking here -->>>default.rml
    # Default.rml file including:
    # Calculating and logging the difference between 1st & 2nd Crack (or 1st Crack & Unload), and Total Roast time since "Load".
    # Allows Bean, Roaster Program, Bean Origin & Bean Weight (defaulted to 250g if not set) to be set in the variables list
    # Auto saves files a set (Waitime) secs after Unload
    # Detects that Manual control has been assumed by the heat setting (Value 9) = >0 at Unload, otherwise defaults to auto
    # Automatically logs time between Start FC and Start SC and logs to file
    #
    # V15 09/09/2012 - Graham Kennedy
    # v16 - Added a placeholder for Roast Weight
    # V17 - Coundown added for Sando Countdown & Timeaftergo can be set but must be larger than Countdown by at least 2
    # V18 - Added code to auto comment in the file name used for saving the profile, also Removed AD from the profile name
    # - Added code to Use Dashes(-) instead of spaces in the profile file name.
    # - Made the countdown loop more dynamic, cleaned up code
    # - Added value for RTRoastNum, this is for people using RoasterThing, so that they can correlate ID's between to programs
    # - Added valued for TimesSinceFC/SC , this is for people calculating total time spent in FC and SC

    Code for the bat file (Cant upload bat)
    Code:
    REM Copyright 2007-2009 CoffeeSnobs.com.au
    REM V2 - Changed the format for folder creation, on windows 7, this was using the day name instead of date
    
    
    set d=%date:~-4,4%%date:~-7,2%%date:~4,2%
    set d=%d: =_%
    set t=%time:~0,2%%time:~3,2%
    set t=%t: =0%
    set dirname="profiles/%d%"
    
    
    REM creates directory under profiles/ with the date as the name
    mkdir %dirname%
    
    
    REM Runs Roast Monitor
    java -cp DataLogger.jar au.com.coffeesnobs.profiler.DataLogger
    
    
    REM checks to see if there is a log/csv file already
    If EXIST "profiles/%d%/RoastMonitorLog-%d%.log" goto :fileexists
    If NOT EXIST "profiles/%d%/RoastMonitorLog-%d%.log" goto :filenotexists
    
    
    REM adds current log to previous
    :fileexists
    type RoastMonitorLog.txt | findstr /v Starting | findstr /v Monitor | findstr /v Saved  >> profiles/%d%/RoastMonitorLog-%d%.log
    goto :finished
    
    
    REM adds headings. Removes unwanted lines from log. Renames and moves log to dated folder.
    :filenotexists
    @echo off
    echo New log file for date %d% > new.txt
    type RoastMonitorLog.txt | findstr /v Starting | findstr /v Monitor | findstr /v Saved  >> new.txt
    copy /y new.txt RoastMonitorLog-%d%.log
    del new.txt
    MOVE "RoastMonitorLog-%d%.log" "%dirname%/"
    goto :finished
    
    
    :finished
    del RoastMonitorLog.txt

  17. #67
    Senior Member GrahamK's Avatar
    Join Date
    Jun 2009
    Location
    Ormiston - Brisbane
    Posts
    508
    Quote Originally Posted by ggoosen View Post
    is there any way in RML to replicate a button press?

    I am trying to get the App to automatically "Load" after the load timer has been reached in the above default RML file that GrahamK created.

    I had a look through the spec, and it doesn't look like it ? Am i missing something?
    Hi ggoosen,

    There does not appear to be a command that enables you to write data directly into the "Event1" column directly from the RML code. Therefore for the updated v18 that I provided for Sando, I had to cater for "Load" not always appearing.

    Graham

  18. #68
    Senior Member
    Join Date
    Aug 2013
    Location
    Adelaide, South Australia, Australia
    Posts
    177
    Quote Originally Posted by GrahamK View Post
    Hi ggoosen,

    There does not appear to be a command that enables you to write data directly into the "Event1" column directly from the RML code. Therefore for the updated v18 that I provided for Sando, I had to cater for "Load" not always appearing.

    Graham
    Yeah thanks Graham. Is the source available for the DataLogger jar?

  19. #69
    Senior Member GrahamK's Avatar
    Join Date
    Jun 2009
    Location
    Ormiston - Brisbane
    Posts
    508
    Quote Originally Posted by ggoosen View Post
    Is the source available for the DataLogger jar?
    As far as I know, Andy commissions (and pays for) the code specifically for his own purposes, then makes it available for CS people to use, so I do not believe the source code is available to everyone, and assume the IP is retained by Andy and the developer. I imagine this also ensures it is properly controlled, as it could become a support nightmare for him if ended up having to answer queries and look into issues he was not responsible for.

    However having said that - I found Andy generally open to improvement suggestions, provided they are useful to everyone, and I imagine cost effective. But best to request via an email, if you want to ensure he give it attention, as he may not be following the forum posts all the time.

    GrahamK

  20. #70
    Senior Member
    Join Date
    Aug 2013
    Location
    Adelaide, South Australia, Australia
    Posts
    177
    !1
    Quote Originally Posted by GrahamK View Post
    As far as I know, Andy commissions (and pays for) the code specifically for his own purposes, then makes it available for CS people to use, so I do not believe the source code is available to everyone, and assume the IP is retained by Andy and the developer. I imagine this also ensures it is properly controlled, as it could become a support nightmare for him if ended up having to answer queries and look into issues he was not responsible for.

    However having said that - I found Andy generally open to improvement suggestions, provided they are useful to everyone, and I imagine cost effective. But best to request via an email, if you want to ensure he give it attention, as he may not be following the forum posts all the time.

    GrahamK
    That's completely fair and understandable.

    I was just wondering because sometimes a version is released to the community as open source.

    That's ok though, there isnt much I was going to ask for anyways as the program is very comprehensive and a great tool none the less.

    But it would be nice if we could input data into events, that would allow us to automate a few things. And affect how the templates are created
    Last edited by ggoosen; 9th September 2013 at 01:47 PM.

  21. #71
    Senior Member
    Join Date
    Aug 2013
    Location
    Adelaide, South Australia, Australia
    Posts
    177
    Anyone have an idea how we can do the mod function.

    I noticed that the times displayed in the logs are decimal, rather than time;

    To calculate time i need the decimal or mod to multiply out?

    so if i have 245.45 seconds, to work out time in seconds

    i multiply 245.45 / 60 = 4.0908
    then i say the whole value of 4.0908 = 4 so 4 x 60 = 240
    then i take the original number and minus the diff's so 245.45 - 240 = 5.45
    so the time in mins is 4:05s


    but of course RML doesn't have mod or % or similar, so the only way i can think of doing this is with IF statements, but that would be ALOT of if statements.

    Any hints/ideas/thoughts?

  22. #72
    Senior Member
    Join Date
    Jun 2013
    Location
    Brisbane,QLD
    Posts
    107
    Without knowing heaps about RML (but plenty about other languages), what you've done seems okay.

    Minutes = #totalseconds / 60 (this should be an integer operation and round down = good)

    Seconds = #totalseconds - (Minutes*60)

    Why need lots of IF statements?

  23. #73
    Senior Member
    Join Date
    Aug 2013
    Location
    Adelaide, South Australia, Australia
    Posts
    177
    Quote Originally Posted by nicovington View Post
    Without knowing heaps about RML (but plenty about other languages), what you've done seems okay.

    Minutes = #totalseconds / 60 (this should be an integer operation and round down = good)

    Seconds = #totalseconds - (Minutes*60)

    Why need lots of IF statements?
    Rml doesn't differentiate between decimal and integer. Ie the minutes calculation will give a decimal result.

  24. #74
    CoffeeSnobs Owner Andy's Avatar
    Join Date
    Mar 2004
    Location
    Internet
    Posts
    15,144
    Blog Entries
    1
    New features in V2.42 of RoastMonitorUSB:

    Prevent save dialog obscuring image
    On some slow machines the save dialog obscured the main window when saving a JPEG image


    RML: Add integer divide and remainder operators
    RML now provides operators for integer division and truncation (DIV) and remainder (MOD).


    RML: Add LABEL statement
    A LABEL statement annotates the graph with a message exactly as if it had been entered in the comments field of RoastMonitor.


    Version 2.42 is available for download now:
    USB Temperature Data Logger Thermocouple and RoastMonitorUSB software
    Geoff_L and GrahamK like this.

  25. #75
    Senior Member GrahamK's Avatar
    Join Date
    Jun 2009
    Location
    Ormiston - Brisbane
    Posts
    508
    Good one Andy - was circumventing the inability to log a comment, so this helped simplify some coding

    GrahamK

  26. #76
    CoffeeSnobs Owner Andy's Avatar
    Join Date
    Mar 2004
    Location
    Internet
    Posts
    15,144
    Blog Entries
    1
    The software developer mentioned you when he sent me that version... he thought you would like it.

    We have just released v2.44
    USB Temperature Data Logger Thermocouple and RoastMonitorUSB software

    Same features, this time in an installer package that will neatly install and will make future updates cleaner and easier too.


  27. #77
    Senior Member
    Join Date
    Aug 2013
    Location
    Adelaide, South Australia, Australia
    Posts
    177
    Quote Originally Posted by Andy View Post
    New features in V2.42 of RoastMonitorUSB:

    Prevent save dialog obscuring image
    On some slow machines the save dialog obscured the main window when saving a JPEG image


    RML: Add integer divide and remainder operators
    RML now provides operators for integer division and truncation (DIV) and remainder (MOD).


    RML: Add LABEL statement
    A LABEL statement annotates the graph with a message exactly as if it had been entered in the comments field of RoastMonitor.


    Version 2.42 is available for download now:
    USB Temperature Data Logger Thermocouple and RoastMonitorUSB software
    Sweet. Mod is available now.

    If only I could remember why I was trying to do a mod.

  28. #78
    Senior Member summercrema's Avatar
    Join Date
    Mar 2008
    Posts
    257
    I have started using an extra probe with the Data Logger software but I find the light grey color of the second curve is very hard to see on screen (it is the same color as the grid) is there a way of changing color of the second curve?

  29. #79
    Senior Member GrahamK's Avatar
    Join Date
    Jun 2009
    Location
    Ormiston - Brisbane
    Posts
    508
    You can change the colours in the Preferences file. Refer page 11 of the User Guide that is available for download. Note: I have not looked a this for a few years but doubt it has changed.

    e.g.
    Colour of the graph lines:
    You can modify the colours of each of the 9 possible live line graphs as well as the corresponding Template line graph to distinguish between them. The colour for each graph line can be stipulated using the RGB (Red, Green, Blue) colour model numeric representation. The colour is expressed as an RGB triplet (r,g,b), each component of which can vary from zero to a defined maximum value. If all the components are at zero (0,0,0) the result is black; if all are at maximum (255,255,255), the result is the brightest representable white.

    The 9 available graph triplets are separated by a space in the preference file
    e.g.
    graphColours=0,0,0 150,150,150 0,0,0 0,0,0 0,0,0 0,0,0 0,0,0 0,0,0 255,0,0
    In the default as shown above the live graph #1 is set to Black, and the live graph #2 is set to Grey, and live graph #9 is set to Red

    The Template graph colours can be set in a similar fashion
    e.g.
    templateColours=0,128,0 0,100,0 0,128,0 0,128,0 0,128,0 0,128,0 0,128,0 0,128,0 0,128,0
    In the default as shown above the template graph #2 is set to Dark Green, while all the remaining graphs are set to Lighter Green



    GrahamK
    Last edited by GrahamK; 27th October 2015 at 10:02 AM. Reason: add info

  30. #80
    Junior Member
    Join Date
    Jan 2016
    Posts
    28

    Cool Logging data, but how to control Corretto Roaster

    The heat snob arrived last week, and this weekend I set it up and did 4 roasts of Panama Elida Natural Process.
    The data logger worked brilliantly, extremely helpful for monitoring the roast.

    Now, I would like to use RML to control my heat gun.

    I did quite alot of searching, and found no information about controlling roasters from RML.

    I can get a USB controller to regular voltage to the heat gun, but how to make RML talk to the USB controller?

  31. #81
    CoffeeSnobs Owner Andy's Avatar
    Join Date
    Mar 2004
    Location
    Internet
    Posts
    15,144
    Blog Entries
    1
    Quote Originally Posted by gobears View Post
    The heat snob arrived last week, and this weekend I set it up and did 4 roasts of Panama Elida Natural Process.
    The data logger worked brilliantly, extremely helpful for monitoring the roast.
    Good stuff! I can't imagine roasting without them, they really show what's going on inside the roaster and that gives you much more consistent results and an early heads-up when things are going a little off track.

    Now, I would like to use RML to control my heat gun.

    I did quite alot of searching, and found no information about controlling roasters from RML.

    I can get a USB controller to regular voltage to the heat gun, but how to make RML talk to the USB controller?
    While RML has the ability of controlling a roaster we have not released it in the public version after receiving legal advice that we could never protect ourselves from user stupidity and the chance of an "oops" that resulted in litigious action is too big a risk.

    If we can find a way around this in the future we will release it but at the moment it's a "sorry, no".
    Welcome to the modern world where people are not responsible for their own actions!

    You can however get pretty close to the same result by using RML to give notifications of where you want the heat change or air change based on the time, temperature and rate of change. the only difference to having a self driving roaster is that you will still need to make the changes when it notifies you.

  32. #82
    Junior Member
    Join Date
    Jan 2016
    Posts
    28
    Quote Originally Posted by Andy View Post

    You can however get pretty close to the same result by using RML to give notifications of where you want the heat change or air change based on the time, temperature and rate of change. the only difference to having a self driving roaster is that you will still need to make the changes when it notifies you.
    Definitely can understand and sympathize with the potential legal entanglements.

    I am thinking to write a python script to pickup the outputs, and then drive a Variac through a USB port driver.

    However, I have not seen any 2000 Watt variacs which have a USB controller.
    Then, I was thinking to modify one, but could not even find any examples of that on-line.

    Do you happen to be aware of anybody who has such a setup and linked on the web?

  33. #83
    rrm
    rrm is offline
    Member
    Join Date
    Mar 2015
    Posts
    44
    Quote Originally Posted by gobears View Post
    Definitely can understand and sympathize with the potential legal entanglements.

    I am thinking to write a python script to pickup the outputs, and then drive a Variac through a USB port driver.

    However, I have not seen any 2000 Watt variacs which have a USB controller.
    Then, I was thinking to modify one, but could not even find any examples of that on-line.

    Do you happen to be aware of anybody who has such a setup and linked on the web?
    Why would yu use a variac these days. Motors, driver mosfets, feedback etc etc

    Surely the best option would a crydom "burst control" SSR with 0-10 volt proportional control input ?

    http://www.crydom.com/en/tech/newsle...ng%20types.pdf

    Pdf page 4 in this link.


    If you are cost sensitive you can achieve a similar result with a diac and triac combination. Interface is no issue with opto isolators with diac output being readily available and so are 4 and 8 amp triacs.

    After all, the device you are building is a voltage controlled light dimmer in principle.

    Edit: here is a kit
    http://www.apogeekits.com/advanced-e...mmer-k8064.htm

    However you would need to upgrade the triac and heat sinking for a 2kw application.

    But the basics are there and cheap.

  34. #84
    CoffeeSnobs Owner Andy's Avatar
    Join Date
    Mar 2004
    Location
    Internet
    Posts
    15,144
    Blog Entries
    1
    If I was interfacing Roast Monitor to control something I would use OUSB "Open USB IO" board:
    https://interestingbytes.wordpress.com/hello/order-it/
    It has the flexibility to drive just about anything from USB.

  35. #85
    Mal Dimal's Avatar
    Join Date
    Oct 2004
    Location
    Warwick, QLD
    Posts
    15,137
    If I was interfacing Roast Monitor to control something I would use OUSB "Open USB IO" board:
    https://interestingbytes.wordpress.com/hello/order-it/
    It has the flexibility to drive just about anything from USB.
    Looked at this a couple of years ago and very impressed with its flexibility...

    Mal.

  36. #86
    Junior Member
    Join Date
    Jan 2016
    Posts
    28
    Quote Originally Posted by Andy View Post
    If I was interfacing Roast Monitor to control something I would use OUSB "Open USB IO" board:
    https://interestingbytes.wordpress.com/hello/order-it/
    It has the flexibility to drive just about anything from USB.
    This looks really cool, I am going to look into it.
    Thank You!

  37. #87
    Senior Member
    Join Date
    May 2010
    Posts
    122
    Not sure if this is the right place to post but, is it possible to change the scale of the roasting graph? I have no current need for 30 min roasts so would like to stretch the scale out to show 0-20 mins - is this possible??

  38. #88
    Super Moderator Javaphile's Avatar
    Join Date
    Dec 2004
    Location
    Earth!
    Posts
    13,682
    Quote Originally Posted by prloring View Post
    Not sure if this is the right place to post but, is it possible to change the scale of the roasting graph? I have no current need for 30 min roasts so would like to stretch the scale out to show 0-20 mins - is this possible??
    As with virtually every thing else you can adjust the duration period in the Preferences.txt file in the root of the roast monitor directory.


    Java "txt what?" phile
    Toys! I must have new toys!!!

  39. #89
    Senior Member
    Join Date
    May 2010
    Posts
    122
    Cool, found it.
    Thank you Java "is there anything this guy doesn't know?" phile

  40. #90
    Junior Member CoffeeInZA's Avatar
    Join Date
    May 2015
    Location
    ZA
    Posts
    24
    Hi guys,

    Quick one..... I'm hitting first crack at 200 degrees. How do I change the code to offset that to show 4 degrees cooler?

    Thanks

  41. #91
    Super Moderator Javaphile's Avatar
    Join Date
    Dec 2004
    Location
    Earth!
    Posts
    13,682
    Quote Originally Posted by CoffeeInZA View Post
    Hi guys,

    Quick one..... I'm hitting first crack at 200 degrees. How do I change the code to offset that to show 4 degrees cooler?

    Thanks
    Change the last line in the preferences.txt file.

    Change it from:

    meterAdjustAdds=0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0

    To:

    meterAdjustAdds=-4.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0



    Java "Mod what?" phile
    Andy and DesigningByCoffee like this.
    Toys! I must have new toys!!!

  42. #92
    Junior Member CoffeeInZA's Avatar
    Join Date
    May 2015
    Location
    ZA
    Posts
    24
    Thanks Java "clever" phile!

  43. #93
    Junior Member CoffeeInZA's Avatar
    Join Date
    May 2015
    Location
    ZA
    Posts
    24
    This seems to make my readings 4 degrees HOTTER. Did I do it wrong? I changed it to "-4" and has seemed to have done the trick.

  44. #94
    Super Moderator Javaphile's Avatar
    Join Date
    Dec 2004
    Location
    Earth!
    Posts
    13,682
    If you look at my post I told you to change it to -4 not 4, so yes, that will do the trick!


    Java "Read what?" phile
    Toys! I must have new toys!!!

  45. #95
    Junior Member CoffeeInZA's Avatar
    Join Date
    May 2015
    Location
    ZA
    Posts
    24
    Behmor Coffee Roaster
    Well it looks like we both learnt something important today...

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Roast monitor software - different data logger
    By Rigman40 in forum Home Roasting - Tips, Tricks, Ideas
    Replies: 2
    Last Post: 8th November 2012, 02:16 PM
  2. USB Data Temperature Logger !
    By Anja_Schuhmann in forum Home Roasting - Tips, Tricks, Ideas
    Replies: 1
    Last Post: 24th February 2010, 09:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •