Skip to content
  • jm@controlduino.com

Controlduino.

wideband and narrowband lambda sensors for arduino

Menu
  • Arduino shields and modules
    • Wideband lambda shield – 01S00V00.
    • _Wideband lambda shield, with bluetooth, and power supply. – 01S01V00.
    • Wideband lambda module – 01M11V00.
    • Wideband lambda and rpm module – 01M21V00.
    • Double wideband lambda, 3 analog inputs, rpm and CAN2.0 bus.01M30V00.
  • Complementary items
    • Hubs. SPI bus wiring hub for lambda modules.
    • Voltage adapter for SPI bus, 3.3-5V, for lambda modules.
    • Datalogger Shield with MicroSD card and RTC, for lambda modules. 91S00V00.
  • Blog
  • Projects
  • Forum
  • My account
  • Store

Datalogger Shield with MicroSD card and RTC, for lambda modules. Controlduino 91S00V00.

Top.
Two lambda modules connected.
Example of a CSV file.
Two lambda modules connected.
Four lambda modules connected.
Top.
Back.
20240227_024910_
double lambda module 01M30V00
Top. Two lambda modules connected. Example of a CSV file. Two lambda modules connected. Four lambda modules connected. Top. Back. 20240227_024910_ double lambda module 01M30V00

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.

Download

Tech manual and annex. Controlduino 91S00V00.

Example CSV files.

Software for Arduino

Icon

Library with examples of data acquisition in .CSV format on the SD card with the 91S00V0 shield and different lambda modules.

1 file(s) 53.15 KB
Download
Icon

PLSME1.0.ino: Datalog shield with 1 Controlduino 01M11V00 module and a 1602 LCD.

1 file(s) 53.15 KB
Download
Icon

PLSME2.0.ino: Datalog shield with 1 Controlduino 01M21V00 module and a 1602 LCD.

1 file(s) 53.15 KB
Download
Icon

PLSME3.0.ino: Datalog shield with 2 Controlduino 01M11V00 modules and a 1602 LCD.

1 file(s) 53.15 KB
Download
Icon

PLSME4.0.ino: Datalog shield with 2 Controlduino 01M21V00 modules and a 1602 LCD.

1 file(s) 53.15 KB
Download
Icon

PLSME7.0.ino: Datalog shield with a double wideband lambda module Controlduino 01M30V00 modules and a 1602 LCD.

1 file(s) 53.15 KB
Download
Icon

PLSME7.1.ino: Datalog shield with a double wideband lambda module Controlduino 01M30V00 modules and a 2004 LCD.

1 file(s) 53.15 KB
Download
Icon

PLSME999.0.ino: Sets the date and time of the RTC.

1 file(s) 53.15 KB
Download
Component datasheet

 

Blog

  • Upgrade of lambda_rpm.h library to be able to communicate the lambda-rpm modules 01M21V00 with Arduino Uno R4 Minima, and Arduino Uno R4 WIFI boards. October 1, 2023
  • Update of lambda.h library to be able to communicate the lambda modules 01M11V00 with Arduino Uno R4 Minima, and Arduino Uno R4 WIFI boards. October 1, 2023

Controlduino. 2025 . Powered by WordPress