0

I want to make a stomp box with a single button that will record an event time. I’d like the box to be able to record the event directly to a web database (there are plenty of ways to do this, but I’ll probably write a PHP api to listen for the connection).

What hardware would be best? I’ve got experience with the Arduino board, but I ‘d prefer that the box run off AA batteries. My previous Arduino projects have been a bit power-intensive.

1
+50

Instead of choosing an Arduino board, use an ESP8266 variant which natively supports Arduino sketches. You can use a relay or directly connect a button to the I/O pins and detect whenever a button is triggered - triggering the server to push the timestamp to a database, increasing the count of the stomp in the database. Instead of writing a PHP application. An easy choice would be to push data to Firebase - unless you find this task more tedious.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.