element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum How to detect usage of height adjustable table?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 12 replies
  • Answers 7 answers
  • Subscribers 394 subscribers
  • Views 1473 views
  • Users 0 members are here
  • barometric sensor
  • motion detecting
  • accelerometer
  • proximity sensors
Related

How to detect usage of height adjustable table?

svendsen2032
svendsen2032 over 8 years ago

Hi at element14

 

 

We have been trying to solve this matter for quite some time now, and we simply haven't been able to come up with a satisfying solution. We are working on a little "bot" placed on top of a height adjustable desk. The bot has to measure whether the desk is in a sitting or standing position. So we do either need to measure the movement and direction of movement or the height of the table. We have had some luck using proximity sensors (IR and US), but they are very dependent on the environment and placement, as e.g. a desk lamp can make the readings worthless.

 

 

We are now working with an accelerometer and/or a barometric sensor, but the acceleration of a table is very small and the height difference of the table is only 20-40 cm's. So the sensors have to be very precise and sensitive.

 

 

Soo, do you maybe have other ideas to what sensors we could use? Or maybe some insights into how we can get the accelerometer and barometric sensors to work properly? - would be a of great help image

 

Best regards Mads

  • Sign in to reply
  • Cancel

Top Replies

  • mcb1
    mcb1 over 8 years ago in reply to svendsen2032 +2 suggested
    So we are trying to register everytime the users changes working position from sitting to standing and from standing to sitting You could use an ultrasonic sensor and detect the height to the ceiling.…
  • DAB
    DAB over 8 years ago +1 suggested
    Hi Mads, Have you considered using a capacitive sensor mounted to the desk? The TI sensor system can accurately detect objects up to about 50 cms. Another way would be to use a light and a camera to measure…
  • vandia
    vandia over 8 years ago +1 suggested
    On the note of what you're trying to do, you've giving detail of your method, but it still leaves your end goal rather vague.... especially with "acceleration of a table". It leaves the questions: "Is…
  • DAB
    0 DAB over 8 years ago

    Hi Mads,

     

    Have you considered using a capacitive sensor mounted to the desk?

     

    The TI sensor system can accurately detect objects up to about 50 cms.

     

    Another way would be to use a light and a camera to measure spot size, but now you are adding some complexity.

     

    Maybe an ultrasonic sensor?

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • vandia
    0 vandia over 8 years ago

    On the note of what you're trying to do, you've giving detail of your method, but it still leaves your end goal rather vague.... especially with "acceleration of a table".

    It leaves the questions: "Is this to be done on multiple/different floorings under the table", "is the table moving", and "how frequently does the table change heights".

     

    If you want to stick with the accelerators: I haven't used them before to know their accuracy, but I remember an Arduino SHARP library that averaged 5 IR scans into one value.... you could use 2 accelerators, one on each end of the table, and run each end through that same thing to alleviate some of the fluctuation.

     

    IR has the highest fluctuation of any simple sensor I've used. It varies based on ambient light, and even EM waves. Sonar varies by texture of what it's to hit, which is why a question is the flooring. I also have an idea for determining if you're on carpet or hard flooring if you wanted it.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 8 years ago

    Your limit switch idea is a good one. Optical limit switches can easily be shielded from stray light or you can use regular electro-mechanical limit switches.

    Like a garage door opener function.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • svendsen2032
    0 svendsen2032 over 8 years ago in reply to DAB

    I'm not sure I do fully understand. Do you suggest to use a capacitive sensor to measure the electrical field of the motors? Or, how do you figure it's possible to detect movement with a capicitive sensor?

     

    And a camera might be a bit too complex and we do experience users linking cameras to surveillance, which ain't good.

     

    We have been using ultrasonic sensors and they do work, however they are very dependent on the environment.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • svendsen2032
    0 svendsen2032 over 8 years ago in reply to vandia

    I'll try to be a bit more specific image So we are trying to register everytime the users changes working position from sitting to standing and from standing to sitting. So our ultimate goal is to register every time the height adjustable table changes from a height between 65 to 85 cm to a height between 90 and 125 cm. A height adjustable table moves up and down with an average speed of between 18 mm/sek to 40 mm/sek. The table is used between 0 and 8 times a day (8 hours). The table can be placed in whatever office environment you can think of, so the room height is different, the floor material is different etc. Hope that helps a bit image

     

    2 accelerometers might not be a bad idea. Think we will try and see if we can make it work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 8 years ago

    Are there any restrictions on fitting sensors to the table ? Are you trying to have a device that just sits on the table and logs the information, or can the sensors be physically attached to the table ? Are the tables of the same design ?

     

    If you can attach the sensors to the table then:

    - mechanical limit switches would be a simple choice

    - a linear encoder could give you more detail about the heights the table was adjusted to

    - a rotary encoder with rack and pinion arrangement could also be used

     

    If the floor covering is giving problems with the likes of ultrasonic sensors then perhaps locate the sensor on the floor so that the reflection is coming off the underside of the solid table rather than off a carpet.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 8 years ago in reply to svendsen2032

    To measure height use a Maxbotix ultrasonic sensor or a Sharp  GP2Y0A02YK0FGP2Y0A02YK0F or a string pot or a spring and force sensor

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DAB
    0 DAB over 8 years ago in reply to svendsen2032

    Should be easy.

    Just lay down a conductive strip near the keyboard and connect it to the capacitive sensing circuit.

    When the compute keyboard is on the desk, you get a good reading when the hands are on the keyboard.

    If the keyboard is raised to a standing position, then the reading will be less and can probably provide you with a fairly precise distance from the desk top.

     

    A simple program can check the height every time the computer is in use, so you can record trend data over time.

     

    Clean, simple and automatic.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • koudelad
    0 koudelad over 8 years ago

    Hello,

    is the table height adjusted by some electronic control or a manual handle?

     

    I use two types of these tables (both electronically controlled) and the manufacturer offers them with two types of controllers. The first one has only up and down keys, the second one has up and down keys, 7 segment display to display the height in centimetres and four keys to store / restore value from a memory. These controllers are interchangeable which means there is probably a rotary encoder on the motor shaft and only one of these controllers can make use of the output image The controller of course has then no idea about the ground clearance etc., it just knows the relative position to the lowest position. (Note: I haven't personally dismantled the mechanism.) I would try to do my own version of the controller in this case.

     

    If you wanted to attach the measurement sensor to all kinds of mechanical tables (parallel with the floor), an ultrasonic sensor is one of the options. You don't even need to measure the absolute ground clearance, just the difference between the positions.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 8 years ago in reply to svendsen2032

    So we are trying to register everytime the users changes working position from sitting to standing and from standing to sitting

    You could use an ultrasonic sensor and detect the height to the ceiling.

     

    That would give you a relatively clear path and is uniform.

    Some code to establish when it's stationery and then record it, or transmit it to a collection device.

     

     

    Cheers

    Mark

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube