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.

05/14/2021 4:28 AM
Jun Park, happycamper, Fionakev, Welcome !

05/13/2021 1:08 AM
jspada, welcome !

05/12/2021 12:52 AM
jrccole0112, Welcome !

05/11/2021 2:53 AM
Welcome, Frisky turkey & Robb77 !

05/08/2021 6:42 PM
Quidgybo Welcome! beach

Community Spotlight
Brainiac
Join Date:July 27, 2007
Location:New Zealand
Posts Count:89
Rank:1/4 Pounder

Halogen Radiant Roaster
Hybrid Air Roaster
In Memory Of Ginny
Donations

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

Members Online: 0

Total Members: 7,185
Newest Member: Fionakev

View Thread

Who is here? 1 guest(s)
 Print Thread
Arduino TC4 Artisan output's not working
Mustang967
Hey guys, I am trying to convert my roaster over to TC4 control using Artisan and I am running into some problems. First I'll say that I am able to get Roastlogger working using their arduino sketch but I can't get any outputs from any form of artisan code.
Currently I'm running REL-aArtisanQ_PID_3_7 and I have also tried several different older versions with no luck.
My setup uses PWM out from OT1 which is going to a mosfet then to a Clippard solenoid, and like I said it works just fine through roastlogger and their version of the sketch so I know that the hardware is functioning.
Fan is manually controlled for the time being so that's not something that I need to worry about.
Could someone who is also using PWM from OT1 attach their working artisan sketch folder?
Or if someone could talk through the setup?
I have done a lot of searching and nothing is solving my problem.

Thanks!!!

Royce
BenKeith
I run RoastLogger so can't help you Artisan but you do need to get the latest version of aArtisanQ_PID 6.2.
I know it's up to 6.2 because I just downloaded it to play with the Android Bluetooth app for it. Something I started back when it was first released and didn't have time to do anything with it, now, I'm going to try it again and have forgotten what little I did know about it.

https://github.co...tisanQ_PID

Try here. https://github.com/greencardigan/TC4-shield/tree/master/applications/Artisan/aArtisan_PID/branches/aArtisanQ_PID_6/aArtisanQ_PID
Edited by BenKeith on 11/17/2016 9:28 PM
BenKeith
It wouldn't let me update. I sent you one too far.
this should be the right link and you will see 6.2 at the bottom
https://github.co...sanQ_PID_6
greencardigan
Ben is correct, the latest version of aArtisanQ_PID is 6_2.

See this post here discussing it's output options. Note that it is still in testing phase although I've had reports that all is fine.

http://forum.home...post_59700

I suspect you want to use the PWM control option, which gives slow PWM (adjustable) output on OT1. You will need to adjust the setup options in user.h to activate the PWM mode before programming your Arduino.

Alternatively, try one of the latest base variant of aArtisan version 3.1 https://github.co...n-V310.zip
Mustang967

Quote

greencardigan wrote:

Ben is correct, the latest version of aArtisanQ_PID is 6_2.

See this post here discussing it's output options. Note that it is still in testing phase although I've had reports that all is fine.

http://forum.home...post_59700

I suspect you want to use the PWM control option, which gives slow PWM (adjustable) output on OT1. You will need to adjust the setup options in user.h to activate the PWM mode before programming your Arduino.

Alternatively, try one of the latest base variant of aArtisan version 3.1 https://github.co...n-V310.zip


Thank you both so much! I was finally able to get that working! I had previously tried v6.2 and I'm not sure what I did wrong but its working now!

Thanks!

Royce
greencardigan
Great! Glad you got it sorted out.
Mustang967

Quote

greencardigan wrote:

Great! Glad you got it sorted out.


I actually just figured out why it wasn't working before.


#define HTR_CUTOFF_FAN_VAL 0 // 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


This option needs to be changed from 10 to 0 if you are ONLY using heater control and not fan.

Once you read what it does it makes sense, but without digging I wouldn't have known to set this to 0.

Maybe it would be helpful to have a PWM heater only control option that would automatically remove or set this to zero.
greencardigan
Good point! I can see how that setting could cause confusion.

I think if I change the default setting to zero, that would work too.

The original aArtisan code doesn't have this feature. It's one I added to suit my own setup.
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
TC4 Artisan 311 and PID I2C LCD help Popcorn Popper roasting 6 04/27/2021 8:17 AM
Artisan backgrounds Dataloggers/Controllers/Rate of Rise Meters 3 04/23/2021 4:11 AM
Artisan - PID control - setting ROASTING SOFTWARE APPS 3 04/13/2021 5:41 PM
My SR540 with TC4+ Artisan Control Other Roasters 7 03/30/2021 1:07 AM
TC4+ Arduino coffee roaster shield (TC4-compatible) Dataloggers/Controllers/Rate of Rise Meters 229 03/24/2021 11:30 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 © 2021 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX