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.

renatoa
03/25/2024 12:38 PM
coffee drink, Ramper?

allenb
03/24/2024 12:10 PM
Siam3D Welcome

renatoa
03/23/2024 3:02 PM
welcome cup, andrewg

allenb
03/21/2024 5:10 PM
TRH629 Welcome

allenb
03/21/2024 5:08 PM
marimohead 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: 5

Members Online: 0

Total Members: 8,165
Newest Member: Ramper

View Thread

Who is here? 1 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
aArtisanQ_PID and Arduino UNO R4 Dataloggers/Controllers/Rate of Rise Meters 2 03/01/2024 12:13 PM
TC4+ Arduino Uno Issue - no data Dataloggers/Controllers/Rate of Rise Meters 4 08/11/2023 9:16 AM
Popcorn popper controlled with Arduino New Members say hello or you may update your profile. 2 07/04/2023 6:19 AM
Exception: ser.ARDUINOTC4temperature(): Arduino could not set channels@line Dataloggers/Controllers/Rate of Rise Meters 4 06/07/2023 6:47 PM
Testing Arduino UNO with bitwisetech / popc and MAX6675 Popcorn Popper roasting 74 04/11/2023 11:21 PM
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 © 2024 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman