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
09/29/2023 2:05 AM
makonisroast, davidholusa82 and alannguyen, coffee drink ?

renatoa
09/28/2023 2:19 AM
welcome to forum cenglish3, Jacky Wang and RiverRoastCoffee

renatoa
09/26/2023 1:19 PM
Welcome, Oana !

renatoa
09/25/2023 1:36 AM
Clintm87, welcome cup

renatoa
09/24/2023 1:28 AM
pouring, InspiredRoastR

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: 7

Members Online: 0

Total Members: 7,952
Newest Member: makonisroast

View Thread

Who is here? 1 guest(s)
 Print Thread
Artisan roasting app -- support for TC4 added!
MaKoMo
Hi all,

just found this thread/post just by accident. I am one of the Artisan developer (but not responsible for the TC4 code). I took a look at the line numbers reported.


command = "READ\n"               
self.SP.write(command)
t0, t1, t2 = self.SP.readline().rsplit(',')  #t0 = ambient; t1 = ET; t2 = BT

The first two of those lines sends out the string "READ" terminated by a newline. The last line then reads in a with three numbers separated by "," that are expected to represent ambient temperature, ET and BT, respectively (eg. "20.1,203.7,193.2"). Now the error reported happens due to the assignment to these three variables if the list generated by the rsplit is shorten then 3. We will most likely release a new version of Artisan next weekend and try to make it more robust in the sense that it also accepts empty values as well as strings carrying less then 3 values (eg. ",203.7,193.2" or just "20.5,203.7"). If you have further suggestions how we can improve things, let us know.

Hope this helps,
Marko

PS: In the future you might as well use the issue tracker of the Artisan Google code repository to report things like this to get our attention. It's hard to observe all those coffee forums at the same time...
 
greencardigan
Hi Marko,

I did add this to the issues on the google code site before I posted here. Thanks for the explanation.

Brad
 
MaKoMo
Hi Brad,

I (hopefully) "improved" Artisan the way I discussed above. Thanks for filling the issue (I saw it too late). You can expect a new version of Artisan appearing at the begin of next week.

Cheers,
Marko
 
JimG
I have just started a thread dedicated to TC4 / Artisan issues:
http://forum.home...ad_id=2175

In that thread, there is a link to a new Arduino sketch (aArtisan.pde) that should support Artisan, as well as optionally display temperature values on an LCD panel.

I'm cautiously hopeful that the new sketch, which buffers serial input in parallel with performing ADC conversions, will eliminate the log errors that have been previously reported.

Jim
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
Roasting 2kg with DIY hot air roaster Fluidbed Roaster 4 09/17/2023 10:31 AM
ANSA - AI driven roasting Other Roasters 7 08/05/2023 12:52 PM
Unable to get Artisan Scope's PID to control heating Dataloggers/Controllers/Rate of Rise Meters 4 08/01/2023 9:11 AM
Roasting 1 Pound On a Modified Popper Popcorn Popper roasting 3 07/22/2023 3:24 AM
Artisan PID turns heater back on during cool down Dataloggers/Controllers/Rate of Rise Meters 2 07/03/2023 12:31 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 © 2023 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman