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
OfflineAdmin
· 04/02/2020 4:50 AM
Morning Ed, I haven't done any green coffee hoarding yet but am hoping the supplies don't end up like the toilet paper isles!

snwcmpr
Offline
· 03/31/2020 2:53 PM
Hey Ed. Thanks. roar

homeroaster
Offline
· 03/31/2020 11:21 AM
Hey quarantined home roasters! I hope you have great coffee! If they have a run on coffee, I hope you're set with your great home roast! Find me on Facebook! Ed Needham

snwcmpr
Offline
· 03/25/2020 11:49 AM
New Rochelle in the news. I think of you every time I hear it. ... Please stay safe.

allenb
OfflineAdmin
· 03/21/2020 7:36 AM
Good morning homeroasters morning Everyone is hopefully staying healthy through this. Hang in there and stay safe!

Users Online
Guests Online: 3

Members Online: 0

Total Members: 6,467
Newest Member: hehevt
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/Artisan showing "-1"
jessep
Ok, I tried a few things and ultimately "fixed" the problem.

The LCD is causing the instability, when I unplugged it everything was fine and I did three roasts in a row with zero issues. I didn't recompile the code without the LCD or anything. In the end I guess I don't mind not using an LCD, but now I'm wondering why it's in an issue.

Spent the day working on Mark 2!

i.ibb.co/tXTGF5n/IMG-20200119-202845.jpg
i.ibb.co/xqgYCk5/IMG-20200118-110605.jpg
 
mg512
Ahhh, that actually makes sense. The LCD would be connected to the same I2C bus as the ADC and other chips, so if the LCD was somehow defective in a way that affected the I2C bus, all those chips wouldn't be able to communicate with the Arduino either. You could probably replace the LCD (and I2C board and cables!) and you should be fine, I would imagine it's a hardware defect somewhere in the LCD.
 
https://www.tindie.com/products/15798/
greencardigan
Did you get the LCD from me? Let me know if you need a refund.
 
jessep
Well that could explain it!

Do you think I could have damaged the LCD when I plugged 5v into the ground?

Greencardigan, I did but don't worry about it. It was years ago and worked fine for a long time.

One thing that makes me wonder. I bought a cheap I2C OLED display that I was going to try and modify the program to use, but never got it to work. However, when it was plugged in, I'd get random drops in temperature values for one or two data points. Perhaps that's related?
 
jessep
I figured I'd update this, I replaced the Arduino and all the issues went away!

The roast is still offset from the background it's following, and could use some tuning. But the coffee tastes good.

i.ibb.co/hYLLzLj/fixed.png
 
renatoa
It's normal to be an offset, but under the curve, not above.
"Normal" PID settings led either to undershot following, either to oscillating following, not permanently above.
Check your lookahead value, the graph above suggest you have a lookahead of some 30 seconds, or even more.
 
ROSTARN
Hi
I have the exact same problem! The arduino would freeze up and showing -1 on all channels.
https://forum.homeroasters.org/forum/...wstart=120
My setup is drum roaster with ot1 electric heat, ot2 ac fan and io3 dc motor. I had it up and running stable for two years and recently had to replace the tc4 and tried the tc4+ as I had that extra integrated circuit separate before. Maybe the lcd took some damage at the same time?

I also did try switching out the arduino but it didnt help.

I did have some problems with my chinese 12v psu and after replacing that the issues became less frequent but still occured. I do have cheap chinese stuff for lcd screen and I2C and maybe that is what is causing this. I will try to remove mine, maybe it will help.

Let us know if the issue persist

Thanks for posting everyone!
 
jessep

Quote

renatoa wrote:

It's normal to be an offset, but under the curve, not above.
"Normal" PID settings led either to undershot following, either to oscillating following, not permanently above.
Check your lookahead value, the graph above suggest you have a lookahead of some 30 seconds, or even more.


Sure did, 57s for some reason. Thanks!

So, the lookahead is mainly there to align the BT with the background? Makes sense.
 
renatoa
Yes, but not for the whole profile, just for sections with a slope between certain limits.
Is the PID setup method of those too lazy to hunt for the perfect PID tuning. Is simpler to set I and D to zero, and P to whatever value, say 10, then appropriate value for lookahead, and be done.
In such scenario, if we assume the average power level would be, say 60%, in the Maillard (yellow) section, where profile allure is more important than for drying, and slope more constant, then the offset will be 60% / 10(P) = 6 degrees, value known as error in the PID source code.
For an average RoR having value 10 C degrees per minute, in the yellow section, 6 degrees means 36 seconds. Set this value for lookahead and you have a good enough following, without many headaches, at least for final part of profile.
And also, very important for some guys, no oscillations, so a more pleasant and smooth RoR than a hard to tune true PID.
Not so accurate for drying phase, where following is not so critical anyway.
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
need artisan help Roasting Profiles 9 03/22/2020 4:35 PM
2" gate(knife) valves are expensive, bean dump Fluidbed Roaster 15 03/14/2020 5:39 PM
First Artisan Roast Roasting Profiles 5 02/12/2020 7:30 PM
Artisan won't recognize yoctocouple Roasting Coffee 4 11/18/2019 9:52 AM
Getting Center 301 to connect to Windows 10/Artisan Dataloggers/Controllers/Rate of Rise Meters 2 11/07/2019 6:04 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 © 2002 - 2020 by Nick Jones.
Released as free software without warranties under GNU Affero GPL v3.
Designed with by NetriX