Skywalker roaster... | [375] |
TC4ESP | [115] |
War on Farmers by... | [47] |
Adventures in flu... | [26] |
Hello! (soon) Roa... | [17] |
Using TC4C with Artisan
|
|
k84hero |
Posted on 12/03/2018 12:19 PM
|
![]() Newbie ![]() Posts: 5 Joined: December 03, 2018 |
Hi guys, First time poster here, I work for a local coffee shop and we're trying to set up a tc4c arduino board with Artisan on Ubuntu. The thermocouplers are installed and Artisan is communicating with the arduino board (I had trouble getting dev/USB0 serial port to open, figured that out with permissions) but now the ET and BT readings for Artisan are -1 and none of the couplers are reading. I'm not sure what to do, I've googled all that I can pertaining to the topic. Thanks guys |
|
|
renatoa |
Posted on 12/04/2018 1:36 AM
|
![]() Administrator ![]() Posts: 3104 Joined: September 30, 2016 |
Try query TC/4 manually in a terminal window. Connect to the COM/usb port, type a READ command followed by return, and let's see what is the response... This is maybe the most missing feature of Artisan... a communication log window, for real time diagnostics... replaced with custom made programs, but still... |
|
|
zeece |
Posted on 12/04/2018 10:02 AM
|
![]() Newbie ![]() Posts: 6 Joined: March 26, 2007 |
Quote In fact there is a serial logger in Artisan. Help>Serial. No response from TC4 1 07:37:33.068 ArduinoTC4 :COM3,115200,8,N,1,1.0 || Tx = READ || Rx = ['']|| Ts= -1.00, -1.00, -1.00, -1.00, -1.00, -1.00 Normal response with ET/BT 9 07:39:03.566 ArduinoTC4 :COM3,115200,8,N,1,1.0 || Tx = READ || Rx = ['0.00000', '344.70905', '364.70831', '0.00000', '0.0000']|| Ts= 344.71, 364.71, -1.00, -1.00, -1.00, -1.00 Note: 'Ts' is the internal data as reported to the profile recorder. |
|
|
renatoa |
Posted on 12/04/2018 10:18 AM
|
![]() Administrator ![]() Posts: 3104 Joined: September 30, 2016 |
Sorry, never had time enough to explore all menus... :( Great find, let's now hear news from OP. |
|
|
Wiz Kalita |
Posted on 12/10/2018 9:43 AM
|
![]() Newbie ![]() Posts: 49 Joined: August 06, 2018 |
In my experience the thermocouples can read -1 if the connection is bad, so it might be a straightforward hardware issue. |
|
|
renatoa |
Posted on 12/10/2018 9:58 AM
|
![]() Administrator ![]() Posts: 3104 Joined: September 30, 2016 |
Or from ADC chip... experimented a bit with MCP3424 and the 18 bit mode is forced at the limit of chip capabilities, imo... lots of bad readings, i.e. out of range values, sometimes even 10%. The same ADC, in 16 bit mode and input fed with higher voltages, amplified by a dedicated TC amplifier, delivers outstanding precision and stability, similar with phidgets box. At a 5x increased sample rate ![]() |
|
|
Wiz Kalita |
Posted on 12/11/2018 4:33 AM
|
![]() Newbie ![]() Posts: 49 Joined: August 06, 2018 |
Quote renatoa wrote: Or from ADC chip... experimented a bit with MCP3424 and the 18 bit mode is forced at the limit of chip capabilities, imo... lots of bad readings, i.e. out of range values, sometimes even 10%. The same ADC, in 16 bit mode and input fed with higher voltages, amplified by a dedicated TC amplifier, delivers outstanding precision and stability, similar with phidgets box. At a 5x increased sample rate ![]() Interesting. Is this something we can change ourselves in the firmware? |
|
|
renatoa |
Posted on 12/11/2018 5:18 AM
|
![]() Administrator ![]() Posts: 3104 Joined: September 30, 2016 |
Before firmware, you need to add the amplifiers. Can be done as actual board additions, the amplifier boards are finger nail sized, can be added as dongles on top of actual TC connectors. Minimal soldering, nothing SMD. For non skilled guys a new redesigned board is needed though... Once these amplifiers are added, the ADC code must be changed a bit, then TC/4 code also, to accommodate the new increased 60 ms sampling rate. But anything is doable, and the result worth the $9 parts. |
|
|
greencardigan |
Posted on 12/11/2018 3:52 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1185 Joined: November 21, 2010 |
Quote k84hero wrote: The thermocouplers are installed and Artisan is communicating with the arduino board (I had trouble getting dev/USB0 serial port to open, figured that out with permissions) but now the ET and BT readings for Artisan are -1 and none of the couplers are reading. How do know that Artisan is communicating with the TC4C? Getting -1 readings suggests that it's not communicating properly. What sketch is loaded onto the TC4C? As renatoa suggested try connecting with a serial terminal using the baud rate set in TC4C sketch and send a READ command. Serial commands must be terminated with a newline character. |
|
|
k84hero |
Posted on 01/05/2019 6:27 AM
|
![]() Newbie ![]() Posts: 5 Joined: December 03, 2018 |
Quote greencardigan wrote: Quote k84hero wrote: The thermocouplers are installed and Artisan is communicating with the arduino board (I had trouble getting dev/USB0 serial port to open, figured that out with permissions) but now the ET and BT readings for Artisan are -1 and none of the couplers are reading. How do know that Artisan is communicating with the TC4C? Getting -1 readings suggests that it's not communicating properly. What sketch is loaded onto the TC4C? As renatoa suggested try connecting with a serial terminal using the baud rate set in TC4C sketch and send a READ command. Serial commands must be terminated with a newline character. There was an issue with Serial Port Error, which was resolved. That was my best guess on the board communicating. I'm not familiar with "sketch", is that software for the TC4C? I'll send a report with the READ asap. Thanks everyone |
|
|
mg512 |
Posted on 01/06/2019 4:59 AM
|
![]() 1/4 Pounder ![]() Posts: 189 Joined: March 04, 2018 |
"sketch" refers to which software / firmware is flashed onto the TC4C. In Arduino terms the firmware is known as a "sketch". It's whatever you programmed onto the TC4C in the Arduino app. That's assuming you did that yourself? |
|
|
JackH |
Posted on 01/06/2019 2:54 PM
|
![]() Administrator ![]() Posts: 1809 Joined: May 10, 2011 |
When Jim was selling the TC4C, he offered a choice of pre-loading the Roastlogger or Artisan sketch.
---Jack
KKTO Roaster. |
|
|
BenKeith |
Posted on 01/06/2019 8:59 PM
|
![]() Pounder ![]() Posts: 485 Joined: April 21, 2014 |
If he doesn't know what a sketch is, most likely, he does not have the software setup or installed. Unless he ordered the board from Jim and gave him information needed, it probably did not come preloaded. I bought three from Jim and none of those came preloaded because I didn't request it. Artisan is seeing the board, but doesn't know what to do with it. As stated, the -1 temp is a standard reading when artisan and the TC4 is not communicating with each other. |
|
|
k84hero |
Posted on 02/14/2019 9:58 AM
|
![]() Newbie ![]() Posts: 5 Joined: December 03, 2018 |
Quote BenKeith wrote: If he doesn't know what a sketch is, most likely, he does not have the software setup or installed. Unless he ordered the board from Jim and gave him information needed, it probably did not come preloaded. I bought three from Jim and none of those came preloaded because I didn't request it. Artisan is seeing the board, but doesn't know what to do with it. As stated, the -1 temp is a standard reading when artisan and the TC4 is not communicating with each other. I did not get the preloaded version of the TC4C. I tried following instructions that use the sketches but I'm having trouble finding the right sketch to work. |
|
|
renatoa |
Posted on 02/14/2019 10:25 AM
|
![]() Administrator ![]() Posts: 3104 Joined: September 30, 2016 |
Which step are you stuck more exactly ? |
|
|
k84hero |
Posted on 02/14/2019 10:33 AM
|
![]() Newbie ![]() Posts: 5 Joined: December 03, 2018 |
Quote Following the steps listed in the TC4 installation located at the Downloads page of this site, I have downloaded both aArtisian and TC4 files and moved the TC4 files into the Libraries folder. I get the following error message when uploading the file to the TC4C Code Download source Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" |
|
|
k84hero |
Posted on 02/14/2019 10:47 AM
|
![]() Newbie ![]() Posts: 5 Joined: December 03, 2018 |
I got the code to work with this updated https://github.com/greencardigan/TC4-shield/tree/master/applications/Artisan/aArtisan_PID/branches/aArtisanQ_PID_6/libraries/thermocouple I have resolved my issues. Thank you everyone |
|
|
greencardigan |
Posted on 02/14/2019 5:39 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1185 Joined: November 21, 2010 |
Not sure what the issues was there. For the record, the latest libraries are here. But the one you got is the same. https://github.co.../libraries |
|
Jump to Forum: |