[sdiy] Rotary Switch -> illuminated PB w/ multicolor LED?
Mike Bryant
mbryant at futurehorizons.com
Fri Feb 11 19:20:57 CET 2022
Shouldn't be a problem with endurance as it's the erases that wear a cell out the most.
I program a byte at a time. I start at the first byte with all ones = off, so 0x01111111 = on, 0x00111111 = off, etc. Then when the byte gets to zero I move to the next byte and set that to 0x0111111. And so on through the page.
Only once the whole page is full of zeros do I erase it.
-----Original Message-----
From: Synth-diy [mailto:synth-diy-bounces at synth-diy.org] On Behalf Of grant musictechnologiesgroup.com
Sent: 11 February 2022 17:53
To: Mike Beauchamp; synth-diy at synth-diy.org
Subject: Re: [sdiy] Rotary Switch -> illuminated PB w/ multicolor LED?
I haven't found one small enough and even the closest competitors seem like $10+ (recent prices). The Grayhill 56 series is pretty tiny as rotary switches go.
The other thing that's nice about a rotary switch versus an electronic pushbutton/MCU/LEDs is memory. Not only does the switch already tell you what bank you are on as you switch it, but it remembers it when the power goes off. :-) So that needs to be factored into the MCU probably (EEPROM or emulation in flash, but endurance could be an issue).
------ Original Message ------
From: "Mike Beauchamp" <list at mikebeauchamp.com>
To: "synth-diy at synth-diy.org" <synth-diy at synth-diy.org>
Sent: 2/10/2022 3:11:24 PM
Subject: Re: [sdiy] Rotary Switch -> illuminated PB w/ multicolor LED?
>On 2/10/22 11:02, grant musictechnologiesgroup.com wrote:
>> Speaking of supply chain fun, a really nice *small* SP4T rotary
>> Grayhill switch has gone from a pricey $10 to $16. So that's well
>> beyond nuts for most of us I'm sure. Alternatives? This is for
>> digital control, so I can work with 2 bits or 1 of 4 some other way.
>> I'm thinking a pushbutton with internal multicolor LED and a PIC or
>> ATTINY (assuming you can buy those?!).
>>
>> I really like that the switch is both selector and indicator, so
>> that needs to be replicated.
>
>
>What about replacing it with another 4T rotary switch? There's a bunch
>available.. the "open frame" ones are pretty common and so are plastic
>enclosed ones branded Alpha and CK. I used to use some from digikey
>that had a very long shaft (3-4") but was very easy to cut down.
>
>Mike
>_______________________________________________
>Synth-diy mailing list
>Synth-diy at synth-diy.org
>http://synth-diy.org/mailman/listinfo/synth-diy
>Selling or trading? Use marketplace at synth-diy.org
_______________________________________________
Synth-diy mailing list
Synth-diy at synth-diy.org
http://synth-diy.org/mailman/listinfo/synth-diy
Selling or trading? Use marketplace at synth-diy.org
More information about the Synth-diy
mailing list