Permalink
Browse files

Documentation updates

  • Loading branch information...
aderusha committed Jan 6, 2019
1 parent 2f7dba8 commit 8814df893d9f73dece1484aa944bbe6304d01570
Showing with 8 additions and 11 deletions.
  1. +1 −3 3D_Printable_Models/README.md
  2. +3 −5 Documentation/04_Project_Enclosure.md
  3. +4 −3 README.md
@@ -31,8 +31,6 @@ An enclosure designed for desktop (table, bedstand, etc) use has been developed.
* **[HASwitchPlate_desktop_rear.stl](HASwitchPlate_desktop_rear.stl)** Rear enclosure for desktop use with openings for SD card, USB, and Nextion Serial access
* **[HASwitchPlate_desktop_base.stl](HASwitchPlate_desktop_base.stl)** Handy base for desktop use. Print with higher infill to add mass to weigh it down a bit.

![HASP_3D_Print_Models](../Documentation/Images/HASP_3D_Print_Models.png?raw=true)

## 3D Printing Notes

### FDM affordance
@@ -45,7 +43,7 @@ I printed these two parts with [Atomic Filament Bright White Opaque PETG Pro](ht

### Inserts

The mounting holes for the Nextion panel are sized to fit [M2 x 3mm heat-set threaded inserts](https://www.amazon.com/a16041800ux0765-Cylinder-Knurled-Threaded-Embedded/dp/B01IZ15A5U) but should accept an M3 screw (tightly). See [the enclosure build documentation](../Documentation/04_Project_Enclosure.md#heat-set-inserts) for more details.
The mounting holes for the Nextion panel are sized to fit [M2 x 3mm threaded inserts](https://www.amazon.com/a16041800ux0765-Cylinder-Knurled-Threaded-Embedded/dp/B01IZ15A5U) but should accept an M3 screw (tightly). See [the enclosure build documentation](../Documentation/04_Project_Enclosure.md#threaded-inserts) for more details.

### SketchUp

@@ -10,13 +10,11 @@ The [enclosure provided](../3D_Printable_Models) includes STL files ready for sl

The AC power cables should be at least 18AWG 300V stranded cable with a white jacket soldered to the `AC/N` pad on the PCB and a similar wire with a black jacket soldered to `AN/L`. These are fed through a [rubber push-in grommet](https://www.mcmaster.com/#9600k41) mounted into the rear enclousure. I've had good luck stripping an existing 3 conductor power cord and using the black/white wires inside.

### Heat-set inserts
### Threaded Inserts

To hold the two halves on the enclosure together I've used [four 20mm M2 flat-head screws](https://www.amazon.com/gp/product/B000FN3Q94) through the rear of the enclosure into a set of [four 3mm M2 heat-set threaded inserts](https://www.amazon.com/gp/product/B01IZ157KS). For installation I'm using a conical tip on my soldering iron set at 350°F to heat up the insert and press into the front plate.
The two halves of the enclosure are held together by [four 20mm M2 flat-head screws](https://www.amazon.com/gp/product/B000FN3Q94) through the rear of the enclosure into a set of [four 3mm M2 threaded inserts](https://www.amazon.com/gp/product/B01IZ157KS) installed into the front plate.

![Installing threaded inserts](https://github.com/aderusha/HASwitchPlate/blob/master/Documentation/Images/Assembly_Installing_Inserts.jpg?raw=true)

I've threaded in a brass standoff I had laying around to prevent melted plastic from entering the nut during assembly and to give myself a handle to position and retain the insert when removing the soldering iron. The model includes a small cutout for the inserts to sit centered on their hole in preparation for installation, so I just set the insert in place, heat it for a moment with the iron, gently press until it's inserted, then hold the standoff with some pliers (it's hot!) while I remove the iron and adjust to make sure it's reasonably vertical while the plastic is still pliable. Be careful not to press in too far or you'll leave a dimple in the front of the plate!
To install the threaded inserts in the front plate, thread the end of an M2 screw into the insert with the end of the screw flush with the bottom face of the insert (meaning, it's not sticking out the other side). Apply a thin bead of slow-set superglue around the outside edge of the insert, taking care not to get glue on the screw itself as you don't want to pull the glue up into the threads when removing the screw. Then, take a hammer and *gently* tap it into place on the front plate. You can crack the plastic if you swing too hard, you just need enough force to push the knurled ridges on the outside of the insert into the plate.

### PCB Installation

@@ -18,20 +18,21 @@ As this build requires some specialist skills and tools, I will occasionally be

## Bill of Materials

To build a simple version of this project you will minimally need the [Nextion display]((https://www.itead.cc/nextion-nx3224t024.html)) and the [WeMos D1 Mini]((https://wiki.wemos.cc/products:d1:d1_mini)), 4 jumper wires, and a USB cable to power both devices.
To build a simple version of this project you will minimally need the [Nextion display](https://www.itead.cc/nextion-nx3224t024.html) and the [WeMos D1 Mini](https://wiki.wemos.cc/products:d1:d1_mini), 4 jumper wires, and a USB cable to power both devices.

A complete build that's ready to install will require the following components:

* [Nextion 2.4" LCD Touchscreen display](https://www.itead.cc/nextion-nx3224t024.html)
* [WeMos D1 Mini ESP8266 WiFi microcontroller](https://wiki.wemos.cc/products:d1:d1_mini)
* [3D printed switch plate](3D_Printable_Models/HASwitchPlate_front_single.stl)
* [3D printed rear cover](3D_Printable_Models/HASwitchPlate_rear_nolcdmod.stl)
* [5V Power supply](https://www.findchips.com/search/IRM-03-5)
* [Mean Well IRM-03-5 AC to 5VDC Power supply](https://www.findchips.com/search/IRM-03-5)
* [PCB](PCB/)
* [4pin 2.54mm JST-XH female PCB header](https://www.amazon.com/GeeBat-460pcs-Connector-Housing-Adapter/dp/B01MCZE2HM)
* [Rubber grommet](https://www.mcmaster.com/#9600k41)
* [Two M2 self-tapping 6MM screws](https://www.amazon.com/gp/product/B01FXGHO2M) (or just any 4-6mm M2 machine screws)
* 6" each of white and black 300V 18AWG stranded power cables (I just stripped some wire out of a power cord)
* [Four 20mm M2 flathead screws](https://www.amazon.com/gp/product/B000FN3Q94) and [four heat-set threaded inserts](https://www.amazon.com/gp/product/B01IZ157KS) to fasten things together (feel free to improvise here)
* [Four 20mm M2 flathead screws](https://www.amazon.com/gp/product/B000FN3Q94) and [four 3mm M2 threaded inserts](https://www.amazon.com/gp/product/B01IZ157KS) to fasten things together (feel free to improvise here)

## Get Started!

0 comments on commit 8814df8

Please sign in to comment.