I have been searching for a while but the internet seems to be doing me no luck.
Is there anyone who knows what temperature sensors are compatible with Arduino, it doesn't matter if it is I2C or not, or does anyone know what I should be looking out for.
This is just so I am able to compare sensors and find out which one is more suitable for my project.
Its more just I am wanting to know if there is any tell tale sign a sensor will work with Arduino just as i have a good few salvaged parts and not sure if there usable or not.
and i have found some sensors online but they don't specify if they work with Arduino or not.
Pretty much any sensor can be made to work with an Arduino. It may take external hardware. And there are libraries that facilitate using many sensors.
If you have part numbers, Google can help to find data sheets for the parts. Without data sheets you are in the dark.
If you give us the part numbers or links to the pages that you found, we can tell you what you need to be able to use the sensors in terms of hardware and software. We may, also, be able to point you to tutorials.
Thanks for that mate, How much of a rabbit hole is it trying to create your own library for Arduino, do you think it would be worth it if there wasn't a one compatible.
Arduino is a general purpose machine. It'll interface with most anything that can be converted into a logic level or 0-5v analog voltage.
Some devices have drivers. common temp devices are:
The path is to write a program (sketch) that does all of what you want. Once you have the variables and functions defined, it is not real hard to turn that into a library. There is a learning curve but there are a lot of tutorials to help.
I am a test engineer by trade (retired) and a hobbyist. I just started learning C++ a few years ago and learn new things most every day. I have made several libraries and it is really not as hard as it looks. I venture to say that if I can do it, most anyone can.
I use the BME's. They're tiny (about 1 cm sq) and very accurate (you might still want to code a calibration offset). My only complaint with the BME is that the driver crashes if there is no device found (cable off) - your sketch will STOP if the BME isn't there. No way to gracefully recover I've found.
If you get the sensor to work in a stand-alone sketch (program code) then you do not need to create a library... there is no reason. Libraries are created to assist others or to simplify your reuse in future projects... a kind of scalability thing.
A specialized Google search will give a significant amount of hits: