Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am doing a project where I am tracking my sleep with a fitbit. Basically, when a person falls asleep, a tv is going to

I am doing a project where I am tracking my sleep with a fitbit. Basically, when a person falls asleep, a tv is going to turn off (if its on). The tv is going to recieve a signal from an arduino. The arduino is going to recieve a command from a raspberry pi to execute. I was able to get the data from the fitbit using python, a variable used in the output window of the python code is minutesOfSleep = 10( it tells me how many minutes the person has fallen sleep).

I do now know how to create a python code that will send a signal to the arduino when minuteOfSleep > 0. I am new to python and i have no idea how to start. Please help

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

Students also viewed these Databases questions

Question

10-7. How do proposal writers use an RFP? [LO-7]

Answered: 1 week ago