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 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
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum need help finding the rihgt snsor
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 28 subscribers
  • Views 400 views
  • Users 0 members are here
  • Table
  • heat
  • push
  • touch
  • diode
  • build
  • friends
  • light
  • temperature
  • arcade
  • build_challenge
  • led
  • button
  • idea
  • school
  • viewer_challenge
  • challenge
  • ping_pong
  • ball
  • resistor
  • ben_heck
  • teacher
  • switch
  • heck
  • ben
  • arduino
  • spot
  • system
  • show_idea
  • sensor
  • fun
Related

need help finding the rihgt snsor

14corman
14corman over 12 years ago

I am the one working on the ping pong table and I have come to a halt. jason721 helped me by showing me inductive technology to try I am at a standstill at trying to figure it out. I don't have much money for any kits to learn how to use it and I have tried looking at videos and reading. I have 2 main parameters in trying to recognise the ball getting hit on the table and they are the balls heat and size. i have picked these 2 because then people cant cheat by using their hands or the paddle. any help on giving me suggestions for a type of sensor would be greatly appreciated or to tell me that i am going in the completely wrong direction is ok too. thank you.

  • Sign in to reply
  • Cancel
  • colecago
    colecago over 12 years ago

    Inductive technology won't help you much, that's typically for sensing metal, so you'd need metal balls, also you'd need a ton of sensors.  Honestly I would look at using a plexiglass table and use use a webcam and a pc underneath.  If you put LED's in the side of the plexiglass, you can use frustrated total internal reflection

    http://www.cs.ucf.edu/courses/cap6105/fall2010/readings/Multi-TouchInterface_FTIR.pdf

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • 14corman
    14corman over 12 years ago in reply to colecago

    That's quite ironic I was looking at FTIR videos on youtube seeing if they could work I figured I would have to have 2 projectors and 2 webcams 1 on each side then I could make a program for a raspberry pie or some really cheap computer and hook everything up to it. thank you so much for telling me about inductive because I had no clue what it was telling me no matter how much I looked at it. do you think I could use something cheaper than plexiglass since it is a little expensive or I might be thinking of the wrong thing but I was thinking of acrylic for the glass. thank you for answering though and I'm still open to any other ideas if anyone has any any. the one thing that I am looking for is a one touch system that can or may be programmed through an arduion board.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • colecago
    colecago over 12 years ago in reply to 14corman

    You could do one camera I think, maybe wide angle lens if you have to, or webcams are cheap enough, 2 wouldn't be hard.  Yeah for lighting, you'd need something like a projector.  The application is very much like a touch sensitive table, except you don't care about fingers.

     

    Alternatively, you could use a webcam high over the table and a projector high over the table as well.

     

    Or for sensing you could use IR emitter/detector pairs and you get kind of a matrix effect, but then it sense indifferent to what is blocking the light.  A lot of industrial touchscreen use this techonology, or even acoustic.  I have 2 32" touchscreen monitors that use surface acoustic.  If you used the IR pairs, you could then have your lighting under the table without need of an industrial controller. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • 14corman
    14corman over 12 years ago in reply to colecago

    would there be 1-2 IRs or would i have to get a few spread throughout the table im looking to see if i could make it to were it could be moved in as little as few as steps as possible so the FTIR would be a last but reliable source. the IR system sounds promising though. i will have to look into those. thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • colecago
    colecago over 12 years ago in reply to 14corman

    In neither case you'd be using 1-2.  You'd have however many you need in the x direction and y direction for your resolution.  Its the similar for FTIR, except you wouldn't need receivers in that case.  Think of it this way, the IR pair would create a line across the surface.  You'd have lines going in the x and lines going in the y.  Every pair is one line.  When something is placed on the table, it will block an amount of x and y lines, that will give you a position of the object (just take the center of each of the blocked sets).  To minimize the amount of pairs, you'd have to increase the object being sensed, so you could raise the pairs up a bit to the half-way height of the ball and then you will need as many pairs in the x direction (with of table/diameter of ball + safety margin) and y direction (length of table/diameter of ball + safety margin).  The safety margin is because you don't want the width/diameter exactly, you want to throw a few more evenly spaced pairs in there to guarantee that the ball can't be in between lines (which have small widths).  Alternatively you could go below the table, but then it more complicated.  You'd have to have the transmitter/receiver next to each other and measure reflected light, all of which would be affected by overhead lights, the lights coming up from the table, and then you'd have to do your calculation based on the area of the table and the area of the ball that is visible, because its possible the IR pairs are only good for a short distance above the table and not the half-height of the ball, to ensure that a ball can't land between sensors.

     

    Keep in mind you will be using a lot of IR pairs and a lot of LED's, so this won't be cheap and it won't be easy.  You won't get away with just a single Arduino to control your hundreds of lights, you will need controller cards, you will also need to be controlling and reading the IR pairs, etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • 14corman
    14corman over 12 years ago in reply to colecago

    Sorry I have not gotten back with you I have had a busy weekend. I was thinking I think my final decision is to have 2 projectors and 2 cameras for a FTIR system. Have one on each side of the table and have them hooked up to a computer or pi devise. I'm trying to design a way to hook the camera and projector up so that they are running off the same power and usb cords this will be beneficial in 2 ways. One it will save space and precious ports for whatever comp. I'm using and 2 I would like to have them set up in a way that they could be lifted up and down inside the table for easy transportation and to be able to have the whole table visible.

    to say everything that I want to do is this:

    have the paper on the glass

    the camera/projector setup ( both be connected to each other with a rod to ensure stabilization) each set on rod to be lowered and raised to make a second layer

    then when the wood from the sides gets locked into place that will secure the camera/projector in place from moving

    the hardest thing I think I will have to do is to setup a program to where it will be an animated background or a still one( easily switch theme if wanted) and when you click on a spot something will happen

    I'm not sure if I have said this before but I am also having an automated/manual scoreboard which will be tied into the program I think and a light up net already have the net figured out

    this is my final design as of right now but if anybody has any other methods they would like to throw at me I'm all ears but this is very customisable and somewhat feasible and somewhat the easiest method I have to date

    the net will be set to its own arduino board separate from total system.

     

    I have added a picture of the notes that I have been taking on the system if they make more sence.

    Attachments:
    image
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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