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.

allenb
12/01/2022 11:20 AM
temkhabana Welcome

renatoa
12/01/2022 3:54 AM
coffee drink, 2old2kare

allenb
11/30/2022 4:54 PM
jeco8843 Welcome

renatoa
11/30/2022 6:27 AM
Mountainman, welcome cup

renatoa
11/28/2022 2:46 AM
Welcome, @Microfiche

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

Members Online: 0

Total Members: 7,724
Newest Member: temkhabana

View Thread

Who is here? 1 guest(s)
 Print Thread
TC4 locks up when starting Artisan 2.8
coffeedragon
I have a TC4 working with Artisan 0.7.4 but there's been so many advances in Artisan that I'd like to use 2.8 instead. I couldn't find any mention of changes between the versions that would cause issues with my TC4, which is running aArtisanQ_PID v6.8.

Once I fire up Artisan 2.8, I configure it to use the TC4 on the correct COM port with the correct baud rate. Once I hit the ON button, the timer on the TC4 LCD freezes and Artisan shows no data coming in. Using a serial sniffer I see Artisan sending the CHAN;1200 command followed by READ but it's not getting a response.

If I use Serial Monitor in the IDE to send the same commands, I get back the expected output and the timer on the LCD continues to increment. Same thing if I connect with Artisan 0.7.4 except that version sends PID;XOFF, CHAN;1200, UNIT;F and then READ every few seconds.

Something about connecting to the TC4 with Artisan 2.8 is breaking things, where Artisan 0.7.4 is working fine. In both cases I'm using the same PC, same TC4, same Arduino and same version of the TC4 software 6.8.
 
greencardigan
I assume you have adjusted the setup in the user.h file in version 6.8?
 
renatoa
Try with an earlier version, not always the last are the greatest for anyone needs/taste.
There is a reason I stopped upgrading Artisan at 1.6, where I am now.
 
coffeedragon

Quote

greencardigan wrote:

I assume you have adjusted the setup in the user.h file in version 6.8?


I adjusted it to get it working with 0.7.4 a while back and when I upgraded Artisan and it didn't work, I revisited the user.h settings to make sure there wasn't some compatibility setting causing the problem. The few settings I tried changing didn't make any difference.

Since posting I've tried a few more things. One thing that seemed to work was starting the Artisan roast and then pressing the reset button on the TC4 several times to get it to restart. After it reboots everything seems to work, which further reinforces my observation that it's the way Artisan is opening the COM port to talk to the Arduino. Something about either the timing or the specific commands being issued is causing the Arduino to lock up. Unfortunately I can't sniff all the way down to the low level serial stuff like the handshake. I think I'll try changing the flow control settings to see if hardware or software flow control will make a difference.
 
coffeedragon

Quote

renatoa wrote:

Try with an earlier version, not always the last are the greatest for anyone needs/taste.
There is a reason I stopped upgrading Artisan at 1.6, where I am now.


I can't find any of the versions between 0.7.4 and 2.6, at least not ones compiled for Windows. Is there a place to download them or will I need to compile from source?
 
renatoa
Please, request a copy/link to the author, @MaKoMo.

Btw, just yesterday had such a situation with a fellow setup, using version 2.8, the latest or so...
The issue was related to the channels order, ET/BT ch 1/2 vs ch 2/1.
The newer Artisan version failed to parse the reversed channels order packet data, while the older version did it right, shown the right values on the LCD display, just reversing ET with BT, as should be.
When we set the right channels order everything returned to normal on newer version too, but...
It's weird, because the TC4 code is supposed to be unmodified for years...
 
renatoa
If no success so far, I can send you my actual working Artisan, packed in an archive file.
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
Artisan virtual device question Dataloggers/Controllers/Rate of Rise Meters 1 08/23/2022 9:50 AM
Artisan heater control issue Dataloggers/Controllers/Rate of Rise Meters 9 07/03/2022 8:13 AM
Glitch When Using Artisan Alarms Dataloggers/Controllers/Rate of Rise Meters 8 06/17/2022 11:38 AM
Starting a TO build Turbo Oven Roasters 39 05/23/2022 2:08 PM
Using a TC4 with Artisan Roaster Scope Dataloggers/Controllers/Rate of Rise Meters 41 05/09/2022 12:06 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