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.

JackH
01/04/2019 10:55 AM
2 years today...Miss you Ginny!

JETROASTER
01/04/2019 4:24 AM
A little shout for the G'ster. 2 yrs. roar

allenb
12/27/2018 5:14 AM
Hi Brandon, please disregard the "please update". I think we're all up to speed now. The need for cache clearing get's me every time! limb

NetriX
12/26/2018 11:36 AM
Update? pouring Merry Christmas back atcha

allenb
12/26/2018 3:07 AM
Merry Christmas Brandon. Please update soon! christmas tree

Users Online
Guests Online: 2

Members Online: 0

Total Members: 5,768
Newest Member: sirk
In Memory Of Ginny
Donations

Latest Donations
PRABHATH COFFEE WORKS - 10.00
John Despres (Scene... - 25.00
snwcmpr - 10.00
Ozo - 20.00
Josh Woodrow - 10.00

View Thread

Who is here? 1 guest(s)
 Print Thread
Using TC4C with Artisan
k84hero
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
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
renatoa wrote:

This is maybe the most missing feature of Artisan... a communication log window

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
Sorry, never had time enough to explore all menus... :(
Great find, let's now hear news from OP.
 
Wiz Kalita
In my experience the thermocouples can read -1 if the connection is bad, so it might be a straightforward hardware issue.
 
renatoa
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 Grin
 
Wiz Kalita
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 Grin


Interesting. Is this something we can change ourselves in the firmware?
 
renatoa
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
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
greencardigan wrote:

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
"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
When Jim was selling the TC4C, he offered a choice of pre-loading the Roastlogger or Artisan sketch.
---Jack

KKTO Roaster.
 
BenKeith
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.
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
5+lb Gas Fluid Bed Roaster TC4-> Artisan Issue Building a Coffee Roaster 4 12/30/2018 9:06 PM
Thanks Brad, Jim, and Artisan Team Dataloggers/Controllers/Rate of Rise Meters 7 10/25/2018 12:22 AM
Artisan and Mastech 6514 Dataloggers/Controllers/Rate of Rise Meters 8 10/24/2018 9:26 PM
Artisan keeps dropping automatically Dataloggers/Controllers/Rate of Rise Meters 3 10/15/2018 12:33 AM
Gene with Artisan and TC4 ROASTING SOFTWARE APPS 39 08/29/2018 1:17 AM
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 © 2019 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX