topbanner.gif
Login
Username

Password




Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Shoutbox
You must login to post a message.

renatoa
11/24/2022 8:17 AM
Trick or... crack... er... Grin

allenb
11/24/2022 8:12 AM
Happy Thanksgiving to all

renatoa
11/23/2022 3:28 AM
Birdman and dpineau coffee drink

allenb
11/21/2022 5:46 PM
lig76ct Welcome

Rich Saurman
11/21/2022 5:22 PM
Hi! New member starting with SR540. I am brand new and slowly getting better results with this roaster. I am interested in any roasting pointers.

In Memory Of Ginny
Donations

Latest Donations
dmccallum - 10.00
JackH - 25.00
snwcmpr - 10.00
Anonymous - 2.00
Anonymous - 5.00
Users Online
Guests Online: 18

Members Online: 0

Total Members: 7,717
Newest Member: dpineau

View Thread

Who is here? 1 guest(s)
 Print Thread
TC4 - Bourbon application software
JimG
Sounds like you've figured out the problem. Glad to hear it.

The only other thing I will mention is that I have found the LCDapter (I2C interface to an LCD panel) seems to be a little sensitive to noise (fluctuations in Vcc, I think). If your system acts up again, you might temporarily disable the LCD and see if that makes a difference?

The LCD display I am using on my espresso machine was flaking out once in a while when I switched the pump off. I put a suppressor diode across mains right at the connection to my Arduino's 9V switching power supply, and that has fixed it so far.

Jim
 
UNM
Tried with a Windoze XP netbook and processing 1.2.1. All good and did a dummy test roast (more hangs as the cable from Arduino -> LCD passed under the netbook case. It seems really prone to interference.
Rerouted cable and managed a roast of Harrar with no problems and saved log/graphs.

Will sort out the Ubuntu problems separately.
Next step is to fit plugs/sockets for the thermocouples (so I can easily move the arduino for testing/programming) and add in arduino control of roaster heat/fan.

Bourbon all seems to work fine for now, much easier than pencil and notepad.
 
JimG
Thanks to LoftyNotions, a new installation/user guide for the Bourbon application is available. I uploaded Larry's file to the project googlecode site today. You may view and download it here:
http://code.googl...bon%2Fdocs

Thanks, Larry!

Jim
 
greencardigan
Hi Jim,
I've just downloaded the latest version of Bourbon (2.3a) and it doesn't seem to have any info regarding the changes made since version 2.2.

I'm thinking of adding some PIC algorithms to pBourbon. Do you think that's a worthwhile endeavor?

Brad
 
JimG
Hi, Brad -

Version 2.2 is the latest version of pBourbon. Following are the release notes for that version:


Version 2.20
------------
The program will look for files with these names, and
if found, open them:

"profile.csv":  A guide profile in default F units
"logfile.csv":  A saved log file in default F units

If the config file has put the program in C units, then it will
look for, and open if found, these files:

"profile_c.csv"
"logfile_c.csv"

The guide profile and saved log files are optional.

pBourbon will log up to two output levels (e.g. for a heater or for a fan). 
It will plot only the first output level, however. If pBourbon finds values in
the serial stream following the temperature data, then it will process them. 
If there is no additional data following the temperature data, then no errors will be
generated and no output trace will show up.



What kind of PIC features do you have in mind?

Jim
 
greencardigan
Hi Jim,

Sorry, bad typo. I meant to say PID algorithms.

I downloaded Bourbon-REL-230a.zip and assumed it was version 2.3.
 
ciel-007
Jim, thank you for this valuable update - that's much appreciated!

Might you have a tentative release date for the new interface board that would enable me to attach the Arduino/TC4 to a HotTop ?P?, and to contol it with RoastLogger please? Cheers, Ciel


--------------------------------------------------------------------------------
Ciel... seeking Heaven in my cup with ................................................................................................................. EXPOBAR Brewtus II - MAZZER Mini E - MAHLK?NIG Vario - GeneCafe - RAF-1 Extreme (Modified B-2 HOTTOP) - BellaTaiwan XJ-101
 
JimG

Quote

greencardigan wrote:I downloaded Bourbon-REL-230a.zip and assumed it was version 2.3.

I can't believe you fell for that one, Brad. It's the oldest trick in the book!

Jim
 
JimG

Quote

ciel-007 wrote:Might you have a tentative release date for the new interface board that would enable me to attach the Arduino/TC4 to a HotTop ?P?, and to contol it with RoastLogger please?

It is very close, probably less than 2 weeks. Controlling Hottops with D and B panels has been working correctly for many weeks. But the P panel presented some very odd wrinkles. With an awful lot of work by GreenBean everything has now been ironed out for the P.

Jim
 
ciel-007
Thanks Jim.

BTW, are you referring to THE GreenBean (UK) who did pioneering work using Roast Logger, USB and a WebCam on his HotTop?
Ciel... seeking Heaven in my cup with ................................................................................................................. EXPOBAR Brewtus II - MAZZER Mini E - MAHLK?NIG Vario - GeneCafe - RAF-1 Extreme (Modified B-2 HOTTOP) - BellaTaiwan XJ-101
 
JimG

Quote

ciel-007 wrote:.

BTW, are you referring to THE GreenBean (UK) who did pioneering work using Roast Logger, USB and a WebCam on his HotTop?

That's the one!

Jim
 
ciel-007

Quote

JimG wrote:

That's the one!

Jim


cool!
Ciel... seeking Heaven in my cup with ................................................................................................................. EXPOBAR Brewtus II - MAZZER Mini E - MAHLK?NIG Vario - GeneCafe - RAF-1 Extreme (Modified B-2 HOTTOP) - BellaTaiwan XJ-101
 
Bhante

Quote

JimG wrote:

Quote

ciel-007 wrote:Might you have a tentative release date for the new interface board that would enable me to attach the Arduino/TC4 to a HotTop ?P?, and to contol it with RoastLogger please?

It is very close, probably less than 2 weeks. Controlling Hottops with D and B panels has been working correctly for many weeks. But the P panel presented some very odd wrinkles.

Jim, I am puzzled why you want to use an external SSR and darlingtons etc for switching on the Hottop when the Hottop has all the necessary switching built into the mainboard for heater and fan, and (on all models!!) a logic-level cable coming from the control panel to the mainboard. By simply tapping into the logic-level cable and controlling the logic levels externally you can control whatever you like on all models of the Hottop, as I showed here:

http://forum.homeroasters.org/forum/viewthread.php?thread_id=2303

As far as I am aware, this should work with the analog, D, B and P models. It is the simplest possible solution, and can in principle also be used with many other roasters that use digital control. All you need are a couple of optos and a couple of resistors. If you add a few extra optos you could also control eject, drum etc externally. What am I missing?

Bhante
 
JimG
Bhante -

You are not missing anything!

The interface board uses a very similar approach as you posted. Tom (aka GreenBean) had also built a similar board to your's.

The new interface board adds a few wrinkles, though. Firstly, it will support both the D model's direct logic (i.e. 5V = ON), or the inverted logic of the B and P boards (5V = OFF).

Secondly, it has a microprocessor on board that monitors the state of the roaster to avoid applying heat at inappropriate times (like when the drum is not turning or when the beans have been ejected).

There are many other safeguards built into the firmware on the interface board as well.

Jim

PS - for those waiting for release of the board, please bear with me as I have taken a couple of weeks off for our annual Colorado vacation.
 
jedovaty
I use and enjoy Bourbon application after trying to get the others to load in my tc4 setup - it is simple and works on my aged laptop (ibm thinkpad x31).

I made a small tweak to have the timer appear to reset to zero when you press "B" to indicate start of roast; I have been using it now for a few weeks, seems to be working. It doesn't make changes to the csv files. Attached zipfile with diff as well as the modified processing file. See attached picture (note, three temp readings and fan voltage are not included, Jim and Bill helped me out quite a bit with those, thank you both!!).

Hope others find this helpful!
jedovaty attached the following file:
bourbon_time_changes.zip [8.25kB / 661 Downloads]
jedovaty attached the following image:
roast201209161808-amaro_gayo.jpg
 
alexH
Jim et al, I am getting java.lang.nullpointerexeptions when i click on the bourbon logging window. I am running the 32bit processing on a 64bit windows 7 machine.

java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
 
JimG
Alex -

Those errors suggest to me that Processing is not successfully finding the COM port assigned to your Arduino (or TC4C).

Try downloading/running this little Processing sketch. It will list for you the ports that it "sees":
http://tc4-shield...EL-100.zip

Jim
 
alexH
Jim.

That sketch tells me that it sees COM1 and 3. I set pbourbon.cfg com default to COM3because the arduino program and devmgr tell me that is its port.

Clicking still produces no graph and i get debug output as follows


logs/roast201209261206.csv
The file "profile.csv" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "logfile.csv" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
COM Port: COM3
Baudrate: 57600
Fahrenheit or Celsius: Fahrenheit

Initializing COM port. Please stand by....
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
COM3 comport opened.
comport clear()'ed.

Synchronising with remote:
0 reset(s) required.


Greatly appreciate your help as always.
 
alexH
I unplugged and reconnected the uno+tc4 unit and a click now produces


Synchronising with remote:
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at processing.serial.Serial.write(Unknown Source)
at processing.serial.Serial.write(Unknown Source)
at pBourbon.resetRemote(pBourbon.java:726)
at pBourbon.mouseClicked(pBourbon.java:738)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2440)
at processing.core.PApplet.dequeueMouseEvents(PApplet.java:2373)
at processing.core.PApplet.handleDraw(PApplet.java:2139)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
0 reset(s) required.
 
alexH
I got it working on my xp laptop, which is what I use for roasting anyway.
 
JimG
There are some changes in newer versions of Processing that cause problems with the pBourbon application. If you continue to have problems, try downloading and using Processing 1.2.1.

Jim
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
How can I utilize the macro keyboard in SoftwareArtisan Software? Building a Coffee Roaster 12 10/31/2022 6:44 AM
software/circuit designer wanted for new roaster Building a Coffee Roaster 3 03/22/2022 12:49 PM
ADR Software Sonofresco to Mac New Members say hello or you may update your profile. 1 03/16/2022 7:07 PM
Can't Find Roastlogger Software ROASTING SOFTWARE APPS 3 06/21/2020 1:45 PM
Update my old TC4 with latest software version Dataloggers/Controllers/Rate of Rise Meters 17 03/13/2018 6:52 PM
Homeroasters Association Logo, and all Content, Images, and Icons © 2005-2016 Homeroasters Association - Logos are the property of their respective owners.
Powered by PHP-Fusion Copyright © 2022 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman