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: 6

Members Online: 0

Total Members: 6,749
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 with aArtisanQ_PID
BenKeith
Looks like you are still having to turn the fan pot to make the roaster start. Reset on makes the timer go back to zero.

For some reason, it's not loading/reading Profile 2. It's trying to change but shooting blanks when it does with just white squares.
Will2
If you send your Profile_Loader.ino,
tomorrow I can try on my TC4.
Viliam
BenKeith
Thanks for the offer but I have four TC4 Shields. Three are fully built controllers and one is one I was playing with the Android App with that's just on a UNO 3 with the BlueTooth
I down loaded a fresh copy of 6.2 to try a new Profile loader. If that doesn't help, I will try another TC4. I have everything loaded on three different computers so I will try a different computers version.

I've never done much with aArtisanQ_PID so I know very little about it. I played with the Android App Brad has but never really spent much time with it and have never tried a roast with it. Now I'm wanting to make a stand alone controller and RoastLogger does not support that function.

Right now, my wife thinks her list of things she wants me to do is more important than playing with a TC4.
Edited by BenKeith on 02/07/2017 3:48 PM
Will2
I have two pieces tc4, one with a 2x16 LCD, the second with 4x20 LCD
I would like to know how to clear the contents of the EEPROM.
Because if I want to change the content of any of the profiles, never can use a smaller number of characters in the name or description of the profile, otherwise they remain displayed characters from the previous one.
Viliam
greencardigan
Hi Ben,

I haven't used the standalone mode for years but I'm assuming it still works as we haven't changed that part of the code I don't think.

Here's some info that should get you going.

First make sure you have set in user.h to run standalone mode. That will enable the LCDapter buttons to work.


////////////////////
// Roasting software
// Comment out all if using TC4 stand alone
//#define ROASTLOGGER
//#define ARTISAN
//#define ANDROID

Also check this line and set to the number of profiles you loaded to the eeprom with the profile loader sketch.

#define NUM_PROFILES 2 // number of profiles stored in EEPROM

Will2's roaster starts the heater when the fan is started due to a 'feature' in the code designed to protect the element in an air roaster. It stops the heater coming on when the fan is set to a value below the user defined value. The latest updates to the code have made this zero by default, so the heater will come on regardless of the fan level.

// cut power to Heater if fan duty is less than HTR_CUTOFF_FAN_VAL (to protect heater in air roaster). Set to 0 for no cutoff
#define HTR_CUTOFF_FAN_VAL 0 // default


When on the normal display mode (with tems displayed):
- Button 1 with enable or disable the PID.
- Button 2 will reset the roast timer/counter.
- Button 3 is not used at this stage.
- Button 4 will change to the roast profile selection display mode.

When in the Roast Profile Selection mode, the display should show the Profile name on top row, Profile descriptuion on second and third rows, and the PID parameters on the bottom row. This is assuming you have a 4x20 LCD.
- Button 1 will scroll to previous roast profile.
- Button 2 will scroll to the next roast profile.
- Button 3 will select the currently displayed roast profile.
- Button 4 will also select the currently displayed roast profile and switch the display back to the main temperature display.

If you were using bluetooth or USB to computer, you can also change profiles by sending a PID;Px command where x is the profile number.

Leaving the bluetooth module connected to the TX/RX lines will stop you using the USB connection. I have a switch on my control box the disconnects the bluetooth module when I want to use USB.

If this doesn't help, you should attach your Profile_Loader.ino file as suggested by Will2 so we can make sure it's all ok.
greencardigan

Quote

Will2 wrote:

I have two pieces tc4, one with a 2x16 LCD, the second with 4x20 LCD
I would like to know how to clear the contents of the EEPROM.
Because if I want to change the content of any of the profiles, never can use a smaller number of characters in the name or description of the profile, otherwise they remain displayed characters from the previous one.

I'm not sure how to erase the eeprom but I'm sure it's possible.

What about writing a profile with blank characters? Something like this.

char profile_description[80] = "                        "
greencardigan

Quote

BenKeith wrote:
For some reason, it's not loading/reading Profile 2.

I think you have to load each profile separately. For example, if you want two profiles loaded, then you have to run the profile loader sketch twice. Each time with the appropriate profile info.
BenKeith
OK, that was it.
Thanks.

I loaded profile 1
and then loaded profile 2.
Then I loaded 6.2 and the controller has both profiles now and can select between them

I'm doing two so if he wants to roast some beans for pour over coffee, he will have the option. 1 for espresso, 2 for a lighter pour over.

So, because of the heater safety feature is why I have to jockey the fan control pot to make the roaster come on.

I'm doing this to try and make things as simple as possible for my son. In a couple of months we will be going out there (south Texas) so I'm getting things idiot proof.
He has never used an espresso machine or roasted coffee so I have to teach him all of it in a few weeks we will be there. That means Grinder, Livia 90 and roaster has to be fully dialed in before I get there.
Paul Varga
Hello everyone, Im new to the forum. I see alot of very good info regarding the TC4 and using artisan roasting software. I have just finished building a homemade roaster. What I have done is i converted a Otis Spunkmyer convection cookie oven into a roaster. I have some issues that maybe someone could help me with. I am trying to control an ac fan with the artisan QPID and all I can get the fan to do is either be full on or off. There is no speed control. Originally i was using the aArtisan sketch and the fan speed was being controlled but not correctly... It was revving . I have tryed several versions of the qpid sketches and the result is the same. I have a arduino uno r3 and the TC4 board. Im not using PID, not even sure how to! All I want is the fan to be able to be controlled. The heat works fine. If there is more information that is needed to assist me just let me know. I am using a crydom d2425 ssr for the heat and a d2525-10 for the fan. I have the zero cross detector hooked up to IO3 and OT2 hooked up to the -10 relay. I have checked all my wiring and everything seems to be hooked up correctly.
Edited by Paul Varga on 02/09/2017 9:08 PM
BenKeith
To control an AC fan you need to use -10 random fire SSR and a zero cross detector.
greencardigan
Hi, and Welcome

Have a look at the following two links to info regarding the aArtisanQ_PID use.

https://github.com/greencardigan/TC4-...111120.jpg

https://github.com/greencardigan/TC4-...ptions.pdf


It shows a few things that may help you.

1. Zero cross detector - this is required when trying to control an AC fan speed using phase angle control. It allows the Arduino to properly change the fan speed.

2. Random Fire solid state relay - also required to be able to control an AC fan speed using phase angle control.

The PID features in aArtisanQ_PID are optional.
Paul Varga
Thanks for the info. I have looked at alot of posts all over different forums, I have the zero cross detector and I am using the -10 relay. Im convinced there is something in the code that needs uncommented in the user.h file or something like that. I have the circuit wired up as shown in the sample wiring for using an AC fan that was on the website where i purchased the TC4
Edited by Paul Varga on 02/09/2017 9:25 PM
greencardigan
Just saw your post update re using ZCD and random fore SSR.

Check your settings in the user.h file.

Also, the LED on the UNO (pin 13) should flash when the UNO is receiving input from the zero cross detector.
greencardigan
Are you familiar with downloading code from github? Try loading the latest aArtisanQ_PID code. Version 6_2_2.

https://github.com/greencardigan/TC4-...tisanQ_PID

Go through each setting in user.h carefully and ask if you have questions.
Paul Varga
Yes, I have been on that site. I will download 6.2.2, I currently have up to 6.2
I am very new to arduino code so I have no IDEA. lol. I do have a electronics engineering degree though so Im not in the dark when it comes to electronics. I will mess with it in the morning. I dont see 6.2.2. I just see up to 6.2
Edited by Paul Varga on 02/09/2017 9:47 PM
greencardigan
No probs, I'm sure you'll get it sorted. Sounds like it's almost there.

How are you trying to change the fan speed? Do you have a POT connected to the Arduino or are you sending serial commands with the Artisan Roasting software?
Paul Varga
I tried both. I am using serial commands with artisan and i also tried the pots. Also the temps do not display on the lcd, they display on artisan though.
BenKeith
In the user.h for 6.2
Make sure you don't have Artisan commented out where you select your controller.
I you have the Pots, make sure define analog 1 and 2 are not commented out. If you don't have POTS, they should be commented out.
Line 176 should not be commented out "Define Triac motor
Line 177 should be commented out
Which I/O are you plugging the ZCD into, 2 or 3 ? Make sure you have the proper one selected for the I/O you are using, those are down around line 190
Make sure you have the proper frequency.

Not much of the other stuff usually gets messed with so if you've changed other things, you might want to start over again.

That's about the extent of my aArtisan knowledge
Edited by BenKeith on 02/09/2017 10:03 PM
Paul Varga
I have tryed it using IO 2 and 3, commenting out the one thats not being used. It did the same thing on both IO channels. When i Have the POTS hooked up analog 1 and 2 are not commented out. for now Im going to take them out and uncomment them so to create less confusion. I will just work with serial commands. I have noticed that some other versions of the QPID use IO2 so i swapped connections and had the same result. I will I really have not messed with anything in the user.h file. I will play with it tomorrow.
BenKeith
Greencardigan is the guru for the aArtisanQ_PID so I'm sure he can help you figure it out.
I don't use Artisan, and have just started messing with aArtisan so I'm not much help past the very basic.
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
Loading aArtisanQ_PID in Arduino Dataloggers/Controllers/Rate of Rise Meters 14 05/28/2018 8:32 PM
Help with aArtisanQ_PID Specifying Temps Dataloggers/Controllers/Rate of Rise Meters 7 08/03/2017 7:05 PM
TC4 aArtisanQ_PID or Standard Library Dataloggers/Controllers/Rate of Rise Meters 45 01/24/2016 12:17 PM
aArtisanQ_PID 5,3 with TC4 display problem Dataloggers/Controllers/Rate of Rise Meters 14 01/23/2016 11:15 AM
AartisanQ_PID 5.3 with TC4 and RoastLogger Dataloggers/Controllers/Rate of Rise Meters 6 12/14/2015 10:52 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