.:madworm:.'s photos with the keyword: quadrature

quadrature decoder: algorithm

quadrature encoder: 4 state machine

quadrature encoder: calculate phase angle

The encoder fits

15 Feb 2013 226
almost nicely. BUT, the footprint is for a different type ;-) Good enough for a prototype. What you can't see: there's an ATtiny85 on the bottom side that will do the decoding. The firmware will support "step / direction" output or send status changes via serial. The push-button can be used to switch between various modes. If I can figure out how to program this thing without having a 2.00mm ISP connector, I might have a half-pleasant weekend ahead of me. Lots of code-recycling should speed things up a lot.

This will have to do

15 Feb 2013 213
I don't have the luxury of living next to a mouser or digikey warehouse, so I can't get a 2.00mm header "just like that". There is an electronics shop in town, but it only stocks the more common things - definitely nothing SMD.

Tick tack... tick tack...

16 Feb 2013 704
I will have to think about debouncing a bit, but in general it works quite nicely. In this picture it controls the lights used to illuminate it. The lights understand serial, so the knob only has to send '+' or '-' to adjust brightness. It also works very nicely as a volume knob for amarok, kmix ... only requires linux, KDE4 ;-) The ATtiny85 is hidden on the other side ;-) As usual you can have all design files and code. Search for "Serial-Knob" and take a look inside the "ATtiny_projects" repo for code: [ 1 ],[ 2 ].

This will have to do

15 Feb 2013 200
I don't have the luxury of living next to a mouser or digikey warehouse, so I can't get a 2.00mm header "just like that". There is an electronics shop in town, but it only stocks the more common things - definitely nothing SMD.

Tictictictictictictic...

16 Feb 2013 380
These 0603 footprints I made... they shouldn't have been any smaller!