Comments (3)
@Perry2001
We don't have a specific example for ESP8266 yet.
The PulseSensor Playground is a work in progress, and we are always making progress!
We have a version 2.0 release of the library coming up soon. For a preview, please switch from the main branch to the "Version_2.0-Beta" branch, download the .zip and extract it to your Arduino/libraries folder.
This new version takes the headaches out of hardware timers, and our basic example PulseSensor_BPM.ino will just work for every platform.
In regard to a ESP8266 specific example, we are working on it. Here is how it will go:
There is a hardware timer interrupt library for the ESP8266 called ESP8266TimerInterrupt, which we will use first to build a prototype example. This library is made by the same folks who made the hardware timer interrupt library we use for the ESP32 example that we have. An example built with the same structure as the one for the ESP32, along with necessary changes to the library components, will be tested and then included in a new release.
Since we are preparing to make 2.0 a major update, we will try to fit in as much board support as possible. I am sure the ESP8266 will be in there.
from pulsesensorplayground.
@Perry2001
Did you try to use our version 2.0 branch of the PulseSensor Playground Library?
I am pushing changes to the branch that provide support for the ESP8266. I am developing on an Adafruit Feather HUZZAH.
The library comiles and runs on ESP8266 using our PulseSensor_BPM.ino example.
The ESP8266 is a very special device. It only has 1 analog pin, and it can only read between 0V and 1V, so you are going to have to divide down the signal that is coming from the PulseSensor. Please be aware of that.
The ESP8266 runs on 3.3V, so a divider circuit using 4.7K and a 2.2K would make the highest PulseSensor value at just a hair above 1V.
Since the ESP8266 is so special in this way, we will likely have to put together a little tutorial on how to lash it up.
Please let us know how this is working for you? Please use the latest v2 branch of this repository for testing.
from pulsesensorplayground.
This is closed because V2 solves the problem
from pulsesensorplayground.
Related Issues (20)
- USE_ARDUINO_INTERRUPTS problem with NodeMCU 0.9 HOT 3
- GETTING STARTED WORKING BUT NOT GETTING BPM TO MONITOR HOT 5
- Quick question, my smart meter has a pulse HOT 1
- Getting_BPM_to_monitor sketch displaying random values at 11250 baud HOT 8
- Node MCU V1 - Plotter is working but no BPM in Monitor HOT 3
- I'm getting high BPM HOT 1
- Code error for sp32 pulse sensor data to thinspeak HOT 19
- Compatibility issue Nano BLE ABX00034 HOT 6
- PulseSensr_BPM_Alternative Compilation Errors HOT 7
- turning off/on the bright light when needed HOT 2
- Can't compile even when including "USE_ARDUINO_INTERRUPTS true" HOT 14
- GETTING STARTED WORKING BUT NOT GETTING BPM TO MONITOR , ALTERNATIVE HOT 1
- No BPM readings HOT 3
- Problem about sensor when connecting with Arduino NANO 33 loT HOT 3
- Pulse sensor BPM_to_Monitor script does not work on Arduino Nano Every HOT 5
- sampleTimer.stop() and sampleTimer.start issues HOT 6
- `multiple definition of __vector_11` when including `<Servo.h>` HOT 14
- When using the duration parameter of tone, the sound will be distorted HOT 11
- Heart rate is abnormally high HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulsesensorplayground.