This is my version of a 3 button in-wall scene controller with an integrated OLED display. This will fit a standard US single gang electrical outlet box. This was originally designed as a node for a MySensors automation setup, but can be used with any platform that uses an arduino with a nRF24L01 radio module.
I designed this scene controller based off of a couple other switch designs that I did in the past which are based on a custom PCB that I designed which allowed for multiple switch configurations to be made from one common PCB.
This board works in conjunction with two other boards, a main controller board and a power supply board. The main and power supply boards are put together with another of my 3D designs that can be found here.
The main control board is designed around an Arduino pro mini microcontroller and an nRF24L01 radio module which is used to communicate with the automation controller.
The power supply board uses an HLK-PM01 90-240 volt to 5 volt power module to supply the 5 volts needed by the microcontroller and other electronics.
I wanted to take this a step further and build a switch board module that had some sort of display on it for displaying information sent from my automation controller. In my search for parts I found the SSD1306 128x64 OLED display module that was the perfect size. This along with a handful of 6mm X 6mm microswitches I had my parts. I wanted to follow my idea from my original switch board and make this a flexible design to allow for a number of different possible switch configurations. I also decided to add support for both the I2C and SPI versions of the OLED display module. So version 1.0 of the board was born.
The wall plate design in this project supports one of the many configurations possible for this board. Below is a video showing the first working prototype of this switch in action. I have included the arduino sketch in the files that runs what is seen in the video. This can be used and modified to create other switch configurations. The sketch provided supports the I2C version of the display module. I have yet to write an example for the SPI version and get that tested.
I would be interested to see other peoples uses for this wall controller setup. I also welcome any remix designs with the keypad board.
I made a few slight changes to the files. When I printed my first test of this, the buttons fit a bit snug in the holes, so I made them just a touch smaller and now they fit perfectly. I also modified the support piece as the top bar on the support was wedging between the OLED display and the top row of buttons. I decided that that area would do good as a lower support for the OLED module, so I shortened it and made it taller to act as a partial lower support. A test fit of the new parts shows everything fits perfectly. Since the WAF is a big part of my automation builds, one last thing that I did was changed the lettering on the button caps from the raised lettering to recessed lettering. This had to do with my wife telling me that the raised letters were a bit sharp.
One last change that I made was to flip the switch plate over so it would print face down. This requires supports to be printed for the mounting tabs, but since the mounting tabs are hidden in the wall, any imperfections cause by the supports won't matter. This also makes for a nice face to the front of the plate and a smooth edge to the beveled window for the display.
Licensing for my custom circuit boards falls under the CERN Open Hardware License version 1.2. Feel free to use them as you like, but PLEASE give me credit when doing so.