Read a bit frame and convert it to a number

Good evening

I have a cable that has a temperature signal encoded by a bit frame (I know this because when I place the signal on an oscilloscope it looks like a pulse train), what I need is to read that signal with the arduino and display the temperature.

Do you have the data sheet for the sensor

Hi, thanks for listening.
It is a lm35 temperature sensor that goes through an atmet microcontroller and this sends the signal in a frame of bits, this frame of bits is the one that I have to encode again

Post the code running on the microcontroller, if available. That would be your very best source of information.

I dont have this information

Take a couple of close up pics of the device, focussing on any lettering please.

Looks a bit like Manchester encoded data,
but you only show a small part of the whole transmission.

I dont have this information

Then you will have to reverse engineer the encoding. Collect a number of examples of complete pulse trains, at different known temperatures, and solve the problem of relating the two.

It may be easier just to read the LM35 sensor, or replace the entire item with another type of temperature sensor, like the DS18B20.

Temperature sensors are cheap and readily available if you want a known entity

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.