Write a simple Arduino event logger.

Completed Posted Aug 3, 2015 Paid on delivery
Completed Paid on delivery

I have a very simple setup in which I have a button and I need to log when I press the button over time and how long did I hold the button for each time.

The hardware layout looks like this: [login to view URL]

I need a software that logs the time and duration of button press events.

Here are the instructions.

1. There is a master timer that keeps track of the overall time. Should have hours, minutes and seconds.

2. When I press the button, the master timer records the time at which I pressed the button.

3. When I release the button, a timer should record for how long did I press the button in milliseconds, this timer is independent of the master. A hold duration timer.

4. This data should be printed to the serial monitor in such a way that I can copy and paste in Excel, having Master times on one column and hold duration on the other.

Like this: [timestamp][tab][hold duration]

Example:

If I press the button 3 times, 5 seconds apart and hold for 50, 100 and 200 ms respectively. this is the expected result.

00:00:00 50

00:00:05 100

00:00:10 150

...

This is how the data should look in excel: [login to view URL]

Arduino Electronics

Project ID: #8193563

About the project

3 proposals Remote project Active Aug 3, 2015

Awarded to:

boydtvtbk

We are a team of 5 highly skilled Electronic/Arduino/PCB Layout engineers with more than 4 years of experience in the field of electronics and making production. Embedded: 8051, Arduino, Atmel AVR, Microchip PIC, MS More

$50 USD in 1 day
(8 Reviews)
3.9

3 freelancers are bidding on average $45 for this job

Gippopotam

Hello! I have experience programming in C / C + + for almost 20 years. Devices based on Arduino, I'm doing more than 3 years. I have experience writing applications "client-server" for the Arduino, writing applicat More

$50 USD in 3 days
(11 Reviews)
4.1
Slusarpetr

A proposal has not yet been provided

$35 USD in 1 day
(0 Reviews)
0.0