{"id":1673,"date":"2022-03-31T21:53:33","date_gmt":"2022-04-01T02:53:33","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=1673"},"modified":"2024-10-22T21:11:53","modified_gmt":"2024-10-23T02:11:53","slug":"novelkeys-novelty-big-switch-macro-pad","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=1673","title":{"rendered":"Novelkeys Novelty Big Switch Macro Pad"},"content":{"rendered":"\n<p>After putting together the EspDeck 9 key pad, and talking to the wife of other places we could make things better, the bedroom fan and lights came up. I mentioned that we could use smart switches for them and make a small 2 key control for our night stands, which she was super excited about, and then I showed her the NovelKeys big switches and it was sold, we were going to have some hilarious macro pads to control our bedroom lights.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\" id=\"hardware\">Hardware:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>2 x <a href=\"https:\/\/novelkeys.com\/products\/the-big-switch-series\">Novelkeys big switch<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B07L8W9SP3\/ref=ox_sc_act_title_2?smid=A2EX2NNY5B3RUB&amp;psc=1\">ESP8266<\/a><\/li>\n\n\n\n<li>Wire<\/li>\n\n\n\n<li>3d Printing Filament<\/li>\n\n\n\n<li>2 x <a href=\"https:\/\/www.amazon.com\/dp\/B0749MD16P?psc=1&amp;ref=ppx_yo2_dt_b_product_details\">LEDs<\/a><\/li>\n\n\n\n<li>2 x <a href=\"https:\/\/www.amazon.com\/dp\/B07HDH7QK5?psc=1&amp;ref=ppx_yo2_dt_b_product_details\">300 ohm Resistors<\/a><\/li>\n\n\n\n<li>3 x <a href=\"https:\/\/www.amazon.com\/gp\/product\/B071H5XCN5\/ref=ppx_yo_dt_b_asin_title_o01_s02?ie=UTF8&amp;psc=1\">3 Pin JST Connectors <\/a>(optional)<\/li>\n\n\n\n<li>4 x <a href=\"https:\/\/www.amazon.com\/dp\/B06XPCLN23?psc=1&amp;ref=ppx_yo2_dt_b_product_details\">Rubber Feet<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"functionality\">Functionality:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Button 1:\n<ul class=\"wp-block-list\">\n<li>Single Click: If one light is on, turn them both off<\/li>\n\n\n\n<li>Single Click: If both lights are off, turn them both on<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Button 2:\n<ul class=\"wp-block-list\">\n<li>Single Click: Toggle Fan<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>LED Backlighting\n<ul class=\"wp-block-list\">\n<li>At Sunset: Turn on LED Backlights<\/li>\n\n\n\n<li>At Sunrise + 1 hour: Turn off LED Backlights<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Future capability:\n<ul class=\"wp-block-list\">\n<li>Button 1: Double click for WLED toggle<\/li>\n\n\n\n<li>Button 2: Double click for fan speed<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"assembly\">BIG Switch<\/h2>\n\n\n\n<p>After seeing the switches, I realized how big the case was going to need to be, probably 2.5 times the size of the original EspDeck case. This was going to be a bit daunting, also I thought I would need some type of weight in the bottom to keep them from tipping over. After getting the first unit fully assembled, I realized that wouldn&#8217;t be necessary at all, they are very stable without any extra weight.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-id=\"1753\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004855329-scaled.jpg\" alt=\"\" class=\"wp-image-1753\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004855329-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004855329-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004855329-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004855329-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004855329-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004855329-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-id=\"1754\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004915685-scaled.jpg\" alt=\"\" class=\"wp-image-1754\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004915685-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004915685-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004915685-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004915685-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004915685-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/PXL_20220216_004915685-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption wp-element-caption\">The Big Switch vs the Original EspDeck<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"case\">Case<\/h2>\n\n\n\n<p>I started by designing a stand for the switches. I figured the best way to start would be to figure out how best to hold them, how much space is needed for the stem and pins, and how tightly I can hold the switches WITHOUT hot glue. I also figured I&#8217;d end up with one of these big switches at some point on my desk, so having a little stand for it would be nice.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"938\" height=\"765\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/image-21.png\" alt=\"\" class=\"wp-image-1763\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/image-21.png 938w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/image-21-300x245.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/02\/image-21-768x626.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">In CAD<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220217_125607893-scaled.jpg\" alt=\"\" class=\"wp-image-1902\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220217_125607893-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220217_125607893-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220217_125607893-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220217_125607893-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220217_125607893-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220217_125607893-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fully Printed Stand<\/figcaption><\/figure>\n\n\n\n<p>With the switches working in the stand, time to model the final case. I used the stand to figure out where best to situate the ESP8266 and then started modeling the base unit of the assembly. I found that mounting the ESP8266 vertically would fit the best next to the big switches. I modeled the enclosure as best as I could to avoid any problems with wiring, or plugging in the USB cable (cough gen1 EspDeck cough). It is 3 pieces total, the enclosure, bottom plate, and side plate. The side plate covers the ESP and allows direct access to it (press fit) while the bottom plate is screwed on with countersunk screws (and feet to keep it from scratching anything).  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235055623-scaled.jpg\" alt=\"\" class=\"wp-image-1854\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235055623-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235055623-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235055623-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235055623-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235055623-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235055623-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">ESP8266 Test Fit<\/figcaption><\/figure>\n\n\n\n<p>A test fit of the switches into the enclosure was successful. There is plenty of room for wiring the switches, LEDs, and the JST connectors.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235109595-scaled.jpg\" alt=\"\" class=\"wp-image-1855\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235109595-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235109595-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235109595-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235109595-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235109595-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220221_235109595-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Switches Installed in Case<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"wiring\">Wiring &amp; Assembly<\/h2>\n\n\n\n<p id=\"wiring\">We&#8217;re starting out with the limitations on using the ESP GPIO pins to drive devices. These pins have a max output current of 12 milliamps (and output 3.3v). With this in mind, we can calculate how big the resistors need to be to prevent damage to the ESP circuit.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">V=IR\nVoltage = Current * Resistance\n3.3v = 0.012 amps * X ohms\nX = 275<\/pre>\n\n\n\n<p>We&#8217;ll be using 300 ohm resistors (maybe more to dim the backlighting). With this in mind, we can draw out the circuit diagram.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"240\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/novelkey2.png\" alt=\"\" class=\"wp-image-1915\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/novelkey2.png 500w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/novelkey2-300x144.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption class=\"wp-element-caption\">Final Wiring Design<\/figcaption><\/figure>\n\n\n\n<p>GPIO 12 and 13 were picked for the inputs as they can have the internal pull-up enabled (GPIO 15 and 16 would be bad choices for the inputs). The other GPIOs picked for the LED outputs to avoid any odd boot pins for the ESP device. Now we can start prototyping the LEDs (since I haven&#8217;t done anything like this before, lots of demoing before soldering).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_224930021-1-scaled.jpg\" alt=\"\" class=\"wp-image-1860\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_224930021-1-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_224930021-1-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_224930021-1-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_224930021-1-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_224930021-1-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_224930021-1-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Test Wiring the RGB LED<\/figcaption><\/figure>\n\n\n\n<p>I also wanted to make sure the LEDs would have the intended effect for backlighting the switches at night. I found that it worked flawlessly and was plenty bright (maybe too bright for the night stand though).<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-id=\"1861\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225252852-1-scaled.jpg\" alt=\"\" class=\"wp-image-1861\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225252852-1-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225252852-1-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225252852-1-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225252852-1-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225252852-1-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225252852-1-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-id=\"1859\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225243110.MP_-scaled.jpg\" alt=\"\" class=\"wp-image-1859\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225243110.MP_-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225243110.MP_-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225243110.MP_-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225243110.MP_-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225243110.MP_-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225243110.MP_-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-id=\"1856\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225214351-scaled.jpg\" alt=\"\" class=\"wp-image-1856\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225214351-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225214351-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225214351-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225214351-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225214351-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220220_225214351-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption wp-element-caption\">Night testing the Backlight<\/figcaption><\/figure>\n\n\n\n<p>I soldered on 3 pin JST connectors to each LED, and one more for the two switches and a ground wire. I decided to do this so I could remove the ESP8266 by simply unplugging everything and pulling the wiring out of a hole betwen the ESP holder in the pad and the main opening in the pad.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-id=\"1893\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220324_005950869-4-scaled.jpg\" alt=\"\" class=\"wp-image-1893\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220324_005950869-4-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220324_005950869-4-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220324_005950869-4-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220324_005950869-4-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220324_005950869-4-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220324_005950869-4-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"2560\" data-id=\"1892\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_0059432388148141204100873539-scaled.jpg\" alt=\"\" class=\"wp-image-1892\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_0059432388148141204100873539-scaled.jpg 1920w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_0059432388148141204100873539-225x300.jpg 225w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_0059432388148141204100873539-768x1024.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_0059432388148141204100873539-1152x1536.jpg 1152w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_0059432388148141204100873539-1536x2048.jpg 1536w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption wp-element-caption\">Wiring up the Switches and LEDs<\/figcaption><\/figure>\n\n\n\n<p>I soldered the resistors onto each LED and then used the common ground that goes back to the ESP on the switch connector.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"2560\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_2000446114776599644723514668-scaled.jpg\" alt=\"\" class=\"wp-image-1891\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_2000446114776599644723514668-scaled.jpg 1920w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_2000446114776599644723514668-225x300.jpg 225w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_2000446114776599644723514668-768x1024.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_2000446114776599644723514668-1152x1536.jpg 1152w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/pxl_20220324_2000446114776599644723514668-1536x2048.jpg 1536w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Wiring the Switches and LEDs<\/figcaption><\/figure>\n\n\n\n<p>Everything then was connected and tested before being fully assembled. The LEDs are hot glued into place (okay so I couldn&#8217;t avoid using hotglue completely, but at least its minimized).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220325_151949356-4-scaled.jpg\" alt=\"\" class=\"wp-image-1895\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220325_151949356-4-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220325_151949356-4-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220325_151949356-4-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220325_151949356-4-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220325_151949356-4-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220325_151949356-4-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Final Wiring to be Routed Through the Passthrough<\/figcaption><\/figure>\n\n\n\n<p>And the final assembly completed. We have the bottom plate screwed on, feet stuck on, and side plate pressed into place. The USB cord reaches the plug fine, so no problems there, and everything is working.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000312691-4-scaled.jpg\" alt=\"\" class=\"wp-image-1889\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000312691-4-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000312691-4-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000312691-4-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000312691-4-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000312691-4-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000312691-4-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Adding Feet as the Final Touch<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000307504-scaled.jpg\" alt=\"\" class=\"wp-image-1894\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000307504-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000307504-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000307504-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000307504-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000307504-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_000307504-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Back Hatch Covered<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>The keypad works great, its big enough that its hard to miss when groggily trying to turn on the lights when a dog starts gagging, or when trying to turn on the fan when the room gets too hot at night. With Z-Wave switches on the wall for everything, there&#8217;s nearly no lag when clicking to when the action takes place.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_002051608-3-scaled.jpg\" alt=\"\" class=\"wp-image-1898\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_002051608-3-scaled.jpg 2560w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_002051608-3-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_002051608-3-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_002051608-3-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_002051608-3-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/03\/PXL_20220328_002051608-3-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Operational and Backlit<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"resources\">Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/AeroSteveO\/EspDeck\/blob\/main\/novelkey-big-switch\/README.md\">GitHub<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.youmagine.com\/designs\/novelkey-novelty-esphome-macropad\">YouMagine<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.printables.com\/model\/156110-novelkey-novelty-esphome-macropad\">Printables<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.thingiverse.com\/thing:5337445\">Thingiverse<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>After putting together the EspDeck 9 key pad, and talking to the wife of other places we could make things better, the bedroom fan and lights came up. I mentioned that we could use smart switches for them and make a small 2 key control for our night stands, which she was super excited about, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lab.rapternet.us\/?p=1673\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Novelkeys Novelty Big Switch Macro Pad&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1898,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[90,76,74,38,39,75,49],"class_list":["post-1673","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-electronics","tag-espdeck","tag-esphome","tag-hardware","tag-home-assistant","tag-macropad","tag-smart-home"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1673"}],"version-history":[{"count":42,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1673\/revisions"}],"predecessor-version":[{"id":2673,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1673\/revisions\/2673"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/media\/1898"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}