Introduction: Flame Logger
This is a simple project; to make a flame sensor and have the information data logged. I wanted to hook something up to my boiler to log the time of the flame is on. Since the boiler is older, this seemed to be the easiest way
I have not seen anything like this online (hence the intractable) there are many DataLogging for Time Temp etc but nothing for recording flames or really much else.
HiLetgi Mini Logging Recorder, Data logger Module Shield V1.0 Expansion Shield
Step 1: Parts
Not much to say here- all parts are found on amazon
Elegoo EL-CB-001 UNO R3 Board ATmega328P ATMEGA16U2 with USB Cable for Arduino $12
HiLetgo Mini Logging Recorder Data Logger Module Shield V1.0 For Arduino UNO SD Card $ 7
Jumper wires- Less than $10
IR Flame Sensor Module Detector Smartsense For Temperature Detecting Compatible With Arduino by Atomic Market $7
I had some of this stuff due to few sets that I bought.
Step 2: Flame Sensor
Typically a flame sensor that is set up to be hooked up to an Arduino has four connections
1 VCC - voltage
2 GND - Ground
3 A0- Analog Out
4 D0- Digital Out
Some Sensors have only DO ( digital outs)
Step 3: Arduino UNO
There is so much information on the Arduino line that I'm not going to talk about tall that here
YouTube "Arduino" and you will have all the info you need.
Step 4: Data Logger
This particular Data Logger has a RTC ( Real Time Counter) attached to it, it uses and needs a CR1202 watch battery to record if the Arduino loses power.
This Data Logger's ChipSelect is set to Pin10- (we'll get to this- but important)
Since this is a Shield all you have to do is plug in into the Arduino- so all you have to do hook the flame sensor to the expansion board.
Step 5: Hardware Set Up
1 take the Arduino and connect the expansion board to the Arduino
2 Hook up the Flame Sensor, VCC = 5v Pin, GND- GND.
3 Then set the Flame Sensor pin- if you choose Digital, (D0) then hook it up to the digital side of the Arduino, if you choose the analog side then hook up the flame sensor to the A0.
Step 6: LETS CODE
**** So I DON"T CODE, THIS IS MY FIRST ONE******
If you see ways to fix or refine this please feel free.
1. include servo libraries
2. include the SPI
const int- (this where the chipSelect is important) the Data logger needs to be able to talk to the Arduino- my understanding is that this the PIN that talks to the Arduino.
( this is the part of the script that runs once; that establish the script)
Serial.begin- this establish that the serial monitor (talks with the computer)
While function - waiting for the port to connect
Serial Print= Simply displays on the Serial monitor
if <- this open the begin section-
basically this establishes the card
Step 7: In Conclusion
I have to type up the rest of the breakdown of the code
, but this is the first instructables I wrote so be easy