Project tutorial
HEARTBEAT SENSOR project

HEARTBEAT SENSOR project © Apache-2.0

USING HEARTBEAT SENSOR FOR COUNTING THE NUMBER OF HEARTBEATS per MINUTE

  • 4,716 views
  • 0 comments
  • 0 respects

Components and supplies

Apps and online services

About this project

The purpose of this tutorial is to allow yourself to build the project on your own. We’ll list all the hardware and software you’ll need. We’ll also post all our codes that we used to make this project run properly. Then we’ll give you a cable schematics so that you will be able to plug all the wires in the right spot.

1) List of equipment

  • 1 Raspberry Pi (3200₹)
  • 1 Arduino (1900₹)
  • 1 heartbeat sensor (550₹)
  • 1 base shield (module groove) (550₹)
  • 1 battery (Output: DC 5V/1A) (790₹)
  • 1 USB A to B cable (700₹)
  • 1 computer with an internet connection
  • 1 server host
  • 1 led (5₹)
  • 1 resistor (120 Ohms) (5₹)
  • 1 micro SD card (8 GB minimum) (1200₹)

2) All the codes used during the development

· Python code

· C++ language

· PHP

3) Software steps

  • Download Raspbian Jessie, Win32 Disk Imager and PuTTY
  • Put Raspbian Jessie in the micro SD card thanks to Win32 Disk Imager
  • Insert the micro SD card into the Raspberry Pi
  • Connect the equipment (you will find next point)
  • After to have loading the different codes (Arduino and Raspberry Pi), start putty
  • In Python, to change code: to write ‘sudo nano myproject.py’

And to start this code: to write ‘sudo python myproject.py’

- Use a website to display the data. For instance, in graphic as we did. The codes to create the website are in the ‘.rar’ file.

Step 1: The Base Shield Is Connected to All PIN of the Arduino

Step 2: The Micro SD Card Is Inserted in the Raspberry PI

Step 3: The Arduino and Raspberry Pi Are Connected Together by USB Cable a to B

Step 4: The Heartbeat Sensor Is Connected to the PIN 2 and the LED to the PIN 4 of the Base Shield

Step 5: The Battery Is Connected to the Raspberry Pi Power Plug

Step 6: The Final Result

The LED is lit when the sensor detects a heartbeat

1) The heartbeat sensor

2) The LED

3) The Arduino

4) The base shield

5) The battery

6) The USB A to B cable

7) The socket B for the USB cable

8) The socket A for the USB cable

9) The micro SD card

10) The Raspberry Pi power plug

11) The Raspberry Pi

12) The Ethernet socket

Step 7: Here Is the File With Different Codes

Code

NO CODE ONLY FILEArduino
\\ALL CODE ARE GIVEN IN THE .RAR FILE UPLOADED WITH THE PROJECT

Schematics

CONNECTIONS
13 csl2vus7mb

Comments

Similar projects you might like

Arduino Modules - Flame Sensor

Project tutorial by SURYATEJA

  • 1,875 views
  • 0 comments
  • 4 respects

Touch Sensor and Sound Sensor Controlling AC/DC Lights

Project showcase by Anbumachi

  • 1,161 views
  • 2 comments
  • 5 respects

Sound Sensor Activated LEDs with LCD for Sound Level Data!

Project tutorial by Heathen_Hacks-v2

  • 1,410 views
  • 2 comments
  • 8 respects

Ambient Light Sensor Using Photo Resistor and LED Lights!

Project tutorial by DCamino

  • 3,367 views
  • 4 comments
  • 17 respects

DHT11 /DHT22 Temperature Sensor

Project tutorial by Daniel Porrey

  • 82,653 views
  • 106 comments
  • 133 respects

Soil Moisture Sensor With LCD Display

Project tutorial by Patel Darshil

  • 19,360 views
  • 4 comments
  • 37 respects
Add projectSign up / Login