A simple posture sensor

Posted on Thursday, April 24th, 2014 in hacks, sensors by DP


Here’s a simple cure for your posture and the back pain blues, a posture sensor by Wingman:

The simplest distance sensors are ultrasonic or infrared sensors. I went with a SR-HC04 because it is cheap and sufficiently precise. There are no special requirements to the controller so I am using an Attiny85. A small piezo speaker provides acoustic feedback to the user. The only thing left is the power supply for which 5V are needed because of the ultrasonic sensor. You could easily use an USB port but I did not want to rely on a computer, 3 button cells deliver around 4,5V and should work for a few days.

This entry was posted on Thursday, April 24th, 2014 at 1:00 pm and is filed under hacks, sensors. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

10 Responses to “A simple posture sensor”

  1. Anna says:

    nice as information, but without sourcecode useless

    • Ducky says:

      Or, you know, you could take it as a learning challenge and figure out how to do it yourself rather than having it spoon-fed to you in a finished state. You’d just be an assembly machine otherwise, not an engineer/maker/etc.

      This is presented as an idea of how to use readily-available tech as a simple solution to the problem of remembering to maintain good posture.

      Use Google, read tutorials and challenge yourself to take on projects you don’t already know how to do. It will be tough at first, but you will grow more and open far more possibilities for your future.

      Or continue calling people’s projects useless because they don’t do all the work for you. It’s up to you.

      • mpl says:


      • Anna says:

        “useless” may sound hard, but it is as the falling apple of Newton. Newton would have also imagine the idea, without formulas and everyone should have to find out for yourself how it works. As a result the whole development would stop. Therefore, knowledge can only grow when you share it :)

      • eLLi says:

        Anna, your metaphor is incorrect. You do NOT want to know about the principles that make the apple fall, you want the falling apple. You are obviously not interested in the concept behind this but just want to consume that apple…

    • george says:

      The post describes the logic of the software in a very detailed way but not a source.

      If you need a source to start from, look at

  2. David says:

    This will be helpful for me, but I constantly stand up and move away from the chair, and I don’t want to push a button to turn off the device.

    Maybe a two sensor solution will determine if I’m seated or not.

    • mh says:

      How about some pressure-sensor in the chair? (car no-seatbelt warning style :)

    • Max says:

      The software in the sensor stops the alarm if you are not sitting on the chair for a longer time and remembers your settings. It’s built to be powered on all the time. No button-pushing or pressure sensors needed.

  3. George says:

    Anna, this post is not useless. He explains the alternatives he studied, and gives a detailed algorythm.
    When someones explains to you something, do you demand an excel spreadsheet otherwise you call the demonstration useless???

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please