Product overview
Description
This shield stacked on an Arduino MEGA board allows the storage of data generated by 1 to 4 lambda or lambda rpm modules in a CSV file on a MicroSD card, it has a RTC real time clock ds3231 to provide time to the data. The wiring has been provided with 4 2×6 connections for the lambda modules and a 1×4 connection for the I2C connection of an LCD display. It is stackable with the arduino boards UNO and MEGA, but it is required to use arduino MEGA for the examples of this web, because Arduino UNO has insufficient memory, due to the large amount of libraries they use (SD, RTC, lambda, wire, display).
All features
- MicroSD card reading and writing allowed.
- RTC. Real time clock.
- 5 push buttons: 4 control buttons and an arduino reset button.
- 4 (6-wire) connectors for easy connection of up to 4 lambda 01S00V00 or lambda-rpm 01S01V00 modules.
- 1 (4-wire) connector for connection of a display (LCD1602) with (LCD I2C( controller)).
- Compatible with arduino boards
- Arduino MEGA.(stackable), Recommended.
- Arduino UNO.(stackable), Note: The memory is insufficient to use all the libraries of the example programs on this web.
- Arduino UNO WIFI.(stackable), Note: The memory is insufficient to use all the libraries of the example programs downloadable below.
Software available for arduino:
- PLSME1.0.ino: Connected to 1 Controlduino 01M11V00 module and a display LCD. Saves the measured data in a CSV file, and stores it on the MicroSD card depending on the behaviour of buttons 1 and 2. Display %O2, lambda or AFR on an LCD screen. Allows the data to be displayed in the arduino IDE by modifying a programming parameter.
- PLSME2.0.ino: Connected to 1 Controlduino 01M21V00 moduleand a display LCD. Saves the measured data in a CSV file, and stores it on the MicroSD card depending on the behaviour of buttons 1 and 2. Display rpm,%O2, lambda or AFR on an LCD screen. Allows the data to be displayed in the arduino IDE by modifying a programming parameter.
- PLSME3.0.ino: Connected to 1 Controlduino 01M11V00 module and 1 Controlduino 01M21V00 moduleand a display LCD. Saves the measured data in a CSV file, and stores it on the MicroSD card depending on the behaviour of buttons 1 and 2. Display rpm,%O2, lambda or AFR on an LCD screen. Allows the data to be displayed in the arduino IDE by modifying a programming parameter.
- PLSME4.0.ino: Connected to 3 Controlduino 01M11V00 module and 1 Controlduino 01M21V00 moduleand a display LCD. Saves the measured data in a CSV file, and stores it on the MicroSD card depending on the behaviour of buttons 1 and 2. Display rpm,%O2, lambda or AFR on an LCD screen. Allows the data to be displayed in the arduino IDE by modifying a programming parameter.
Data saved in files “O2_XX.CSV.”.
- At the top of the archive.
- Date
- Hour
- Data columns.
- Order = Data counter starts at 0 and increments by one for each measurement.
- Time(ms)= Time in milliseconds measured from initial file data
- Time(RTC)= Time obtained real time clock
- RPMs= Revolutions per minute measured by the module 1 Controlduino 01M21V00.
- AFR 1 gasoline= AFR measured by module 1 Controlduino 01M21V00.
- O2_1= Percentage of oxygen in the smoke measured by module 1 Controlduino 01M21V00.
- AFR 2 gasoline= AFR measured by module 1 Controlduino 01M11V00 or Controlduino 01M21V00.
- O2_2=Percentage of oxygen in the smoke measured by module 2 Controlduino 01M11V00 or Controlduino 01M21V00.
Note: The above data corresponds to the file created by the example program PLSME3.0.ino, in the other programs it varies slightly, depending on the number of lambda modules used.
Note: Below is a downloadable sample csv file “O2_1.csv.” .
Behaviour of the buttons for the arduino example programs:
- Button 1 (D5): Saves collected data to a CSV file on MicroSD card.
- Button 2 (D6): Toggles whether to start recording in the last created CSV file or to start recording in a new file on MicroSD card.
- Button 3 (D7): Toggles the value shown on the display between, AFR, lambda and %O2.
- Button 4 (D8): Adjusts the air to 20.95% oxygen.
Required components
- Datalogger Shield with SD card and RTC, for lambda modules. Controlduino 91S00V00.
- 1 to 4 wideband lambda sensor control modules, Controlduino 01M11V00 or wideband lambda sensor control modules with RPM, Controlduino 01M21V00.
- 2×3 wires for connections to modules.
- Arduino MEGA board with USB cable, Note: Arduino UNO has insufficient memory to load all libraries if all components are to be used (<Lambda_rpm.h>,<SPI.h>,<SD.h>, <Wire.h> ,<DS3231.h>, Display <LiquidCrystal_I2C.h>).
- SDcard.
- 2032 battery for RTC.