0-5v signal conversion adc-dac automotive

Hi all,

I'm thinking of constructing something for many car. I want to replace a sensor with a different type. So I need to translate the new type sensor output to meet the original sensor signal. I already have the comparison table. 8bit will be enough, but 10 bit is always better.

I need to convert a 0-5v analog signal to meet a other 0-5 v value. So I need to adc, lookup the correspondence value in a table and output true DAC. It needs to be realtime, but I think a a average of double sample will be more accurate..

I have done a bit programming a avr more than 10 years ago, and lost my programming ability by doing lots of other things that remotely looks like code so I need to learn again :slight_smile:

If someone can help me starting this?

Best regards Gerben

What is the output DAC you are using?
Something like this?

gbinsb:
for many car.

The small print at the very bottom of Atmel's Atmega 328 datasheet says that it should NOT be used for automotive applications.

Atmel does make other chips that are approved for automotive use.

...R

Crossroads: I don't know yet which DAC to use, the one u suggested is good enough looking at the datasheet. In the past I used the PWM with a RC to go back to analog. but I don't know if this is good enough. With 10 bit DAC I have a resolution of 0,0012v. With a 8 bit PWM I got theoretically 0,019v resolution. I think this should be enough for my application, but I don't know if this gonna be the end result with the RC.

Thank you, Robin. I will choos a uC suited for automotive for the final result.

Need this part

Only SMD, rated for higher temp range.
Still not approved for automotive use without Atmel approval.