Datalogger using ESP8266


Datalogger is a key design for analysis and identify the behavior of any system, datalogger is used to store the measure data to memory device by microcontroller, and stored data can be used to do analyze the behavior of system. The stored data can be pushed to server via esp8266 and data can be analyzed from any remote location. 

Block Diagram:

Flow Chart:

Component Required:

  1. Node MCU.
  2. SD Card
  3. Jumper wire
  4. Bread Board

Software Required:

  1. MIT App inventor – Android
  2. Firebase
  3. Arduino 

Circuit diagram:


Login To firebase

  • create new project

Create database for datalogger device

Set firebase security rules to test mode to allow esp8266 to set and read database

Set Rules of firebase to read and write in real time database

Select Real-time Database 

Copy the URL- Required in code as firebase host-id to communicate with firebase

Create analog and timestamp field to hold data in firebase.

adc value and timestamp field in realtime database hold datalogger  data

Get authentication id from firebase.

Android Application:

Create New project from mit app inventor for data logger monitor

Select layout to place the userinterface component

Create a header from the Android application: 

  drag and drop label in the screen for app header

Use the firebase database url, you can ignore the FirebaseToken

Add the action need to done when app started

Android App