Meter Time in Front of PC

by rjconcepcion in Circuits > Electronics

165 Views, 1 Favorites, 0 Comments

Meter Time in Front of PC

Dashboard.png
Medidor de tiempo en PC.png

I propose reducing the time that I spend in front of the PC. For that goal, I need to measure that time.

I decided to design a device that measures the time that an object stays in front of my computer.

I have used Adafruit OI platform to store and display the data in a dashboard.

In this post, I explain how I did that device.

Supplies

Have a Hand All Components

It always is recommended to have a hand all components.

That will save you time.

Let's Connect Them

Medidor de tiempo en PC.png

Make the connections indicates in the diagram.

Warning: Remember ESP8266 works with 3.3 V. You have to connect the 5 V to the ESP8266 voltage input (Vin).

Install NTP Library

librería NTPClient.png

If you do not have the NTP client library you show install it before compiling the code.

Upload the Code

The code has two files. In the config.h you set your Adafruit credentials and network configuration like wifi name and password.

Set Adafruit IO

You should open an account on Adafruit IO. After that, you need to know how it works.

Check the link below to know about Adafruit IO, there you know how you can use Adafruit the credentials, how set the feeds, and how to configure the dashboards.

https://learn.adafruit.com/welcome-to-adafruit-io/...

Test It and Enjoy

Dashboard.png

I show a picture of my dashboards.

I hope you enjoy this project.

Note: If you are having issues connecting, please ensure you have the latest Adafruit IO Arduino library.

It always seems impossible until it’s done. Nelson Mandela.