Skip to content

ese-detkin-lab/arduino_nodemcu_bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ESE111 Arduino NodeMCU Bridge

Author: Bhagath Cheela
In this example project, we collect the data from pulse sensor using Arduino UNO and transfer this to NodeMCU using I2C. And from the Node MCU, the data is then uploaded to adafruit io (Make sure that you update the config file with your IO key if you try to run this project).

Parts Required

  • 1 x NodeMCU 8266
  • 1 x Arduino UNO

Connections

I2C used to communicate data between Arduino and NodeMCU

Arduino UNO NodeMCU
A5 D2
A4 D1
GND GND

Picture1 source1
source2

Setup Instructions for Node MCU

  1. Download or clone the github repo to your computer.
  2. Follow these instructions setup your NodeMCU.
  3. In the Arduino IDE, install the following libraries:
    • Adafruit IO Arduino image
  4. Flash the code in this repo onto the NodeMCU. You can do this by opening up ese111_nodemcu_bridge.ino in the ese111_nodemcu_bridge folder.
  5. Create an account at io.adafruit.
  6. Click My Key image
  7. Going back to the Arduino IDE, modify config.h so it has the appropriate username and key. image
  8. Back to the io.adafruit.com website, click on Dashboard > Welcome Dashboard (or a new one that you made). Under the gear icon on the right hand side, select Create New Block > Line Chart.
    image
  9. Create a new feed called "pulse" (all lowercase). Select it and click "Next step >"
  10. In order to export data as a csv, follow these instructions.

Sensor Connection

Arduino UNO Pulse Sesnor
A0 BLACK
5V RED
GND GND

Setup Instructions for Arduino UNO

  1. Open the ese111_arduino_bridge.ino file in the ese111_arduino_bridge folder
  2. In the Arduino IDE, install the following libraries:
    • PulseSensor Playground pulse sensor
  3. Verify the correct COM port is selected
  4. Verify that the bord selected in "Arduino Uno"
  5. Upload the program.

Releases

No releases published

Packages

No packages published