Martin's corner on the web

Logging manualy entered values to emonCMS using keypad

I have finally found some time today to put my keypad project into work, namely I decided to use it for  weight logging project here a home. The idea is simple: take measurement using the bathroom scale, then punch in the readout on the keyboard and send for logging. A Funky v2 powered by a CR2032 coin cell battery running this sketch is in power down mode until wakened up by the keypad. The user then has 10 seconds to enter the weight, the ‘*’ acts as decimal point, ‘#’ will reset the entry, if you realize it was wrong. Pressing ‘A’,’B’,’C’,’D’ will send the data for one of the four persons in my family to a NanodeRF gateway that forwards it to my emonCMS installation for logging. Some pictures of the setup (I still need to put all this in decent box):

IMG_2261 IMG_2260 IMG_2259

And it gets visualized like this (some test data in)

weight_log

Edit: I enclosed the project in a box:

IMG_2299

Quite practical 🙂