Coding for ESP8266 NodeMCU also needed to send heart rate rate to the IoT. Since ThingSpeak has been selected for the IoT platform, the ThingSpeak library should be included in Arduino IDE. To connect the ESP8266 NodeMCU to ThingSpeak, the username and password of the Internet connection need to be the same so that the data can be transferred. In the coding, channel identification and “write API keys” should be filled so that ThingSpeak could be connected.
Example of ThingSpeak Coding
After edit the code, the heart rate data can be sent to the Thingspeak. The results were give a huge different as the pulse sensor was so sensitive.
Real Time Heart Rate Measurement data displayed on ThingSpeak
Comments
Post a Comment