I need to buy a whole pile of these, then figure out functions for them to perform later.
It's shaping up to be the perfect button. Keep up the good work!
If I had one, this would be the ultimate button for @Josh | NFC 's S4 Mini and even the Sentry .
Considering how much time I've wasted over the years getting PWR LED plugged in with the right polarity, your button would be worth it for that alone
Amazing work ! I love the little details and flexibility to make this seemingly simple device into a fully featured piece of art.
Could several of these magnificent RGB buttons be used on the same chassis with something like NZXT's Internal USB Expansion hub (link, link to newer "less sff" magnetic version) or would supporting more than one be software dependent?
I need to buy a whole pile of these, then figure out functions for them to perform later.
If pairs of the already broken-out GPIO pins could be used for I2C, these could be used to daisy-chain buttons without any extra hardware (and allow for easier synchronisation of multi-button effects than through a shared USB hub). That's a pretty rare use-case though.TBH, I already thought about whether it would be possible to implement a two-wire communication like I2C that one could activate to daisy-chain buttons together, but using an internal hub like this is of course a much more robust solution.
If pairs of the already broken-out GPIO pins could be used for I2C, these could be used to daisy-chain buttons without any extra hardware (and allow for easier synchronisation of multi-button effects than through a shared USB hub).
That's a pretty rare use-case though.
I was thinking more in terms of using the buttons completely separate from a PC, for more general usage. e.g. connected up to a Raspberry Pi, or even an Arduino or similar microcontroller. No specific application in mind, more thinking in general terms of things I could do with The One Button To Rule Them All.The one scenario where it would be useful for the buttons to talk to each other is when you want a coordinated light-show powered by the standby voltage of the PSU that is running even with the PC is turned off. But who'd be crazy enough to do that sort of thing?
Since you have an MCU on board, may be you can add a reset functionality when the power button is double clicked / triple clicked.
A tip on the firmware: always have a watch dog timer.
I was thinking more in terms of using the buttons completely separate from a PC, for more general usage. e.g. connected up to a Raspberry Pi, or even an Arduino or similar microcontroller. No specific application in mind, more thinking in general terms of things I could do with The One Button To Rule Them All.
I think you just might have a winning product name there, @EdZ
'Solus' sounds good.
...The One Button To Rule Them All.
Ah didn't know on both counts.Meh... Solus = Linux Distro/Independent OS and a new video game.
I meant the PC reset, not the MCU reset.What would that reset be useful for, anyway? Apart from resetting if the firmware hangs.
Good tip on the watch dog timer. I know my MCU has support for that and it's enabled by default, but it's set to over two minutes I'll have to make sure that won't be the case later. A few ms should be enough.
I meant the PC reset, not the MCU reset.
Oh, I see. Yeah sure, that would work. But the user would have to set that in the software, I think. Not sure whether I could detect that.
Can't you provide a header for "reset " output that can be connected to the motherboard, which is activated by one the GPIOs configured as open collector output ?
Personally, polarity invariance. I can't think of a reason why a PC in the 21st century should have a reset switch, but I can imagine not having to do the 50% lottery every time when SFF is often about tucking away cables. Using the pins for various purposes easily seems moot as it will require quite the knowledge outside from the "RST_SW, PWR_SW, HDD_LED, drive external LED" and at that point I'd figure one can use an Arduino and have even more possibilities.So the question is, would you rather have: polarity invariance or multiple external functions at the same time?
Personally, polarity invariance. I can't think of a reason why a PC in the 21st century should have a reset switch, but I can imagine not having to do the 50% lottery every time when SFF is often about tucking away cables. Using the pins for various purposes easily seems moot as it will require quite the knowledge outside from the "RST_SW, PWR_SW, HDD_LED, drive external LED" and at that point I'd figure one can use an Arduino and have even more possibilities.