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.

allenb
12/04/2022 9:18 AM
dharma66 Welcome to HRO

renatoa
12/03/2022 6:34 AM
Welcome, LTGM

allenb
12/01/2022 11:20 AM
temkhabana Welcome

renatoa
12/01/2022 3:54 AM
coffee drink, 2old2kare

allenb
11/30/2022 4:54 PM
jeco8843 Welcome

In Memory Of Ginny
Donations

Latest Donations
dmccallum - 10.00
JackH - 25.00
snwcmpr - 10.00
Anonymous - 2.00
Anonymous - 5.00
Users Online
Guests Online: 10

Members Online: 1
dharma66

Total Members: 7,726
Newest Member: dharma66

View Thread

Who is here? 2 guest(s)
 Print Thread
TC4 Shield / Arduino Uno / LCDapter
judoclimb
Hi. I need help with the LCDapter on Arduino Uno/TC4 shield.

I am just starting to learn the Arduino Uno/TC4 shield, so that I can take my coffee roasting to a new level. I have been using analog potentiometers to manually control the heat coil and fan of my customized WB Poppery. My roasting process has consisted of getting readouts from a digital temperature gauge, manually entering in the temperature every 30 seconds, entering the values manually in Excel, and making real-time adjustments to the potentiometer.After extensively reading about the work that others have done on automating this process using a PID, I decided to take a crack at it.

What I have currently.
- Arduino Uno
- TC4 Shield, v6.0
- LCDapter-Complete
- Sketch: aArtisanQ-PID v6.3
- Library: aArtisan_STDLib-400

Issue: I have been able to assemble the Arduino/TC4/LCDapter and compile/upload the Sketch using Arduino software via USB connection (nothing else is connected to TC4, such as ZCD, SSRs, or thermocouples). The issue is that the
1) LCD does not turn on,
2) when I run the Serial Monitor > command "chan,1234" > command "read", there is no output.

After trying many different things, I can obtain the expected output with the same commands ("# Active channels set to 1234", "77.7, 70.4, 74.4, 74.2,74.9"), ONLY WHEN THE LCDAPTER IS DISCONNECTED. Also, I noticed that the LED on pin 13 of the Arduino board stays on when the LCDapter is connected, but it turns off if it is not connected.

Is this an issue, or would this be sorted out once I start connecting the other components like the ZCD, SSRs, and thermocouples?

Thanks in advance.
 
greencardigan
Hi and welcome!

Have you modified the user.h file in the sketch to suit your setup? Let me know if you need help with the settings in user.h.

I would try loading the sketch and running it without the TC4 or LCD connected. It should still respond to the serial commands.

Try the READ command and it should respond with a comma separated string of values (which will probably be zeros if no TC4 connected).
 
JackH
Make sure that you have the 4 pin cable (I2C serial) from the TC4 to the LCDapter plugged in correctly. There is no key to this connector so it can be reversed.

Yellow wire is pin 1 and is marked on the TC4 and LCDapter board.
JackH attached the following images:
capture1_4.jpg capture_53.jpg

---Jack

KKTO Roaster.
 
judoclimb
Hi Greencadigan, thank you for the reply. Your work on the code and compilation is deeply appreciated! Much respect to you!

Hi JackH, thanks! You were absolute right! The I2C serial cable was reversed on the TC4 shield side. I just assumed that the red and black wires go to the +5V and GND terminals (though it doesn't explain why the red wire goes to GND and black wire goes to +5V, now that I think about it). As I look carefully at the TC4 shield board now, BLK and YEL are printed to signify the wire orientation. Now it is wired correctly, I am getting the display to work! See the picture.

OK, now on to next steps... (maybe this weekend)
 
JackH
I am glad it helped.

Now it is on to the fun part of configuring everything to work!

Let us know if you have any questions.
---Jack

KKTO Roaster.
 
judoclimb
Hi Guys, I hooked up everything, and I did my first few roasts. I couldn't get the Ramp/Soak to work properly. It kept on controlling too high or too low (oscillation between 100 and 0). I gave up, and switched to manual over-ride.

Any tips on how to control this?

PS. How do you post pictures in here? I have my roaster setup and my oscillating profile that I would like to show you guys.
judoclimb attached the following image:
screen_shot_2017-10-23_at_195919.jpg

Edited by judoclimb on 10/23/2017 10:12 PM
 
greencardigan
Sounds like you need to adjust the PID parameters in the Control dialog box. What settings are you using now?

See here for posting tips https://forum.hom...?cat_id=16
 
judoclimb
I am currently using the following Ramp/Soak just for starters. I am using Artisan to control it instead of PID Firmware.
judoclimb attached the following images:
screen_shot_2017-10-23_at_203606.jpg screen_shot_2017-10-23_at_203559.jpg screen_shot_2017-10-23_at_203406.jpg
 
greencardigan
If you're not using the Firmware PID then you're using the PID built into Artisan. The ramp soak feature uses either the internal or TC4 PID.

Try changing the parameters highlighted in my screenshot attached.
greencardigan attached the following image:
untitled-1.jpg
 
judoclimb
Thanks! I was able to stabilize the temperature profile. Next, I will try to find the right profile.
judoclimb attached the following image:
screen_shot_2017-10-23_at_221406.jpg
 
judoclimb
BTW, here is my setup.
judoclimb attached the following images:
img_06852.jpg img_0684.jpg
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
Arduino - TC4+ - SSR issues Dataloggers/Controllers/Rate of Rise Meters 16 11/21/2022 2:11 AM
Signal cable lengths to / fro to Arduino / TC4+ Dataloggers/Controllers/Rate of Rise Meters 3 08/04/2022 1:32 PM
TC4+ Arduino coffee roaster shield (TC4-compatible) Dataloggers/Controllers/Rate of Rise Meters 247 05/18/2022 1:38 PM
TC4 Arduino could not set channels@line 5357 Dataloggers/Controllers/Rate of Rise Meters 3 01/25/2022 6:13 PM
Testing Arduino UNO with bitwisetech / popc and MAX6675 Popcorn Popper roasting 70 12/05/2021 8:31 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 © 2022 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman