TC4 with aArtisan... | [405] |
Kilowatts/BTU's N... | [35] |
RobotDyn AC Light... | [21] |
Any tips for SR540? | [20] |
Modded Severin: S... | [18] |
TC4 - Arduino to Artisan Connection Issue
|
|
Husamka |
Posted on 08/30/2020 6:04 PM
|
![]() 1/4 Pounder ![]() Posts: 56 Joined: September 16, 2016 Location: Vancouver, Canada |
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:
|
|
|
Gullygossner |
Posted on 08/30/2020 8:05 PM
|
![]() 1/4 Pounder ![]() Posts: 78 Joined: January 06, 2019 |
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 |
Posted on 08/30/2020 9:31 PM
|
![]() 1/4 Pounder ![]() Posts: 56 Joined: September 16, 2016 Location: Vancouver, Canada |
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:
|
|
|
Gullygossner |
Posted on 08/31/2020 10:48 AM
|
![]() 1/4 Pounder ![]() Posts: 78 Joined: January 06, 2019 |
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 |
Posted on 08/31/2020 10:52 AM
|
![]() 1/4 Pounder ![]() Posts: 78 Joined: January 06, 2019 |
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 |
Posted on 08/31/2020 2:40 PM
|
![]() 1/4 Pounder ![]() Posts: 56 Joined: September 16, 2016 Location: Vancouver, Canada |
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 |
Posted on 08/31/2020 2:56 PM
|
![]() Administrator ![]() Posts: 1546 Joined: September 30, 2016 |
This line: Code Download source #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 |
Posted on 08/31/2020 4:11 PM
|
![]() 1/4 Pounder ![]() Posts: 56 Joined: September 16, 2016 Location: Vancouver, Canada |
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:
|
|
|
Gullygossner |
Posted on 08/31/2020 4:50 PM
|
![]() 1/4 Pounder ![]() Posts: 78 Joined: January 06, 2019 |
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 |
Posted on 08/31/2020 4:56 PM
|
![]() 1/4 Pounder ![]() Posts: 56 Joined: September 16, 2016 Location: Vancouver, Canada |
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:
|
|
|
Gullygossner |
Posted on 08/31/2020 8:54 PM
|
![]() 1/4 Pounder ![]() Posts: 78 Joined: January 06, 2019 |
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 |
Posted on 09/01/2020 1:01 AM
|
![]() Administrator ![]() Posts: 1546 Joined: September 30, 2016 |
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 ! Code Download source
renatoa attached the following image:
|
|
|
Husamka |
Posted on 09/02/2020 1:33 AM
|
![]() 1/4 Pounder ![]() Posts: 56 Joined: September 16, 2016 Location: Vancouver, Canada |
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:
Edited by Husamka on 09/02/2020 1:38 AM |
|
|
renatoa |
Posted on 09/02/2020 2:15 AM
|
![]() Administrator ![]() Posts: 1546 Joined: September 30, 2016 |
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 |
Posted on 09/02/2020 12:58 PM
|
![]() 1/4 Pounder ![]() Posts: 56 Joined: September 16, 2016 Location: Vancouver, Canada |
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:
|
|
Jump to Forum: |
Thread | Forum | Replies | Last Post |
---|---|---|---|
Artisan says: "Arduino could not set channels" | Dataloggers/Controllers/Rate of Rise Meters | 4 | 01/23/2021 5:36 AM |
Arduino and Artisan | Dataloggers/Controllers/Rate of Rise Meters | 4 | 01/21/2021 1:07 PM |
Artisan and Mastech 6514 | Dataloggers/Controllers/Rate of Rise Meters | 12 | 01/08/2021 2:52 AM |
Spontaneous Exceptions in Artisan with TC4+ | Dataloggers/Controllers/Rate of Rise Meters | 9 | 11/24/2020 1:52 AM |
Artisan / Hottop /macbook | HotTop Roaster | 9 | 11/12/2020 6:01 PM |