Who is here? 1 guest(s)
 Print Thread
TC4 with RoastLogger
Bhante
I was trying to import a log file from pBourbon as a template for Roastlogger, but had no success getting around the format differences. RoastLogger stores the time as mm:ss, but excel seems to think it is hh:mm; wheras pBourbon stores the time as decimal seconds - should be easier to manipulate in theory, but when I try to change the format in excel 2003 all I get is garbage! All the values are 00:00 (or 00:00.0 if I select mm:ss.s) except values with a rounding error which show as 01:26 - irrespective of the actual values!
 
smico
If you need help with Excel macro to do conversion I can help out, just send me the souce file. I do that sort of thing every day at work.
Miroslav
Hottop B2 + HTC, Cremina 83, OE Pharos, Brewtus IIIR, Baratza Vario
 
JimG
In theory, fan PWM frequencies above around 2kHz begin to loose some accuracy when the new interface board is installed. This is the result of two things:

1) the microprocessor on the interface board is running at only 8MHz and the main loop time is a bit too long to grab multiple samples for high PWM frequencies.

2) the opto's have a finite rise time that places an upper limit on the frequencies available.

High frequencies (i.e. 8kHz) still work, but you don't get 25% power when you ask for 25% power, for example. Instead, you might get 60% duty cycle being delivered to the fan.

The noise from the fan at lower duty cycles is barely perceptible on my roaster at 61Hz, but clearly this varies from roaster to roaster. The interface board includes a small capacitor on the fan output signal that lessens the noise, BTW.

Jim
 
smico
Thanks for the clarification Jim. It was quite noisy on my machine, but will try it again.
Hottop B2 + HTC, Cremina 83, OE Pharos, Brewtus IIIR, Baratza Vario
 
Bhante

Quote

JimG wrote:

In theory, fan PWM frequencies above around 2kHz begin to loose some accuracy when the new interface board is installed.

Ah, I was wondering why you selected such a slow PWM frequency. That is a major advantage of with my simple interface, because it is just a resistor and an opto. In fact, I can run it at 50 kHz without the slightest problems, and the duty rate is still unchanged (noise level is not optimal though at high frequencies). Your capacitor would presumably have an effect on the response at higher frequencies though. I don't need the capacitor because I just use the digital signals on the hottop.

At 61 Hz the grating noise on my hottop is really unbearable, but at 3.9/7.8 kHz it is virtually the same as in the OEM state.

Bhante
 
smico

Quote

Bhante wrote:

I was trying to import a log file from pBourbon as a template for Roastlogger, but had no success getting around the format differences. RoastLogger stores the time as mm:ss, but excel seems to think it is hh:mm; wheras pBourbon stores the time as decimal seconds - should be easier to manipulate in theory, but when I try to change the format in excel 2003 all I get is garbage! All the values are 00:00 (or 00:00.0 if I select mm:ss.s) except values with a rounding error which show as 01:26 - irrespective of the actual values!

I wrote Excel macro to convert pBourbon log file into Roast Logger log and action file for Bhante. Code is attached here.
You simply add the class in Excel, and run it on PBourbon log, and you will get tab in Roast Logger format, with actions saved at the end of log.
Save the tab in CSV format, load it as template in RoastLogger. Load action table from template in Arduino window...

If you have any questions, or need it to run on many files, please let me know.

Cheers,
Miroslav
smico attached the following file:
pbourbon2roastlogger.zip [2.64kB / 743 Downloads]

Edited by smico on 09/01/2012 3:50 PM
Hottop B2 + HTC, Cremina 83, OE Pharos, Brewtus IIIR, Baratza Vario
 
az erik

Quote

JimG wrote:

Hi, Allen -

Yes you can manually control the heater (and fan if desired) output and display (numeric values) RoR at the same time.

However, RoR is not displayed graphically. But the numeric values of both BT-RoR and ET-RoR are displayed on the RoastLogger screens.

In addition, when using the RoastLoggerTC4 firmware on a TC4 system that includes an LCDapterC you can perform heater control from the 4-button interface and view BT-RoR even if not connected to a computer running RoastLogger.

Jim


Is there a way to pipe the ROR out to the log? and possibly graph after the fact? Is it a graph limitation of RL or wasn't really a requested feature?

I'd love to have a ROR graph to fall back on (my guess would be it would be a pretty good indicator of roaster maint req)
 
JimG

Quote

az erik wrote:

Is there a way to pipe the ROR out to the log? and possibly graph after the fact? Is it a graph limitation of RL or wasn't really a requested feature?

I'd love to have a ROR graph to fall back on (my guess would be it would be a pretty good indicator of roaster maint req)


Tom and I discussed this a little while back. IIRC, Tom said plotting RoR wasn't a high priority among RoastLogger users. The numerical display in the lower right and lower left corners, however, does provide running values for RoR.

Jim
 
JimG
A quick note to announce that minor improvements have been made to the HTC + TC4C combination. (I have held off on making these same improvements to the HTShield, however, because the demand for the shield version of the HTRI device has been very low).

Changes to the HTC (compared to the original as shown in Randy's user guide):

1. All resistors and capacitors are now surface mount.

2. LED2 (heater indicator) now uses a 2-pin polarized JST connector.

3. The short 4-wire cable connecting the TC4C and the HTC has been eliminated. All electrical contacts are now made through mating male/female headers when the boards are stacked. This is a much cleaner and more reliable configuration.

For those who would prefer to mount the HTRI system outside their Hottop, I now have the materials needed to build custom length Hottop cables to replace the short-ish OEM 8-wire cables. So if the only thing holding you back is not wanting to mount the new electronics inside the roaster, these longer cables would do the trick.

Jim
 
Barrie
Jim,
I am switching from GC to Hottop (to better hear the cracks), and have been looking for a single-source 101 doc that might explain the basics of logging/controlling. If you know of such a thing, could you please point me to it? That said, I have waded through the record of your adventures to date and it is great stuff! One or two questions.
1. Is the combined logger/controller package still available? From where?
2. Does it come with the appropriate DIY instructions?
3. Does it all fit inside a Hottop?
4. Can any idiot such as me install it? You may not want to answer that one, or any of the others for that matter. Grin
Barrie (San Diego, CA)
"So much to learn, so little time."
Hottop 2K+., Artisan, Jura Capresso ENA 3 (i.e. espresso).
 
JimG

Quote

Barrie wrote:
I am switching from GC to Hottop (to better hear the cracks), and have been looking for a single-source 101 doc that might explain the basics of logging/controlling. If you know of such a thing, could you please point me to it?


Unfortunately, probably nothing that is truly single source. I would point you first to Randy G's user guide for the HTRI system (the HTC is a member of the HTRI family):
http://www.mlgp-l...e-v100.pdf


There is also some info on the hardware side here:
http://www.mlgp-l...index.html

Tom Coxon's (a.k.a. greenbean) RoastLogger software, which works very well with the HTRI system, is well-described here:
http://homepage.n...logger.htm


Quote

Barrie wrote:
That said, I have waded through the record of your adventures to date and it is great stuff! One or two questions.
1. Is the combined logger/controller package still available? From where?
2. Does it come with the appropriate DIY instructions?
3. Does it all fit inside a Hottop?
4. Can any idiot such as me install it? You may not want to answer that one, or any of the others for that matter. Grin


1. Yes, the combined TC4C + HTC is available:
http://www.mlgp-l...index.html

2. In the package is only the hardware. Instructions are in the form of Randy's user guide PDF for the HTRI (see link above), plus a similar guide Randy wrote for the RoastLogger program:
http://homepage.n...Manual.pdf

3. Yes, it can all fit inside the Hottop. It can also be mounted externally, or a little bit internal and a little bit external. Generally, I think most people take the "all internal" approach.

4. I'm going to take the 5th on this one ;-) But I think reading through the PDF's I linked will help you decide.

Jim
 
ginny

Quote

4. Can any idiot such as me install it? You may not want to answer that one, or any of the others for that matter.


I think you have a ton-o-information here Barrie. Try it out and see...

ginny
 
MaKoMo
Barrie,

I just implanted a TC4C/HTRI into my Hottop P and I am still amazed about that whole package. It was really easy, including the scary drilling. Jim and the others did an excellent job to make this as simple as possible. I actually wanted to contribute my part to this "project" by adding a better support for the HTRI to Artisan. Therefore, I asked Jim to send me the hardware over to be able to test my code. Again a big thank to Jim for all of his support here.

Because I was slow in finding the time to implanting the Hardware into my Hottop, the software part was ready already way before (thanks for testing Brad!). The latest beta versions of Artisan v0.6 now feature sliders that can be configured to control the fan and heater of an HTRI enhanced Hottop, a feature that RoastLogger has already for a while (here Artisan is the copy-cat). In Artisan some configuration work is needed, while RoastLogger works out-of the box with the HTRI. This is the consequence of the flexible "Artisan" approach of Artisan and won't improve. However, I documented those configuration steps in a post on the Artisan blog http://artisan-ro...ottop.html.

The Hardware mod was quite easy. I followed GreenBeans suggestion to use the Omega XCIB-K-3-5-3 thermocouples and am very happy with this decision. See his post on TMC at http://www.toomuc...;start=225. Find attached a pic of the result. I did not take pics from the internals as they are mostly the same as those on the TMC post above.

Again copying the RoastLogger approach to automate roasts I extended the alarm feature of Artisan considerable allowing to send control commands automatically based on events, time and temperatures to the Hottop. This is described in another Artisan blog post http://artisan-ro...larms.html.

My next steps will be to take a look at Brads modified aArtisanQ_PID HTRI firmware and see how best to achieve full automation using Artisan and the HTRI setup. That might lead to some further development of Artisan...

PS: The whole TC4C/HTRI project would deserve a post on the Arduino blog!
MaKoMo attached the following image:
htri.jpg
 
Barrie
This is just great! Thank you all SO much, especially you, Jim, for taking the time to lay out the road map for reading. I understand your taking the 5th on the last question; it was posed somewhat tongue-in-cheek. Roflmao
Barrie (San Diego, CA)
"So much to learn, so little time."
Hottop 2K+., Artisan, Jura Capresso ENA 3 (i.e. espresso).
 
Barrie
I have a new HT on the way and, having read Randy Glass's Users' Guide, I think I can do this, and can hardly wait! On the other hand, prudence says "Wait until the warranty runs out." Good grief. What to do! What to do! Not a question, really. Just the sounds of inner battle. BBQ grill
Barrie (San Diego, CA)
"So much to learn, so little time."
Hottop 2K+., Artisan, Jura Capresso ENA 3 (i.e. espresso).
 
leo-bsb
Hi all, this is my first post after reading a lot.
At the current stage of development, can Roastlogger together with TC4C monitor and control using SSR the heat from temperature readings using thermocouples on my modded oven?
I am modding a brazilian made electric oven, adding a Behmor drum and extra heating source. I was planning to use a regular PID but the idea of replicate a roasting curve is very tempting.
 
allenb
Leo,

Sorry for the lack of reply. Somehow this post got lost.

Yes, Roastlogger with TC4C along with a PC or laptop can control your roast via SSR to heating element and by using the "event buttons" it can steer the roast through a profile by applying different power levels at selected bean or environment temperatures throughout the roast. This is a very effective means of reproducing a profile.

FYI, the TC4C is not currently in production and JimG won't be taking orders for any of the TC4 products for the near future but one of our members is selling the raw components for the TC4 shield on Ebay. Just google TC4 and Ebay and you should be able to find him.

Allen
1/2 lb and 1 lb drum, Siemens Sirocco fluidbed, presspot, chemex, cajun biggin brewer from the backwoods of Louisiana
 
allenb
I?m trying to get used to pushing the up/down buttons for changing % power level on my TC4C Lcdapter with Roastlogger but I?m more of a ?turn the dial? guy which to me is much quicker and easier. I?m using the Roastlogger/TC4C in standalone mode.

How difficult would it be to utilize a quadrature rotary encoder in place of the two up/down buttons?

http://docs-europ...7a2224.pdf

Might there be an existing arduino sketch that could be copied/pasted into the Roastlogger sketch and just ?comment out? the code dealing with the up/down buttons?

One more irritating thing I?m finding in Roastlogger is having to hit the far left button first to allow selecting yes/no for resetting the timer. There should be a way to just hit a single button for resetting the timer to zero. Any ideas on changes to allow this to happen if I add an additional push button off to the side?

Allen
1/2 lb and 1 lb drum, Siemens Sirocco fluidbed, presspot, chemex, cajun biggin brewer from the backwoods of Louisiana
 
rustic_roaster
Acataui allows regular pots to be used control the fan and heat outputs. With a little work that idea could be ported to RoastLogger.

I am guessing the two step process for resetting the timer is to prevent a person from accidentally resetting the timer. As it is a program it is possible to make it work with a single action or adding another dedicated switch. If you used pots for control and dont use the other buttons then not having a two step process to reset the time is probable less accident prone.
Edited by JackH on 06/11/2016 2:03 PM
 
rustic_roaster

Quote

allenb wrote:

One more irritating thing I?m finding in Roastlogger is having to hit the far left button first to allow selecting yes/no for resetting the timer. There should be a way to just hit a single button for resetting the timer to zero. Any ideas on changes to allow this to happen if I add an additional push button off to the side?

Allen

Might be cleaner ways to do this, but this is an easy way to get one button timer reset.

find the void HIDbase:: doButtons() function in the basicHID.cpp file.

make the confirm_reset_state case code look like this


      case confirm_reset_state :
//      if( keyPressed( BTN_UP ) && keyChanged( BTN_UP ) ) { // Y)es key
        dTime = true;
        ledFlash( LED_3 );
        HIDstate = running_state;
        statusLCD = ALL_FIELDS;
/*      }
      else if( keyPressed( BTN_DOWN ) && keyChanged( BTN_DOWN ) ) { // N)o key
        ledFlash( LED_3 );
        HIDstate = running_state;
        statusLCD = ALL_FIELDS;
      }
      */
      break;
 
allenb
I hadn't ever really examined Acataui for what it was capable of doing. I'm glad you mentioned it and that it can accept rotary pots for adjusting heater and fan output levels. Something very useful to me is it's set up for phase angle output for controlling an ac fan since I've got a dayton shaded pole fan motor.

It might be much simpler for me just to switch from Roastlogger to Acataui which would take care of all my issues especially since I'm going to be manually controlling my gas fired drum roaster. One thing that was a little confusing was in newer rev's of Acataui Jim describes the control of the heater as "integral cycle control" which is also commonly called burst fire control. The previous versions described the heater output as pwm with a 1 second time base but it appears that when the TC4 outputs a duty cycle output to an SSR it is in reality doing the same thing as what a integral cycle controller is doing.

Thanks for showing a work around for the timer reset button issue in Roastlogger!

Allen
Edited by allenb on 09/15/2013 9:54 AM
1/2 lb and 1 lb drum, Siemens Sirocco fluidbed, presspot, chemex, cajun biggin brewer from the backwoods of Louisiana
 
Vigor
Contact scgadgets on ebay. I had a special request and he is customizing the code for me.

I think a dial would be a good option. I'm planning to use two fixed pots to adjust heat and adjust the fan. I like to feel a knob turn too
 
leo-bsb
Hi guys,

Since the TC4C is not available anymore I am trying to find a cheap and reliable alternative.

My objective was to buy an Arduino Uno and the minimum parts needed to control a modified oven to roast my Coffee.

I choose to modify the TC4C Roastlogger sketch and libraries and use these parts from DX.com and Ebay:

Arduino (any Uno compatible):
http://dx.com/p/m...ack-202588

Max31855 + thermocouple.
I bought other but this one will work:
http://www.ebay.c...4d1255d0dc

SSR DC-AC 25A

16*2 LCD with buttons
http://dx.com/p/l...602-118059

Total cost is around $ 43.00. You may also want to buy some jumper cables or a Bluetooth adapter.

Right now we already modified the TC4C Roastlogger code to use the LCD library, new buttons and added the max31855 library.

I need some help to understand and modify the rest of the code to substitute the formulas addressed to the TC4C thermocouple with the max31855. Also I need to know if it is ok to use the 16MHzPWM library with an UNO and delete the EEProm library.

Any help will be appreciated.

https://docs.goog...M5bnc/edit
Edited by JackH on 09/16/2013 1:03 PM
 
Vigor
leo-bsb, the TC4 coupled with a Arduino UNO is as reliable as the TC4C. That is what I would do. The TC4 is being sold on ebay. i just got mine today and will build it tomorrow.
 
leo-bsb

Quote

Vigor wrote:

leo-bsb, the TC4 coupled with a Arduino UNO is as reliable as the TC4C. That is what I would do. The TC4 is being sold on ebay. i just got mine today and will build it tomorrow.


I didn't know that the shield was on ebay.
I tried to buy the TC4C from Jim and it was a no go.

Now the shield for $159.00???? That is another good reason to adapt the code for a more pure arduino version.
 
Jump to Forum: