Вы находитесь на странице: 1из 12

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

INTRODUCTION
TheHTRoasterInterfacefamilyofdevicesprovidesthemeanstocontrolcertainbuiltinroaster functionswithausersuppliedexternalcontroller.HTRoasterInterfacedevicesareavailablein differentformfactors: TheHTShielddeviceiscompatiblewithArduinoUnomicroprocessorboardsandmaybe directlyconnectedtothosedevicesusingstackingheaders TheHTCdevicemaybestackedontoMLGsTC4Cmicroprocessorboardormaybeused asastandalonedevice HTRoasterInterfacedevicesincludeanAVRmicrocontrollerwithspecialfirmwarethatis programmedtomonitorandinterpretsignalsfromtheroastersOEMcontroller,aswellas heaterandfancontrolsignalsfromanexternalcontroller. AtypicalsystemthatmakesuseofanHTRoasterInterfacedevicemightconsistof: Hottoproaster(KN8828P,KN8828P2,KN8828B,KN8828B2,orKN8828D) TC4thermocoupleinterfaceshield HTShield ArduinoUnomicrocontrollerboard RoastLoggersoftwarerunningonaLinux,MacOS,orWindowscomputer Alternatively,asystemmaybeconfiguredusingaTC4Cmicrocontrollerboardalongwithan HTCdevice,therebyeliminatingtherequirementtoincludeanArduinoUnointhesystem: Hottoproaster(KN8828P,KN8828P2,KN8828B,KN8828B2,orKN8828D) TC4Cmicrocontrollerboard HTC RoastLoggersoftwarerunningonaLinux,MacOS,orWindowscomputer Asystemconfiguredinoneofthewaysdescribedaboveenablestheusertobothmonitorand controltheirroaster.Thedegreeofcontrolavailableislimitedonlybythecapabilitiesofthe softwarerunningonthehostcomputerand/orexternalcontroller.RoastLoggersoftware,with itsArduinoControllerfeature,worksespeciallywellthesesystemsandisrecommended. UsersofTC4shieldandTC4Csystemsalsohavetheoptiontoeliminatethehostcomputerand software,andinsteaduseasimple4buttoninterfaceandLCDdisplaytomonitorroastprogress andmanuallyadjustheaterandfanoutputs(LCDapterhardwareandadditionalcablingis required).

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

DEVICEDESCRIPTION

Figure1HTShieldboard

EveryHTRoasterInterfacedeviceincludesan8pinmaleCTLheaderandan8pinmalePWR header.(Dependingonthetargetroaster,however,either7or8pinsmayactuallybe connectedtotheroaster). IncomingsignalsfromtheroastersOEMcontrollerarereceivedontheCTLheaderandreadby theAVRmicrocontroller.Dependingonboththestateoftheroasterandonthecommands receivedfromanexternalcontroller,theHTRoasterInterfacedevicewilleitherpassthroughor modifytheheaterandfansignals.Thepassedthroughormodifiedsignalsaresenttothe roasterspowerboardviathePWRheader. TheHTRoasterInterfacedevicemustbepoweredat5VDCandshouldshareacommonground withtheroastersOEMcontrolandpowerboards. Heaterandfancontrollogicsignalsfromanexternalcontrollerareopticallyisolatedfromthe HTRoasterInterfacedevice.(Externalsignalsshouldbenominally5VDC,buthigherorlower voltageexternalsignalsmaybeusedwithproperlysizedresistorsR1,R2,andR3).

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

ForHTShielddevices(seeFigure1),externalcontrolsignalsarereceiveddirectlyfroman Arduinomicrocontrollerboardthroughthestackingheader.ArduinopinD9carriestheheater controlsignalandArduinopinD3carriesthefancontrolsignal. ForHTCdevices(seeFigure2),externalcontrolsignalsmustbeprovidedonthemalepinsof theEXTcableconnectionheader.Asidefromthemannerinwhichthedevicesreceiveexternal controlsignals,theHTShieldandHTCdevicestreatexternalheaterandfansignalsidentically. PWMfrequenciesforheaterandfancontroluptoapproximately2kHzhavebeensuccessfully testedonHTRoasterInterfacedevices.

Figure2HTCboard

EachHTRoasterInterfacedevicehasablockofDIPswitches(SW1).Thesethreeswitchesare usedtoconfigurethebehaviorofthedevice.Completedescriptionsofthemodesofoperation andassociatedswitchpositionsareprovidedinAppendixC. EachHTRoasterInterfacedeviceincludesonboardLED1.ThisgreenLEDwillilluminatewhen powerissuppliedtotheHTRoasterInterfacedeviceanda5V(nominal)voltageisdetected comingfromtheexternalcontroller.IfLED1isnotilluminated,thentheHTRoasterInterface devicewillpassthroughallOEMcontrolsignalsandwillnotpermitexternalheaterorfan control.

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

HTCdevicesdetectthepresenceofanexternalcontrollerthrougheithertheTC4Cheaderor throughthe+5VandGNDpinsontheEXTcableconnectionheader.HTShielddevicesdetect theexternalcontrollerdirectlythroughtheArduinostackingheaders. InadditiontoLED1,everydevicealsoprovidesa2pinheaderfortheattachmentofpanel mountedLED2.ThefirmwareintheHTRoasterInterfacedevicesMCUisprogrammedto illuminateLED2anytimetheroastersheaterison.

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

HTROASTERINTERFACEINOPERATION HTRoasterInterfacedevicesareprogrammedtomonitorbothOEMroastercontrolsignalsand externalcontrolsignalsorcommands.Inmostsituationswhilearoastisprogressing,the devicewillpermittheexternalcontrolsignalstoreachtheroasterspowerboardandtakeover controloftheheaterand/orfan. ThespecificmodeofoperationoftheHTRoasterInterfacedeviceisestablishedbythe positionsoftheswitchesinSW1.SeeAppendixC. Inallmodesofoperation,thefollowingrequirementsareimposedbytheHTRoasterInterface devicefirmware: WhentheroastersOEMcontrollerhasactivatedtheejectsignalorthestirsignal(EJ andSTpinsintheCTLheader)thentheOEMcontrollerisgivenfullcontroloverheater andfan.ExternalheaterandfansignalsareignoredbytheHTRoasterInterfacedevice inthissituation. WhentheOEMcontrollerhasnotactivatedtheroastersdrum(DRMsignalintheCTL header)thentheheaterandfanarebothforcedbytheHTRoasterInterfacedeviceto beoff.ExternalheaterandfansignalsareignoredbytheHTRoasterInterfacedevicein thissituation. WhennovoltageisdetectedcomingfromtheexternalcontrollerthentheOEM controllerisgivenfullcontroloverheaterandfan.Thisallowsuseoftheroasterinits nativemodewhentheexternalcontrollerisdisconnected. DependingonthemodeofoperationestablishedbySW1,theHTRoasterInterfacedevicewill imposeotherrequirementsbasedonthestatusoftheOEMcontrollerheaterandfansignals. SeeAppendixCfordetails. WhileHTRoasterInterfacedevicesmaybeusedwithotherroasters,manyofthefeaturesof thedevicesaretargetedspecificallyatvariousmodelsofthepopularHottoproasters.Someof theHottopspecificfeaturesofthedevicesinclude: ThesafetycheckpointsimplementedonKN8828P,KN8828P2,KN8828B,andKN8828B 2roastersaresupportedwhentherecommendedswitchconfigurationsareused. ThehardwareusedfortheCTLandPWRheadersarecompatiblewithOEMHottop cables. AspecialHTRoasterInterfacedevicemodehasbeenimplementedforPandP2 roasterswhichovercomesmanyoftheshortcomingsofthatcontrolpanel.

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

APPENDIXAConfigurationandConnectionGuideforHTShield

FigureA1HTShieldfor7wirecable

FigureA2HTShieldfor8wirecable

HTRoasterInterface Copyright(c)2012MLGProperties,LLC
Item SW1 (3pos dip switch) LED2 (2pin header) HottopD HT_EN=OFF FAN=ON INVERT=OFF Connectorfor remoteLEDto indicateheater status(1Kseries resistorprovidedon HTShieldboard) Incircuit programmingheader forIC1 Onwhen Arduino/TC4has beendetected Tiesroasterground toTC4system ground HottopB HT_EN=ON FAN=ON INVERT=ON


HottopP HT_EN=OFF FAN=OFF INVERT=ON

TechnicalReference Version1.00,Sept.3,2012
Comments SetFANswitchtoOFF ifexternalfancontrol isnotdesired(DandB only). Useisoptional,but highlyrecommended. LED2willilluminate whenheateris receivingpower. Advancedusersonly

ICSP (6pin header) LED1 TCGND (2pin header)

Connectorfor remoteLEDto indicateheater status(1Kseries resistorprovidedon HTShieldboard) Incircuit programmingheader forIC1 Onwhen Arduino/TC4has beendetected Tiesroasterground toTC4system ground

Connectorfor remoteLEDto indicateheater status(1Kseries resistorprovidedon HTShieldboard) Incircuit programmingheader forIC1 Onwhen Arduino/TC4has beendetected Tiesroasterground toTC4system ground

RGND

(seeTCGND)

(seeTCGND)

(seeTCGND)

POW SEL (4pin header) CTL (8pin header) PWR (8pin header)

Suppliespowerto TC4devicefrom roaster 7wirecableto HottopOEMcontrol panel 7wirecableto HottopOEMpower board

Suppliespowerto TC4devicefrom roaster 8wirecableto HottopOEMcontrol panel 8wirecableto HottopOEMpower board

Suppliespowerto TC4devicefrom roaster 8wirecableto HottopOEMcontrol panel 8wirecableto HottopOEMpower board

Optional.Maybe neededifgrounded thermocouplesarein use.UsewithRGND (seebelow) Optional.Ifused, valuesbetween1K and10Kusuallywork. Mayalsouseajumper here. Optional.For advancedusers.

Notethatpolarities aredifferentforthe7 wirecablevsthe8 wirecable. Notethatpolarities aredifferentforthe7 wirecablevsthe8 wirecable.

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

APPENDIXBConfigurationandConnectionGuideforHTC
MountingOptionA:HTCasastandaloneboard Thismountingoptionusesa6wirecabletocarrythenecessarypower,ground,fancontrol,and heatercontrolsignalsfromanArduino/TC4systemorfromaTC4CsystemtotheHTC.TheHTC maybemountedinsidetheroaster,oritmaybemountedexternally. MountingOptionB:HTCpiggybackedontoTC4Cboard Thismountingoptionusesa4wirecabletocarrythenecessaryfancontrolandheatercontrol signalsfromtheTC4CsystemtotheHTC.ComparedtoMountingOptionA,twofewerwires arerequiredsincethe+5VandGNDsignalsareprovideddirectlybythestacking4pinheader (labeledTC4Contheboard).

FigureB1HTCconfiguredfor7wirecable

FigureB2HTCconfiguredfor8wirecable

HTRoasterInterface Copyright(c)2012MLGProperties,LLC
Item SW1 (3pos dip switch) LED2 (2pin header) HottopD HT_EN=OFF FAN=ON INVERT=OFF Connectorforremote LEDtoindicateheater status(1Kseries resistorprovidedon HTCboard) Incircuitprogramming headerforIC1 Onwhenexternal controlhasbeen detected HottopB HT_EN=ON FAN=ON INVERT=ON

TechnicalReference Version1.00,Sept.3,2012

HottopP HT_EN=OFF FAN=OFF INVERT=ON Connectorforremote LEDtoindicateheater status(1Kseries resistorprovidedon HTCboard) Incircuitprogramming headerforIC1 Onwhenexternal controlhasbeen detected

ICSP (6pin header) LED1

Connectorforremote LEDtoindicateheater status(1Kseries resistorprovidedon HTCboard) Incircuitprogramming headerforIC1 Onwhenexternal controlhasbeen detected

Comments SetFANswitchtoOFFif externalfancontrolis notdesired(DandB only). Useisoptional,but highlyrecommended. LED2willilluminate whenheaterisreceiving power. Advancedusersonly

TCGND (2pin header)

Tiesroastergroundto TC4systemground

Tiesroastergroundto TC4systemground

Tiesroastergroundto TC4systemground

RGND

(seeTCGND)

(seeTCGND)

(seeTCGND)

POW SEL (4pin header) CTL (8pin header) PWR (8pin header) TC4C (4pin header) EXT (4pin header)

SuppliespowertoTC4 devicefromroaster

SuppliespowertoTC4 devicefromroaster

SuppliespowertoTC4 devicefromroaster

Thisprovides confirmationthatthe Arduino/TC4orTC4Chas beendetectedbythe HTCinterface. Optional.Maybe neededifgrounded thermocouplesarein use.UsewithRGND (seebelow) Optional.Ifused,values between1Kand10K usuallywork.Mayalso useajumperhere. Optional.Foradvanced users.

7wirecabletoHottop OEMcontrolpanel 7wirecabletoHottop OEMpowerboard Stackingconnectorfor TC4C

8wirecabletoHottop OEMcontrolpanel 8wirecabletoHottop OEMpowerboard Stackingconnectorfor TC4C

8wirecabletoHottop OEMcontrolpanel 8wirecabletoHottop OEMpowerboard Stackingconnectorfor TC4C

4or6wirecable connectortoTC4Cor Arduino/TC4.

4or6wirecable connectortoTC4Cor Arduino/TC4.

4 or6wirecable connectortoTC4Cor Arduino/TC4.

Notethatpolaritiesare differentforthe7wire cablevsthe8wirecable. Notethatpolaritiesare differentforthe7wire cablevsthe8wirecable. OptionalforTC4C(Use withMountingOption B).Notapplicableto Arduino/TC4. Use6wirecablefor MountingOptionA;use 4wireforMounting OptionB(TC4Conly).

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

APPENDIXCHTRoasterInterfaceSwitchConfigurationsforHottopRoasters

Hottop HT_EN Model Switch Setting D OFF FAN Switch Setting ON (see com ments) INVERT Switch Setting OFF Safeguards OEM Program Setting Max. 1.HTRI time monitors drum,stir, ejectsignals 2.OEM fusiblelink 1.HTRI Max. monitors time, drum,stir, 100% ejectsignals heat, 2.Factory 100% programmed fan safetypoints 3.OEM fusiblelink Cooling BetweenBack toBackRoasts Fullyuser controlled throughHTRI Comments

Similarbehaviorif FANswitchsetto OFF,exceptthat fanisOEM controlled. Mayalsobeused forHottopP models,butpoor roast performancemay resultfromthe limitationsofthe OEM programming. Thiscanresultin turningthe heateroffduring somesegments and/orendingthe roastprematurely onProasters. Specialmodefor HottopPmodel roasters:HTCwill forcetheheater toturnoffany timetheOEM controllerenables thefansignal. Mayalsobeused forHottopB model.

ON

ON

ON

Usermust controlfan throughHTRI; heaterisOEM controlled

OFF

OFF

ON

OEMcontrolled 1.HTRI Max. (notchangedby time,0% monitors HTRI) drum,stir, fan ejectsignals 2.Factory programmed safetypoints 3.OEM fusiblelink

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

Mode HT_EN FAN INVERT Comments 0 OFF OFF OFF RecommendedforHottopDmodelifusercontroloffanisnot desired SpecialmoderecommendedforHottopProaster.Mayalsobeused forHottopBmodel. RecommendedforHottopDmodelifusercontroloffanisdesired Recommendedforadvanceduserswithcustomapplicationsonly! Recommendedforadvanceduserswithcustomapplicationsonly! Recommendedforadvanceduserswithcustomapplicationsonly! Recommendedforadvanceduserswithcustomapplicationsonly! RecommendedforHottopBmodel.MayalsobeusedforHottopP model,subjecttolimitationsofOEMroastprograms.

OFF

OFF

ON

2 3 4 5 6 7

OFF OFF ON ON ON ON

ON ON OFF OFF ON ON

OFF ON OFF ON OFF ON

HT_ENswitch: ON=HTRIcontrollerwillenableheaterONLYwhenOEMcontrollerhasenabledheater OFF=HTRIcontrollermayenableheaterwhetherornotOEMcontrollerhasenabled heater FANswitch: ON=usermaycontrolfanthroughHTRIduringroast OFF=faniscontrolledbyOEMcontrolleratalltimes(allmodesexceptmode1) OFF=usercontrolfanthroughHTRIduringroast;OEMfansignalcausesheatertobe turnedoffbyHTRI(mode1only) INVERTswitch: ON=OEMcontrollerlogicsignalsareinverted(1=OFF,and0=ON) OFF=OEMcontrollerlogicsignalsarenotinverted(1=ON,and0=OFF)

HTRoasterInterface Copyright(c)2012MLGProperties,LLC

TechnicalReference Version1.00,Sept.3,2012

DISCLAIMER
HTRoasterInterfacedevicesareexperimentalelectronicskits.Theyareintendedtobeusedby electronicshobbyistsandotherpersonssimilarlyknowledgeablewithelectronicdevices. Installationofoneofthesedevicesintoyourroastermaydisableimportantsafetyfeaturesbuilt intotheroaster.Itmayalsovoidthewarrantyonyourroaster. HTRoasterInterfacedeviceshavenotbeenreviewed,tested,orcertifiedbyULLaboratories, CSA,oranyotherrecognizedtestingagencies.Anyinsuranceyouhavethatmightotherwise coverdamagesresultingfromaroasterfiremaybecomevoidedbytheuseofnonapproved devicessuchasHTRoasterInterfacedevices. NeitherMLGProperties,LLCnoranyotherpersonsorcompaniesthatmayhavebeeninvolved inthetestingordocumentationofHTRoasterInterfacedevicesmaybeheldliableforany damagesresultinginpartorwholefromtheuseofHTRoasterInterfacedevices.Thislimitation shallapplyevenintheeventofdamagesresultingfromflawsinthedevicesthatareknownto MLGProperties,LLCorotherpersonsorcompaniesthatmayhavebeeninvolvedinthetesting ordocumentationofHTRoasterInterfacedevices. ByinstallingandusinganHTRoasterInterfacedeviceyouareacceptinganyandallrisks associatedwithitsuse. Iftheconditionsoutlinedaboveareunacceptable,youmayreturnthedevice(s)unusedfora fullrefundwithin7daysofreceipt. WhilebothHottoproastersandArduinomicrocontrollerboardsarementionedinthis referencemanual,neitherhasendorsednorisaffiliatedinanywaywiththeHTRoaster Interfacedevice.HottopandArduinoaretrademarkedorcopyrightednamesownedbytheir respectivecompanies.