add instructions for encoder pattern

This commit is contained in:
Crispy 2025-07-03 20:22:35 +02:00
parent 5aa70e4ecd
commit 730fc3e5e4
4 changed files with 10 additions and 1 deletions

View file

@ -20,10 +20,18 @@ As previously noted, these materials are just scraps I had, exact measurements a
- Raspberry Pi Pico W/WH - Raspberry Pi Pico W/WH
- bearing 25mm diameter - bearing 25mm diameter
- large, opaque plastic box - large, opaque plastic box
- piece of wood ~2x2x14cm
- 3mm & 5mm drill
- wires
## Construction ## Construction
### encoder pattern ### encoder pattern
TODO - draw a circle on white paper big enough to fit the bearing (leaving 1mm of margin is a good idea)
- draw concentric circles around it, increasing the radii by 1cm each time. you need one per sensor (3) (i made 4 because i was planning to use more sensors than i did)
- divide the circles into 8ths
- fill in the section like a [gray code](https://en.wikipedia.org/wiki/Gray_code#Position_encoders) (same as pictured, but skip the outermost circle)
![img/encoder_pattern_grid.jpg]
![img/encoder_pattern_filled.jpg]
### encoder plate ### encoder plate
- Cut 3 pieces of cardboard big to fit the encoder pattern with comfortable margin - Cut 3 pieces of cardboard big to fit the encoder pattern with comfortable margin
- glue 2 of them together with perpendicular grain directions - glue 2 of them together with perpendicular grain directions
@ -31,6 +39,7 @@ TODO
- glue the third piece to the others, again with perpendicular grain to the side you stick it to - glue the third piece to the others, again with perpendicular grain to the side you stick it to
- cut the outside into a rough circle, the same size as the encoder pattern - cut the outside into a rough circle, the same size as the encoder pattern
- attach the patern to the plate on the side with a hole, as concentric as possible. Use masking tape to make it slightly adjustable - attach the patern to the plate on the side with a hole, as concentric as possible. Use masking tape to make it slightly adjustable
![img/encoder_plate_blank.jpg]
### encoder ### encoder
TODO TODO

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

BIN
img/encoder_plate_blank.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 KiB