Hi,I am working on a connected lamp using an Arduino, on which I am using 2 big rotary cylinders to manually control the lights brightness. Illustrations attached. Making these buttons works electronically is tricky, I would need 2 encoders.I have found a "dual shaft encoder with push" here https://goo.gl/rFissh, but then assembly is a pain. The best solution might be to read the rotations of the encoder from the outside. The cylinders are composed of solid metal aluminium tubes. Any smart idea ?
I am working on a connected lamp using an Arduino, on which I am using 2 big rotary cylinders to manually control the lights brightness.
Thank you for your answers! Sorry it's har to explain. Here is a full picture of the 3D lamp. This has been made by a designer so I can't modifiy its overall aspect.So 2 cylinders they are : one for the brightness, one for the warmness, they are in metal and they should both rotate (around an encoder axis for example). So I can't modify it to be something capacitive or tactile. Drilling pin holes would have been a great idea but it would also modify the external aspect There is like 0,5mm between the 2 cilynders, that may let us use something like this : https://www.metallux-usa.com/products/membrane-sensors/membrane-sensor-rotary-metapot/But it's hard to fine on the internet with precise diameter.
Now, that makes more sense. Your aluminum cylinders have nothing to do with "light". They vary some electrical parameter which may eventually do something with light. Actually saying "light" just confuses your posting.Do you have room to add a wheel with a rubber tire to rotate when the cylinder it rotated? They would be inside the base of the lamp.Paul
Welcome to the real world where designers and engineers have difficulty talking to each other.Is that thin black line between the cylinders the thickness of a PCB? That may actually be the PCB, if you pay extra for black PCB material. Then you have some hope of putting a regular shaft encoder there.The pushbutton effect you mentioned earlier? Is that still required? Because then you need a bigger gap to allow them to actually move.Another thread alerted me to this encoder at Pololu. This uses a magnet which has several magnetic regions arranged as spokes on a wheel. One of those will fit inside your aluminum cylinders and the aluminum won't distort the magnetism too much. Then just redesign the circuit board to flip it to the outside of the magnet.
What about the sensor from a laser mouse? Non-contact and no moving parts.
do you know if their is something existing for Arduino ?
Exactly Between the 2 cylinders there is small space, probably enough for a PCB. The only thing is that integrating a regular encoder inside the button itself implies la lot of machining inside the cylinder. It's an option that might work, but probably the most expensive one. But magnetic encoder can be a really good idea, I don't know how it work but I will have a deep look!About the push button, it's no big deal as both cylinders can move together (there is only one push action) so the push button can be implemented below them.
Do you have room to add a wheel with a rubber tire to rotate when the cylinder it rotated? They would be inside the base of the lamp.Paul