For the Arduino:
How to Use the MAX30100 as Arduino Heart Rate Sensor
For the Raspberry PI:
Raspberry Pi Heartbeat / Pulse measuring
The above were found with a google search.
Code: Select all
sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"