Hi all. I am newbie in 6811. I have a final project to do. And I want to know how to integrate the temperature sensor to the M68HC11? But firstly, I need to know the best sensor to use.. tq |
|
Temperature Sensor
Started by ●August 31, 2003
Reply by ●August 31, 20032003-08-31
You have two options: use a digital sensor, or an analog sensor. The first option is easy in hardware, but hard in software. Normally it's used a DS1820; that's a sensor with an ADC and a serial interface, so you have to build a serial decoder by software. In the second option the best & cheaper solution it's to use a LM35 and connect it to the ADC port on 68HC11 (or other that has an analog input), but it can't be inaccurate if you don't calibrate it correctly. e_w_a_n <> wrote: Hi all. I am newbie in 6811. I have a final project to do. And I want to know how to integrate the temperature sensor to the M68HC11? But firstly, I need to know the best sensor to use.. tq To unsubscribe from this group, send an email to: --------------------------------- Yahoo! Messenger Nueva versión: Super Webcam, voz, caritas animadas, y más #161;Gratis! |
Reply by ●August 31, 20032003-08-31
In a message dated 8/31/03 2:42:10 PM Eastern Daylight Time, writes: I am newbie in 6811. I have a final project to do. And I want to know how to integrate the temperature sensor to the M68HC11? But firstly, I need to know the best sensor to use.. ============================================================ there are temp sensors that put out an analog voltage like an ad590 and digital ones like ds1620... the analog one would run into an opamp to goose the millivolts up a little then to the a/d input on the hc11. The ds1620 hooks to the spi input. You writing this project in c I hope? What compiler? |
|
Reply by ●September 1, 20032003-09-01
thank you for replying. I writing this project not in c but in the uC language itself. if I decide to use the LM35 sensor, is there any supporting chip to be used? or can I connect it to the 68HC11 direcly? Thank you. --- In , BobGardner@a... wrote: > In a message dated 8/31/03 2:42:10 PM Eastern Daylight Time, > e_w_a_n@y... writes: > I am newbie in 6811. I have a final project to do. And I want to > know how to integrate the temperature sensor to the M68HC11? > But firstly, I need to know the best sensor to use.. > ============================================================ > there are temp sensors that put out an analog voltage like an ad590 and > digital ones like ds1620... the analog one would run into an opamp to goose the > millivolts up a little then to the a/d input on the hc11. The ds1620 hooks to > the spi input. You writing this project in c I hope? What compiler? > |
Reply by ●September 1, 20032003-09-01
In a message dated 9/1/03 11:29:45 AM Eastern Daylight Time, writes: I writing this project not in c but in the uC language itself. if I decide to use the LM35 sensor, is there any supporting chip to be used? or can I connect it to the 68HC11 direcly? ====================================== You mean you are writing in assembly language for the hc11. There are still several 'flavors' of hc11 assembly language... there is a free assembler on the motorla site and on the technologiocal arts site. Also, you can find out everything you never wanted to know about the LM35 by reading the data sheet... dont know where to find it? just type in lm35 on the google search bar. Get started on your project and come back in a few hours and ask a specific question, like 'I see the a/d converter will give me 255 values between 0 and 5v, how can I print this out the serial port as farenheit or celcius or kelvin or rankine?' or something like that |
Reply by ●September 1, 20032003-09-01
Attached file is the temperature sensor circuit , connect the output of
op amp to a/d input of the 68HC11 regards zeyad rezk -------Original Message------- From: Date: 01 , 2003 07:26:44 To: Subject: [m68HC11] Re: Temperature Sensor thank you for replying. I writing this project not in c but in the uC language itself. if I decide to use the LM35 sensor, is there any supporting chip to be used? or can I connect it to the 68HC11 direcly? Thank you. --- In , BobGardner@a... wrote: > In a message dated 8/31/03 2:42:10 PM Eastern Daylight Time, > e_w_a_n@y... writes: > I am newbie in 6811. I have a final project to do. And I want to > know how to integrate the temperature sensor to the M68HC11? > But firstly, I need to know the best sensor to use.. > =========================================================== > there are temp sensors that put out an analog voltage like an ad590 and > digital ones like ds1620... the analog one would run into an opamp to goose the > millivolts up a little then to the a/d input on the hc11. The ds1620 hooks to > the spi input. You writing this project in c I hope? What compiler? > Yahoo! Groups Sponsor To unsubscribe from this group, send an email to: |
Reply by ●September 1, 20032003-09-01
why the attached file did not send with the message ?
i put the file in files section of the group zeyad -------Original Message------- From: Date: 02 , 2003 01:28:07 To: Subject: Re: [m68HC11] Re: Temperature Sensor Attached file is the temperature sensor circuit , connect the output of op amp to a/d input of the 68HC11 regards zeyad rezk -------Original Message------- From: Date: 01 , 2003 07:26:44 To: Subject: [m68HC11] Re: Temperature Sensor thank you for replying. I writing this project not in c but in the uC language itself. if I decide to use the LM35 sensor, is there any supporting chip to be used? or can I connect it to the 68HC11 direcly? Thank you. --- In , BobGardner@a... wrote: > In a message dated 8/31/03 2:42:10 PM Eastern Daylight Time, > e_w_a_n@y... writes: > I am newbie in 6811. I have a final project to do. And I want to > know how to integrate the temperature sensor to the M68HC11? > But firstly, I need to know the best sensor to use.. > ============================================================ > there are temp sensors that put out an analog voltage like an ad590 and > digital ones like ds1620... the analog one would run into an opamp to goose the > millivolts up a little then to the a/d input on the hc11. The ds1620 hooks to > the spi input. You writing this project in c I hope? What compiler? > Yahoo! Groups Sponsor To unsubscribe from this group, send an email to: ">http://docs.yahoo.com/info/terms/ . |
|
Reply by ●September 1, 20032003-09-01
If you use a thermistor, you do not need an op-amp. However, because of the non-linearity of thermistors, you will need a look-up table with an interpolation function. 5V0 --- | 10K Resistor | |-----> HC11 AtoD.n | Nominal 10K thermistor (Thermometrics, Fenwal, YSI..) | V Gnd This is fine for a range of around -40 to +110 C. Bfn, Bob Furber __________________________________________________________ HMI software brings true interactivity to microcontrollers www.microcommander.com __________________________________________________________ |
Reply by ●September 1, 20032003-09-01
Hi Zeyad > why the attached file did not send with the message ? > i put the file in files section of the group > zeyad This list does not support attachments. Bob Furber __________________________________________________________ HMI software brings true interactivity to microcontrollers www.microcommander.com __________________________________________________________ |