can this code be use for electric kettle? Experiment 12 Title: Temperature Sensing&Control Objective: To demons...
Experiment 12 Title: Temperature Sensing&Control Objective: To demonstrate temperature control by means of reading input (temperature) from a sensor of a heater circuit and processing the data Settings Module Selector. ADC, HEAT, the jumper on the swTCHOFF must be taken out. LED OP Other OFF Analog Selector. TEMP. LDR&POT set to OFF mportant Only set the HEAT jumper to on position after you have executed the program. Turn off the mode switch (Heater) when your program execution is finished Note: Press the PB1 push button to initialize the ADC if required Program Listing Experiment 12 Filename: Exp12-1.asm To maintain a constant temperature value of approx 1Fh $080c00 begin org .configure PACR to ,ode 1x "configure PADOR configure PBCR to mode 1x *configure PBOR to output move . b #$80, $10000d move .b #500, $100005 move.b $80,$10000 move·b #$ff, $100007 usod, do #7, d3 #0 move.b move trap $0a, do #7,d3 #0 0 4nd move.b move trap string,a4 #1,d3 lea.l move trap #0 #$0d, do #143 #0 move .b move trap move.b $0a, do hove #0 tempezature reached obtained value from ade move "b #30, d6 again bsr move.b do, d bsr disp d7, d6 ㎝p.b bhi #0, $100013 move "b