With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Hi eastcrow,Arduino mini 5v.Mainly because it fit in the box... otherwise any model will work!
Hello tom.I do not handle this.The cell just return a potential ( in mVolt).Zero when no oxygen.X for 21%If you have y mv... you habe to calculate the ratio considering the potential vs oxygen is linear.When a cell is used: the potential vs voltage is no more linear or not stable.Has no method seemed to me sure, i prefered not to implement anything bad.If you have a doubt.. better to do a test with two known gaz like nitrox 80 ans air !
No problem. I will help.Thanks for your comment.I did this last year. I forgot to mention that (even if it is not good), I added a function in the library to have an idea of the "stable or not" measure.I add the library (cpp and h file) in the provided files.Just replace yours.No worry, it should stays compatible.
happy to see it compiles. ! (You are the pioneer) I have to publish a more didactic version of the code... I will.I instanciate the ads object with "74" as argument. This is the address the ADS chip and the arduino will use to communicate on the I2C bus wich can connect lot of devices.To say the ads that he has to use that address (it can use 4 differents), you have to connect its addr pin to sda. If you want detail : All is explained in ads techspec from texas instrument - section I2c address selection.I spend myself lot of time with I2C ... if with another stuff you are one day wondering, you can google to get an I2C address dumper that gives you all the adresses on system connected. Always noce to have.
Remove alos debug if you have size issue. The display library takes a LOT of program space.To remove, just remove #define DEBUG in the following.If you do not define it, the compiler will replace the debug command by nothing#define DEBUG#ifdef DEBUG#define DEBUG(x) Serial.print(x)#define DEBUGLN(x) Serial.println(x)#else#define DEBUG(x) #define DEBUGLN(x) #endif
Home made - one hand - Nitr...View Instructable »
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.