• These commercial threads are for private transactions. diyAudio.com provides these forums for the convenience of our members, but makes no warranty nor assumes any responsibility. We do not vet any members, use of this facility is at your own risk. Customers can post any issues in those threads as long as it is done in a civil manner. All diyAudio rules about conduct apply and will be enforced.

PCB for magnetic absolute rotary encoder (vol. control)

Status
Not open for further replies.
I want to build a digital absolute rotary encoder with 1024 positions per 360º (maybe I will use 256).
An ATMEL microcontroller will read the encoder (serial) and will send the command (serial) to a digitally-controlled analog volume control (maybe PGA2311). At the same time it will update the display. I will have a function to set the zero of the encoder always I want, so I don't need to worry with the encoder position when I mount it (with 1024 values it is difficult to mount at the right place).
I don't need to remember the last position because I simply read the current encoder position at start-up.
The first draft of the encoder PCB shows that I could do this with a 22.2mm square PCB with the four 2.5mm mounting holes at 18.2mm from each other. The SMD are 1206 and 1210 for the big caps. Only the TOP SMD are really needed for normal operation. The botom are for programming the fuses (I will not use this) and to drive the LEDs (only for play with the magnets).

5lxrbr.jpg


14tljk5.jpg


24qioon.jpg


This PCB can be used with austriamicrosystems AS5040 or my favorite AS5140H. Both are magnetic absolute encoders with a very simple communication protocol (3 wires, CS/CLK/SDI).
My problem is that for only one PCB this will be very expensive (more than 100 Euros at eurocircuits).

Anyone interested in this PCB for a group buy? What do you want to change? This is not the final PCB layout.
Can I get a better price for this PCB in Europe?
 
I prefer to use 2 pushbuttons, one for up and one for down.

Cheaper, simpler, more reliable, smaller, can use any number of values. I use 3 x 7-seg display + PIC micro.

You can get a good deal on prototype PCBs at Seeed Studio Bazaar, Boost ideas, extend the reach

I got 10 (minimum quantity) 100 x 100mm for ~€32. You can get 10 50 x 50mm for ~$10 + shipping. Delivery time is ~2 weeks. Fantastic value, best I found anywhere!
 
Last edited:
An externally hosted image should be here but it was not working when we last tested it.
Thank you for the replies.
I got the fusion PCB service from Services : Seeed Studio Bazaar, Boost ideas, extend the reach. My PCBs are so little they offered some more than the minimum I asked for.
I like very much the 0805 SMDs but I am working with 1206 because I can see them better. Now I realize I can do a square PCB with around 15mm.
The materials you can see in the photo are non magnetic: plastics, brass, copper.
Where can I ask for machine services to do the mechanics of the encoder? The laser cuting services from seeed are only for flat parts. I have 2 such parts and can use it if I like (I don't) 3mm acrylic. But the axis is not flat.
Now I am designing (with some help) the control board with an ATMEL USB. It's an hard work because I never used Eagle and my work is not hardware related.
Someone want to participate or help?
 
Last edited:
Status
Not open for further replies.