element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Robotics
  • Technologies
  • More
Robotics
Forum circumference measurement for a shell
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Robotics to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 61 subscribers
  • Views 1957 views
  • Users 0 members are here
  • rotary_encoder
Related

circumference measurement for a shell

neepu
neepu over 9 years ago

Refer the attached image,this is i want to do,measuring circumference of large shell.

For calculating this, im going to fix the sensor stationary and rotating the shell, in this the sensor points from position say P0,now the shell rotates P0,P1,P2,sensor keeps tracking...After attaining the initial P0,the sensor stops,length is measured is that the circumference.image

is this concept possible to implement?

i am new to arduino..kindly help.

is there any other method to calculate circumference of a big size shell?

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 9 years ago +1
    If you use a PS2 mouse as your sensor, there is an arduino library that will track the distance.
  • neepu
    neepu over 9 years ago in reply to neepu +1
    Let me add some details in my question to elaborate what I am asking for - The idea is to measure the vertical and horizontal distance traveled by the mouse without the screen size limitation. I have a…
  • eramos
    eramos over 9 years ago +1
    A wheel coupled to an encoder. There are encoder sketches on line.
Parents
  • dougw
    dougw over 9 years ago

    If you use a PS2 mouse as your sensor, there is an arduino library that will track the distance.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • neepu
    neepu over 9 years ago in reply to dougw

    My system has to measure circumference of any circular/elliptical object which is larger in size.

    I have been looking for the ideas to attain this.

    Is it possible with ps2 mouse?

    The ps2 mouse here will be in motion or stationary?

    the entire area has to be covered as to measure circumference. either mouse has to roll over or shell has to rotate..

    or else you have any other idea? kindly explain to me plsimage

    im grateful

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • neepu
    neepu over 9 years ago in reply to neepu

    Let me add some details in my question to elaborate what I am asking for - The idea is to measure the vertical and horizontal distance traveled by the mouse without the screen size limitation. I have a wireless mouse which can move freely in any direction within 10-15 feet range. I want to use this advantage to measure any distance. I know I can map the maximum range of my mouse on my screen and can do that but I don't even want range of the mouse to be the constraint while measuring the distance. Do I need raw mouse data to do this?

    Edit: Example - : What I am trying to do is measure the real world distance using mouse. Let say I have to measure the dimension of a table then I would just move my mouse on the table and it will register the dimension.

    Few points to conclude the question

    1. Can we use mouse to measure the distance?
    2. Can we do it without modifying the mouse?
    3. Since mouse cursor can't move beyond the screen it is difficult to measure the x,y coordinate, Isn't it?
    4. Mapping the real world distance to screen is one solution but I don't want to that because it constraints it ability to measure the distance.
    5. Can we move the mouse beyond the screen?
    6. If we can, can we get the mouseX or mouseY location ?
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 9 years ago in reply to neepu

    Yes a mouse can measure any size X and Y.

    The encoder mentioned by Eliot can also do this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • neepu
    neepu over 9 years ago in reply to dougw

    Thanks douglas for your guidance.

    Wireless mouse can be interfaced with arduino for measuring circumference?

    any examples/links/sample code

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 9 years ago in reply to neepu

    Try this :

     

     

    http://blog.tkjelectronics.dk/2013/12/bluetooth-hid-devices-now-supported-by-the-usb-host-library/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • neepu
    neepu over 9 years ago in reply to dougw

    i decide to go this encoders,as study says distance calculation of mouse varied with speed.

    There are several encoders availabe in market.

    should encoder suit my application for length measurement ie circumference.

    Output of encoder can me converted to distance?

    you have any idea?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 9 years ago in reply to neepu

    Here is another possibility:

    https://www.indiegogo.com/projects/01-world-s-first-dimensioning-instrument--2#/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • neepu
    neepu over 9 years ago in reply to dougw

    Wowoww.. This is what im looking for..

    Between how to design it Mr.Wongimage

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • neepu
    neepu over 9 years ago in reply to dougw

    Wowoww.. This is what im looking for..

    Between how to design it Mr.Wongimage

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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