Write a simple Arduino event logger.
$30-250 USD
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]
Project ID: #8193563
About the project
3 freelancers are bidding on average $45 for this job
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