.:madworm:.'s photos with the keyword: rotary
Just a few rotary encoders
N.K. Oder
11 Mar 2013 |
|
I found these for a very decent price at an online electronics store. I was pretty surprised. Similar devices of the ALPS brand cost 3x as much.
EN11HSM15AF
Bag of parts
11 Mar 2013 |
|
I found these for a very decent price at an online electronics store. I was pretty surprised. Similar devices of the ALPS brand cost 3x as much.
EN11HSM1AF15
Serial-Knob
22 Jan 2013 |
|
Is it useful? Maybe. I have a couple of existing projects that would benefit from a rotary knob, but not enough code-space is left to add encoder handling. Serial comms is already working, so this is the simpler way to make it work.
A little quiz: {1,-1,0,-1,0,0,1,1,0,0,-1,0,-1,1,0}
Serial-Knob
22 Jan 2013 |
|
Is it useful? Maybe. I have a couple of existing projects that would benefit from a rotary knob, but not enough code-space is left to add encoder handling. Serial comms is already working, so this is the simpler way to make it work.
A little quiz: {1,-1,0,-1,0,0,1,1,0,0,-1,0,-1,1,0}
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 "rotary" - 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