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
04/18/2024 12:36 AM
bijurexim, greyberry2, N C, welcome2

renatoa
04/17/2024 9:27 AM
morning, branchu

renatoa
04/14/2024 5:56 AM
TheOtherJim and papajim, welcome to forum !

allenb
04/11/2024 6:33 PM
Zemona Welcome

renatoa
04/11/2024 9:19 AM
Mrbones and sgupta, coffee drink ?

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

Members Online: 0

Total Members: 8,211
Newest Member: bijurexim

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
Finally Switching to Artisan Roasterscope Dataloggers/Controllers/Rate of Rise Meters 17 02/28/2024 7:19 AM
Artisan 2 vs Roastime 4 R1 Bullet Roaster 3 01/08/2024 11:53 AM
Unable to get Artisan Scope's PID to control heating Dataloggers/Controllers/Rate of Rise Meters 4 08/01/2023 9:11 AM
Artisan PID turns heater back on during cool down Dataloggers/Controllers/Rate of Rise Meters 2 07/03/2023 12:31 PM
Artisan Talking Alarms? ROASTING SOFTWARE APPS 4 06/10/2023 12:05 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 © 2024 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman