This is a simple yet effective project by DFRobot, where he has introduced a heart rate monitor. Basically, this device has the ability to acquire a heart rate equivalent from a pot meter and exhibits the range one of 3 LED. Moreover, this is also displayed by pointer controlled by a servo motor and on mobile phone Apps.
We must understand that this project is the combination of two rudimentary Arduino example projects that uses Intel Curie BLE capability and Servo motor. The DFRobotGravity: Starter Kit for Genuino / Arduino 101 is being used that permits connection establishment to the Pot meter, three LEDs, and the Servo Motor in a simplified manner.
Pseudo Heart Rate Monitor Based On Arduino/Genuino Starter Kit
(Image Courtesy:dfrobot.com)
The hardware used for this project are Arduino/Genuino 101 (DFR0436), Gravity: IO Expansion Shield for Arduino V7.1 (DFR0265), USB Cable A-B for Arduino (FIT0056), 9g Metal Gear Micro Servo, Gravity: Analog Rotation Sensor V1 (DFR0054), Gravity: Digital Piranha LED Module-Red (DFR0031-R), Gravity: Digital Piranha LED Module – Green (DFR0031-G), Gravity: Digital piranha LED module-Yellow (DFR0031-Y), 6xAA Battery Holder with DC2.1 Power Jack (FIT0141), Gravity Digital Sensor Cable for Arduino and Gravity Analog Sensor Cable for Arduino.
All these gears are encompassed on Gravity: Starter Kit for Genuino / Arduino 101 with Tutorials.
Wiring is comparatively easy with the IO Expansion Shield because they are color coded for digital and analog cable. The green digital cable is used for the LEDs and Micro Servo while the blue is used for the Analog Rotation sensor. Genuino 101 DC power jack is used as the power supply. Coming to the software, they are being amalgamated from two Arduino projects and amended consequently.
The two libraries used in this project are CurieBLE and Servo and the first part is for Initialization and setup of BLE, Analog Port A0 for Rotary Sensor, Digital Output port (11, 12 and 13) for 3 LEDs and Servo – Use Port D9 as PWM output. Now the main loop is responsible for checking and updating BLE connection and data, to read the Rotary sensor, the positioning of the Servo and also for switching on the correct one of 3 LEDs.
Now, finally, all the user interface can be perfectly fit into re-cycle Name card holder Box as shown below.
Filed Under: Reviews
Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.
Tell Us What You Think!!
You must be logged in to post a comment.