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.

09/28/2020 9:48 AM
Working on site improvements, bare with me. smoking

09/28/2020 8:58 AM
Where are the old themes ?!!! Shock

09/28/2020 12:46 AM
Made some changes, shoutbox was working without verification.

09/27/2020 2:53 PM
A lot of shoutbox spam attacks lately. roar

08/28/2020 7:15 PM
I have updated my signature and added links to the KKTO roaster build

Users Online
Guests Online: 3

Members Online: 0

Total Members: 6,748
Newest Member: Ivanwrowl
In Memory Of Ginny
Donations

Latest Donations
Anonymous - 5.00
Anonymous - 5.00
renatoa - 2.00
JitterzZ - 2.01
renatoa - 2.00

View Thread

Who is here? 1 guest(s)
 Print Thread
TC4 - Arduino to Artisan Connection Issue
Husamka
Hi All,
I am trying to Upload aArtisanQ-PID to TC4 - Arduino and I got Low memory message as shown in the attached image. The files I uploaded are from "aArtisanQ - PID 6_7". as attached. Is there anything I can remove to reduce the size. also Artisan 2.1.2 is not connecting to to TC4 and the screen "I2C LCD 2004" is showing blank.
Husamka attached the following images:
s1_2.jpg s2_2.jpg s3_3.jpg s4.jpg
Gullygossner
I do not believe the low memory warning is something you need to be concerned with as long as you aren’t adding anything additional to the base code you presumably downloaded.

Maybe one issue at a time. Did you enable the lcd settings in the user.h file?
Husamka
Attached the common setting for the LCD. I did the Blink test for Arduino and was working then I uploaded aArtisanQ-PID and Arduino LED s were blinking as supposed to be and got this "Done Saving". But there is no indication if TC4 working as no signal to the screen or to Artisan. I connected two K thermocouples to Ch1 and Ch2.
I used Brad connection option " CONFIG_PAC2 Mode" for air roaster as attached. Also, port as shown.
Husamka attached the following images:
s5.jpg s6.jpg s7.jpg
Gullygossner
Within the aristan Arduino sketch there is a user.h file where one needs to uncomment the relevant lcd settings and then upload to your arduino.

////////////////////
// LCD Options
// Choose ONE of the following LCD options if using an LCD
//#define LCDAPTER // if the I2C LCDapter board is to be used
//#define LCD_I2C // if using a $5 delivered Chinese LCD with I2C module
//#define LCD_PARALLEL // if using a parallel LCD screen

//#define LCD_4x20 // if using a 4x20 LCD instead of a 2x16

//#define LCD_I2C_ADDRESS 0x3F // adjust I2C address for LCD if required. Try 0x27, 0x20. Not used for LCDapter.
Gullygossner
This is a good video as to how to setup the tc4 with artisan

https://www.youtube.com/watch?v=0-Co-...&t=20s
Edited by JackH on 08/31/2020 7:46 PM
Husamka
Gullygossner, Thank you

I want to know where to write the address 0x27. or how these line will be in user.h file?

////////////////////
// LCD Options
// Comment out non required features
#define LCD // if output on an LCD screen is desired
//#define LCDAPTER // if the I2C LCDapter board is to be used
#define LCD_4x20 // if using a 4x20 LCD instead of a 2x16
renatoa
This line:


#define LCD_I2C_ADDRESS 0x3F // adjust I2C address for LCD if required. Try 0x27, 0x20. Not used for LCDapter.


...must be UNcommented, i.e. not start with //
Also, replace 0x3F with 0x27.
Save, and reload.
Husamka
Renatoa, Thank you

Now the LCD is reading as the address below. but still, Artisan showing "Serial Exception: Unable to open serial port"

// LCD Options
// Choose ONE of the following LCD options if using an LCD
//#define LCDAPTER // if the I2C LCDapter board is to be used
#define LCD_I2C // if using a $5 delivered Chinese LCD with I2C module
//#define LCD_PARALLEL // if using a parallel LCD screen

#define LCD_4x20 // if using a 4x20 LCD instead of a 2x16

#define LCD_I2C_ADDRESS 0x27 // adjust I2C address for LCD if required. Try 0x3F, 0x20. Not used for LCDapter.
Husamka attached the following image:
s8.jpg
Gullygossner
Did you have a look at the video I shared?

WIthout getting to deep, it seems as though you have not defined the TC4 port in artisan yet.
Husamka
I got a connection after defined the correct port " Generic CDC".
Sorry, the video is not working.
BT reading properly but ET reading on LCD only while on Artisan is not.
If you can send the link only. thanks
Husamka attached the following image:
s9.jpg
Gullygossner

Quote

Husamka wrote:

I got a connection after defined the correct port " Generic CDC".
Sorry, the video is not working.
BT reading properly but ET reading on LCD only while on Artisan is not.
If you can send the link only. thanks


Apologies, I didn't catch that. I changed it to a link so it should work now. It sounds like you are on the right track, check the settings as per the video and then post back.
renatoa
Check the channel allocation for BT and ET, if the right order.
Beware, the image posted is mine, yours could be different ! There is no standard for this connection.
Also, be aware that the following user.h settings have to match the BT channel !




// Physical input channel for RoR display on LCD
// Corresponds to Thermocouple inputs T1-T4
#define ROR_CHAN 2
...
#define PID_CHAN 2 // physical channel for PID input (corresponding to thermocouple inputs T1-T4)

renatoa attached the following image:
tc4devs.jpg
Husamka
Gullygossner, Thank you. The video is so useful.
renatoa, Thank you.

Currently, Artisan is reading well from BT, ET. I tried to test repeating background profile by implementing Brad PID configuration but as you see in the image that my heater went higher than the background BT curve then start to reduce the power slowly.
Husamka attached the following images:
s11.jpg s12.jpg s14.jpg

Edited by Husamka on 09/02/2020 1:38 AM
renatoa
What machine are you using? Seems having significantly high inertia, are you using preheat ?
The PID values are very specific to every machine, you can't borrow them from others unless you have an identical machine.
Every new setup should start with learning the machine natural curve, by applying various power level, and observe the step response. From there you build a routine for using that machine.
Starting straight with profile following using PID, a nightmare imo, is only a source of frustration.
Husamka
This background profile I am using for years with Heatgun-Breadmaker machine and I agree with your tips. The Automation which I am testing is for 4" TriCalmp Fluidbed . For this test, I attached the TC to Soldering Iron and I don't expect the smooth following to the background curve but at least gives an indication its works right, when the BT reach background curve the heater should slow down earlier as the setting is "Lookahead 10s".
Husamka attached the following images:
g1.jpg g2.jpg g3.jpg g4.jpg g5.jpg
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
Using a TC4 with Artisan Roaster Scope Dataloggers/Controllers/Rate of Rise Meters 10 09/24/2020 12:30 PM
Heater Protection via Arduino Fluidbed Roaster 5 09/21/2020 9:41 AM
TC4+ Arduino coffee roaster shield (TC4-compatible) Dataloggers/Controllers/Rate of Rise Meters 217 09/05/2020 4:10 AM
Tc4+ ot1 in artisan Dataloggers/Controllers/Rate of Rise Meters 13 08/24/2020 3:21 AM
First Artisan Roast Roasting Profiles 8 08/12/2020 9:48 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 © 2002 - 2020 by Nick Jones.
Released as free software without warranties under GNU Affero GPL v3.
Designed with by NetriX