Hi, I'm Mark. I like to make things. I'm new to Arduino. I've got a couple robot kits and a learning kit with an UNO and I've worked through all the sensor tutorials and I've started working on a couple of my personal projects.
The goal of this post: Have a sensor (or technique) that can detect if a specific item is touching it, or within a few mm.
The problem that I currently see: None of the sensors that I've found can tell one thing from another. A magnetic proximity sensor can tell that a magnet is touching it, but it could be any magnet. Using Bluetooth, I could detect a specific item, but could not reliably determine its distance.
What I've done: Just internet research so far. I think my biggest problem is that I don't really know what search terms to use. At least I'm hoping it's that, and not that I'm looking for something that doesn't exist or at least isn't commercially available.
Details: I would like to be able to identify that a specific object is where I want it to be. There will be other objects in the area. I don't need to identify those objects, but I need them to not trigger a sensor that they're not 'paired' with. Once the sensor confirms the pairing, the device's (and object's) job is done. Ideally, multiple sensors would connect to a single arduino, but that is out of scope for this post.
For a more 'visual' example. Imagine a board with six evenly spaced sensors attached (like the pips on a die). There are six pencils, they can be identified by a magnet, bluetooth receiver, whatever is necessary to achieve the goal. When ItemA touches, or comes close to SensorA, then a result is returned. If ItemA touches SensorsB-F, or is closer to any of them, nothing happens.
Ideally I would be able to identify the right vs/ wrong items and which item is on which sensor, but that's not necessary at this point.
Responses
If you feel that just offering relevant search terms is enough help, that works for me. Or feel free to be as thorough as you'd like, I'm always happy to learn more.
If I've missed something, please let me know and I'll provide what I can.