.: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 |
|
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 |
|
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 |
|
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 |
|
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...
Jump to top
RSS feed- .:madworm:.'s latest photos with "quadrature" - Photos
- ipernity © 2007-2025
- Help & Contact
|
Club news
|
About ipernity
|
History |
ipernity Club & Prices |
Guide of good conduct
Donate | Group guidelines | Privacy policy | Terms of use | Statutes | In memoria -
Facebook
Twitter