SR800/SR540 Fan C... | [80] |
Roast Color Nerdy... | [33] |
"Well tempered ro... | [33] |
Artisan Arduino P... | [27] |
Understanding the... | [27] |
Fixing TC4 Artisan thermocouple arduino library
|
|
adm746 |
Posted on 08/03/2016 12:53 AM
|
![]() Newbie ![]() Posts: 1 Joined: September 10, 2014 |
The thermocouple library associated with TC4 and artisan has depreciated code involving PROGMEM. After avr 1.6 all PROGMEM vars must be const. I have looked and cannot find an updated library that fixes this issue. Does anyone have a link or working set of files? |
|
|
greencardigan |
Posted on 08/03/2016 1:26 AM
|
![]() 1 1/2 Pounder ![]() Posts: 1162 Joined: November 21, 2010 |
Hi, I don't think the thermocouple library has been updated for a long time. Is there a problem compiling and running the current library? I haven't had any issues but maybe I'm not using the latest Arduino software version. |
|
|
yamhill |
Posted on 01/06/2017 9:37 PM
|
![]() 1/4 Pounder ![]() Posts: 111 Joined: December 18, 2009 |
Does anyone have an answer to this? I have a new use for my TC4 and just installed the current arduino ide, and hit seemingly the same error: C:\..\Arduino\libraries\thermocouple/thermocouple.h:155:27: error: variable 'range_dir' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static PROGMEM PFLOAT range_dir[2][2]; .... Quest M3 w/ Artisan via ESP32 emulating TC4. Previous roasters include: IMEX digirosto 1500, various popcorn popper roasters, and Behmor. Espresso: Quick Mill Vetrano; previous espresso PIDed Rancilio Silvia. Also Chemex, Hario, and Melitta drip; Cory and Yama vacuum/siphon; bodum French press; aeropress; Mazzer Major, Hario mini, and PeDe Dienes grinders.
|
|
|
greencardigan |
Posted on 01/08/2017 11:51 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1162 Joined: November 21, 2010 |
I still haven't had this issue, however I'm probably not using the latest IDE version. For the record, what version are you having the error with? And does it work on a previous version? Maybe JimG has some info re this? |
|
|
BenKeith |
Posted on 01/09/2017 6:13 AM
|
![]() Pounder ![]() Posts: 485 Joined: April 21, 2014 |
Not sure of the difference between artisan and the RoastLogger I run but I've run IDE 1.6.12 on one of my TC4's and reads the thermocouples just fine. I've also run aArtisanQ_PID 6.2 with the Android Bluetooth app and had no problem reading the thermocouples. Now, the TC4 I mainly use on my regular roaster is the IDE right after they made that big change, something like 1.6.3 and the updated programs to run with that. I have made no updates or changes to that one since those changes came about a year or so ago. That one is dialed in so precise, I try not taking any chances on changing anything with updates unless it becomes absolutely necessary. It even has a dedicated laptop that I only use to run RoastLogger on. To try and help ensure nothing happens to that setup. |
|
|
Mustang967 |
Posted on 01/10/2017 1:05 AM
|
![]() 1/4 Pounder ![]() Posts: 51 Joined: June 16, 2013 |
Quote yamhill wrote: Does anyone have an answer to this? I have a new use for my TC4 and just installed the current arduino ide, and hit seemingly the same error: C:\..\Arduino\libraries\thermocouple/thermocouple.h:155:27: error: variable 'range_dir' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static PROGMEM PFLOAT range_dir[2][2]; .... Have you looked to see if you are possibly using the incorrect library for the thermocouple? I know there are several and some use the same name of thermocouple.h but are not the same file. I'll look tomorrow to see what version I'm using. |
|
|
JackH |
Posted on 01/10/2017 5:35 AM
|
![]() Administrator ![]() Posts: 1809 Joined: May 10, 2011 |
Checking the libraries is a very good idea. Also make sure there are no old libraries files hanging around to confuse the compiler. I also agree to drop back a version. I think the Arduino people have archived versions of their IDE. ---Jack
KKTO Roaster. |
|
|
Mustang967 |
Posted on 01/10/2017 1:37 PM
|
![]() 1/4 Pounder ![]() Posts: 51 Joined: June 16, 2013 |
Quote yamhill wrote: Does anyone have an answer to this? I have a new use for my TC4 and just installed the current arduino ide, and hit seemingly the same error: C:\..\Arduino\libraries\thermocouple/thermocouple.h:155:27: error: variable 'range_dir' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static PROGMEM PFLOAT range_dir[2][2]; .... I zipped up my thermocouple folder and attached it, try removing yours and see if mine works. Another thing that seems strange is that the error has the forward slash after the thermocouple folder. If using my zipped library doesn't work I'd say try deleting the arduino IDE and reinstalling. Maybe there is some issue with the install. Another thought is if you didn't before try using the IDE to add the library. ![]() Let us know!! Royce
Mustang967 attached the following file:
Mustang967 attached the following image:
|
|
|
yamhill |
Posted on 01/13/2017 12:12 PM
|
![]() 1/4 Pounder ![]() Posts: 111 Joined: December 18, 2009 |
Thanks all for your help and advice. It's working now. I had some time late last night to work on this. I uninstalled the IDE, uninstalled the executables, and I reinstalled everything. Unfortunately this means I don't know the root cause of my earlier problems. I have a suspicion like mustang967 that it was the libraries. I went to github and downloaded everything and pulled in the trunk for the Arduino. It all compiled without problem or warning and Artisan ran fine. John Quest M3 w/ Artisan via ESP32 emulating TC4. Previous roasters include: IMEX digirosto 1500, various popcorn popper roasters, and Behmor. Espresso: Quick Mill Vetrano; previous espresso PIDed Rancilio Silvia. Also Chemex, Hario, and Melitta drip; Cory and Yama vacuum/siphon; bodum French press; aeropress; Mazzer Major, Hario mini, and PeDe Dienes grinders.
|
|
|
Mustang967 |
Posted on 01/13/2017 12:38 PM
|
![]() 1/4 Pounder ![]() Posts: 51 Joined: June 16, 2013 |
Quote yamhill wrote: Thanks all for your help and advice. It's working now. I had some time late last night to work on this. I uninstalled the IDE, uninstalled the executables, and I reinstalled everything. Unfortunately this means I don't know the root cause of my earlier problems. I have a suspicion like mustang967 that it was the libraries. I went to github and downloaded everything and pulled in the trunk for the Arduino. It all compiled without problem or warning and Artisan ran fine. John Fantastic! So glad to hear that its working now. Have fun!! Royce |
|
Jump to Forum: |
Thread | Forum | Replies | Last Post |
---|---|---|---|
Artisan Arduino PWM 4-20mA for Power Settings | ROASTING SOFTWARE APPS | 28 | 02/01/2023 9:21 AM |
What has changed in artisan 2.8.2 | ROASTING SOFTWARE APPS | 13 | 01/23/2023 8:20 PM |
Artisan newbie with SR800 | ROASTING SOFTWARE APPS | 5 | 12/20/2022 11:02 PM |
Artisan drop temp not right | Roasting Profiles | 4 | 12/15/2022 1:35 AM |
Arduino - TC4+ - SSR issues | Dataloggers/Controllers/Rate of Rise Meters | 16 | 11/21/2022 2:11 AM |