Tell us about yourself!
Hello EastCrow,My code is using several external libraries (one for the display and for for the converter analog digital). I do not provide them because they are completely standard.That's written in the beginning of the code but it seems you are not completely familiar with arduino. They are also web available. If you want i sent you the zipped folder by mail.#include #include "U8glib.h"Chris
Unzip the running average i provide and put the folder "running average" in your arduino library folder.
This is the pin2. Google arduino pro mini pinout to know exactly where is the pin2 on the board. You will get lot of beautiful diagram.
Hello, i am travelling and have no access to source. I will be back on 5/2 and take a look. Perhaps take abus look at the pin wich is inputpullup...
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 »