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. Powered by a 3.3V CR2032 battery when the datalogger shield is not powered.
- 5 push buttons: 4 control buttons and an arduino reset button.
- 4 (6-wire) connectors for easy connection of up to 4 lambda 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 R4 minima.(stackable).
- Arduino UNO R4 WIFI.(stackable).
- Compatible but insufficient memory with Arduino boards.
- Arduino UNO R3.(stackable).Not recommended, The memory is insufficient to use all the libraries of the example programs on this web.
- Arduino UNO R3 Wifi.(stackable). Not recommended, The memory is insufficient to use all the libraries of the example programs on this web.
- Compatible with lambda modules.
- 01M11V00. Wideband lambda module.
- 01M21V00. Wideband lambda module with rpm.
- 01M30V00. Double wideband lambda module with rpm and 3 analog inputs.
- Others.
Software available for arduino:
- PLSME1.0.ino: Datalog shield with 1 Controlduino 01M11V00 module and one LCD display. Saves the measured data in a CSV file on the MicroSD card in a controlled way by push buttons. Displays %O2, lambda or AFR on an LCD display. Allows to display the data in the arduino IDE by modifying a programming parameter.
- PLSME2.0.ino: Datalog shield with 1 Controlduino 01M21V00 module and a display LCD. Saves the measured data in a CSV file on the MicroSD card in a controlled way by push buttons. 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: Datalog shield with 2 Controlduino 01M11V00 module and one LCD display. Saves the measured data in a CSV file on the MicroSD card in a controlled way by push buttons. Displays %O2, lambda or AFR on an LCD display. Allows to display the data in the arduino IDE by modifying a programming parameter.
- PLSME4.0.ino: Datalog shield with 2 Controlduino 01M21V00 module and a display LCD. Saves the measured data in a CSV file on the MicroSD card in a controlled way by push buttons. 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.
- PLSME5.0.ino: Datalog shield with 1 Controlduino 01M11V00 module and 1 Controlduino 01M21V00 module and a display LCD. Saves the measured data in a CSV file on the MicroSD card in a controlled way by push buttons. 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.
- PLSME6.0.ino: Datalog shield with 3 Controlduino 01M11V00 module and 1 Controlduino 01M21V00 module and a display LCD. Saves the measured data in a CSV file on the MicroSD card in a controlled way by push buttons. 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.
- PLSME7.0.ino: Datalog shield with 1 Controlduino 01M30V00 module and a display LCD. Saves the measured data in a CSV file on the MicroSD card in a controlled way by push buttons. Display rpm, 3x analog inputs 0-5V, 2x %O2, 2x lambda or 2x AFR on an LCD screen. Allows the data to be displayed in the arduino IDE by modifying a programming parameter.
- PLSME100.0.ino: Sets the date and time of the RTC (Real time clock), with that of the computer at the time of compilation. This program should be run once when the shield is used for the first time, if an error accumulates in the time measurement or if the CR20232 battery is exhausted or disconnected, the clock will remain in date as long as the CR2032 battery is charged.
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.
- 3 analog inputs 0-5V. (only for Controlduino 01M30V00 module)
Note: The above data correspond to the file created by the example program “PLSME7.0.ino”,in the .CSV file obtained in each particular sketch the data logged may be different, depending on the available data, which will vary depending on the number and model 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, or doble wideband lambda sensor control modules with RPM, and analog inputs, Controlduino 01M30V00 .
- 2×3 wires for connections to modules.
- Arduino MEGA, Arduino UNO R4 minima or Arduino UNO R4 Wifi board with USB cable, Note: Arduino UNO R3 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>) .
- microSD card.
- 2032 battery for RTC.