Step1: Define basic logic
Step2: Get familiar with the FSR sensor
Step3: Record sleep start and end status
Detect sleep start and end status, and publish the events to the Particle Cloud.
Step4: Sleep data persistence
Since the data on Particle console is temporary, I decided to transfer sleep data from Particle to Google Cloud to make it long-term. I referred to tutorials in Particle docs (https://docs.particle.io/tutorials/integrations/google-cloud-platform/) and here are my main steps:
Step5: Use IFTTT to tell the pillow when to buzz
Step6: Play the music!
I referred to a tutorial on Arduino (https://www.arduino.cc/en/Tutorial/ToneMelody) to learn how to code music for the buzzer.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .