Skywalker roaster... | [386] |
Skywalker Roasts | [102] |
War on Farmers by... | [53] |
Using a TC4 with ... | [41] |
TC4 - Bourbon application software
|
|
JimG |
Posted on 10/16/2011 11:33 AM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
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 |
Posted on 10/23/2011 3:19 AM
|
Newbie Posts: 16 Joined: September 11, 2011 |
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 |
Posted on 02/02/2012 8:13 AM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
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 |
Posted on 07/11/2012 5:23 AM
|
1 1/2 Pounder Posts: 1185 Joined: November 21, 2010 |
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 |
Posted on 07/11/2012 6:38 AM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
Hi, Brad - Version 2.2 is the latest version of pBourbon. Following are the release notes for that version: Code Download source Version 2.20 What kind of PIC features do you have in mind? Jim |
|
|
greencardigan |
Posted on 07/11/2012 7:27 AM
|
1 1/2 Pounder Posts: 1185 Joined: November 21, 2010 |
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 |
Posted on 07/11/2012 11:17 AM
|
1 1/2 Pounder Posts: 651 Joined: April 03, 2012 |
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 |
Posted on 07/12/2012 7:31 AM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
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 |
Posted on 07/12/2012 7:37 AM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
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 |
Posted on 07/12/2012 9:28 AM
|
1 1/2 Pounder Posts: 651 Joined: April 03, 2012 |
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 |
Posted on 07/12/2012 10:53 PM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
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 |
Posted on 07/13/2012 8:24 AM
|
1 1/2 Pounder Posts: 651 Joined: April 03, 2012 |
Quote 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 |
Posted on 08/22/2012 4:29 PM
|
1/2 Pounder Posts: 228 Joined: February 13, 2011 |
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 |
Posted on 08/22/2012 5:34 PM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
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 |
Posted on 09/17/2012 12:33 AM
|
1/2 Pounder Posts: 225 Joined: October 31, 2011 |
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:
jedovaty attached the following image:
|
|
|
alexH |
Posted on 09/26/2012 9:07 AM
|
Newbie Posts: 11 Joined: January 27, 2012 |
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 |
Posted on 09/26/2012 9:55 AM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
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 |
Posted on 09/26/2012 11:09 AM
|
Newbie Posts: 11 Joined: January 27, 2012 |
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 |
Posted on 09/26/2012 11:16 AM
|
Newbie Posts: 11 Joined: January 27, 2012 |
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 |
Posted on 09/26/2012 2:38 PM
|
Newbie Posts: 11 Joined: January 27, 2012 |
I got it working on my xp laptop, which is what I use for roasting anyway. |
|
|
JimG |
Posted on 09/27/2012 7:21 AM
|
1 1/2 Pounder Posts: 834 Joined: October 23, 2008 |
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: |