├── .gitignore ├── Board ├── Back Artwork.bmp ├── Back Artwork.psd ├── Board-cache.lib ├── Board-rescue.lib ├── Board.bak ├── Board.cmp ├── Board.dcm ├── Board.kicad_pcb ├── Board.kicad_pcb-bak ├── Board.mod ├── Board.net ├── Board.pro ├── Board.sch ├── Board.xml ├── Output │ ├── Board-B_Cu.gbl │ ├── Board-B_Mask.gbs │ ├── Board-B_Paste.gbp │ ├── Board-B_SilkS.gbo │ ├── Board-Edge_Cuts.gbr │ ├── Board-F_Cu.gtl │ ├── Board-F_Mask.gts │ ├── Board-F_Paste.gtp │ ├── Board-F_SilkS.gto │ ├── Board.drl │ └── Output.zip ├── Parts.pretty │ ├── 3.81mmScrewTerminal.kicad_mod │ ├── 5PinHeader.kicad_mod │ ├── BackArt.kicad_mod │ ├── Inductor.kicad_mod │ ├── KBL.kicad_mod │ ├── SMD_Tact.kicad_mod │ └── SOT-23.kicad_mod └── fp-lib-table ├── Case ├── Base Spacer.dxf ├── Base Spacer.scad ├── Base.dxf ├── Base.scad ├── Clear Thin Spacer.dxf ├── Clear Thin Spacer.scad ├── Compressed.png ├── Exploded.png ├── Files for Ponoko │ ├── Black Acrylic.cdr │ ├── Black Acrylic.eps │ ├── Clear Thin Spacer.cdr │ ├── Clear Thin Spacer.eps │ ├── Lids.cdr │ ├── Lids.eps │ └── Lids.svg ├── Hex Spacer.dxf ├── Hex Spacer.scad ├── README.md ├── Screw Terminal Lid.cdr ├── Screw Terminal Lid.dxf ├── Screw Terminal Lid.scad ├── Screw Terminal Spacer.dxf ├── Screw Terminal Spacer.scad ├── Visualisation.png ├── Visualisation.scad └── Visualisation.stl ├── Documentation ├── API Commands.docx ├── API Commands.pdf ├── Best Product │ ├── HAD Best Product information sheet.docx │ ├── Parts Box.docx │ ├── Parts Box.pdf │ ├── Power Supplies.docx │ └── Power Supplies.pdf ├── Getting Started.docx ├── Getting Started.pdf ├── README.md └── System Design Diagram.png ├── ESPlorer └── README.md ├── Firmware ├── ACOn.txt ├── Debug Files │ ├── ESPLux.lua │ └── RenameHttpFiles.lua ├── Dim.txt ├── LightName.txt ├── Net.txt ├── PreviousLevel.txt ├── Seed.txt ├── http │ ├── Debug Files │ │ ├── ESPLux.lua │ │ ├── getACOn.lua │ │ ├── getDim.lua │ │ ├── getIP.lua │ │ ├── getName.lua │ │ ├── getPreviousLevel.lua │ │ ├── restart.lua │ │ └── setLights2.lua │ ├── getState.lua │ ├── index.html │ ├── minify │ │ └── index.html │ ├── setACOn.lua │ ├── setDim.lua │ ├── setIP.lua │ ├── setIndicator.lua │ ├── setLights.lua │ ├── setName.lua │ └── setWifi.lua ├── httpserver-error.lua ├── httpserver-header.lua ├── httpserver-request.lua ├── httpserver-static.lua ├── httpserver.lua ├── init.lua ├── resetWireless.lua ├── setLightLevel.lua └── setStartIP.lua ├── LICENSE.md ├── License Information ├── ESPLux.md ├── ESPlorer.md ├── LuaLoader.md ├── README.md ├── nodemcu ├── nodemcu-flasher └── nodemcu-httpserver ├── OpenHAB ├── items │ └── pretenda.items ├── rules │ └── pretenda.rules └── sitemaps │ └── pretenda.sitemap ├── Packaging ├── Backup_of_Base Art.cdr ├── Backup_of_Lid Art.cdr ├── Base Art.cdr ├── Base Art.pdf ├── Bottom Box.cdr ├── Bottom Box.dxf ├── Bottom Box.scad ├── Lid Art.cdr ├── Lid Art.pdf ├── Top Box.cdr ├── Top Box.dxf └── Top Box.scad ├── Photos ├── 2015-07-24 15.52.37.jpg ├── 2015-07-24 15.52.51.jpg ├── 2015-07-24 15.52.53.jpg ├── 2015-07-24 15.53.03.jpg ├── 2015-07-24 15.53.13.jpg ├── 2015-07-24 15.53.17.jpg ├── 2015-07-24 15.53.27.jpg ├── 2015-07-24 15.53.45.jpg ├── 2015-07-24 15.53.48.jpg ├── 2015-07-24 15.53.51.jpg ├── 2015-07-24 15.53.54.jpg ├── 2015-07-28 09.09.08 HDR.jpg └── Interface │ ├── Light Control.png │ ├── Settings.png │ ├── Start Page.PNG │ └── Wifi.png ├── Programmer Holder ├── Holder.scad ├── Holder.stl └── README.md └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | ESPFlasher/Config/ESP8266MAC.txt 2 | ESPFlasher/Config/Config.xml 3 | ESPFlasher/ESP8266Flasher.exe 4 | ESPFlasher/nodemcu_integer_0.9.6-dev_20150704.bin -------------------------------------------------------------------------------- /Board/Back Artwork.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Board/Back Artwork.bmp -------------------------------------------------------------------------------- /Board/Back Artwork.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Board/Back Artwork.psd -------------------------------------------------------------------------------- /Board/Board-cache.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # +12V 5 | # 6 | DEF +12V #PWR 0 0 Y Y 1 F P 7 | F0 "#PWR" 0 -150 50 H I C CNN 8 | F1 "+12V" 0 140 50 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | P 2 0 1 0 -30 50 0 100 N 13 | P 2 0 1 0 0 0 0 100 N 14 | P 2 0 1 0 0 100 30 50 N 15 | X +12V 1 0 0 0 U 50 50 1 1 W N 16 | ENDDRAW 17 | ENDDEF 18 | # 19 | # +3V3 20 | # 21 | DEF +3V3 #PWR 0 0 Y Y 1 F P 22 | F0 "#PWR" 0 -150 50 H I C CNN 23 | F1 "+3V3" 0 140 50 H V C CNN 24 | F2 "" 0 0 60 H V C CNN 25 | F3 "" 0 0 60 H V C CNN 26 | ALIAS +3.3V 27 | DRAW 28 | P 2 0 1 0 -30 50 0 100 N 29 | P 2 0 1 0 0 0 0 100 N 30 | P 2 0 1 0 0 100 30 50 N 31 | X +3V3 1 0 0 0 U 50 50 1 1 W N 32 | ENDDRAW 33 | ENDDEF 34 | # 35 | # BRIDGE 36 | # 37 | DEF BRIDGE D 0 50 Y Y 1 F N 38 | F0 "D" 0 50 70 H V C CNN 39 | F1 "BRIDGE" 0 -50 70 H V C CNN 40 | F2 "" 0 0 60 H V C CNN 41 | F3 "" 0 0 60 H V C CNN 42 | DRAW 43 | P 2 0 0 6 -550 0 -350 -200 N 44 | P 2 0 0 6 -550 0 -350 200 N 45 | P 2 0 0 8 -300 450 -100 250 N 46 | P 2 0 0 8 -100 -250 -300 -450 N 47 | P 2 0 0 0 -100 -250 -300 -450 N 48 | P 2 0 0 6 0 -550 200 -350 N 49 | P 2 0 0 0 0 -550 200 -350 N 50 | P 2 0 0 6 0 550 200 350 N 51 | P 2 0 0 8 250 -100 450 -300 N 52 | P 2 0 0 6 350 200 550 0 N 53 | P 2 0 0 0 450 300 250 100 N 54 | P 2 0 0 8 450 300 250 100 N 55 | P 2 0 0 6 550 0 350 -200 N 56 | P 5 0 0 0 -450 300 -200 350 -250 100 -450 300 -450 300 F 57 | P 5 0 0 0 -250 -100 -200 -350 -450 -300 -250 -100 -250 -100 F 58 | P 5 0 0 0 100 -250 350 -200 300 -450 100 -250 100 -250 F 59 | P 5 0 0 0 300 450 350 200 100 250 300 450 300 450 F 60 | P 2 0 1 6 -200 -350 0 -550 N 61 | P 2 0 1 6 -200 350 0 550 N 62 | X - 1 -850 0 300 R 70 70 1 1 I 63 | X ~ 2 0 -850 300 U 70 70 1 1 I 64 | X + 3 850 0 300 L 70 70 1 1 I 65 | X ~ 4 0 850 300 D 70 70 1 1 I 66 | ENDDRAW 67 | ENDDEF 68 | # 69 | # CONN_01X02 70 | # 71 | DEF CONN_01X02 P 0 40 Y N 1 F N 72 | F0 "P" 0 150 50 H V C CNN 73 | F1 "CONN_01X02" 100 0 50 V V C CNN 74 | F2 "" 0 0 60 H V C CNN 75 | F3 "" 0 0 60 H V C CNN 76 | $FPLIST 77 | Pin_Header_Straight_1X02 78 | Pin_Header_Angled_1X02 79 | Socket_Strip_Straight_1X02 80 | Socket_Strip_Angled_1X02 81 | $ENDFPLIST 82 | DRAW 83 | S -50 -45 10 -55 0 1 0 N 84 | S -50 55 10 45 0 1 0 N 85 | S -50 100 50 -100 0 1 0 N 86 | X P1 1 -200 50 150 R 50 50 1 1 P 87 | X P2 2 -200 -50 150 R 50 50 1 1 P 88 | ENDDRAW 89 | ENDDEF 90 | # 91 | # CONN_02X03 92 | # 93 | DEF CONN_02X03 P 0 1 Y N 1 F N 94 | F0 "P" 0 200 50 H V C CNN 95 | F1 "CONN_02X03" 0 -200 50 H V C CNN 96 | F2 "" 0 -1200 60 H V C CNN 97 | F3 "" 0 -1200 60 H V C CNN 98 | $FPLIST 99 | Pin_Header_Straight_2X03 100 | Pin_Header_Angled_2X03 101 | Socket_Strip_Straight_2X03 102 | Socket_Strip_Angled_2X03 103 | $ENDFPLIST 104 | DRAW 105 | S -100 -95 -50 -105 0 1 0 N 106 | S -100 5 -50 -5 0 1 0 N 107 | S -100 105 -50 95 0 1 0 N 108 | S -100 150 100 -150 0 1 0 N 109 | S 50 -95 100 -105 0 1 0 N 110 | S 50 5 100 -5 0 1 0 N 111 | S 50 105 100 95 0 1 0 N 112 | X P1 1 -250 100 150 R 50 50 1 1 P 113 | X P2 2 250 100 150 L 50 50 1 1 P 114 | X P3 3 -250 0 150 R 50 50 1 1 P 115 | X P4 4 250 0 150 L 50 50 1 1 P 116 | X P5 5 -250 -100 150 R 50 50 1 1 P 117 | X P6 6 250 -100 150 L 50 50 1 1 P 118 | ENDDRAW 119 | ENDDEF 120 | # 121 | # CP 122 | # 123 | DEF CP C 0 10 N Y 1 F N 124 | F0 "C" 25 100 50 H V L CNN 125 | F1 "CP" 25 -100 50 H V L CNN 126 | F2 "" 38 -150 30 H V C CNN 127 | F3 "" 0 0 60 H V C CNN 128 | $FPLIST 129 | CP* 130 | Elko* 131 | TantalC* 132 | C*elec 133 | c_elec* 134 | SMD*_Pol 135 | $ENDFPLIST 136 | DRAW 137 | S -90 20 -90 40 0 1 0 N 138 | S -90 20 90 20 0 1 0 N 139 | S -70 90 -30 90 0 1 0 N 140 | S -50 70 -50 110 0 1 0 N 141 | S 90 -20 -90 -40 0 1 0 F 142 | S 90 40 -90 40 0 1 0 N 143 | S 90 40 90 20 0 1 0 N 144 | X ~ 1 0 150 110 D 40 40 1 1 P 145 | X ~ 2 0 -150 110 U 40 40 1 1 P 146 | ENDDRAW 147 | ENDDEF 148 | # 149 | # D_Schottky 150 | # 151 | DEF D_Schottky D 0 40 N N 1 F N 152 | F0 "D" 0 100 50 H V C CNN 153 | F1 "D_Schottky" 0 -100 50 H V C CNN 154 | F2 "" 0 0 60 H V C CNN 155 | F3 "" 0 0 60 H V C CNN 156 | $FPLIST 157 | D-Pak_TO252AA 158 | Diode_* 159 | *SingleDiode 160 | *SingleDiode* 161 | *_Diode_* 162 | $ENDFPLIST 163 | DRAW 164 | P 3 0 1 0 50 50 -50 0 50 -50 F 165 | P 6 0 1 8 -75 25 -75 50 -50 50 -50 -50 -25 -50 -25 -25 N 166 | X K 1 -150 0 100 R 50 50 1 1 P 167 | X A 2 150 0 100 L 50 50 1 1 P 168 | ENDDRAW 169 | ENDDEF 170 | # 171 | # ESP-12 172 | # 173 | DEF ESP-12 U 0 40 Y Y 1 F N 174 | F0 "U" 0 -100 50 H V C CNN 175 | F1 "ESP-12" 0 100 50 H V C CNN 176 | F2 "" 0 0 50 H I C CNN 177 | F3 "" 0 0 50 H I C CNN 178 | ALIAS ESP-07v2 179 | $FPLIST 180 | ESP-07* 181 | ESP-12* 182 | $ENDFPLIST 183 | DRAW 184 | S -600 -600 600 600 1 0 0 N 185 | X REST 1 -900 300 300 R 50 50 1 1 I 186 | X ADC 2 -900 200 300 R 50 50 1 1 P 187 | X CH_PD 3 -900 100 300 R 50 50 1 1 I 188 | X GPIO16 4 -900 0 300 R 50 50 1 1 B 189 | X GPIO14 5 -900 -100 300 R 50 50 1 1 B 190 | X GPIO12 6 -900 -200 300 R 50 50 1 1 B 191 | X GPIO13 7 -900 -300 300 R 50 50 1 1 B 192 | X VCC 8 0 900 300 D 50 50 1 1 W 193 | X GND 9 0 -900 300 U 50 50 1 1 W 194 | X GPIO15 10 900 -300 300 L 50 50 1 1 B 195 | X GPIO2 11 900 -200 300 L 50 50 1 1 B 196 | X GPIO0 12 900 -100 300 L 50 50 1 1 B 197 | X GPIO5 13 900 0 300 L 50 50 1 1 B 198 | X GPIO4 14 900 100 300 L 50 50 1 1 B 199 | X RXD 15 900 200 300 L 50 50 1 1 I 200 | X TXD 16 900 300 300 L 50 50 1 1 O 201 | ENDDRAW 202 | ENDDEF 203 | # 204 | # Earth 205 | # 206 | DEF ~Earth #PWR 0 0 Y Y 1 F P 207 | F0 "#PWR" 0 -250 50 H I C CNN 208 | F1 "Earth" 0 -150 50 H I C CNN 209 | F2 "" 0 0 60 H V C CNN 210 | F3 "" 0 0 60 H V C CNN 211 | DRAW 212 | P 2 0 1 0 -25 -75 25 -75 N 213 | P 2 0 1 0 -5 -100 5 -100 N 214 | P 2 0 1 0 0 -50 0 0 N 215 | P 2 0 1 0 50 -50 -50 -50 N 216 | X Earth 1 0 0 0 D 50 50 1 1 W N 217 | ENDDRAW 218 | ENDDEF 219 | # 220 | # INDUCTOR 221 | # 222 | DEF INDUCTOR L 0 40 N N 1 F N 223 | F0 "L" -50 0 50 V V C CNN 224 | F1 "INDUCTOR" 100 0 50 V V C CNN 225 | F2 "" 0 0 60 H V C CNN 226 | F3 "" 0 0 60 H V C CNN 227 | DRAW 228 | A 0 -150 50 -889 889 0 1 0 N 1 -199 1 -100 229 | A 0 -49 51 -889 889 0 1 0 N 1 -99 1 2 230 | A 0 51 51 -889 889 0 1 0 N 1 1 1 102 231 | A 0 148 48 -889 889 0 1 0 N 1 101 1 196 232 | X 1 1 0 300 100 D 70 70 1 1 P 233 | X 2 2 0 -300 100 U 70 70 1 1 P 234 | ENDDRAW 235 | ENDDEF 236 | # 237 | # LED 238 | # 239 | DEF LED D 0 40 Y N 1 F N 240 | F0 "D" 0 100 50 H V C CNN 241 | F1 "LED" 0 -100 50 H V C CNN 242 | F2 "" 0 0 60 H V C CNN 243 | F3 "" 0 0 60 H V C CNN 244 | $FPLIST 245 | LED-3MM 246 | LED-5MM 247 | LED-10MM 248 | LED-0603 249 | LED-0805 250 | LED-1206 251 | LEDV 252 | $ENDFPLIST 253 | DRAW 254 | P 2 0 1 0 -50 50 -50 -50 N 255 | P 3 0 1 0 -80 -25 -125 -65 -120 -40 N 256 | P 3 0 1 0 -65 -40 -110 -80 -105 -55 N 257 | P 3 0 1 0 50 50 -50 0 50 -50 F 258 | X K 1 -200 0 150 R 40 40 1 1 P 259 | X A 2 200 0 150 L 40 40 1 1 P 260 | ENDDRAW 261 | ENDDEF 262 | # 263 | # LM2596S-12 264 | # 265 | DEF LM2596S-12 U 0 40 Y Y 1 F N 266 | F0 "U" -400 350 50 H V L CNN 267 | F1 "LM2596S-12" -400 250 50 H V L CNN 268 | F2 "TO-263-5" 300 -250 50 H V C CIN 269 | F3 "" 0 0 50 H V C CNN 270 | ALIAS LM2596S-5 LM2596S-3.3 LM2596S-ADJ 271 | $FPLIST 272 | TO-263-5* 273 | $ENDFPLIST 274 | DRAW 275 | S -400 200 400 -200 0 1 10 f 276 | X VIN 1 -500 100 100 R 50 50 1 1 W 277 | X OUT 2 500 -100 100 L 50 50 1 1 O 278 | X GND 3 0 -300 100 U 50 50 1 1 W 279 | X FB 4 500 100 100 L 50 50 1 1 I 280 | X ~ON~/OFF 5 -500 -100 100 R 50 50 1 1 I 281 | ENDDRAW 282 | ENDDEF 283 | # 284 | # MOS_N 285 | # 286 | DEF MOS_N Q 0 0 N Y 1 F N 287 | F0 "Q" 10 170 60 H V R CNN 288 | F1 "MOS_N" 10 -150 60 H V R CNN 289 | F2 "" 0 0 60 H V C CNN 290 | F3 "" 0 0 60 H V C CNN 291 | ALIAS MOSFET_N 292 | DRAW 293 | P 2 0 1 8 -50 -100 -50 100 N 294 | P 2 0 1 10 0 -150 0 150 N 295 | P 2 0 1 0 100 -100 0 -100 N 296 | P 2 0 1 0 100 100 0 100 N 297 | P 3 0 1 8 100 -100 100 0 50 0 N 298 | P 5 0 1 8 50 30 50 -30 0 0 50 30 50 30 N 299 | X D D 100 200 100 D 40 40 1 1 P 300 | X G G -200 0 150 R 40 40 1 1 I 301 | X S S 100 -200 100 U 40 40 1 1 P 302 | ENDDRAW 303 | ENDDEF 304 | # 305 | # NPN 306 | # 307 | DEF NPN Q 0 0 Y Y 1 F N 308 | F0 "Q" 0 -150 50 H V R CNN 309 | F1 "NPN" 0 150 50 H V R CNN 310 | F2 "" 0 0 60 H V C CNN 311 | F3 "" 0 0 60 H V C CNN 312 | DRAW 313 | C 50 0 111 0 1 10 N 314 | P 2 0 1 0 0 0 100 100 N 315 | P 3 0 1 10 0 75 0 -75 0 -75 N 316 | P 3 0 1 0 50 -50 0 0 0 0 N 317 | P 3 0 1 0 90 -90 100 -100 100 -100 N 318 | P 5 0 1 0 90 -90 70 -30 30 -70 90 -90 90 -90 F 319 | X E 1 100 -200 100 U 40 40 1 1 P 320 | X B 2 -200 0 200 R 40 40 1 1 I 321 | X C 3 100 200 100 D 40 40 1 1 P 322 | ENDDRAW 323 | ENDDEF 324 | # 325 | # R 326 | # 327 | DEF R R 0 0 N Y 1 F N 328 | F0 "R" 80 0 50 V V C CNN 329 | F1 "R" 0 0 50 V V C CNN 330 | F2 "" -70 0 30 V V C CNN 331 | F3 "" 0 0 30 H V C CNN 332 | $FPLIST 333 | R_* 334 | Resistor_* 335 | $ENDFPLIST 336 | DRAW 337 | S -40 -100 40 100 0 1 10 N 338 | X ~ 1 0 150 50 D 60 60 1 1 P 339 | X ~ 2 0 -150 50 U 60 60 1 1 P 340 | ENDDRAW 341 | ENDDEF 342 | # 343 | # R-RESCUE-Board 344 | # 345 | DEF R-RESCUE-Board R 0 0 N Y 1 F N 346 | F0 "R" 80 0 40 V V C CNN 347 | F1 "R-RESCUE-Board" 7 1 40 V V C CNN 348 | F2 "" -70 0 30 V V C CNN 349 | F3 "" 0 0 30 H V C CNN 350 | $FPLIST 351 | R? 352 | SM0603 353 | SM0805 354 | R?-* 355 | SM1206 356 | $ENDFPLIST 357 | DRAW 358 | S -40 150 40 -150 0 1 12 N 359 | X ~ 1 0 250 100 D 60 60 1 1 P 360 | X ~ 2 0 -250 100 U 60 60 1 1 P 361 | ENDDRAW 362 | ENDDEF 363 | # 364 | # SW_PUSH 365 | # 366 | DEF SW_PUSH SW 0 40 N N 1 F N 367 | F0 "SW" 150 110 50 H V C CNN 368 | F1 "SW_PUSH" 0 -80 50 H V C CNN 369 | F2 "" 0 0 60 H V C CNN 370 | F3 "" 0 0 60 H V C CNN 371 | DRAW 372 | S -170 50 170 60 0 1 0 N 373 | P 4 0 1 0 -40 60 -30 90 30 90 40 60 N 374 | X 1 1 -300 0 200 R 60 60 0 1 P I 375 | X 2 2 300 0 200 L 60 60 0 1 P I 376 | ENDDRAW 377 | ENDDEF 378 | # 379 | #End Library 380 | -------------------------------------------------------------------------------- /Board/Board-rescue.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # GND-RESCUE-Board 5 | # 6 | DEF ~GND-RESCUE-Board #PWR 0 0 Y Y 1 F P 7 | F0 "#PWR" 0 0 30 H I C CNN 8 | F1 "GND-RESCUE-Board" 0 -70 30 H I C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N 13 | X GND 1 0 0 0 U 30 30 1 1 W N 14 | ENDDRAW 15 | ENDDEF 16 | # 17 | # R-RESCUE-Board 18 | # 19 | DEF R-RESCUE-Board R 0 0 N Y 1 F N 20 | F0 "R" 80 0 40 V V C CNN 21 | F1 "R-RESCUE-Board" 7 1 40 V V C CNN 22 | F2 "" -70 0 30 V V C CNN 23 | F3 "" 0 0 30 H V C CNN 24 | $FPLIST 25 | R? 26 | SM0603 27 | SM0805 28 | R?-* 29 | SM1206 30 | $ENDFPLIST 31 | DRAW 32 | S -40 150 40 -150 0 1 12 N 33 | X ~ 1 0 250 100 D 60 60 1 1 P 34 | X ~ 2 0 -250 100 U 60 60 1 1 P 35 | ENDDRAW 36 | ENDDEF 37 | # 38 | #End Library 39 | -------------------------------------------------------------------------------- /Board/Board.bak: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 2 2 | LIBS:Board-rescue 3 | LIBS:stm32 4 | LIBS:power 5 | LIBS:device 6 | LIBS:transistors 7 | LIBS:conn 8 | LIBS:linear 9 | LIBS:regul 10 | LIBS:74xx 11 | LIBS:cmos4000 12 | LIBS:adc-dac 13 | LIBS:memory 14 | LIBS:xilinx 15 | LIBS:microcontrollers 16 | LIBS:dsp 17 | LIBS:microchip 18 | LIBS:analog_switches 19 | LIBS:motorola 20 | LIBS:texas 21 | LIBS:intel 22 | LIBS:audio 23 | LIBS:interface 24 | LIBS:digital-audio 25 | LIBS:philips 26 | LIBS:display 27 | LIBS:cypress 28 | LIBS:siliconi 29 | LIBS:opto 30 | LIBS:atmel 31 | LIBS:contrib 32 | LIBS:valves 33 | LIBS:dc-dc 34 | LIBS:ESP8266 35 | LIBS:Board-cache 36 | EELAYER 25 0 37 | EELAYER END 38 | $Descr A4 11693 8268 39 | encoding utf-8 40 | Sheet 1 1 41 | Title "ESPLux" 42 | Date "Wednesday, May 20, 2015" 43 | Rev "0.1" 44 | Comp "esplux.info" 45 | Comment1 "pretenda" 46 | Comment2 "" 47 | Comment3 "" 48 | Comment4 "" 49 | $EndDescr 50 | $Comp 51 | L LED LED4 52 | U 1 1 555BFA95 53 | P 1850 1700 54 | F 0 "LED4" H 1850 1800 50 0000 C CNN 55 | F 1 "LED" H 1850 1600 50 0000 C CNN 56 | F 2 "" H 1850 1700 60 0000 C CNN 57 | F 3 "" H 1850 1700 60 0000 C CNN 58 | F 4 "Green" H 1850 1700 60 0001 C CNN "Colour" 59 | 1 1850 1700 60 | 0 1 -1 0 61 | $EndComp 62 | $Comp 63 | L R-RESCUE-Board R9 64 | U 1 1 555BFBB3 65 | P 1850 1250 66 | F 0 "R9" V 1930 1250 40 0000 C CNN 67 | F 1 "100" V 1857 1251 40 0000 C CNN 68 | F 2 "" V 1780 1250 30 0000 C CNN 69 | F 3 "" H 1850 1250 30 0000 C CNN 70 | 1 1850 1250 71 | 1 0 0 -1 72 | $EndComp 73 | $Comp 74 | L R-RESCUE-Board R5 75 | U 1 1 555C0253 76 | P 3600 1850 77 | F 0 "R5" V 3680 1850 40 0000 C CNN 78 | F 1 "10k" V 3607 1851 40 0000 C CNN 79 | F 2 "" V 3530 1850 30 0000 C CNN 80 | F 3 "" H 3600 1850 30 0000 C CNN 81 | 1 3600 1850 82 | 1 0 0 -1 83 | $EndComp 84 | $Comp 85 | L SW_PUSH SW1 86 | U 1 1 555C02E0 87 | P 3600 1300 88 | F 0 "SW1" H 3750 1410 50 0000 C CNN 89 | F 1 "SW_PUSH" H 3600 1220 50 0001 C CNN 90 | F 2 "" H 3600 1300 60 0000 C CNN 91 | F 3 "" H 3600 1300 60 0000 C CNN 92 | 1 3600 1300 93 | 0 1 1 0 94 | $EndComp 95 | Wire Wire Line 96 | 3150 1600 3600 1600 97 | Text Label 3150 1600 0 60 ~ 0 98 | WifiReset 99 | $Comp 100 | L LED LED1 101 | U 1 1 555C0401 102 | P 6350 1200 103 | F 0 "LED1" H 6350 1300 50 0000 C CNN 104 | F 1 "LED" H 6350 1100 50 0000 C CNN 105 | F 2 "" H 6350 1200 60 0000 C CNN 106 | F 3 "" H 6350 1200 60 0000 C CNN 107 | 1 6350 1200 108 | 0 1 -1 0 109 | $EndComp 110 | $Comp 111 | L LED LED2 112 | U 1 1 555C045A 113 | P 6000 1200 114 | F 0 "LED2" H 6000 1300 50 0000 C CNN 115 | F 1 "LED" H 6000 1100 50 0000 C CNN 116 | F 2 "" H 6000 1200 60 0000 C CNN 117 | F 3 "" H 6000 1200 60 0000 C CNN 118 | 1 6000 1200 119 | 0 1 -1 0 120 | $EndComp 121 | $Comp 122 | L R-RESCUE-Board R3 123 | U 1 1 555C0477 124 | P 6000 1650 125 | F 0 "R3" V 6080 1650 40 0000 C CNN 126 | F 1 "100" V 6007 1651 40 0000 C CNN 127 | F 2 "" V 5930 1650 30 0000 C CNN 128 | F 3 "" H 6000 1650 30 0000 C CNN 129 | 1 6000 1650 130 | 1 0 0 -1 131 | $EndComp 132 | $Comp 133 | L R-RESCUE-Board R2 134 | U 1 1 555C04C4 135 | P 6350 1650 136 | F 0 "R2" V 6430 1650 40 0000 C CNN 137 | F 1 "100" V 6357 1651 40 0000 C CNN 138 | F 2 "" V 6280 1650 30 0000 C CNN 139 | F 3 "" H 6350 1650 30 0000 C CNN 140 | 1 6350 1650 141 | 1 0 0 -1 142 | $EndComp 143 | $Comp 144 | L NPN Q1 145 | U 1 1 555C04F2 146 | P 5900 2100 147 | F 0 "Q1" H 5900 1950 50 0000 R CNN 148 | F 1 "NPN" H 5900 2250 50 0000 R CNN 149 | F 2 "" H 5900 2100 60 0000 C CNN 150 | F 3 "" H 5900 2100 60 0000 C CNN 151 | 1 5900 2100 152 | 1 0 0 -1 153 | $EndComp 154 | $Comp 155 | L R-RESCUE-Board R4 156 | U 1 1 555C0521 157 | P 5450 2100 158 | F 0 "R4" V 5530 2100 40 0000 C CNN 159 | F 1 "510" V 5457 2101 40 0000 C CNN 160 | F 2 "" V 5380 2100 30 0000 C CNN 161 | F 3 "" H 5450 2100 30 0000 C CNN 162 | 1 5450 2100 163 | 0 -1 -1 0 164 | $EndComp 165 | Wire Wire Line 166 | 5200 2100 4900 2100 167 | Text Label 4900 2100 0 60 ~ 0 168 | Identify 169 | Wire Wire Line 170 | 6000 1900 6350 1900 171 | Wire Wire Line 172 | 6000 1000 6350 1000 173 | Text Label 8650 1150 0 60 ~ 0 174 | RX 175 | Text Label 8150 1150 2 60 ~ 0 176 | TX 177 | Text Label 8150 1250 2 60 ~ 0 178 | GPIO0 179 | $Comp 180 | L CONN_01X02 P2 181 | U 1 1 555C28C1 182 | P 1150 4100 183 | F 0 "P2" H 1150 4250 50 0000 C CNN 184 | F 1 "CONN_01X02" V 1250 4100 50 0000 C CNN 185 | F 2 "" H 1150 4100 60 0000 C CNN 186 | F 3 "" H 1150 4100 60 0000 C CNN 187 | 1 1150 4100 188 | -1 0 0 1 189 | $EndComp 190 | $Comp 191 | L BRIDGE D1 192 | U 1 1 555C29F8 193 | P 2600 4100 194 | F 0 "D1" H 2600 4150 70 0000 C CNN 195 | F 1 "BRIDGE" H 2600 4050 70 0000 C CNN 196 | F 2 "" H 2600 4100 60 0000 C CNN 197 | F 3 "" H 2600 4100 60 0000 C CNN 198 | 1 2600 4100 199 | 1 0 0 -1 200 | $EndComp 201 | $Comp 202 | L R-RESCUE-Board R8 203 | U 1 1 555C2BA1 204 | P 10300 1950 205 | F 0 "R8" V 10380 1950 40 0000 C CNN 206 | F 1 "1k" V 10307 1951 40 0000 C CNN 207 | F 2 "" V 10230 1950 30 0000 C CNN 208 | F 3 "" H 10300 1950 30 0000 C CNN 209 | 1 10300 1950 210 | 1 0 0 -1 211 | $EndComp 212 | $Comp 213 | L LED LED3 214 | U 1 1 555C2CA9 215 | P 10300 1500 216 | F 0 "LED3" H 10300 1600 50 0000 C CNN 217 | F 1 "LED" H 10300 1400 50 0000 C CNN 218 | F 2 "" H 10300 1500 60 0000 C CNN 219 | F 3 "" H 10300 1500 60 0000 C CNN 220 | F 4 "Green" H 10300 1500 60 0001 C CNN "Colour" 221 | 1 10300 1500 222 | 0 1 -1 0 223 | $EndComp 224 | $Comp 225 | L CONN_01X02 P3 226 | U 1 1 555C2DD7 227 | P 10700 1700 228 | F 0 "P3" H 10700 1850 50 0000 C CNN 229 | F 1 "CONN_01X02" V 10800 1700 50 0000 C CNN 230 | F 2 "" H 10700 1700 60 0000 C CNN 231 | F 3 "" H 10700 1700 60 0000 C CNN 232 | 1 10700 1700 233 | 1 0 0 -1 234 | $EndComp 235 | $Comp 236 | L MOSFET_N Q2 237 | U 1 1 555C2E08 238 | P 10400 2650 239 | F 0 "Q2" H 10410 2820 60 0000 R CNN 240 | F 1 "MOSFET_N" H 10410 2500 60 0000 R CNN 241 | F 2 "" H 10400 2650 60 0000 C CNN 242 | F 3 "" H 10400 2650 60 0000 C CNN 243 | 1 10400 2650 244 | 1 0 0 -1 245 | $EndComp 246 | $Comp 247 | L R-RESCUE-Board R6 248 | U 1 1 555C2E3F 249 | P 9600 2650 250 | F 0 "R6" V 9680 2650 40 0000 C CNN 251 | F 1 "100" V 9607 2651 40 0000 C CNN 252 | F 2 "" V 9530 2650 30 0000 C CNN 253 | F 3 "" H 9600 2650 30 0000 C CNN 254 | 1 9600 2650 255 | 0 1 1 0 256 | $EndComp 257 | $Comp 258 | L R-RESCUE-Board R7 259 | U 1 1 555C2E9B 260 | P 9850 2900 261 | F 0 "R7" V 9930 2900 40 0000 C CNN 262 | F 1 "10k" V 9857 2901 40 0000 C CNN 263 | F 2 "" V 9780 2900 30 0000 C CNN 264 | F 3 "" H 9850 2900 30 0000 C CNN 265 | 1 9850 2900 266 | 1 0 0 -1 267 | $EndComp 268 | Wire Wire Line 269 | 10500 1750 10500 2450 270 | Connection ~ 10500 2200 271 | Wire Wire Line 272 | 10500 1100 10500 1650 273 | Connection ~ 10500 1300 274 | Wire Wire Line 275 | 10200 2650 9850 2650 276 | Wire Wire Line 277 | 9850 3150 10500 3150 278 | Wire Wire Line 279 | 10500 2850 10500 3200 280 | Wire Wire Line 281 | 10300 1300 10500 1300 282 | Wire Wire Line 283 | 10300 2200 10500 2200 284 | Connection ~ 10500 3150 285 | Text Label 9350 2650 2 60 ~ 0 286 | OutLogic 287 | $Comp 288 | L Earth #PWR? 289 | U 1 1 555C1C78 290 | P 6000 2300 291 | F 0 "#PWR?" H 6000 2050 50 0001 C CNN 292 | F 1 "Earth" H 6000 2150 50 0001 C CNN 293 | F 2 "" H 6000 2300 60 0000 C CNN 294 | F 3 "" H 6000 2300 60 0000 C CNN 295 | 1 6000 2300 296 | 1 0 0 -1 297 | $EndComp 298 | $Comp 299 | L Earth #PWR? 300 | U 1 1 555C1CA1 301 | P 3600 2100 302 | F 0 "#PWR?" H 3600 1850 50 0001 C CNN 303 | F 1 "Earth" H 3600 1950 50 0001 C CNN 304 | F 2 "" H 3600 2100 60 0000 C CNN 305 | F 3 "" H 3600 2100 60 0000 C CNN 306 | 1 3600 2100 307 | 1 0 0 -1 308 | $EndComp 309 | $Comp 310 | L Earth #PWR? 311 | U 1 1 555C1CCA 312 | P 1850 1900 313 | F 0 "#PWR?" H 1850 1650 50 0001 C CNN 314 | F 1 "Earth" H 1850 1750 50 0001 C CNN 315 | F 2 "" H 1850 1900 60 0000 C CNN 316 | F 3 "" H 1850 1900 60 0000 C CNN 317 | 1 1850 1900 318 | 1 0 0 -1 319 | $EndComp 320 | $Comp 321 | L Earth #PWR? 322 | U 1 1 555C1CF3 323 | P 10500 3200 324 | F 0 "#PWR?" H 10500 2950 50 0001 C CNN 325 | F 1 "Earth" H 10500 3050 50 0001 C CNN 326 | F 2 "" H 10500 3200 60 0000 C CNN 327 | F 3 "" H 10500 3200 60 0000 C CNN 328 | 1 10500 3200 329 | 1 0 0 -1 330 | $EndComp 331 | $Comp 332 | L LM2596S-3.3 U1 333 | U 1 1 555C202A 334 | P 2750 6550 335 | F 0 "U1" H 2350 6900 50 0000 L CNN 336 | F 1 "LM2596S-3.3" H 2350 6800 50 0000 L CNN 337 | F 2 "TO-263-5" H 3050 6300 50 0000 C CIN 338 | F 3 "" H 2750 6550 50 0000 C CNN 339 | 1 2750 6550 340 | 1 0 0 -1 341 | $EndComp 342 | Wire Wire Line 343 | 2600 4950 1350 4950 344 | Wire Wire Line 345 | 1350 4950 1350 4150 346 | Wire Wire Line 347 | 2600 3250 1350 3250 348 | Wire Wire Line 349 | 1350 3250 1350 4050 350 | Wire Wire Line 351 | 1750 4100 1750 4450 352 | $Comp 353 | L Earth #PWR? 354 | U 1 1 555C3047 355 | P 1750 4450 356 | F 0 "#PWR?" H 1750 4200 50 0001 C CNN 357 | F 1 "Earth" H 1750 4300 50 0001 C CNN 358 | F 2 "" H 1750 4450 60 0000 C CNN 359 | F 3 "" H 1750 4450 60 0000 C CNN 360 | 1 1750 4450 361 | 1 0 0 -1 362 | $EndComp 363 | $Comp 364 | L Earth #PWR? 365 | U 1 1 555C3320 366 | P 3700 4400 367 | F 0 "#PWR?" H 3700 4150 50 0001 C CNN 368 | F 1 "Earth" H 3700 4250 50 0001 C CNN 369 | F 2 "" H 3700 4400 60 0000 C CNN 370 | F 3 "" H 3700 4400 60 0000 C CNN 371 | 1 3700 4400 372 | 1 0 0 -1 373 | $EndComp 374 | Wire Wire Line 375 | 3450 4100 3700 4100 376 | $Comp 377 | L +12V #PWR? 378 | U 1 1 555C34BF 379 | P 3700 4100 380 | F 0 "#PWR?" H 3700 3950 50 0001 C CNN 381 | F 1 "+12V" H 3700 4240 50 0000 C CNN 382 | F 2 "" H 3700 4100 60 0000 C CNN 383 | F 3 "" H 3700 4100 60 0000 C CNN 384 | 1 3700 4100 385 | 1 0 0 -1 386 | $EndComp 387 | $Comp 388 | L +12V #PWR? 389 | U 1 1 555C34E9 390 | P 10500 1100 391 | F 0 "#PWR?" H 10500 950 50 0001 C CNN 392 | F 1 "+12V" H 10500 1240 50 0000 C CNN 393 | F 2 "" H 10500 1100 60 0000 C CNN 394 | F 3 "" H 10500 1100 60 0000 C CNN 395 | 1 10500 1100 396 | 1 0 0 -1 397 | $EndComp 398 | $Comp 399 | L +3.3V #PWR? 400 | U 1 1 555C353F 401 | P 8150 1050 402 | F 0 "#PWR?" H 8150 900 50 0001 C CNN 403 | F 1 "+3.3V" H 8150 1190 50 0000 C CNN 404 | F 2 "" H 8150 1050 60 0000 C CNN 405 | F 3 "" H 8150 1050 60 0000 C CNN 406 | 1 8150 1050 407 | 1 0 0 -1 408 | $EndComp 409 | $Comp 410 | L +3.3V #PWR? 411 | U 1 1 555C3569 412 | P 6000 1000 413 | F 0 "#PWR?" H 6000 850 50 0001 C CNN 414 | F 1 "+3.3V" H 6000 1140 50 0000 C CNN 415 | F 2 "" H 6000 1000 60 0000 C CNN 416 | F 3 "" H 6000 1000 60 0000 C CNN 417 | 1 6000 1000 418 | 1 0 0 -1 419 | $EndComp 420 | $Comp 421 | L +3.3V #PWR? 422 | U 1 1 555C3593 423 | P 3600 1000 424 | F 0 "#PWR?" H 3600 850 50 0001 C CNN 425 | F 1 "+3.3V" H 3600 1140 50 0000 C CNN 426 | F 2 "" H 3600 1000 60 0000 C CNN 427 | F 3 "" H 3600 1000 60 0000 C CNN 428 | 1 3600 1000 429 | 1 0 0 -1 430 | $EndComp 431 | $Comp 432 | L +3.3V #PWR? 433 | U 1 1 555C35BD 434 | P 1850 1000 435 | F 0 "#PWR?" H 1850 850 50 0001 C CNN 436 | F 1 "+3.3V" H 1850 1140 50 0000 C CNN 437 | F 2 "" H 1850 1000 60 0000 C CNN 438 | F 3 "" H 1850 1000 60 0000 C CNN 439 | 1 1850 1000 440 | 1 0 0 -1 441 | $EndComp 442 | $Comp 443 | L CONN_02X03 P1 444 | U 1 1 555C08B1 445 | P 8400 1150 446 | F 0 "P1" H 8400 1350 50 0000 C CNN 447 | F 1 "CONN_02X03" H 8400 950 50 0000 C CNN 448 | F 2 "" H 8400 -50 60 0000 C CNN 449 | F 3 "" H 8400 -50 60 0000 C CNN 450 | 1 8400 1150 451 | 1 0 0 -1 452 | $EndComp 453 | $Comp 454 | L ESP-12 U2 455 | U 1 1 555C3912 456 | P 6750 4250 457 | F 0 "U2" H 6750 4150 50 0000 C CNN 458 | F 1 "ESP-12" H 6750 4350 50 0000 C CNN 459 | F 2 "" H 6750 4250 50 0001 C CNN 460 | F 3 "" H 6750 4250 50 0001 C CNN 461 | 1 6750 4250 462 | 1 0 0 -1 463 | $EndComp 464 | $Comp 465 | L CP C3 466 | U 1 1 555C3DBD 467 | P 1950 6700 468 | F 0 "C3" H 1975 6800 50 0000 L CNN 469 | F 1 "330uf" H 1975 6600 50 0000 L CNN 470 | F 2 "" H 1988 6550 30 0000 C CNN 471 | F 3 "" H 1950 6700 60 0000 C CNN 472 | 1 1950 6700 473 | 1 0 0 -1 474 | $EndComp 475 | $Comp 476 | L CP C4 477 | U 1 1 555C3E28 478 | P 3450 4250 479 | F 0 "C4" H 3475 4350 50 0000 L CNN 480 | F 1 "330uf" H 3475 4150 50 0000 L CNN 481 | F 2 "" H 3488 4100 30 0000 C CNN 482 | F 3 "" H 3450 4250 60 0000 C CNN 483 | 1 3450 4250 484 | 1 0 0 -1 485 | $EndComp 486 | $Comp 487 | L CP C5 488 | U 1 1 555C3E90 489 | P 3700 4250 490 | F 0 "C5" H 3725 4350 50 0000 L CNN 491 | F 1 "330uf" H 3725 4150 50 0000 L CNN 492 | F 2 "" H 3738 4100 30 0000 C CNN 493 | F 3 "" H 3700 4250 60 0000 C CNN 494 | 1 3700 4250 495 | 1 0 0 -1 496 | $EndComp 497 | $Comp 498 | L D_Schottky D2 499 | U 1 1 555C3EC9 500 | P 3800 6800 501 | F 0 "D2" H 3800 6900 50 0000 C CNN 502 | F 1 "MBRS130L" H 3800 6700 50 0000 C CNN 503 | F 2 "" H 3800 6800 60 0000 C CNN 504 | F 3 "" H 3800 6800 60 0000 C CNN 505 | 1 3800 6800 506 | 0 1 1 0 507 | $EndComp 508 | $Comp 509 | L INDUCTOR L1 510 | U 1 1 555C3FB7 511 | P 4100 6650 512 | F 0 "L1" V 4050 6650 50 0000 C CNN 513 | F 1 "22uH" V 4200 6650 50 0000 C CNN 514 | F 2 "" H 4100 6650 60 0000 C CNN 515 | F 3 "" H 4100 6650 60 0000 C CNN 516 | 1 4100 6650 517 | 0 -1 -1 0 518 | $EndComp 519 | $Comp 520 | L CP C2 521 | U 1 1 555C402E 522 | P 4400 6800 523 | F 0 "C2" H 4425 6900 50 0000 L CNN 524 | F 1 "220uf" H 4425 6700 50 0000 L CNN 525 | F 2 "" H 4438 6650 30 0000 C CNN 526 | F 3 "" H 4400 6800 60 0000 C CNN 527 | 1 4400 6800 528 | 1 0 0 -1 529 | $EndComp 530 | $Comp 531 | L +3.3V #PWR? 532 | U 1 1 555C4082 533 | P 4700 6650 534 | F 0 "#PWR?" H 4700 6500 50 0001 C CNN 535 | F 1 "+3.3V" H 4700 6790 50 0000 C CNN 536 | F 2 "" H 4700 6650 60 0000 C CNN 537 | F 3 "" H 4700 6650 60 0000 C CNN 538 | 1 4700 6650 539 | 1 0 0 -1 540 | $EndComp 541 | $Comp 542 | L Earth #PWR? 543 | U 1 1 555C40B3 544 | P 4700 6950 545 | F 0 "#PWR?" H 4700 6700 50 0001 C CNN 546 | F 1 "Earth" H 4700 6800 50 0001 C CNN 547 | F 2 "" H 4700 6950 60 0000 C CNN 548 | F 3 "" H 4700 6950 60 0000 C CNN 549 | 1 4700 6950 550 | 1 0 0 -1 551 | $EndComp 552 | Wire Wire Line 553 | 2750 6850 2750 6950 554 | Wire Wire Line 555 | 1950 6950 4700 6950 556 | Wire Wire Line 557 | 3800 6950 4400 6950 558 | Connection ~ 4400 6950 559 | Connection ~ 3800 6950 560 | Wire Wire Line 561 | 3800 6650 3250 6650 562 | Wire Wire Line 563 | 4400 6650 4700 6650 564 | Wire Wire Line 565 | 4400 6650 4400 6450 566 | Wire Wire Line 567 | 4400 6450 3250 6450 568 | Wire Wire Line 569 | 2250 6950 2250 6650 570 | Connection ~ 2750 6950 571 | $Comp 572 | L +12V #PWR? 573 | U 1 1 555C433A 574 | P 1950 6450 575 | F 0 "#PWR?" H 1950 6300 50 0001 C CNN 576 | F 1 "+12V" H 1950 6590 50 0000 C CNN 577 | F 2 "" H 1950 6450 60 0000 C CNN 578 | F 3 "" H 1950 6450 60 0000 C CNN 579 | 1 1950 6450 580 | 1 0 0 -1 581 | $EndComp 582 | Wire Wire Line 583 | 2250 6450 1950 6450 584 | Wire Wire Line 585 | 1950 6450 1950 6550 586 | Wire Wire Line 587 | 1950 6950 1950 6850 588 | Connection ~ 2250 6950 589 | Wire Wire Line 590 | 3450 4400 3700 4400 591 | $Comp 592 | L +3.3V #PWR? 593 | U 1 1 555C555B 594 | P 5600 4150 595 | F 0 "#PWR?" H 5600 4000 50 0001 C CNN 596 | F 1 "+3.3V" H 5600 4290 50 0000 C CNN 597 | F 2 "" H 5600 4150 60 0000 C CNN 598 | F 3 "" H 5600 4150 60 0000 C CNN 599 | 1 5600 4150 600 | 1 0 0 -1 601 | $EndComp 602 | $Comp 603 | L +3.3V #PWR? 604 | U 1 1 555C558A 605 | P 6750 3350 606 | F 0 "#PWR?" H 6750 3200 50 0001 C CNN 607 | F 1 "+3.3V" H 6750 3490 50 0000 C CNN 608 | F 2 "" H 6750 3350 60 0000 C CNN 609 | F 3 "" H 6750 3350 60 0000 C CNN 610 | 1 6750 3350 611 | 1 0 0 -1 612 | $EndComp 613 | $Comp 614 | L Earth #PWR? 615 | U 1 1 555C55B9 616 | P 6750 5150 617 | F 0 "#PWR?" H 6750 4900 50 0001 C CNN 618 | F 1 "Earth" H 6750 5000 50 0001 C CNN 619 | F 2 "" H 6750 5150 60 0000 C CNN 620 | F 3 "" H 6750 5150 60 0000 C CNN 621 | 1 6750 5150 622 | 1 0 0 -1 623 | $EndComp 624 | $Comp 625 | L Earth #PWR? 626 | U 1 1 555C55E8 627 | P 7650 4550 628 | F 0 "#PWR?" H 7650 4300 50 0001 C CNN 629 | F 1 "Earth" H 7650 4400 50 0001 C CNN 630 | F 2 "" H 7650 4550 60 0000 C CNN 631 | F 3 "" H 7650 4550 60 0000 C CNN 632 | 1 7650 4550 633 | 1 0 0 -1 634 | $EndComp 635 | Wire Wire Line 636 | 5600 4150 5850 4150 637 | $Comp 638 | L R R1 639 | U 1 1 555C5658 640 | P 8250 4350 641 | F 0 "R1" V 8330 4350 50 0000 C CNN 642 | F 1 "10k" V 8250 4350 50 0000 C CNN 643 | F 2 "" V 8180 4350 30 0000 C CNN 644 | F 3 "" H 8250 4350 30 0000 C CNN 645 | 1 8250 4350 646 | 0 1 1 0 647 | $EndComp 648 | $Comp 649 | L +3.3V #PWR? 650 | U 1 1 555C56F3 651 | P 8550 4350 652 | F 0 "#PWR?" H 8550 4200 50 0001 C CNN 653 | F 1 "+3.3V" H 8550 4490 50 0000 C CNN 654 | F 2 "" H 8550 4350 60 0000 C CNN 655 | F 3 "" H 8550 4350 60 0000 C CNN 656 | 1 8550 4350 657 | 1 0 0 -1 658 | $EndComp 659 | Wire Wire Line 660 | 8400 4350 8550 4350 661 | Text Label 7650 3950 0 60 ~ 0 662 | TX 663 | Text Label 7650 4050 0 60 ~ 0 664 | RX 665 | Text Label 7650 4150 0 60 ~ 0 666 | OutLogic 667 | Text Label 7650 4250 0 60 ~ 0 668 | Identify 669 | Text Label 7650 4350 0 60 ~ 0 670 | GPIO0 671 | Text Label 5850 4550 2 60 ~ 0 672 | WifiReset 673 | Wire Wire Line 674 | 7650 4350 8100 4350 675 | $Comp 676 | L Earth #PWR? 677 | U 1 1 555C71D1 678 | P 8900 1050 679 | F 0 "#PWR?" H 8900 800 50 0001 C CNN 680 | F 1 "Earth" H 8900 900 50 0001 C CNN 681 | F 2 "" H 8900 1050 60 0000 C CNN 682 | F 3 "" H 8900 1050 60 0000 C CNN 683 | 1 8900 1050 684 | 1 0 0 -1 685 | $EndComp 686 | Wire Wire Line 687 | 8650 1050 8900 1050 688 | $EndSCHEMATC 689 | -------------------------------------------------------------------------------- /Board/Board.cmp: -------------------------------------------------------------------------------- 1 | Cmp-Mod V01 Created by Cvpcb (after 2015-may-01 BZR unknown)-product date = 20-May-15 10:39:17 PM 2 | 3 | BeginCmp 4 | TimeStamp = /555C402E; 5 | Reference = C2; 6 | ValeurCmp = 220uf; 7 | IdModule = Capacitors_SMD:c_elec_8x10; 8 | EndCmp 9 | 10 | BeginCmp 11 | TimeStamp = /555C3DBD; 12 | Reference = C3; 13 | ValeurCmp = 330uf; 14 | IdModule = Capacitors_SMD:c_elec_10x10; 15 | EndCmp 16 | 17 | BeginCmp 18 | TimeStamp = /555C3E28; 19 | Reference = C4; 20 | ValeurCmp = 330uf; 21 | IdModule = Capacitors_SMD:c_elec_10x10; 22 | EndCmp 23 | 24 | BeginCmp 25 | TimeStamp = /555C3E90; 26 | Reference = C5; 27 | ValeurCmp = 330uf; 28 | IdModule = Capacitors_SMD:c_elec_10x10; 29 | EndCmp 30 | 31 | BeginCmp 32 | TimeStamp = /555C29F8; 33 | Reference = D1; 34 | ValeurCmp = BRIDGE; 35 | IdModule = Parts:KBL; 36 | EndCmp 37 | 38 | BeginCmp 39 | TimeStamp = /555C3EC9; 40 | Reference = D2; 41 | ValeurCmp = MBRS130L; 42 | IdModule = Diodes_SMD:Diode-DO-214BA; 43 | EndCmp 44 | 45 | BeginCmp 46 | TimeStamp = /555C3FB7; 47 | Reference = L1; 48 | ValeurCmp = 22uH; 49 | IdModule = Parts:Inductor; 50 | EndCmp 51 | 52 | BeginCmp 53 | TimeStamp = /555C0401; 54 | Reference = LED1; 55 | ValeurCmp = LED; 56 | IdModule = LEDs:LED-0603; 57 | EndCmp 58 | 59 | BeginCmp 60 | TimeStamp = /555C045A; 61 | Reference = LED2; 62 | ValeurCmp = LED; 63 | IdModule = LEDs:LED-0603; 64 | EndCmp 65 | 66 | BeginCmp 67 | TimeStamp = /555C2CA9; 68 | Reference = LED3; 69 | ValeurCmp = LED; 70 | IdModule = LEDs:LED-0603; 71 | EndCmp 72 | 73 | BeginCmp 74 | TimeStamp = /555BFA95; 75 | Reference = LED4; 76 | ValeurCmp = LED; 77 | IdModule = LEDs:LED-0603; 78 | EndCmp 79 | 80 | BeginCmp 81 | TimeStamp = /555C08B1; 82 | Reference = P1; 83 | ValeurCmp = CONN_02X03; 84 | IdModule = Pin_Headers:Pin_Header_Straight_2x03; 85 | EndCmp 86 | 87 | BeginCmp 88 | TimeStamp = /555C28C1; 89 | Reference = P2; 90 | ValeurCmp = CONN_01X02; 91 | IdModule = Parts:3.81mmScrewTerminal; 92 | EndCmp 93 | 94 | BeginCmp 95 | TimeStamp = /555C2DD7; 96 | Reference = P3; 97 | ValeurCmp = CONN_01X02; 98 | IdModule = Parts:3.81mmScrewTerminal; 99 | EndCmp 100 | 101 | BeginCmp 102 | TimeStamp = /555C04F2; 103 | Reference = Q1; 104 | ValeurCmp = NPN; 105 | IdModule = Housings_SOT-23_SOT-143_TSOT-6:SOT-23; 106 | EndCmp 107 | 108 | BeginCmp 109 | TimeStamp = /555C2E08; 110 | Reference = Q2; 111 | ValeurCmp = MOSFET_N; 112 | IdModule = Transistors_TO-220:TO-220_FET-GDS_Vertical_LargePads; 113 | EndCmp 114 | 115 | BeginCmp 116 | TimeStamp = /555C5658; 117 | Reference = R1; 118 | ValeurCmp = 10k; 119 | IdModule = Resistors_SMD:R_0603; 120 | EndCmp 121 | 122 | BeginCmp 123 | TimeStamp = /555C04C4; 124 | Reference = R2; 125 | ValeurCmp = 100; 126 | IdModule = Resistors_SMD:R_0603; 127 | EndCmp 128 | 129 | BeginCmp 130 | TimeStamp = /555C0477; 131 | Reference = R3; 132 | ValeurCmp = 100; 133 | IdModule = Resistors_SMD:R_0603; 134 | EndCmp 135 | 136 | BeginCmp 137 | TimeStamp = /555C0521; 138 | Reference = R4; 139 | ValeurCmp = 510; 140 | IdModule = Resistors_SMD:R_0603; 141 | EndCmp 142 | 143 | BeginCmp 144 | TimeStamp = /555C0253; 145 | Reference = R5; 146 | ValeurCmp = 10k; 147 | IdModule = Resistors_SMD:R_0603; 148 | EndCmp 149 | 150 | BeginCmp 151 | TimeStamp = /555C2E3F; 152 | Reference = R6; 153 | ValeurCmp = 100; 154 | IdModule = Resistors_SMD:R_0603; 155 | EndCmp 156 | 157 | BeginCmp 158 | TimeStamp = /555C2E9B; 159 | Reference = R7; 160 | ValeurCmp = 10k; 161 | IdModule = Resistors_SMD:R_0603; 162 | EndCmp 163 | 164 | BeginCmp 165 | TimeStamp = /555C2BA1; 166 | Reference = R8; 167 | ValeurCmp = 1k; 168 | IdModule = Resistors_SMD:R_0603; 169 | EndCmp 170 | 171 | BeginCmp 172 | TimeStamp = /555BFBB3; 173 | Reference = R9; 174 | ValeurCmp = 100; 175 | IdModule = Resistors_SMD:R_0603; 176 | EndCmp 177 | 178 | BeginCmp 179 | TimeStamp = /555C02E0; 180 | Reference = SW1; 181 | ValeurCmp = SW_PUSH; 182 | IdModule = Parts:SMD_Tact; 183 | EndCmp 184 | 185 | BeginCmp 186 | TimeStamp = /555C202A; 187 | Reference = U1; 188 | ValeurCmp = LM2596S-3.3; 189 | IdModule = SMD_Packages:TO-263-5; 190 | EndCmp 191 | 192 | BeginCmp 193 | TimeStamp = /555C3912; 194 | Reference = U2; 195 | ValeurCmp = ESP-12; 196 | IdModule = ESP8266:ESP-12; 197 | EndCmp 198 | 199 | EndListe 200 | -------------------------------------------------------------------------------- /Board/Board.dcm: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 Date: 2012-10-20 11:34:59 2 | # 3 | $CMP CONN28 4 | D Symbole general de connexion 5 | K CONN 6 | $ENDCMP 7 | # 8 | $CMP CONN6 9 | D Symbole general de connexion 10 | K CONN 11 | $ENDCMP 12 | # 13 | #End Doc Library 14 | -------------------------------------------------------------------------------- /Board/Board.mod: -------------------------------------------------------------------------------- 1 | PCBNEW-LibModule-V1 2012-10-20 12:13:07 2 | # encoding utf-8 3 | Units deci-mils 4 | $INDEX 5 | PIN_ARRAY_28X1 6 | PIN_ARRAY_6X1 7 | $EndINDEX 8 | $MODULE PIN_ARRAY_28X1 9 | Po 0 0 0 15 50827920 00000000 ~~ 10 | Li PIN_ARRAY_28X1 11 | Cd Single rangee contacts 1 x 28 pins 12 | Kw CONN 13 | Sc 0 14 | AR 15 | Op 0 0 0 16 | T0 0 -800 249 249 0 62 N V 21 N "PIN_ARRAY_28X1" 17 | T1 0 800 249 249 0 62 N I 21 N "VAL**" 18 | DS -14000 -500 14000 -500 59 21 19 | DS 14000 -500 14000 500 59 21 20 | DS 14000 500 -14000 500 59 21 21 | DS -14000 500 -14000 -500 59 21 22 | $PAD 23 | Sh "1" R 600 600 0 0 0 24 | Dr 400 0 0 25 | At STD N 00E0FFFF 26 | Ne 0 "" 27 | Po -13500 0 28 | $EndPAD 29 | $PAD 30 | Sh "2" C 600 600 0 0 0 31 | Dr 400 0 0 32 | At STD N 00E0FFFF 33 | Ne 0 "" 34 | Po -12500 0 35 | $EndPAD 36 | $PAD 37 | Sh "11" C 600 600 0 0 0 38 | Dr 400 0 0 39 | At STD N 00E0FFFF 40 | Ne 0 "" 41 | Po -3500 0 42 | $EndPAD 43 | $PAD 44 | Sh "4" C 600 600 0 0 0 45 | Dr 400 0 0 46 | At STD N 00E0FFFF 47 | Ne 0 "" 48 | Po -10500 0 49 | $EndPAD 50 | $PAD 51 | Sh "13" C 600 600 0 0 0 52 | Dr 400 0 0 53 | At STD N 00E0FFFF 54 | Ne 0 "" 55 | Po -1500 0 56 | $EndPAD 57 | $PAD 58 | Sh "6" C 600 600 0 0 0 59 | Dr 400 0 0 60 | At STD N 00E0FFFF 61 | Ne 0 "" 62 | Po -8500 0 63 | $EndPAD 64 | $PAD 65 | Sh "15" C 600 600 0 0 0 66 | Dr 400 0 0 67 | At STD N 00E0FFFF 68 | Ne 0 "" 69 | Po 500 0 70 | $EndPAD 71 | $PAD 72 | Sh "8" C 600 600 0 0 0 73 | Dr 400 0 0 74 | At STD N 00E0FFFF 75 | Ne 0 "" 76 | Po -6500 0 77 | $EndPAD 78 | $PAD 79 | Sh "17" C 600 600 0 0 0 80 | Dr 400 0 0 81 | At STD N 00E0FFFF 82 | Ne 0 "" 83 | Po 2500 0 84 | $EndPAD 85 | $PAD 86 | Sh "10" C 600 600 0 0 0 87 | Dr 400 0 0 88 | At STD N 00E0FFFF 89 | Ne 0 "" 90 | Po -4500 0 91 | $EndPAD 92 | $PAD 93 | Sh "19" C 600 600 0 0 0 94 | Dr 400 0 0 95 | At STD N 00E0FFFF 96 | Ne 0 "" 97 | Po 4500 0 98 | $EndPAD 99 | $PAD 100 | Sh "12" C 600 600 0 0 0 101 | Dr 400 0 0 102 | At STD N 00E0FFFF 103 | Ne 0 "" 104 | Po -2500 0 105 | $EndPAD 106 | $PAD 107 | Sh "21" C 600 600 0 0 0 108 | Dr 400 0 0 109 | At STD N 00E0FFFF 110 | Ne 0 "" 111 | Po 6500 0 112 | $EndPAD 113 | $PAD 114 | Sh "14" C 600 600 0 0 0 115 | Dr 400 0 0 116 | At STD N 00E0FFFF 117 | Ne 0 "" 118 | Po -500 0 119 | $EndPAD 120 | $PAD 121 | Sh "23" C 600 600 0 0 0 122 | Dr 400 0 0 123 | At STD N 00E0FFFF 124 | Ne 0 "" 125 | Po 8500 0 126 | $EndPAD 127 | $PAD 128 | Sh "16" C 600 600 0 0 0 129 | Dr 400 0 0 130 | At STD N 00E0FFFF 131 | Ne 0 "" 132 | Po 1500 0 133 | $EndPAD 134 | $PAD 135 | Sh "25" C 600 600 0 0 0 136 | Dr 400 0 0 137 | At STD N 00E0FFFF 138 | Ne 0 "" 139 | Po 10500 0 140 | $EndPAD 141 | $PAD 142 | Sh "18" C 600 600 0 0 0 143 | Dr 400 0 0 144 | At STD N 00E0FFFF 145 | Ne 0 "" 146 | Po 3500 0 147 | $EndPAD 148 | $PAD 149 | Sh "27" C 600 600 0 0 0 150 | Dr 400 0 0 151 | At STD N 00E0FFFF 152 | Ne 0 "" 153 | Po 12500 0 154 | $EndPAD 155 | $PAD 156 | Sh "20" C 600 600 0 0 0 157 | Dr 400 0 0 158 | At STD N 00E0FFFF 159 | Ne 0 "" 160 | Po 5500 0 161 | $EndPAD 162 | $PAD 163 | Sh "22" C 600 600 0 0 0 164 | Dr 400 0 0 165 | At STD N 00E0FFFF 166 | Ne 0 "" 167 | Po 7500 0 168 | $EndPAD 169 | $PAD 170 | Sh "24" C 600 600 0 0 0 171 | Dr 400 0 0 172 | At STD N 00E0FFFF 173 | Ne 0 "" 174 | Po 9500 0 175 | $EndPAD 176 | $PAD 177 | Sh "26" C 600 600 0 0 0 178 | Dr 400 0 0 179 | At STD N 00E0FFFF 180 | Ne 0 "" 181 | Po 11500 0 182 | $EndPAD 183 | $PAD 184 | Sh "28" C 600 600 0 0 0 185 | Dr 400 0 0 186 | At STD N 00E0FFFF 187 | Ne 0 "" 188 | Po 13500 0 189 | $EndPAD 190 | $PAD 191 | Sh "3" C 600 600 0 0 0 192 | Dr 400 0 0 193 | At STD N 00E0FFFF 194 | Ne 0 "" 195 | Po -11500 0 196 | $EndPAD 197 | $PAD 198 | Sh "5" C 600 600 0 0 0 199 | Dr 400 0 0 200 | At STD N 00E0FFFF 201 | Ne 0 "" 202 | Po -9500 0 203 | $EndPAD 204 | $PAD 205 | Sh "7" C 600 600 0 0 0 206 | Dr 400 0 0 207 | At STD N 00E0FFFF 208 | Ne 0 "" 209 | Po -7500 0 210 | $EndPAD 211 | $PAD 212 | Sh "9" C 600 600 0 0 0 213 | Dr 400 0 0 214 | At STD N 00E0FFFF 215 | Ne 0 "" 216 | Po -5500 0 217 | $EndPAD 218 | $EndMODULE PIN_ARRAY_28X1 219 | $MODULE PIN_ARRAY_6X1 220 | Po 0 0 0 15 508278F8 00000000 ~~ 221 | Li PIN_ARRAY_6X1 222 | Cd Single rangee contacts 1 x 6 pins 223 | Kw CONN 224 | Sc 0 225 | AR 226 | Op 0 0 0 227 | T0 0 -700 249 249 0 62 N V 21 N "PIN_ARRAY_6X1" 228 | T1 0 800 249 249 0 62 N I 21 N "VAL**" 229 | DS -3000 -500 3000 -500 59 21 230 | DS 3000 -500 3000 500 59 21 231 | DS 3000 500 -3000 500 59 21 232 | DS -3000 500 -3000 -500 59 21 233 | $PAD 234 | Sh "1" R 600 600 0 0 0 235 | Dr 400 0 0 236 | At STD N 00E0FFFF 237 | Ne 0 "" 238 | Po -2500 0 239 | $EndPAD 240 | $PAD 241 | Sh "2" C 600 600 0 0 0 242 | Dr 400 0 0 243 | At STD N 00E0FFFF 244 | Ne 0 "" 245 | Po -1500 0 246 | $EndPAD 247 | $PAD 248 | Sh "4" C 600 600 0 0 0 249 | Dr 400 0 0 250 | At STD N 00E0FFFF 251 | Ne 0 "" 252 | Po 500 0 253 | $EndPAD 254 | $PAD 255 | Sh "6" C 600 600 0 0 0 256 | Dr 400 0 0 257 | At STD N 00E0FFFF 258 | Ne 0 "" 259 | Po 2500 0 260 | $EndPAD 261 | $PAD 262 | Sh "3" C 600 600 0 0 0 263 | Dr 400 0 0 264 | At STD N 00E0FFFF 265 | Ne 0 "" 266 | Po -500 0 267 | $EndPAD 268 | $PAD 269 | Sh "5" C 600 600 0 0 0 270 | Dr 400 0 0 271 | At STD N 00E0FFFF 272 | Ne 0 "" 273 | Po 1500 0 274 | $EndPAD 275 | $EndMODULE PIN_ARRAY_6X1 276 | $EndLIBRARY 277 | -------------------------------------------------------------------------------- /Board/Board.net: -------------------------------------------------------------------------------- 1 | (export (version D) 2 | (design 3 | (source D:\Projects\ESPLux\trunk\Board\Board.sch) 4 | (date "20-May-15 11:38:59 PM") 5 | (tool "Eeschema (after 2015-may-01 BZR unknown)-product") 6 | (sheet (number 1) (name /) (tstamps /) 7 | (title_block 8 | (title ESPLux) 9 | (company esplux.info) 10 | (rev 0.1) 11 | (date "Wednesday, May 20, 2015") 12 | (source Board.sch) 13 | (comment (number 1) (value pretenda)) 14 | (comment (number 2) (value "")) 15 | (comment (number 3) (value "")) 16 | (comment (number 4) (value ""))))) 17 | (components 18 | (comp (ref LED4) 19 | (value LED) 20 | (fields 21 | (field (name Colour) Green)) 22 | (libsource (lib device) (part LED)) 23 | (sheetpath (names /) (tstamps /)) 24 | (tstamp 555BFA95)) 25 | (comp (ref R9) 26 | (value 100) 27 | (footprint Resistors_SMD:R_0603) 28 | (libsource (lib Board-rescue) (part R-RESCUE-Board)) 29 | (sheetpath (names /) (tstamps /)) 30 | (tstamp 555BFBB3)) 31 | (comp (ref R5) 32 | (value 10k) 33 | (footprint Resistors_SMD:R_0603) 34 | (libsource (lib Board-rescue) (part R-RESCUE-Board)) 35 | (sheetpath (names /) (tstamps /)) 36 | (tstamp 555C0253)) 37 | (comp (ref SW1) 38 | (value SW_PUSH) 39 | (libsource (lib device) (part SW_PUSH)) 40 | (sheetpath (names /) (tstamps /)) 41 | (tstamp 555C02E0)) 42 | (comp (ref LED1) 43 | (value LED) 44 | (libsource (lib device) (part LED)) 45 | (sheetpath (names /) (tstamps /)) 46 | (tstamp 555C0401)) 47 | (comp (ref LED2) 48 | (value LED) 49 | (libsource (lib device) (part LED)) 50 | (sheetpath (names /) (tstamps /)) 51 | (tstamp 555C045A)) 52 | (comp (ref R3) 53 | (value 100) 54 | (libsource (lib Board-rescue) (part R-RESCUE-Board)) 55 | (sheetpath (names /) (tstamps /)) 56 | (tstamp 555C0477)) 57 | (comp (ref R2) 58 | (value 100) 59 | (footprint Resistors_SMD:R_0603) 60 | (libsource (lib Board-rescue) (part R-RESCUE-Board)) 61 | (sheetpath (names /) (tstamps /)) 62 | (tstamp 555C04C4)) 63 | (comp (ref Q1) 64 | (value NPN) 65 | (libsource (lib Board-cache) (part NPN)) 66 | (sheetpath (names /) (tstamps /)) 67 | (tstamp 555C04F2)) 68 | (comp (ref R4) 69 | (value 510) 70 | (footprint Resistors_SMD:R_0603) 71 | (libsource (lib Board-rescue) (part R-RESCUE-Board)) 72 | (sheetpath (names /) (tstamps /)) 73 | (tstamp 555C0521)) 74 | (comp (ref P2) 75 | (value CONN_01X02) 76 | (libsource (lib conn) (part CONN_01X02)) 77 | (sheetpath (names /) (tstamps /)) 78 | (tstamp 555C28C1)) 79 | (comp (ref D1) 80 | (value BRIDGE) 81 | (libsource (lib Board-cache) (part BRIDGE)) 82 | (sheetpath (names /) (tstamps /)) 83 | (tstamp 555C29F8)) 84 | (comp (ref R8) 85 | (value 1k) 86 | (libsource (lib Board-rescue) (part R-RESCUE-Board)) 87 | (sheetpath (names /) (tstamps /)) 88 | (tstamp 555C2BA1)) 89 | (comp (ref LED3) 90 | (value LED) 91 | (fields 92 | (field (name Colour) Green)) 93 | (libsource (lib device) (part LED)) 94 | (sheetpath (names /) (tstamps /)) 95 | (tstamp 555C2CA9)) 96 | (comp (ref P3) 97 | (value CONN_01X02) 98 | (libsource (lib conn) (part CONN_01X02)) 99 | (sheetpath (names /) (tstamps /)) 100 | (tstamp 555C2DD7)) 101 | (comp (ref Q2) 102 | (value MOSFET_N) 103 | (libsource (lib Board-cache) (part MOSFET_N)) 104 | (sheetpath (names /) (tstamps /)) 105 | (tstamp 555C2E08)) 106 | (comp (ref R6) 107 | (value 100) 108 | (libsource (lib Board-rescue) (part R-RESCUE-Board)) 109 | (sheetpath (names /) (tstamps /)) 110 | (tstamp 555C2E3F)) 111 | (comp (ref R7) 112 | (value 10k) 113 | (libsource (lib Board-rescue) (part R-RESCUE-Board)) 114 | (sheetpath (names /) (tstamps /)) 115 | (tstamp 555C2E9B)) 116 | (comp (ref U1) 117 | (value LM2596S-3.3) 118 | (footprint SMD_Packages:TO-263-5) 119 | (libsource (lib dc-dc) (part LM2596S-3.3)) 120 | (sheetpath (names /) (tstamps /)) 121 | (tstamp 555C202A)) 122 | (comp (ref P1) 123 | (value CONN_02X03) 124 | (libsource (lib conn) (part CONN_02X03)) 125 | (sheetpath (names /) (tstamps /)) 126 | (tstamp 555C08B1)) 127 | (comp (ref U2) 128 | (value ESP-12) 129 | (libsource (lib ESP8266) (part ESP-12)) 130 | (sheetpath (names /) (tstamps /)) 131 | (tstamp 555C3912)) 132 | (comp (ref C3) 133 | (value 330uf) 134 | (libsource (lib device) (part CP)) 135 | (sheetpath (names /) (tstamps /)) 136 | (tstamp 555C3DBD)) 137 | (comp (ref C4) 138 | (value 330uf) 139 | (libsource (lib device) (part CP)) 140 | (sheetpath (names /) (tstamps /)) 141 | (tstamp 555C3E28)) 142 | (comp (ref C5) 143 | (value 330uf) 144 | (libsource (lib device) (part CP)) 145 | (sheetpath (names /) (tstamps /)) 146 | (tstamp 555C3E90)) 147 | (comp (ref D2) 148 | (value MBRS130L) 149 | (libsource (lib device) (part D_Schottky)) 150 | (sheetpath (names /) (tstamps /)) 151 | (tstamp 555C3EC9)) 152 | (comp (ref L1) 153 | (value 22uH) 154 | (libsource (lib device) (part INDUCTOR)) 155 | (sheetpath (names /) (tstamps /)) 156 | (tstamp 555C3FB7)) 157 | (comp (ref C2) 158 | (value 220uf) 159 | (libsource (lib device) (part CP)) 160 | (sheetpath (names /) (tstamps /)) 161 | (tstamp 555C402E)) 162 | (comp (ref R1) 163 | (value 10k) 164 | (libsource (lib device) (part R)) 165 | (sheetpath (names /) (tstamps /)) 166 | (tstamp 555C5658))) 167 | (libparts 168 | (libpart (lib Board-cache) (part BRIDGE) 169 | (fields 170 | (field (name Reference) D) 171 | (field (name Value) BRIDGE)) 172 | (pins 173 | (pin (num 1) (name -) (type input)) 174 | (pin (num 2) (name ~) (type input)) 175 | (pin (num 3) (name +) (type input)) 176 | (pin (num 4) (name ~) (type input)))) 177 | (libpart (lib Board-cache) (part MOS_N) 178 | (aliases 179 | (alias MOSFET_N)) 180 | (fields 181 | (field (name Reference) Q) 182 | (field (name Value) MOS_N)) 183 | (pins 184 | (pin (num D) (name D) (type passive)) 185 | (pin (num G) (name G) (type input)) 186 | (pin (num S) (name S) (type passive)))) 187 | (libpart (lib Board-cache) (part NPN) 188 | (fields 189 | (field (name Reference) Q) 190 | (field (name Value) NPN)) 191 | (pins 192 | (pin (num 1) (name E) (type passive)) 193 | (pin (num 2) (name B) (type input)) 194 | (pin (num 3) (name C) (type passive)))) 195 | (libpart (lib ESP8266) (part ESP-12) 196 | (aliases 197 | (alias ESP-07v2)) 198 | (description "ESP8622 ESP-12 module, 16 pins, 2mm, PCB antenna") 199 | (docs http://l0l.org.uk/2014/12/esp8266-modules-hardware-guide-gotta-catch-em-all/) 200 | (footprints 201 | (fp ESP-07*) 202 | (fp ESP-12*)) 203 | (fields 204 | (field (name Reference) U) 205 | (field (name Value) ESP-12)) 206 | (pins 207 | (pin (num 1) (name REST) (type input)) 208 | (pin (num 2) (name ADC) (type passive)) 209 | (pin (num 3) (name CH_PD) (type input)) 210 | (pin (num 4) (name GPIO16) (type BiDi)) 211 | (pin (num 5) (name GPIO14) (type BiDi)) 212 | (pin (num 6) (name GPIO12) (type BiDi)) 213 | (pin (num 7) (name GPIO13) (type BiDi)) 214 | (pin (num 8) (name VCC) (type power_in)) 215 | (pin (num 9) (name GND) (type power_in)) 216 | (pin (num 10) (name GPIO15) (type BiDi)) 217 | (pin (num 11) (name GPIO2) (type BiDi)) 218 | (pin (num 12) (name GPIO0) (type BiDi)) 219 | (pin (num 13) (name GPIO5) (type BiDi)) 220 | (pin (num 14) (name GPIO4) (type BiDi)) 221 | (pin (num 15) (name RXD) (type input)) 222 | (pin (num 16) (name TXD) (type output)))) 223 | (libpart (lib dc-dc) (part LM2596S-12) 224 | (aliases 225 | (alias LM2596S-5) 226 | (alias LM2596S-3.3) 227 | (alias LM2596S-ADJ)) 228 | (description "LM2596S, TO-263, 12V 3A Step-Down VR") 229 | (docs http://www.ti.com/lit/ds/symlink/lm2576.pdf) 230 | (footprints 231 | (fp TO-263-5*)) 232 | (fields 233 | (field (name Reference) U) 234 | (field (name Value) LM2596S-12) 235 | (field (name Footprint) TO-263-5)) 236 | (pins 237 | (pin (num 1) (name VIN) (type power_in)) 238 | (pin (num 2) (name OUT) (type output)) 239 | (pin (num 3) (name GND) (type power_in)) 240 | (pin (num 4) (name FB) (type input)) 241 | (pin (num 5) (name ~ON~/OFF) (type input)))) 242 | (libpart (lib conn) (part CONN_02X03) 243 | (footprints 244 | (fp Pin_Header_Straight_2X03) 245 | (fp Pin_Header_Angled_2X03) 246 | (fp Socket_Strip_Straight_2X03) 247 | (fp Socket_Strip_Angled_2X03)) 248 | (fields 249 | (field (name Reference) P) 250 | (field (name Value) CONN_02X03)) 251 | (pins 252 | (pin (num 1) (name P1) (type passive)) 253 | (pin (num 2) (name P2) (type passive)) 254 | (pin (num 3) (name P3) (type passive)) 255 | (pin (num 4) (name P4) (type passive)) 256 | (pin (num 5) (name P5) (type passive)) 257 | (pin (num 6) (name P6) (type passive)))) 258 | (libpart (lib conn) (part CONN_01X02) 259 | (footprints 260 | (fp Pin_Header_Straight_1X02) 261 | (fp Pin_Header_Angled_1X02) 262 | (fp Socket_Strip_Straight_1X02) 263 | (fp Socket_Strip_Angled_1X02)) 264 | (fields 265 | (field (name Reference) P) 266 | (field (name Value) CONN_01X02)) 267 | (pins 268 | (pin (num 1) (name P1) (type passive)) 269 | (pin (num 2) (name P2) (type passive)))) 270 | (libpart (lib Board-rescue) (part R-RESCUE-Board) 271 | (footprints 272 | (fp R?) 273 | (fp SM0603) 274 | (fp SM0805) 275 | (fp R?-*) 276 | (fp SM1206)) 277 | (fields 278 | (field (name Reference) R) 279 | (field (name Value) R-RESCUE-Board)) 280 | (pins 281 | (pin (num 1) (name ~) (type passive)) 282 | (pin (num 2) (name ~) (type passive)))) 283 | (libpart (lib device) (part D_Schottky) 284 | (description "Diode schottky") 285 | (footprints 286 | (fp D-Pak_TO252AA) 287 | (fp Diode_*) 288 | (fp *SingleDiode) 289 | (fp *SingleDiode*) 290 | (fp *_Diode_*)) 291 | (fields 292 | (field (name Reference) D) 293 | (field (name Value) D_Schottky)) 294 | (pins 295 | (pin (num 1) (name K) (type passive)) 296 | (pin (num 2) (name A) (type passive)))) 297 | (libpart (lib device) (part CP) 298 | (description "Polarised capacitor") 299 | (footprints 300 | (fp CP*) 301 | (fp Elko*) 302 | (fp TantalC*) 303 | (fp C*elec) 304 | (fp c_elec*) 305 | (fp SMD*_Pol)) 306 | (fields 307 | (field (name Reference) C) 308 | (field (name Value) CP)) 309 | (pins 310 | (pin (num 1) (name ~) (type passive)) 311 | (pin (num 2) (name ~) (type passive)))) 312 | (libpart (lib device) (part INDUCTOR) 313 | (fields 314 | (field (name Reference) L) 315 | (field (name Value) INDUCTOR)) 316 | (pins 317 | (pin (num 1) (name 1) (type passive)) 318 | (pin (num 2) (name 2) (type passive)))) 319 | (libpart (lib device) (part LED) 320 | (footprints 321 | (fp LED-3MM) 322 | (fp LED-5MM) 323 | (fp LED-10MM) 324 | (fp LED-0603) 325 | (fp LED-0805) 326 | (fp LED-1206) 327 | (fp LEDV)) 328 | (fields 329 | (field (name Reference) D) 330 | (field (name Value) LED)) 331 | (pins 332 | (pin (num 1) (name K) (type passive)) 333 | (pin (num 2) (name A) (type passive)))) 334 | (libpart (lib device) (part R) 335 | (description Resistor) 336 | (footprints 337 | (fp R_*) 338 | (fp Resistor_*)) 339 | (fields 340 | (field (name Reference) R) 341 | (field (name Value) R)) 342 | (pins 343 | (pin (num 1) (name ~) (type passive)) 344 | (pin (num 2) (name ~) (type passive)))) 345 | (libpart (lib device) (part SW_PUSH) 346 | (description "Push Button") 347 | (fields 348 | (field (name Reference) SW) 349 | (field (name Value) SW_PUSH)) 350 | (pins 351 | (pin (num 1) (name 1) (type passive)) 352 | (pin (num 2) (name 2) (type passive))))) 353 | (libraries 354 | (library (logical conn) 355 | (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib")) 356 | (library (logical dc-dc) 357 | (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\dc-dc.lib")) 358 | (library (logical ESP8266) 359 | (uri C:\KiCad\share\library\ESP8266.lib)) 360 | (library (logical Board-cache) 361 | (uri D:\Projects\ESPLux\trunk\Board\Board-cache.lib)) 362 | (library (logical Board-rescue) 363 | (uri D:\Projects\ESPLux\trunk\Board\Board-rescue.lib)) 364 | (library (logical device) 365 | (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\device.lib"))) 366 | (nets 367 | (net (code 1) (name "Net-(U2-Pad11)") 368 | (node (ref U2) (pin 11))) 369 | (net (code 2) (name /Identify) 370 | (node (ref R4) (pin 1)) 371 | (node (ref U2) (pin 13))) 372 | (net (code 3) (name /OutLogic) 373 | (node (ref R6) (pin 2)) 374 | (node (ref U2) (pin 14))) 375 | (net (code 4) (name /RX) 376 | (node (ref U2) (pin 15)) 377 | (node (ref P1) (pin 4))) 378 | (net (code 5) (name /TX) 379 | (node (ref U2) (pin 16)) 380 | (node (ref P1) (pin 3))) 381 | (net (code 6) (name "Net-(D2-Pad1)") 382 | (node (ref L1) (pin 1)) 383 | (node (ref D2) (pin 1)) 384 | (node (ref U1) (pin 2))) 385 | (net (code 7) (name +3V3) 386 | (node (ref U2) (pin 8)) 387 | (node (ref R1) (pin 1)) 388 | (node (ref LED1) (pin 2)) 389 | (node (ref R9) (pin 1)) 390 | (node (ref SW1) (pin 1)) 391 | (node (ref LED2) (pin 2)) 392 | (node (ref U1) (pin 4)) 393 | (node (ref P1) (pin 1)) 394 | (node (ref L1) (pin 2)) 395 | (node (ref U2) (pin 3)) 396 | (node (ref C2) (pin 1))) 397 | (net (code 8) (name "Net-(P1-Pad6)") 398 | (node (ref P1) (pin 6))) 399 | (net (code 9) (name "Net-(U2-Pad1)") 400 | (node (ref U2) (pin 1))) 401 | (net (code 10) (name "Net-(U2-Pad2)") 402 | (node (ref U2) (pin 2))) 403 | (net (code 11) (name "Net-(U2-Pad4)") 404 | (node (ref U2) (pin 4))) 405 | (net (code 12) (name "Net-(U2-Pad5)") 406 | (node (ref U2) (pin 5))) 407 | (net (code 13) (name "Net-(U2-Pad6)") 408 | (node (ref U2) (pin 6))) 409 | (net (code 14) (name /WifiReset) 410 | (node (ref U2) (pin 7)) 411 | (node (ref R5) (pin 1)) 412 | (node (ref SW1) (pin 2))) 413 | (net (code 15) (name /GPIO0) 414 | (node (ref P1) (pin 5)) 415 | (node (ref R1) (pin 2)) 416 | (node (ref U2) (pin 12))) 417 | (net (code 16) (name +12V) 418 | (node (ref U1) (pin 1)) 419 | (node (ref C5) (pin 1)) 420 | (node (ref P3) (pin 2)) 421 | (node (ref LED3) (pin 2)) 422 | (node (ref D1) (pin 3)) 423 | (node (ref C4) (pin 1)) 424 | (node (ref C3) (pin 1))) 425 | (net (code 17) (name Earth) 426 | (node (ref U2) (pin 9)) 427 | (node (ref U2) (pin 10)) 428 | (node (ref Q1) (pin 1)) 429 | (node (ref Q2) (pin S)) 430 | (node (ref C4) (pin 2)) 431 | (node (ref U1) (pin 3)) 432 | (node (ref U1) (pin 5)) 433 | (node (ref C3) (pin 2)) 434 | (node (ref R7) (pin 2)) 435 | (node (ref LED4) (pin 1)) 436 | (node (ref D2) (pin 2)) 437 | (node (ref C2) (pin 2)) 438 | (node (ref D1) (pin 1)) 439 | (node (ref C5) (pin 2)) 440 | (node (ref P1) (pin 2))) 441 | (net (code 18) (name "Net-(D1-Pad2)") 442 | (node (ref D1) (pin 2)) 443 | (node (ref P2) (pin 1))) 444 | (net (code 19) (name "Net-(Q1-Pad3)") 445 | (node (ref R3) (pin 2)) 446 | (node (ref R2) (pin 2)) 447 | (node (ref Q1) (pin 3))) 448 | (net (code 20) (name "Net-(Q1-Pad2)") 449 | (node (ref R4) (pin 2)) 450 | (node (ref Q1) (pin 2))) 451 | (net (code 21) (name "Net-(D1-Pad4)") 452 | (node (ref D1) (pin 4)) 453 | (node (ref P2) (pin 2))) 454 | (net (code 22) (name "Net-(LED3-Pad1)") 455 | (node (ref R8) (pin 1)) 456 | (node (ref LED3) (pin 1))) 457 | (net (code 23) (name "Net-(LED4-Pad2)") 458 | (node (ref R9) (pin 2)) 459 | (node (ref LED4) (pin 2))) 460 | (net (code 24) (name "Net-(R5-Pad2)") 461 | (node (ref R5) (pin 2))) 462 | (net (code 25) (name "Net-(LED1-Pad1)") 463 | (node (ref LED1) (pin 1)) 464 | (node (ref R2) (pin 1))) 465 | (net (code 26) (name "Net-(LED2-Pad1)") 466 | (node (ref R3) (pin 1)) 467 | (node (ref LED2) (pin 1))) 468 | (net (code 27) (name "Net-(Q2-PadG)") 469 | (node (ref Q2) (pin G)) 470 | (node (ref R7) (pin 1)) 471 | (node (ref R6) (pin 1))) 472 | (net (code 28) (name "Net-(P3-Pad1)") 473 | (node (ref Q2) (pin D)) 474 | (node (ref P3) (pin 1)) 475 | (node (ref R8) (pin 2))))) -------------------------------------------------------------------------------- /Board/Board.pro: -------------------------------------------------------------------------------- 1 | update=20-May-15 3:54:43 PM 2 | version=1 3 | last_client=kicad 4 | [cvpcb] 5 | version=1 6 | NetIExt=net 7 | [cvpcb/libraries] 8 | EquName1=devcms 9 | [pcbnew] 10 | version=1 11 | LastNetListRead= 12 | PadDrill=0.59944 13 | PadSizeH=1.00076 14 | PadSizeV=1.00076 15 | PcbTextSizeV=1.00076 16 | PcbTextSizeH=1.00076 17 | PcbTextThickness=0.29972 18 | ModuleTextSizeV=1.00076 19 | ModuleTextSizeH=1.00076 20 | ModuleTextSizeThickness=0.14986 21 | SolderMaskClearance=0 22 | DrawSegmentWidth=0.20066 23 | BoardOutlineThickness=0.14986 24 | ModuleOutlineThickness=0.14986 25 | [pcbnew/libraries] 26 | LibDir= 27 | LibName1=stm32f100-discovery-shield 28 | LibName2=sockets 29 | LibName3=connect 30 | LibName4=discret 31 | LibName5=pin_array 32 | LibName6=divers 33 | LibName7=libcms 34 | LibName8=display 35 | LibName9=led 36 | LibName10=dip_sockets 37 | LibName11=pga_sockets 38 | LibName12=valves 39 | [general] 40 | version=1 41 | [eeschema] 42 | version=1 43 | LibDir= 44 | [eeschema/libraries] 45 | LibName1=Board-rescue 46 | LibName2=stm32f100-discovery-shield 47 | LibName3=stm32 48 | LibName4=power 49 | LibName5=device 50 | LibName6=transistors 51 | LibName7=conn 52 | LibName8=linear 53 | LibName9=regul 54 | LibName10=74xx 55 | LibName11=cmos4000 56 | LibName12=adc-dac 57 | LibName13=memory 58 | LibName14=xilinx 59 | LibName15=special 60 | LibName16=microcontrollers 61 | LibName17=dsp 62 | LibName18=microchip 63 | LibName19=analog_switches 64 | LibName20=motorola 65 | LibName21=texas 66 | LibName22=intel 67 | LibName23=audio 68 | LibName24=interface 69 | LibName25=digital-audio 70 | LibName26=philips 71 | LibName27=display 72 | LibName28=cypress 73 | LibName29=siliconi 74 | LibName30=opto 75 | LibName31=atmel 76 | LibName32=contrib 77 | LibName33=valves 78 | LibName34=C:/Program Files/KiCad/share/kicad/library/dc-dc 79 | LibName35=C:/KiCad/share/library/ESP8266 80 | -------------------------------------------------------------------------------- /Board/Board.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 2 2 | LIBS:Board-rescue 3 | LIBS:stm32 4 | LIBS:power 5 | LIBS:device 6 | LIBS:transistors 7 | LIBS:conn 8 | LIBS:linear 9 | LIBS:regul 10 | LIBS:74xx 11 | LIBS:cmos4000 12 | LIBS:adc-dac 13 | LIBS:memory 14 | LIBS:xilinx 15 | LIBS:microcontrollers 16 | LIBS:dsp 17 | LIBS:microchip 18 | LIBS:analog_switches 19 | LIBS:motorola 20 | LIBS:texas 21 | LIBS:intel 22 | LIBS:audio 23 | LIBS:interface 24 | LIBS:digital-audio 25 | LIBS:philips 26 | LIBS:display 27 | LIBS:cypress 28 | LIBS:siliconi 29 | LIBS:opto 30 | LIBS:atmel 31 | LIBS:contrib 32 | LIBS:valves 33 | LIBS:dc-dc 34 | LIBS:ESP8266 35 | LIBS:Board-cache 36 | EELAYER 25 0 37 | EELAYER END 38 | $Descr A4 11693 8268 39 | encoding utf-8 40 | Sheet 1 1 41 | Title "ESPLux" 42 | Date "Wednesday, May 20, 2015" 43 | Rev "0.1" 44 | Comp "esplux.info" 45 | Comment1 "pretenda" 46 | Comment2 "" 47 | Comment3 "" 48 | Comment4 "" 49 | $EndDescr 50 | $Comp 51 | L LED LED4 52 | U 1 1 555BFA95 53 | P 1850 1700 54 | F 0 "LED4" H 1850 1800 50 0000 C CNN 55 | F 1 "LED" H 1850 1600 50 0000 C CNN 56 | F 2 "" H 1850 1700 60 0001 C CNN 57 | F 3 "" H 1850 1700 60 0000 C CNN 58 | F 4 "Green" H 1850 1700 60 0001 C CNN "Colour" 59 | 1 1850 1700 60 | 0 1 -1 0 61 | $EndComp 62 | $Comp 63 | L R-RESCUE-Board R9 64 | U 1 1 555BFBB3 65 | P 1850 1250 66 | F 0 "R9" V 1930 1250 40 0000 C CNN 67 | F 1 "100" V 1857 1251 40 0000 C CNN 68 | F 2 "Resistors_SMD:R_0603" V 1780 1250 30 0000 C CNN 69 | F 3 "" H 1850 1250 30 0000 C CNN 70 | 1 1850 1250 71 | 1 0 0 -1 72 | $EndComp 73 | $Comp 74 | L R-RESCUE-Board R5 75 | U 1 1 555C0253 76 | P 3600 1850 77 | F 0 "R5" V 3680 1850 40 0000 C CNN 78 | F 1 "10k" V 3607 1851 40 0000 C CNN 79 | F 2 "Resistors_SMD:R_0603" V 3530 1850 30 0001 C CNN 80 | F 3 "" H 3600 1850 30 0000 C CNN 81 | 1 3600 1850 82 | 1 0 0 -1 83 | $EndComp 84 | $Comp 85 | L SW_PUSH SW1 86 | U 1 1 555C02E0 87 | P 3600 1300 88 | F 0 "SW1" H 3750 1410 50 0000 C CNN 89 | F 1 "SW_PUSH" H 3600 1220 50 0001 C CNN 90 | F 2 "" H 3600 1300 60 0001 C CNN 91 | F 3 "" H 3600 1300 60 0000 C CNN 92 | 1 3600 1300 93 | 0 1 1 0 94 | $EndComp 95 | Wire Wire Line 96 | 3150 1600 3600 1600 97 | Text Label 3150 1600 0 60 ~ 0 98 | WifiReset 99 | $Comp 100 | L LED LED1 101 | U 1 1 555C0401 102 | P 6350 1200 103 | F 0 "LED1" H 6350 1300 50 0000 C CNN 104 | F 1 "LED" H 6350 1100 50 0000 C CNN 105 | F 2 "" H 6350 1200 60 0001 C CNN 106 | F 3 "" H 6350 1200 60 0000 C CNN 107 | 1 6350 1200 108 | 0 1 -1 0 109 | $EndComp 110 | $Comp 111 | L LED LED2 112 | U 1 1 555C045A 113 | P 6000 1200 114 | F 0 "LED2" H 6000 1300 50 0000 C CNN 115 | F 1 "LED" H 6000 1100 50 0000 C CNN 116 | F 2 "" H 6000 1200 60 0001 C CNN 117 | F 3 "" H 6000 1200 60 0000 C CNN 118 | 1 6000 1200 119 | 0 1 -1 0 120 | $EndComp 121 | $Comp 122 | L R-RESCUE-Board R3 123 | U 1 1 555C0477 124 | P 6000 1650 125 | F 0 "R3" V 6080 1650 40 0000 C CNN 126 | F 1 "100" V 6007 1651 40 0000 C CNN 127 | F 2 "" V 5930 1650 30 0001 C CNN 128 | F 3 "" H 6000 1650 30 0000 C CNN 129 | 1 6000 1650 130 | 1 0 0 -1 131 | $EndComp 132 | $Comp 133 | L R-RESCUE-Board R2 134 | U 1 1 555C04C4 135 | P 6350 1650 136 | F 0 "R2" V 6430 1650 40 0000 C CNN 137 | F 1 "100" V 6357 1651 40 0000 C CNN 138 | F 2 "Resistors_SMD:R_0603" V 6280 1650 30 0001 C CNN 139 | F 3 "" H 6350 1650 30 0000 C CNN 140 | 1 6350 1650 141 | 1 0 0 -1 142 | $EndComp 143 | $Comp 144 | L NPN Q1 145 | U 1 1 555C04F2 146 | P 5900 2100 147 | F 0 "Q1" H 5900 1950 50 0000 R CNN 148 | F 1 "NPN" H 5900 2250 50 0000 R CNN 149 | F 2 "" H 5900 2100 60 0001 C CNN 150 | F 3 "" H 5900 2100 60 0000 C CNN 151 | 1 5900 2100 152 | 1 0 0 -1 153 | $EndComp 154 | $Comp 155 | L R-RESCUE-Board R4 156 | U 1 1 555C0521 157 | P 5450 2100 158 | F 0 "R4" V 5530 2100 40 0000 C CNN 159 | F 1 "510" V 5457 2101 40 0000 C CNN 160 | F 2 "Resistors_SMD:R_0603" V 5380 2100 30 0001 C CNN 161 | F 3 "" H 5450 2100 30 0000 C CNN 162 | 1 5450 2100 163 | 0 -1 -1 0 164 | $EndComp 165 | Wire Wire Line 166 | 5200 2100 4900 2100 167 | Text Label 4900 2100 0 60 ~ 0 168 | Identify 169 | Wire Wire Line 170 | 6000 1900 6350 1900 171 | Wire Wire Line 172 | 6000 1000 6350 1000 173 | Text Label 8650 1150 0 60 ~ 0 174 | RX 175 | Text Label 8150 1150 2 60 ~ 0 176 | TX 177 | Text Label 8150 1250 2 60 ~ 0 178 | GPIO0 179 | $Comp 180 | L CONN_01X02 P2 181 | U 1 1 555C28C1 182 | P 1150 4100 183 | F 0 "P2" H 1150 4250 50 0000 C CNN 184 | F 1 "CONN_01X02" V 1250 4100 50 0000 C CNN 185 | F 2 "" H 1150 4100 60 0001 C CNN 186 | F 3 "" H 1150 4100 60 0000 C CNN 187 | 1 1150 4100 188 | -1 0 0 1 189 | $EndComp 190 | $Comp 191 | L BRIDGE D1 192 | U 1 1 555C29F8 193 | P 2600 4100 194 | F 0 "D1" H 2600 4150 70 0000 C CNN 195 | F 1 "BRIDGE" H 2600 4050 70 0000 C CNN 196 | F 2 "" H 2600 4100 60 0001 C CNN 197 | F 3 "" H 2600 4100 60 0000 C CNN 198 | 1 2600 4100 199 | 1 0 0 -1 200 | $EndComp 201 | $Comp 202 | L R-RESCUE-Board R8 203 | U 1 1 555C2BA1 204 | P 10300 1950 205 | F 0 "R8" V 10380 1950 40 0000 C CNN 206 | F 1 "1k" V 10307 1951 40 0000 C CNN 207 | F 2 "" V 10230 1950 30 0001 C CNN 208 | F 3 "" H 10300 1950 30 0000 C CNN 209 | 1 10300 1950 210 | 1 0 0 -1 211 | $EndComp 212 | $Comp 213 | L LED LED3 214 | U 1 1 555C2CA9 215 | P 10300 1500 216 | F 0 "LED3" H 10300 1600 50 0000 C CNN 217 | F 1 "LED" H 10300 1400 50 0000 C CNN 218 | F 2 "" H 10300 1500 60 0001 C CNN 219 | F 3 "" H 10300 1500 60 0000 C CNN 220 | F 4 "Green" H 10300 1500 60 0001 C CNN "Colour" 221 | 1 10300 1500 222 | 0 1 -1 0 223 | $EndComp 224 | $Comp 225 | L CONN_01X02 P3 226 | U 1 1 555C2DD7 227 | P 10700 1700 228 | F 0 "P3" H 10700 1850 50 0000 C CNN 229 | F 1 "CONN_01X02" V 10800 1700 50 0000 C CNN 230 | F 2 "" H 10700 1700 60 0001 C CNN 231 | F 3 "" H 10700 1700 60 0000 C CNN 232 | 1 10700 1700 233 | 1 0 0 1 234 | $EndComp 235 | $Comp 236 | L MOSFET_N Q2 237 | U 1 1 555C2E08 238 | P 10400 2650 239 | F 0 "Q2" H 10410 2820 60 0000 R CNN 240 | F 1 "MOSFET_N" H 10410 2500 60 0000 R CNN 241 | F 2 "" H 10400 2650 60 0001 C CNN 242 | F 3 "" H 10400 2650 60 0000 C CNN 243 | 1 10400 2650 244 | 1 0 0 -1 245 | $EndComp 246 | $Comp 247 | L R-RESCUE-Board R6 248 | U 1 1 555C2E3F 249 | P 9600 2650 250 | F 0 "R6" V 9680 2650 40 0000 C CNN 251 | F 1 "100" V 9607 2651 40 0000 C CNN 252 | F 2 "" V 9530 2650 30 0001 C CNN 253 | F 3 "" H 9600 2650 30 0000 C CNN 254 | 1 9600 2650 255 | 0 1 1 0 256 | $EndComp 257 | $Comp 258 | L R-RESCUE-Board R7 259 | U 1 1 555C2E9B 260 | P 9850 2900 261 | F 0 "R7" V 9930 2900 40 0000 C CNN 262 | F 1 "10k" V 9857 2901 40 0000 C CNN 263 | F 2 "" V 9780 2900 30 0001 C CNN 264 | F 3 "" H 9850 2900 30 0000 C CNN 265 | 1 9850 2900 266 | 1 0 0 -1 267 | $EndComp 268 | Wire Wire Line 269 | 10500 1750 10500 2450 270 | Connection ~ 10500 2200 271 | Wire Wire Line 272 | 10500 1100 10500 1650 273 | Connection ~ 10500 1300 274 | Wire Wire Line 275 | 10200 2650 9850 2650 276 | Wire Wire Line 277 | 9850 3150 10500 3150 278 | Wire Wire Line 279 | 10500 2850 10500 3200 280 | Wire Wire Line 281 | 10300 1300 10500 1300 282 | Wire Wire Line 283 | 10300 2200 10500 2200 284 | Connection ~ 10500 3150 285 | Text Label 9350 2650 2 60 ~ 0 286 | OutLogic 287 | $Comp 288 | L Earth #PWR01 289 | U 1 1 555C1C78 290 | P 6000 2300 291 | F 0 "#PWR01" H 6000 2050 50 0001 C CNN 292 | F 1 "Earth" H 6000 2150 50 0001 C CNN 293 | F 2 "" H 6000 2300 60 0000 C CNN 294 | F 3 "" H 6000 2300 60 0000 C CNN 295 | 1 6000 2300 296 | 1 0 0 -1 297 | $EndComp 298 | $Comp 299 | L Earth #PWR02 300 | U 1 1 555C1CA1 301 | P 3600 2150 302 | F 0 "#PWR02" H 3600 1900 50 0001 C CNN 303 | F 1 "Earth" H 3600 2000 50 0001 C CNN 304 | F 2 "" H 3600 2150 60 0000 C CNN 305 | F 3 "" H 3600 2150 60 0000 C CNN 306 | 1 3600 2150 307 | 1 0 0 -1 308 | $EndComp 309 | $Comp 310 | L Earth #PWR03 311 | U 1 1 555C1CCA 312 | P 1850 1900 313 | F 0 "#PWR03" H 1850 1650 50 0001 C CNN 314 | F 1 "Earth" H 1850 1750 50 0001 C CNN 315 | F 2 "" H 1850 1900 60 0000 C CNN 316 | F 3 "" H 1850 1900 60 0000 C CNN 317 | 1 1850 1900 318 | 1 0 0 -1 319 | $EndComp 320 | $Comp 321 | L Earth #PWR04 322 | U 1 1 555C1CF3 323 | P 10500 3200 324 | F 0 "#PWR04" H 10500 2950 50 0001 C CNN 325 | F 1 "Earth" H 10500 3050 50 0001 C CNN 326 | F 2 "" H 10500 3200 60 0000 C CNN 327 | F 3 "" H 10500 3200 60 0000 C CNN 328 | 1 10500 3200 329 | 1 0 0 -1 330 | $EndComp 331 | $Comp 332 | L LM2596S-3.3 U1 333 | U 1 1 555C202A 334 | P 2750 6550 335 | F 0 "U1" H 2350 6900 50 0000 L CNN 336 | F 1 "LM2596S-3.3" H 2350 6800 50 0000 L CNN 337 | F 2 "SMD_Packages:TO-263-5" H 3050 6300 50 0000 C CIN 338 | F 3 "" H 2750 6550 50 0000 C CNN 339 | 1 2750 6550 340 | 1 0 0 -1 341 | $EndComp 342 | Wire Wire Line 343 | 2600 4950 1350 4950 344 | Wire Wire Line 345 | 1350 4950 1350 4150 346 | Wire Wire Line 347 | 2600 3250 1350 3250 348 | Wire Wire Line 349 | 1350 3250 1350 4050 350 | Wire Wire Line 351 | 1750 4100 1750 4450 352 | $Comp 353 | L Earth #PWR05 354 | U 1 1 555C3047 355 | P 1750 4450 356 | F 0 "#PWR05" H 1750 4200 50 0001 C CNN 357 | F 1 "Earth" H 1750 4300 50 0001 C CNN 358 | F 2 "" H 1750 4450 60 0000 C CNN 359 | F 3 "" H 1750 4450 60 0000 C CNN 360 | 1 1750 4450 361 | 1 0 0 -1 362 | $EndComp 363 | $Comp 364 | L Earth #PWR06 365 | U 1 1 555C3320 366 | P 3700 4400 367 | F 0 "#PWR06" H 3700 4150 50 0001 C CNN 368 | F 1 "Earth" H 3700 4250 50 0001 C CNN 369 | F 2 "" H 3700 4400 60 0000 C CNN 370 | F 3 "" H 3700 4400 60 0000 C CNN 371 | 1 3700 4400 372 | 1 0 0 -1 373 | $EndComp 374 | Wire Wire Line 375 | 3450 4100 3750 4100 376 | $Comp 377 | L +12V #PWR07 378 | U 1 1 555C34BF 379 | P 3700 4050 380 | F 0 "#PWR07" H 3700 3900 50 0001 C CNN 381 | F 1 "+12V" H 3700 4190 50 0000 C CNN 382 | F 2 "" H 3700 4050 60 0000 C CNN 383 | F 3 "" H 3700 4050 60 0000 C CNN 384 | 1 3700 4050 385 | 1 0 0 -1 386 | $EndComp 387 | $Comp 388 | L +12V #PWR08 389 | U 1 1 555C34E9 390 | P 10500 1100 391 | F 0 "#PWR08" H 10500 950 50 0001 C CNN 392 | F 1 "+12V" H 10500 1240 50 0000 C CNN 393 | F 2 "" H 10500 1100 60 0000 C CNN 394 | F 3 "" H 10500 1100 60 0000 C CNN 395 | 1 10500 1100 396 | 1 0 0 -1 397 | $EndComp 398 | $Comp 399 | L +3.3V #PWR09 400 | U 1 1 555C353F 401 | P 8150 1050 402 | F 0 "#PWR09" H 8150 900 50 0001 C CNN 403 | F 1 "+3.3V" H 8150 1190 50 0000 C CNN 404 | F 2 "" H 8150 1050 60 0000 C CNN 405 | F 3 "" H 8150 1050 60 0000 C CNN 406 | 1 8150 1050 407 | 1 0 0 -1 408 | $EndComp 409 | $Comp 410 | L +3.3V #PWR010 411 | U 1 1 555C3569 412 | P 6000 1000 413 | F 0 "#PWR010" H 6000 850 50 0001 C CNN 414 | F 1 "+3.3V" H 6000 1140 50 0000 C CNN 415 | F 2 "" H 6000 1000 60 0000 C CNN 416 | F 3 "" H 6000 1000 60 0000 C CNN 417 | 1 6000 1000 418 | 1 0 0 -1 419 | $EndComp 420 | $Comp 421 | L +3.3V #PWR011 422 | U 1 1 555C3593 423 | P 3600 1000 424 | F 0 "#PWR011" H 3600 850 50 0001 C CNN 425 | F 1 "+3.3V" H 3600 1140 50 0000 C CNN 426 | F 2 "" H 3600 1000 60 0000 C CNN 427 | F 3 "" H 3600 1000 60 0000 C CNN 428 | 1 3600 1000 429 | 1 0 0 -1 430 | $EndComp 431 | $Comp 432 | L +3.3V #PWR012 433 | U 1 1 555C35BD 434 | P 1850 1000 435 | F 0 "#PWR012" H 1850 850 50 0001 C CNN 436 | F 1 "+3.3V" H 1850 1140 50 0000 C CNN 437 | F 2 "" H 1850 1000 60 0000 C CNN 438 | F 3 "" H 1850 1000 60 0000 C CNN 439 | 1 1850 1000 440 | 1 0 0 -1 441 | $EndComp 442 | $Comp 443 | L CONN_02X03 P1 444 | U 1 1 555C08B1 445 | P 8400 1150 446 | F 0 "P1" H 8400 1350 50 0000 C CNN 447 | F 1 "CONN_02X03" H 8400 950 50 0000 C CNN 448 | F 2 "" H 8400 -50 60 0001 C CNN 449 | F 3 "" H 8400 -50 60 0000 C CNN 450 | 1 8400 1150 451 | 1 0 0 -1 452 | $EndComp 453 | $Comp 454 | L ESP-12 U2 455 | U 1 1 555C3912 456 | P 6750 4250 457 | F 0 "U2" H 6750 4150 50 0000 C CNN 458 | F 1 "ESP-12" H 6750 4350 50 0000 C CNN 459 | F 2 "" H 6750 4250 50 0001 C CNN 460 | F 3 "" H 6750 4250 50 0001 C CNN 461 | 1 6750 4250 462 | 1 0 0 -1 463 | $EndComp 464 | $Comp 465 | L CP C3 466 | U 1 1 555C3DBD 467 | P 1950 6700 468 | F 0 "C3" H 1975 6800 50 0000 L CNN 469 | F 1 "330uf" H 1975 6600 50 0000 L CNN 470 | F 2 "" H 1988 6550 30 0001 C CNN 471 | F 3 "" H 1950 6700 60 0000 C CNN 472 | 1 1950 6700 473 | 1 0 0 -1 474 | $EndComp 475 | $Comp 476 | L CP C4 477 | U 1 1 555C3E28 478 | P 3450 4250 479 | F 0 "C4" H 3475 4350 50 0000 L CNN 480 | F 1 "330uf" H 3475 4150 50 0000 L CNN 481 | F 2 "" H 3488 4100 30 0001 C CNN 482 | F 3 "" H 3450 4250 60 0000 C CNN 483 | 1 3450 4250 484 | 1 0 0 -1 485 | $EndComp 486 | $Comp 487 | L CP C5 488 | U 1 1 555C3E90 489 | P 3700 4250 490 | F 0 "C5" H 3725 4350 50 0000 L CNN 491 | F 1 "330uf" H 3725 4150 50 0000 L CNN 492 | F 2 "" H 3738 4100 30 0001 C CNN 493 | F 3 "" H 3700 4250 60 0000 C CNN 494 | 1 3700 4250 495 | 1 0 0 -1 496 | $EndComp 497 | $Comp 498 | L D_Schottky D2 499 | U 1 1 555C3EC9 500 | P 3800 6800 501 | F 0 "D2" H 3800 6900 50 0000 C CNN 502 | F 1 "MBRS130L" H 3800 6700 50 0000 C CNN 503 | F 2 "" H 3800 6800 60 0001 C CNN 504 | F 3 "" H 3800 6800 60 0000 C CNN 505 | 1 3800 6800 506 | 0 1 1 0 507 | $EndComp 508 | $Comp 509 | L INDUCTOR L1 510 | U 1 1 555C3FB7 511 | P 4100 6650 512 | F 0 "L1" V 4050 6650 50 0000 C CNN 513 | F 1 "22uH" V 4200 6650 50 0000 C CNN 514 | F 2 "" H 4100 6650 60 0001 C CNN 515 | F 3 "" H 4100 6650 60 0000 C CNN 516 | 1 4100 6650 517 | 0 -1 -1 0 518 | $EndComp 519 | $Comp 520 | L CP C2 521 | U 1 1 555C402E 522 | P 4400 6800 523 | F 0 "C2" H 4425 6900 50 0000 L CNN 524 | F 1 "220uf" H 4425 6700 50 0000 L CNN 525 | F 2 "" H 4438 6650 30 0001 C CNN 526 | F 3 "" H 4400 6800 60 0000 C CNN 527 | 1 4400 6800 528 | 1 0 0 -1 529 | $EndComp 530 | $Comp 531 | L +3.3V #PWR013 532 | U 1 1 555C4082 533 | P 4700 6650 534 | F 0 "#PWR013" H 4700 6500 50 0001 C CNN 535 | F 1 "+3.3V" H 4700 6790 50 0000 C CNN 536 | F 2 "" H 4700 6650 60 0000 C CNN 537 | F 3 "" H 4700 6650 60 0000 C CNN 538 | 1 4700 6650 539 | 1 0 0 -1 540 | $EndComp 541 | $Comp 542 | L Earth #PWR014 543 | U 1 1 555C40B3 544 | P 4700 6950 545 | F 0 "#PWR014" H 4700 6700 50 0001 C CNN 546 | F 1 "Earth" H 4700 6800 50 0001 C CNN 547 | F 2 "" H 4700 6950 60 0000 C CNN 548 | F 3 "" H 4700 6950 60 0000 C CNN 549 | 1 4700 6950 550 | 1 0 0 -1 551 | $EndComp 552 | Wire Wire Line 553 | 2750 6850 2750 6950 554 | Wire Wire Line 555 | 1950 6950 4700 6950 556 | Wire Wire Line 557 | 3800 6950 4400 6950 558 | Connection ~ 4400 6950 559 | Connection ~ 3800 6950 560 | Wire Wire Line 561 | 3800 6650 3250 6650 562 | Wire Wire Line 563 | 4400 6650 4700 6650 564 | Wire Wire Line 565 | 4400 6650 4400 6450 566 | Wire Wire Line 567 | 4400 6450 3250 6450 568 | Wire Wire Line 569 | 2250 6950 2250 6650 570 | Connection ~ 2750 6950 571 | $Comp 572 | L +12V #PWR015 573 | U 1 1 555C433A 574 | P 1950 6450 575 | F 0 "#PWR015" H 1950 6300 50 0001 C CNN 576 | F 1 "+12V" H 1950 6590 50 0000 C CNN 577 | F 2 "" H 1950 6450 60 0000 C CNN 578 | F 3 "" H 1950 6450 60 0000 C CNN 579 | 1 1950 6450 580 | 1 0 0 -1 581 | $EndComp 582 | Wire Wire Line 583 | 2250 6450 1950 6450 584 | Wire Wire Line 585 | 1950 6450 1950 6550 586 | Wire Wire Line 587 | 1950 6950 1950 6850 588 | Connection ~ 2250 6950 589 | Wire Wire Line 590 | 3450 4400 3700 4400 591 | $Comp 592 | L +3.3V #PWR016 593 | U 1 1 555C555B 594 | P 5600 4150 595 | F 0 "#PWR016" H 5600 4000 50 0001 C CNN 596 | F 1 "+3.3V" H 5600 4290 50 0000 C CNN 597 | F 2 "" H 5600 4150 60 0000 C CNN 598 | F 3 "" H 5600 4150 60 0000 C CNN 599 | 1 5600 4150 600 | 1 0 0 -1 601 | $EndComp 602 | $Comp 603 | L +3.3V #PWR017 604 | U 1 1 555C558A 605 | P 6750 3350 606 | F 0 "#PWR017" H 6750 3200 50 0001 C CNN 607 | F 1 "+3.3V" H 6750 3490 50 0000 C CNN 608 | F 2 "" H 6750 3350 60 0000 C CNN 609 | F 3 "" H 6750 3350 60 0000 C CNN 610 | 1 6750 3350 611 | 1 0 0 -1 612 | $EndComp 613 | $Comp 614 | L Earth #PWR018 615 | U 1 1 555C55B9 616 | P 6750 5150 617 | F 0 "#PWR018" H 6750 4900 50 0001 C CNN 618 | F 1 "Earth" H 6750 5000 50 0001 C CNN 619 | F 2 "" H 6750 5150 60 0000 C CNN 620 | F 3 "" H 6750 5150 60 0000 C CNN 621 | 1 6750 5150 622 | 1 0 0 -1 623 | $EndComp 624 | $Comp 625 | L Earth #PWR019 626 | U 1 1 555C55E8 627 | P 7650 4550 628 | F 0 "#PWR019" H 7650 4300 50 0001 C CNN 629 | F 1 "Earth" H 7650 4400 50 0001 C CNN 630 | F 2 "" H 7650 4550 60 0000 C CNN 631 | F 3 "" H 7650 4550 60 0000 C CNN 632 | 1 7650 4550 633 | 1 0 0 -1 634 | $EndComp 635 | Wire Wire Line 636 | 5600 4150 5850 4150 637 | $Comp 638 | L R R1 639 | U 1 1 555C5658 640 | P 8250 4350 641 | F 0 "R1" V 8330 4350 50 0000 C CNN 642 | F 1 "10k" V 8250 4350 50 0000 C CNN 643 | F 2 "" V 8180 4350 30 0001 C CNN 644 | F 3 "" H 8250 4350 30 0000 C CNN 645 | 1 8250 4350 646 | 0 1 1 0 647 | $EndComp 648 | $Comp 649 | L +3.3V #PWR020 650 | U 1 1 555C56F3 651 | P 8550 4350 652 | F 0 "#PWR020" H 8550 4200 50 0001 C CNN 653 | F 1 "+3.3V" H 8550 4490 50 0000 C CNN 654 | F 2 "" H 8550 4350 60 0000 C CNN 655 | F 3 "" H 8550 4350 60 0000 C CNN 656 | 1 8550 4350 657 | 1 0 0 -1 658 | $EndComp 659 | Wire Wire Line 660 | 8400 4350 8550 4350 661 | Text Label 7650 3950 0 60 ~ 0 662 | TX 663 | Text Label 7650 4050 0 60 ~ 0 664 | RX 665 | Text Label 7650 4150 0 60 ~ 0 666 | OutLogic 667 | Text Label 7650 4250 0 60 ~ 0 668 | Identify 669 | Text Label 7650 4350 0 60 ~ 0 670 | GPIO0 671 | Text Label 5850 4550 2 60 ~ 0 672 | WifiReset 673 | Wire Wire Line 674 | 7650 4350 8100 4350 675 | $Comp 676 | L Earth #PWR021 677 | U 1 1 555C71D1 678 | P 8900 1050 679 | F 0 "#PWR021" H 8900 800 50 0001 C CNN 680 | F 1 "Earth" H 8900 900 50 0001 C CNN 681 | F 2 "" H 8900 1050 60 0000 C CNN 682 | F 3 "" H 8900 1050 60 0000 C CNN 683 | 1 8900 1050 684 | 1 0 0 -1 685 | $EndComp 686 | Wire Wire Line 687 | 8650 1050 8900 1050 688 | Wire Wire Line 689 | 3700 4100 3700 4050 690 | Connection ~ 3700 4100 691 | $EndSCHEMATC 692 | -------------------------------------------------------------------------------- /Board/Output/Board-B_Mask.gbs: -------------------------------------------------------------------------------- 1 | G04 #@! TF.FileFunction,Soldermask,Bot* 2 | %FSLAX45Y45*% 3 | G04 Gerber Fmt 4.5, Leading zero omitted, Abs format (unit mm)* 4 | G04 Created by KiCad (PCBNEW (after 2015-may-01 BZR unknown)-product) date 21-May-15 9:37:35 AM* 5 | %MOMM*% 6 | G01* 7 | G04 APERTURE LIST* 8 | %ADD10C,0.100000*% 9 | %ADD11O,3.500120X1.699260*% 10 | %ADD12C,6.500000*% 11 | %ADD13O,2.000000X3.000000*% 12 | %ADD14R,2.000000X3.000000*% 13 | %ADD15C,2.700000*% 14 | %ADD16R,2.700000X2.700000*% 15 | %ADD17R,1.727200X1.727200*% 16 | %ADD18O,1.727200X1.727200*% 17 | G04 APERTURE END LIST* 18 | D10* 19 | D11* 20 | X8548500Y-9223100D03* 21 | X8548500Y-9477100D03* 22 | X8548500Y-8969100D03* 23 | D12* 24 | X13100000Y-8000000D03* 25 | X6900000Y-8000000D03* 26 | X6900000Y-11500000D03* 27 | X13100000Y-11500000D03* 28 | D13* 29 | X8021000Y-8325000D03* 30 | X8529000Y-8325000D03* 31 | X9037000Y-8325000D03* 32 | D14* 33 | X7513000Y-8325000D03* 34 | D15* 35 | X6900000Y-9540500D03* 36 | D16* 37 | X6900000Y-9159500D03* 38 | D15* 39 | X6900000Y-10340500D03* 40 | D16* 41 | X6900000Y-9959500D03* 42 | D17* 43 | X12000000Y-8100000D03* 44 | D18* 45 | X12000000Y-7846000D03* 46 | X12254000Y-8100000D03* 47 | X12254000Y-7846000D03* 48 | X12508000Y-8100000D03* 49 | M02* 50 | -------------------------------------------------------------------------------- /Board/Output/Board-B_Paste.gbp: -------------------------------------------------------------------------------- 1 | G04 #@! TF.FileFunction,Paste,Bot* 2 | %FSLAX45Y45*% 3 | G04 Gerber Fmt 4.5, Leading zero omitted, Abs format (unit mm)* 4 | G04 Created by KiCad (PCBNEW (after 2015-may-01 BZR unknown)-product) date 21-May-15 9:37:35 AM* 5 | %MOMM*% 6 | G01* 7 | G04 APERTURE LIST* 8 | %ADD10C,0.100000*% 9 | G04 APERTURE END LIST* 10 | D10* 11 | M02* 12 | -------------------------------------------------------------------------------- /Board/Output/Board-Edge_Cuts.gbr: -------------------------------------------------------------------------------- 1 | G04 #@! TF.FileFunction,Profile,NP* 2 | %FSLAX45Y45*% 3 | G04 Gerber Fmt 4.5, Leading zero omitted, Abs format (unit mm)* 4 | G04 Created by KiCad (PCBNEW (after 2015-may-01 BZR unknown)-product) date 21-May-15 9:37:35 AM* 5 | %MOMM*% 6 | G01* 7 | G04 APERTURE LIST* 8 | %ADD10C,0.100000*% 9 | %ADD11C,0.149860*% 10 | G04 APERTURE END LIST* 11 | D10* 12 | D11* 13 | X6500000Y-11500000D02* 14 | X6500000Y-8000000D01* 15 | X13100000Y-11900000D02* 16 | X6900000Y-11900000D01* 17 | X13500000Y-8000000D02* 18 | X13500000Y-11500000D01* 19 | X6900000Y-7600000D02* 20 | X13100000Y-7600000D01* 21 | X6900000Y-7600000D02* 22 | G75* 23 | G03X6500000Y-8000000I0J-400000D01* 24 | G01* 25 | X13500000Y-8000000D02* 26 | G75* 27 | G03X13100000Y-7600000I-400000J0D01* 28 | G01* 29 | X13100000Y-11900000D02* 30 | G75* 31 | G03X13500000Y-11500000I0J400000D01* 32 | G01* 33 | X6500000Y-11500000D02* 34 | G75* 35 | G03X6900000Y-11900000I400000J0D01* 36 | G01* 37 | M02* 38 | -------------------------------------------------------------------------------- /Board/Output/Board-F_Mask.gts: -------------------------------------------------------------------------------- 1 | G04 #@! TF.FileFunction,Soldermask,Top* 2 | %FSLAX45Y45*% 3 | G04 Gerber Fmt 4.5, Leading zero omitted, Abs format (unit mm)* 4 | G04 Created by KiCad (PCBNEW (after 2015-may-01 BZR unknown)-product) date 21-May-15 9:37:35 AM* 5 | %MOMM*% 6 | G01* 7 | G04 APERTURE LIST* 8 | %ADD10C,0.100000*% 9 | %ADD11R,0.900000X0.500000*% 10 | %ADD12R,2.286000X1.143000*% 11 | %ADD13R,9.999980X10.800080*% 12 | %ADD14R,2.400300X3.500120*% 13 | %ADD15R,2.400300X4.000500*% 14 | %ADD16R,2.000000X2.500000*% 15 | %ADD17R,0.797560X0.797560*% 16 | %ADD18O,3.500120X1.699260*% 17 | %ADD19R,0.500000X0.900000*% 18 | %ADD20R,2.000000X0.700000*% 19 | %ADD21R,1.100000X2.400000*% 20 | %ADD22O,1.100000X2.400000*% 21 | %ADD23C,6.500000*% 22 | %ADD24O,2.000000X3.000000*% 23 | %ADD25R,2.000000X3.000000*% 24 | %ADD26R,3.000000X5.000000*% 25 | %ADD27C,2.700000*% 26 | %ADD28R,2.700000X2.700000*% 27 | %ADD29R,0.800100X0.800100*% 28 | %ADD30R,1.727200X1.727200*% 29 | %ADD31O,1.727200X1.727200*% 30 | G04 APERTURE END LIST* 31 | D10* 32 | D11* 33 | X10250000Y-8200000D03* 34 | X10250000Y-8050000D03* 35 | D12* 36 | X10450000Y-9439852D03* 37 | D13* 38 | X9370500Y-9269926D03* 39 | D12* 40 | X10450000Y-9100000D03* 41 | X10450000Y-9269926D03* 42 | X10450000Y-9610032D03* 43 | X10450000Y-8929820D03* 44 | D14* 45 | X12400000Y-11125120D03* 46 | X12400000Y-10474880D03* 47 | D15* 48 | X10100000Y-11400050D03* 49 | X10100000Y-10599950D03* 50 | X9000000Y-11400050D03* 51 | X9000000Y-10599950D03* 52 | X7900000Y-11400050D03* 53 | X7900000Y-10599950D03* 54 | D16* 55 | X10130000Y-10100000D03* 56 | X10470000Y-10100000D03* 57 | D17* 58 | X6900000Y-8674930D03* 59 | X6900000Y-8525070D03* 60 | X6900000Y-10825070D03* 61 | X6900000Y-10974930D03* 62 | X10675000Y-8050070D03* 63 | X10675000Y-8199930D03* 64 | X10050000Y-8199930D03* 65 | X10050000Y-8050070D03* 66 | D18* 67 | X8548500Y-9223100D03* 68 | X8548500Y-9477100D03* 69 | X8548500Y-8969100D03* 70 | D19* 71 | X12325000Y-11550000D03* 72 | X12175000Y-11550000D03* 73 | D11* 74 | X7075000Y-8525000D03* 75 | X7075000Y-8675000D03* 76 | X7075000Y-10975000D03* 77 | X7075000Y-10825000D03* 78 | X9400000Y-8050000D03* 79 | X9400000Y-8200000D03* 80 | X10875000Y-8200000D03* 81 | X10875000Y-8050000D03* 82 | X9850000Y-8200000D03* 83 | X9850000Y-8050000D03* 84 | X9625000Y-8200000D03* 85 | X9625000Y-8050000D03* 86 | X10475000Y-8200000D03* 87 | X10475000Y-8050000D03* 88 | D20* 89 | X11620000Y-8025000D03* 90 | X11620000Y-8175000D03* 91 | X11280000Y-8175000D03* 92 | X11280000Y-8025000D03* 93 | D21* 94 | X12350000Y-8500000D03* 95 | D22* 96 | X12150000Y-8500000D03* 97 | X11950000Y-8500000D03* 98 | X11750000Y-8500000D03* 99 | X11550000Y-8500000D03* 100 | X11350000Y-8500000D03* 101 | X11150000Y-8500000D03* 102 | X10950000Y-8500000D03* 103 | X10950000Y-10100000D03* 104 | X11150000Y-10100000D03* 105 | X11350000Y-10100000D03* 106 | X11550000Y-10100000D03* 107 | X11750000Y-10100000D03* 108 | X11950000Y-10100000D03* 109 | X12150000Y-10100000D03* 110 | X12350000Y-10100000D03* 111 | D23* 112 | X13100000Y-8000000D03* 113 | X6900000Y-8000000D03* 114 | X6900000Y-11500000D03* 115 | X13100000Y-11500000D03* 116 | D24* 117 | X8021000Y-8325000D03* 118 | X8529000Y-8325000D03* 119 | X9037000Y-8325000D03* 120 | D25* 121 | X7513000Y-8325000D03* 122 | D26* 123 | X11750000Y-11000000D03* 124 | X10850000Y-11000000D03* 125 | D27* 126 | X6900000Y-9540500D03* 127 | D28* 128 | X6900000Y-9159500D03* 129 | D27* 130 | X6900000Y-10340500D03* 131 | D28* 132 | X6900000Y-9959500D03* 133 | D29* 134 | X7550076Y-8845000D03* 135 | X7550076Y-8655000D03* 136 | X7350178Y-8750000D03* 137 | D30* 138 | X12000000Y-8100000D03* 139 | D31* 140 | X12000000Y-7846000D03* 141 | X12254000Y-8100000D03* 142 | X12254000Y-7846000D03* 143 | X12508000Y-8100000D03* 144 | M02* 145 | -------------------------------------------------------------------------------- /Board/Output/Board-F_Paste.gtp: -------------------------------------------------------------------------------- 1 | G04 #@! TF.FileFunction,Paste,Top* 2 | %FSLAX45Y45*% 3 | G04 Gerber Fmt 4.5, Leading zero omitted, Abs format (unit mm)* 4 | G04 Created by KiCad (PCBNEW (after 2015-may-01 BZR unknown)-product) date 21-May-15 9:37:35 AM* 5 | %MOMM*% 6 | G01* 7 | G04 APERTURE LIST* 8 | %ADD10C,0.100000*% 9 | %ADD11R,0.900000X0.500000*% 10 | %ADD12R,2.286000X1.143000*% 11 | %ADD13R,9.999980X10.800080*% 12 | %ADD14R,2.400300X3.500120*% 13 | %ADD15R,2.400300X4.000500*% 14 | %ADD16R,2.000000X2.500000*% 15 | %ADD17R,0.797560X0.797560*% 16 | %ADD18R,0.500000X0.900000*% 17 | %ADD19R,2.000000X0.700000*% 18 | %ADD20R,1.100000X2.400000*% 19 | %ADD21O,1.100000X2.400000*% 20 | %ADD22R,3.000000X5.000000*% 21 | %ADD23R,0.800100X0.800100*% 22 | G04 APERTURE END LIST* 23 | D10* 24 | D11* 25 | X10250000Y-8200000D03* 26 | X10250000Y-8050000D03* 27 | D12* 28 | X10450000Y-9439852D03* 29 | D13* 30 | X9370500Y-9269926D03* 31 | D12* 32 | X10450000Y-9100000D03* 33 | X10450000Y-9269926D03* 34 | X10450000Y-9610032D03* 35 | X10450000Y-8929820D03* 36 | D14* 37 | X12400000Y-11125120D03* 38 | X12400000Y-10474880D03* 39 | D15* 40 | X10100000Y-11400050D03* 41 | X10100000Y-10599950D03* 42 | X9000000Y-11400050D03* 43 | X9000000Y-10599950D03* 44 | X7900000Y-11400050D03* 45 | X7900000Y-10599950D03* 46 | D16* 47 | X10130000Y-10100000D03* 48 | X10470000Y-10100000D03* 49 | D17* 50 | X6900000Y-8674930D03* 51 | X6900000Y-8525070D03* 52 | X6900000Y-10825070D03* 53 | X6900000Y-10974930D03* 54 | X10675000Y-8050070D03* 55 | X10675000Y-8199930D03* 56 | X10050000Y-8199930D03* 57 | X10050000Y-8050070D03* 58 | D18* 59 | X12325000Y-11550000D03* 60 | X12175000Y-11550000D03* 61 | D11* 62 | X7075000Y-8525000D03* 63 | X7075000Y-8675000D03* 64 | X7075000Y-10975000D03* 65 | X7075000Y-10825000D03* 66 | X9400000Y-8050000D03* 67 | X9400000Y-8200000D03* 68 | X10875000Y-8200000D03* 69 | X10875000Y-8050000D03* 70 | X9850000Y-8200000D03* 71 | X9850000Y-8050000D03* 72 | X9625000Y-8200000D03* 73 | X9625000Y-8050000D03* 74 | X10475000Y-8200000D03* 75 | X10475000Y-8050000D03* 76 | D19* 77 | X11620000Y-8025000D03* 78 | X11620000Y-8175000D03* 79 | X11280000Y-8175000D03* 80 | X11280000Y-8025000D03* 81 | D20* 82 | X12350000Y-8500000D03* 83 | D21* 84 | X12150000Y-8500000D03* 85 | X11950000Y-8500000D03* 86 | X11750000Y-8500000D03* 87 | X11550000Y-8500000D03* 88 | X11350000Y-8500000D03* 89 | X11150000Y-8500000D03* 90 | X10950000Y-8500000D03* 91 | X10950000Y-10100000D03* 92 | X11150000Y-10100000D03* 93 | X11350000Y-10100000D03* 94 | X11550000Y-10100000D03* 95 | X11750000Y-10100000D03* 96 | X11950000Y-10100000D03* 97 | X12150000Y-10100000D03* 98 | X12350000Y-10100000D03* 99 | D22* 100 | X11750000Y-11000000D03* 101 | X10850000Y-11000000D03* 102 | D23* 103 | X7550076Y-8845000D03* 104 | X7550076Y-8655000D03* 105 | X7350178Y-8750000D03* 106 | M02* 107 | -------------------------------------------------------------------------------- /Board/Output/Board.drl: -------------------------------------------------------------------------------- 1 | M48 2 | ;DRILL file {KiCad (after 2015-may-01 BZR unknown)-product} date 21-May-15 9:30:58 AM 3 | ;FORMAT={-:-/ absolute / inch / decimal} 4 | FMAT,2 5 | INCH,TZ 6 | T1C0.016 7 | T2C0.039 8 | T3C0.039 9 | T4C0.040 10 | T5C0.051 11 | T6C0.055 12 | T7C0.126 13 | % 14 | G90 15 | G05 16 | M72 17 | T1 18 | X3.1102Y-4.311 19 | X3.5433Y-4.311 20 | X3.6693Y-3.3937 21 | X3.7008Y-3.126 22 | X3.8287Y-3.3071 23 | X3.9173Y-3.1398 24 | X3.9764Y-4.311 25 | X4.498Y-4.5079 26 | X4.6457Y-4.5079 27 | X4.7874Y-3.5591 28 | X4.8346Y-3.5748 29 | X4.8819Y-4.252 30 | T2 31 | X3.0709Y-3.0787 32 | X3.1575Y-3.7717 33 | T3 34 | X3.3656Y-3.5311 35 | X3.3656Y-3.6311 36 | X3.3656Y-3.7311 37 | T4 38 | X4.7244Y-3.089 39 | X4.7244Y-3.189 40 | X4.8244Y-3.089 41 | X4.8244Y-3.189 42 | X4.9244Y-3.189 43 | T5 44 | X2.7165Y-3.6061 45 | X2.7165Y-3.7561 46 | X2.7165Y-3.9211 47 | X2.7165Y-4.0711 48 | T6 49 | X2.9579Y-3.2776 50 | X3.1579Y-3.2776 51 | X3.3579Y-3.2776 52 | X3.5579Y-3.2776 53 | T7 54 | X2.7165Y-3.1496 55 | X2.7165Y-4.5276 56 | X5.1575Y-3.1496 57 | X5.1575Y-4.5276 58 | T0 59 | M30 60 | -------------------------------------------------------------------------------- /Board/Output/Output.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Board/Output/Output.zip -------------------------------------------------------------------------------- /Board/Parts.pretty/3.81mmScrewTerminal.kicad_mod: -------------------------------------------------------------------------------- 1 | (module 3.81mmScrewTerminal (layer F.Cu) (tedit 555C7C9C) 2 | (fp_text reference REF** (at 0 2.5) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value "3.81mm Screw Terminal" (at 0 -4.5) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 1.91 4.5) (end 1.16 5) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 1.16 5) (end 2.66 5) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 2.66 5) (end 1.91 4.5) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 4.25 0) (end 4.75 -0.75) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 4.75 -0.75) (end 4.75 0.75) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 4.75 0.75) (end 4.25 0) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -0.5 -4) (end -1 -2.5) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start -1 -2.5) (end -3 -2.5) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start -3 -2.5) (end -3.5 -4) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 3.5 -4) (end 3 -2.5) (layer F.SilkS) (width 0.15)) 18 | (fp_line (start 3 -2.5) (end 1 -2.5) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start 1 -2.5) (end 0.5 -4) (layer F.SilkS) (width 0.15)) 20 | (fp_line (start -3.85 -4) (end -3.85 4) (layer F.SilkS) (width 0.15)) 21 | (fp_line (start 3.85 4) (end 3.85 -4) (layer F.SilkS) (width 0.15)) 22 | (fp_line (start -3.85 4) (end 3.85 4) (layer F.SilkS) (width 0.15)) 23 | (fp_line (start -3.85 -4) (end 3.85 -4) (layer F.SilkS) (width 0.15)) 24 | (pad 2 thru_hole circle (at -1.905 0) (size 2.7 2.7) (drill 1.3) (layers *.Cu *.Mask F.SilkS)) 25 | (pad 1 thru_hole rect (at 1.905 0) (size 2.7 2.7) (drill 1.3) (layers *.Cu *.Mask F.SilkS)) 26 | ) 27 | -------------------------------------------------------------------------------- /Board/Parts.pretty/5PinHeader.kicad_mod: -------------------------------------------------------------------------------- 1 | (module 5PinHeader (layer F.Cu) (tedit 555C90DE) 2 | (descr "Through hole pin header") 3 | (tags "pin header") 4 | (fp_text reference P1 (at 2.5 5 180) (layer F.SilkS) 5 | (effects (font (size 1 1) (thickness 0.15))) 6 | ) 7 | (fp_text value CONN_02X03 (at 9.25 -3.5) (layer F.Fab) 8 | (effects (font (size 1 1) (thickness 0.15))) 9 | ) 10 | (fp_line (start -1.27 1.27) (end -1.27 6.35) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -1.55 -1.55) (end 0 -1.55) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -1.75 -1.75) (end -1.75 6.85) (layer F.CrtYd) (width 0.05)) 13 | (fp_line (start 4.3 -1.75) (end 4.3 6.85) (layer F.CrtYd) (width 0.05)) 14 | (fp_line (start -1.75 -1.75) (end 4.3 -1.75) (layer F.CrtYd) (width 0.05)) 15 | (fp_line (start -1.75 6.85) (end 4.3 6.85) (layer F.CrtYd) (width 0.05)) 16 | (fp_line (start 1.27 -1.27) (end 1.27 1.27) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 1.27 1.27) (end -1.27 1.27) (layer F.SilkS) (width 0.15)) 18 | (fp_line (start -1.27 6.35) (end 3.81 6.35) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start 3.81 6.35) (end 3.81 1.27) (layer F.SilkS) (width 0.15)) 20 | (fp_line (start -1.55 -1.55) (end -1.55 0) (layer F.SilkS) (width 0.15)) 21 | (fp_line (start 3.81 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15)) 22 | (fp_line (start 3.81 1.27) (end 3.81 -1.27) (layer F.SilkS) (width 0.15)) 23 | (pad 1 thru_hole rect (at 0 0) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 24 | (pad 2 thru_hole oval (at 2.54 0) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 25 | (pad 3 thru_hole oval (at 0 2.54) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 26 | (pad 4 thru_hole oval (at 2.54 2.54) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 27 | (pad 5 thru_hole oval (at 0 5.08) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 28 | (model Pin_Headers.3dshapes/Pin_Header_Straight_2x03.wrl 29 | (at (xyz 0.05 -0.1 0)) 30 | (scale (xyz 1 1 1)) 31 | (rotate (xyz 0 0 90)) 32 | ) 33 | ) 34 | -------------------------------------------------------------------------------- /Board/Parts.pretty/Inductor.kicad_mod: -------------------------------------------------------------------------------- 1 | (module Inductor (layer F.Cu) (tedit 555C79EF) 2 | (fp_text reference REF** (at 0 0.5) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value Inductor (at 0 -0.5) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -5.5 6) (end 5.5 6) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start -6 -5.5) (end -6 5.5) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 5.5 -6) (end -5.5 -6) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 6 5.5) (end 6 -5.5) (layer F.SilkS) (width 0.15)) 12 | (fp_arc (start 5.5 5.5) (end 6 5.5) (angle 90) (layer F.SilkS) (width 0.15)) 13 | (fp_arc (start -5.5 5.5) (end -5.5 6) (angle 90) (layer F.SilkS) (width 0.15)) 14 | (fp_arc (start -5.5 -5.5) (end -6 -5.5) (angle 90) (layer F.SilkS) (width 0.15)) 15 | (fp_arc (start 5.5 -5.5) (end 5.5 -6) (angle 90) (layer F.SilkS) (width 0.15)) 16 | (pad 2 smd rect (at 0 4.5) (size 5 3) (layers F.Cu F.Paste F.Mask)) 17 | (pad 1 smd rect (at 0 -4.5) (size 5 3) (layers F.Cu F.Paste F.Mask)) 18 | ) 19 | -------------------------------------------------------------------------------- /Board/Parts.pretty/KBL.kicad_mod: -------------------------------------------------------------------------------- 1 | (module KBL (layer F.Cu) (tedit 555C802E) 2 | (fp_text reference REF** (at 0 0.5) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value KBL (at 0 -0.5) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text user 1 (at 8 3) (layer F.SilkS) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_line (start 10 0) (end 10.5 -1) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 10.5 -1) (end 10.5 1) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 10.5 1) (end 10 0) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -9.25 -2.3) (end -9.25 4.2) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start 9.25 -2.3) (end 9.25 4.2) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start -9.25 4.2) (end 9.25 4.2) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start -9.25 -2.3) (end 9.25 -2.3) (layer F.SilkS) (width 0.15)) 18 | (pad 2 thru_hole oval (at 2.54 0) (size 2 3) (drill 1.4) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 4 thru_hole oval (at -2.54 0) (size 2 3) (drill 1.4) (layers *.Cu *.Mask F.SilkS)) 20 | (pad 1 thru_hole oval (at -7.62 0) (size 2 3) (drill 1.4) (layers *.Cu *.Mask F.SilkS)) 21 | (pad 3 thru_hole rect (at 7.62 0) (size 2 3) (drill 1.4) (layers *.Cu *.Mask F.SilkS)) 22 | ) 23 | -------------------------------------------------------------------------------- /Board/Parts.pretty/SMD_Tact.kicad_mod: -------------------------------------------------------------------------------- 1 | (module SMD_Tact (layer F.Cu) (tedit 555C7272) 2 | (fp_text reference REF** (at 0 0) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value SMD_Tact (at 0 -3.4) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -1.5 -1.8) (end 1.5 -1.8) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 1.5 -1.8) (end 1.5 1.8) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 1.5 1.8) (end -1.5 1.8) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -1.5 1.8) (end -1.5 -1.8) (layer F.SilkS) (width 0.15)) 12 | (pad 4 smd rect (at -0.75 -1.7) (size 0.7 2) (layers F.Cu F.Paste F.Mask)) 13 | (pad 3 smd rect (at 0.75 -1.7) (size 0.7 2) (layers F.Cu F.Paste F.Mask)) 14 | (pad 2 smd rect (at 0.75 1.7) (size 0.7 2) (layers F.Cu F.Paste F.Mask)) 15 | (pad 1 smd rect (at -0.75 1.7) (size 0.7 2) (layers F.Cu F.Paste F.Mask)) 16 | ) 17 | -------------------------------------------------------------------------------- /Board/Parts.pretty/SOT-23.kicad_mod: -------------------------------------------------------------------------------- 1 | (module SOT-23 (layer F.Cu) (tedit 555C88A3) 2 | (descr "SOT-23, Standard") 3 | (tags SOT-23) 4 | (attr smd) 5 | (fp_text reference Q1 (at 0 -2.25) (layer F.SilkS) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value NPN (at 0 2.3) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_line (start -1.65 -1.6) (end 1.65 -1.6) (layer F.CrtYd) (width 0.05)) 12 | (fp_line (start 1.65 -1.6) (end 1.65 1.6) (layer F.CrtYd) (width 0.05)) 13 | (fp_line (start 1.65 1.6) (end -1.65 1.6) (layer F.CrtYd) (width 0.05)) 14 | (fp_line (start -1.65 1.6) (end -1.65 -1.6) (layer F.CrtYd) (width 0.05)) 15 | (fp_line (start 1.29916 -0.65024) (end 1.2509 -0.65024) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start -1.49982 0.0508) (end -1.49982 -0.65024) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start -1.49982 -0.65024) (end -1.2509 -0.65024) (layer F.SilkS) (width 0.15)) 18 | (fp_line (start 1.29916 -0.65024) (end 1.49982 -0.65024) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start 1.49982 -0.65024) (end 1.49982 0.0508) (layer F.SilkS) (width 0.15)) 20 | (pad 2 smd rect (at -0.95 1.00076) (size 0.8001 0.8001) (layers F.Cu F.Paste F.Mask)) 21 | (pad 1 smd rect (at 0.95 1.00076) (size 0.8001 0.8001) (layers F.Cu F.Paste F.Mask)) 22 | (pad 3 smd rect (at 0 -0.99822) (size 0.8001 0.8001) (layers F.Cu F.Paste F.Mask)) 23 | (model Housings_SOT-23_SOT-143_TSOT-6.3dshapes/SOT-23.wrl 24 | (at (xyz 0 0 0)) 25 | (scale (xyz 1 1 1)) 26 | (rotate (xyz 0 0 0)) 27 | ) 28 | ) 29 | -------------------------------------------------------------------------------- /Board/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name Parts)(type KiCad)(uri "$(KIPRJMOD)\\Parts.pretty")(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /Case/Base Spacer.scad: -------------------------------------------------------------------------------- 1 | $fn = 30; 2 | // 5.02 wide 3 | module standoff() 4 | { 5 | //hexagon(5.02/2); 6 | circle(3.2/2, $fn = 30); 7 | } 8 | module hexagon(length) { width = 2 * length * tan(30); union() { square(size = [ length * 2, width ], center = true); rotate(a = [ 0, 0, 60 ]) { square(size = [ length * 2, width ], center = true); } rotate(a = [ 0, 0, -60 ]) { square(size = [ length * 2, width ], center = true); } } } 9 | 10 | module baseSpacer() { 11 | difference() 12 | { 13 | hull() 14 | { 15 | translate([-35+4,-43/2+4]) circle(4); 16 | translate([35-4,-43/2+4]) circle(4); 17 | translate([-35+4,43/2-4]) circle(4); 18 | translate([35-4,43/2-4]) circle(4); 19 | } 20 | translate([31, 43/2-4]) rotate([0,0,-15]) standoff(); 21 | translate([31, -43/2+4]) rotate([0,0,15]) standoff(); 22 | translate([-31, 43/2-4]) rotate([0,0,15]) standoff(); 23 | translate([-31, -43/2+4]) rotate([0,0,-15]) standoff(); 24 | square([70-6, 43-16], true); 25 | square([70-16, 43-6], true); 26 | 27 | } 28 | } 29 | baseSpacer(); -------------------------------------------------------------------------------- /Case/Base.scad: -------------------------------------------------------------------------------- 1 | $fn = 30; 2 | // 5.02 wide 3 | module standoff() 4 | { 5 | //hexagon(5.02/2); 6 | circle(3.2/2, $fn = 30); 7 | } 8 | module hexagon(length) { width = 2 * length * tan(30); union() { square(size = [ length * 2, width ], center = true); rotate(a = [ 0, 0, 60 ]) { square(size = [ length * 2, width ], center = true); } rotate(a = [ 0, 0, -60 ]) { square(size = [ length * 2, width ], center = true); } } } 9 | 10 | module base() 11 | { 12 | difference() 13 | { 14 | hull() 15 | { 16 | translate([-35+4,-43/2+4]) circle(4); 17 | translate([35-4,-43/2+4]) circle(4); 18 | translate([-35+4,43/2-4]) circle(4); 19 | translate([35-4,43/2-4]) circle(4); 20 | } 21 | translate([31, 43/2-4]) rotate([0,0,-15]) standoff(); 22 | translate([31, -43/2+4]) rotate([0,0,15]) standoff(); 23 | translate([-31, 43/2-4]) rotate([0,0,15]) standoff(); 24 | translate([-31, -43/2+4]) rotate([0,0,-15]) standoff(); 25 | 26 | 27 | } 28 | 29 | } -------------------------------------------------------------------------------- /Case/Clear Thin Spacer.scad: -------------------------------------------------------------------------------- 1 | // 5.02 wide 2 | $fn = 30; 3 | module standoff() 4 | { 5 | //hexagon(5.02/2); 6 | circle(3.2/2, $fn = 30); 7 | } 8 | module hexagon(length) { width = 2 * length * tan(30); union() { square(size = [ length * 2, width ], center = true); rotate(a = [ 0, 0, 60 ]) { square(size = [ length * 2, width ], center = true); } rotate(a = [ 0, 0, -60 ]) { square(size = [ length * 2, width ], center = true); } } } 9 | 10 | module clearThinSpacer() 11 | { 12 | difference() 13 | { 14 | hull() 15 | { 16 | translate([-35+4,-43/2+4]) circle(4); 17 | translate([35-4,-43/2+4]) circle(4); 18 | translate([-35+4,43/2-4]) circle(4); 19 | translate([35-4,43/2-4]) circle(4); 20 | } 21 | translate([31, 43/2-4]) rotate([0,0,-15]) standoff(); 22 | translate([31, -43/2+4]) rotate([0,0,15]) standoff(); 23 | translate([-31, 43/2-4]) rotate([0,0,15]) standoff(); 24 | translate([-31, -43/2+4]) rotate([0,0,-15]) standoff(); 25 | square([70-6, 43-16], true); 26 | square([70-16, 43-6], true); 27 | 28 | translate([25-.5,-11.5+.5]) rotate([0,0,45]) square(10, true); 29 | translate([-31,0]) square(16.5, true); 30 | } 31 | 32 | } 33 | clearThinSpacer(); -------------------------------------------------------------------------------- /Case/Compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Compressed.png -------------------------------------------------------------------------------- /Case/Exploded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Exploded.png -------------------------------------------------------------------------------- /Case/Files for Ponoko/Black Acrylic.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Files for Ponoko/Black Acrylic.cdr -------------------------------------------------------------------------------- /Case/Files for Ponoko/Black Acrylic.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Files for Ponoko/Black Acrylic.eps -------------------------------------------------------------------------------- /Case/Files for Ponoko/Clear Thin Spacer.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Files for Ponoko/Clear Thin Spacer.cdr -------------------------------------------------------------------------------- /Case/Files for Ponoko/Clear Thin Spacer.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Files for Ponoko/Clear Thin Spacer.eps -------------------------------------------------------------------------------- /Case/Files for Ponoko/Lids.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Files for Ponoko/Lids.cdr -------------------------------------------------------------------------------- /Case/Files for Ponoko/Lids.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Files for Ponoko/Lids.eps -------------------------------------------------------------------------------- /Case/Hex Spacer.dxf: -------------------------------------------------------------------------------- 1 | 0 2 | SECTION 3 | 2 4 | BLOCKS 5 | 0 6 | ENDSEC 7 | 0 8 | SECTION 9 | 2 10 | ENTITIES 11 | 0 12 | LINE 13 | 8 14 | 0 15 | 10 16 | -35 17 | 11 18 | -35 19 | 20 20 | -17.5 21 | 21 22 | -8.25 23 | 0 24 | LINE 25 | 8 26 | 0 27 | 10 28 | -35 29 | 11 30 | -32 31 | 20 32 | -8.25 33 | 21 34 | -8.25 35 | 0 36 | LINE 37 | 8 38 | 0 39 | 10 40 | -32 41 | 11 42 | -32 43 | 20 44 | -8.25 45 | 21 46 | -13.5 47 | 0 48 | LINE 49 | 8 50 | 0 51 | 10 52 | -32 53 | 11 54 | -27 55 | 20 56 | -13.5 57 | 21 58 | -13.5 59 | 0 60 | LINE 61 | 8 62 | 0 63 | 10 64 | -27 65 | 11 66 | -27 67 | 20 68 | -13.5 69 | 21 70 | -18.5 71 | 0 72 | LINE 73 | 8 74 | 0 75 | 10 76 | -27 77 | 11 78 | 27 79 | 20 80 | -18.5 81 | 21 82 | -18.5 83 | 0 84 | LINE 85 | 8 86 | 0 87 | 10 88 | 27 89 | 11 90 | 27 91 | 20 92 | -18.5 93 | 21 94 | -15.571 95 | 0 96 | LINE 97 | 8 98 | 0 99 | 10 100 | 27 101 | 11 102 | 29.071 103 | 20 104 | -15.571 105 | 21 106 | -13.5 107 | 0 108 | LINE 109 | 8 110 | 0 111 | 10 112 | 29.071 113 | 11 114 | 32 115 | 20 116 | -13.5 117 | 21 118 | -13.5 119 | 0 120 | LINE 121 | 8 122 | 0 123 | 10 124 | 32 125 | 11 126 | 32 127 | 20 128 | -13.5 129 | 21 130 | 13.5 131 | 0 132 | LINE 133 | 8 134 | 0 135 | 10 136 | 32 137 | 11 138 | 27 139 | 20 140 | 13.5 141 | 21 142 | 13.5 143 | 0 144 | LINE 145 | 8 146 | 0 147 | 10 148 | 27 149 | 11 150 | 27 151 | 20 152 | 13.5 153 | 21 154 | 18.5 155 | 0 156 | LINE 157 | 8 158 | 0 159 | 10 160 | 27 161 | 11 162 | -27 163 | 20 164 | 18.5 165 | 21 166 | 18.5 167 | 0 168 | LINE 169 | 8 170 | 0 171 | 10 172 | -27 173 | 11 174 | -27 175 | 20 176 | 18.5 177 | 21 178 | 13.5 179 | 0 180 | LINE 181 | 8 182 | 0 183 | 10 184 | -27 185 | 11 186 | -32 187 | 20 188 | 13.5 189 | 21 190 | 13.5 191 | 0 192 | LINE 193 | 8 194 | 0 195 | 10 196 | -32 197 | 11 198 | -32 199 | 20 200 | 13.5 201 | 21 202 | 8.25 203 | 0 204 | LINE 205 | 8 206 | 0 207 | 10 208 | -32 209 | 11 210 | -35 211 | 20 212 | 8.25 213 | 21 214 | 8.25 215 | 0 216 | LINE 217 | 8 218 | 0 219 | 10 220 | -35 221 | 11 222 | -35 223 | 20 224 | 8.25 225 | 21 226 | 17.5 227 | 0 228 | LINE 229 | 8 230 | 0 231 | 10 232 | -35 233 | 11 234 | -34.913 235 | 20 236 | 17.5 237 | 21 238 | 18.332 239 | 0 240 | LINE 241 | 8 242 | 0 243 | 10 244 | -34.913 245 | 11 246 | -34.654 247 | 20 248 | 18.332 249 | 21 250 | 19.127 251 | 0 252 | LINE 253 | 8 254 | 0 255 | 10 256 | -34.654 257 | 11 258 | -34.236 259 | 20 260 | 19.127 261 | 21 262 | 19.851 263 | 0 264 | LINE 265 | 8 266 | 0 267 | 10 268 | -34.236 269 | 11 270 | -33.677 271 | 20 272 | 19.851 273 | 21 274 | 20.473 275 | 0 276 | LINE 277 | 8 278 | 0 279 | 10 280 | -33.677 281 | 11 282 | -33 283 | 20 284 | 20.473 285 | 21 286 | 20.964 287 | 0 288 | LINE 289 | 8 290 | 0 291 | 10 292 | -33 293 | 11 294 | -32.236 295 | 20 296 | 20.964 297 | 21 298 | 21.304 299 | 0 300 | LINE 301 | 8 302 | 0 303 | 10 304 | -32.236 305 | 11 306 | -31.418 307 | 20 308 | 21.304 309 | 21 310 | 21.478 311 | 0 312 | LINE 313 | 8 314 | 0 315 | 10 316 | -31.418 317 | 11 318 | 31.418 319 | 20 320 | 21.478 321 | 21 322 | 21.478 323 | 0 324 | LINE 325 | 8 326 | 0 327 | 10 328 | 31.418 329 | 11 330 | 32.236 331 | 20 332 | 21.478 333 | 21 334 | 21.304 335 | 0 336 | LINE 337 | 8 338 | 0 339 | 10 340 | 32.236 341 | 11 342 | 33 343 | 20 344 | 21.304 345 | 21 346 | 20.964 347 | 0 348 | LINE 349 | 8 350 | 0 351 | 10 352 | 33 353 | 11 354 | 33.677 355 | 20 356 | 20.964 357 | 21 358 | 20.473 359 | 0 360 | LINE 361 | 8 362 | 0 363 | 10 364 | 33.677 365 | 11 366 | 34.236 367 | 20 368 | 20.473 369 | 21 370 | 19.851 371 | 0 372 | LINE 373 | 8 374 | 0 375 | 10 376 | 34.236 377 | 11 378 | 34.654 379 | 20 380 | 19.851 381 | 21 382 | 19.127 383 | 0 384 | LINE 385 | 8 386 | 0 387 | 10 388 | 34.654 389 | 11 390 | 34.913 391 | 20 392 | 19.127 393 | 21 394 | 18.332 395 | 0 396 | LINE 397 | 8 398 | 0 399 | 10 400 | 34.913 401 | 11 402 | 35 403 | 20 404 | 18.332 405 | 21 406 | 17.5 407 | 0 408 | LINE 409 | 8 410 | 0 411 | 10 412 | 35 413 | 11 414 | 35 415 | 20 416 | 17.5 417 | 21 418 | -17.5 419 | 0 420 | LINE 421 | 8 422 | 0 423 | 10 424 | 35 425 | 11 426 | 34.913 427 | 20 428 | -17.5 429 | 21 430 | -18.332 431 | 0 432 | LINE 433 | 8 434 | 0 435 | 10 436 | 34.913 437 | 11 438 | 34.654 439 | 20 440 | -18.332 441 | 21 442 | -19.127 443 | 0 444 | LINE 445 | 8 446 | 0 447 | 10 448 | 34.654 449 | 11 450 | 34.236 451 | 20 452 | -19.127 453 | 21 454 | -19.851 455 | 0 456 | LINE 457 | 8 458 | 0 459 | 10 460 | 34.236 461 | 11 462 | 33.677 463 | 20 464 | -19.851 465 | 21 466 | -20.473 467 | 0 468 | LINE 469 | 8 470 | 0 471 | 10 472 | 33.677 473 | 11 474 | 33 475 | 20 476 | -20.473 477 | 21 478 | -20.964 479 | 0 480 | LINE 481 | 8 482 | 0 483 | 10 484 | 33 485 | 11 486 | 32.236 487 | 20 488 | -20.964 489 | 21 490 | -21.304 491 | 0 492 | LINE 493 | 8 494 | 0 495 | 10 496 | 32.236 497 | 11 498 | 31.418 499 | 20 500 | -21.304 501 | 21 502 | -21.478 503 | 0 504 | LINE 505 | 8 506 | 0 507 | 10 508 | 31.418 509 | 11 510 | -31.418 511 | 20 512 | -21.478 513 | 21 514 | -21.478 515 | 0 516 | LINE 517 | 8 518 | 0 519 | 10 520 | -31.418 521 | 11 522 | -32.236 523 | 20 524 | -21.478 525 | 21 526 | -21.304 527 | 0 528 | LINE 529 | 8 530 | 0 531 | 10 532 | -32.236 533 | 11 534 | -33 535 | 20 536 | -21.304 537 | 21 538 | -20.964 539 | 0 540 | LINE 541 | 8 542 | 0 543 | 10 544 | -33 545 | 11 546 | -33.677 547 | 20 548 | -20.964 549 | 21 550 | -20.473 551 | 0 552 | LINE 553 | 8 554 | 0 555 | 10 556 | -33.677 557 | 11 558 | -34.236 559 | 20 560 | -20.473 561 | 21 562 | -19.851 563 | 0 564 | LINE 565 | 8 566 | 0 567 | 10 568 | -34.236 569 | 11 570 | -34.654 571 | 20 572 | -19.851 573 | 21 574 | -19.127 575 | 0 576 | LINE 577 | 8 578 | 0 579 | 10 580 | -34.654 581 | 11 582 | -34.913 583 | 20 584 | -19.127 585 | 21 586 | -18.332 587 | 0 588 | LINE 589 | 8 590 | 0 591 | 10 592 | -34.913 593 | 11 594 | -35 595 | 20 596 | -18.332 597 | 21 598 | -17.5 599 | 0 600 | LINE 601 | 8 602 | 0 603 | 10 604 | -33.8 605 | 11 606 | -33.049 607 | 20 608 | -18.25 609 | 21 610 | -15.451 611 | 0 612 | LINE 613 | 8 614 | 0 615 | 10 616 | -33.049 617 | 11 618 | -30.25 619 | 20 620 | -15.451 621 | 21 622 | -14.701 623 | 0 624 | LINE 625 | 8 626 | 0 627 | 10 628 | -30.25 629 | 11 630 | -28.2 631 | 20 632 | -14.701 633 | 21 634 | -16.75 635 | 0 636 | LINE 637 | 8 638 | 0 639 | 10 640 | -28.2 641 | 11 642 | -28.951 643 | 20 644 | -16.75 645 | 21 646 | -19.549 647 | 0 648 | LINE 649 | 8 650 | 0 651 | 10 652 | -28.951 653 | 11 654 | -31.75 655 | 20 656 | -19.549 657 | 21 658 | -20.299 659 | 0 660 | LINE 661 | 8 662 | 0 663 | 10 664 | -31.75 665 | 11 666 | -33.8 667 | 20 668 | -20.299 669 | 21 670 | -18.25 671 | 0 672 | LINE 673 | 8 674 | 0 675 | 10 676 | -33.8 677 | 11 678 | -31.75 679 | 20 680 | 18.25 681 | 21 682 | 20.299 683 | 0 684 | LINE 685 | 8 686 | 0 687 | 10 688 | -31.75 689 | 11 690 | -28.951 691 | 20 692 | 20.299 693 | 21 694 | 19.549 695 | 0 696 | LINE 697 | 8 698 | 0 699 | 10 700 | -28.951 701 | 11 702 | -28.2 703 | 20 704 | 19.549 705 | 21 706 | 16.75 707 | 0 708 | LINE 709 | 8 710 | 0 711 | 10 712 | -28.2 713 | 11 714 | -30.25 715 | 20 716 | 16.75 717 | 21 718 | 14.701 719 | 0 720 | LINE 721 | 8 722 | 0 723 | 10 724 | -30.25 725 | 11 726 | -33.049 727 | 20 728 | 14.701 729 | 21 730 | 15.451 731 | 0 732 | LINE 733 | 8 734 | 0 735 | 10 736 | -33.049 737 | 11 738 | -33.8 739 | 20 740 | 15.451 741 | 21 742 | 18.25 743 | 0 744 | LINE 745 | 8 746 | 0 747 | 10 748 | 28.2 749 | 11 750 | 30.25 751 | 20 752 | -16.75 753 | 21 754 | -14.701 755 | 0 756 | LINE 757 | 8 758 | 0 759 | 10 760 | 30.25 761 | 11 762 | 33.049 763 | 20 764 | -14.701 765 | 21 766 | -15.451 767 | 0 768 | LINE 769 | 8 770 | 0 771 | 10 772 | 33.049 773 | 11 774 | 33.8 775 | 20 776 | -15.451 777 | 21 778 | -18.25 779 | 0 780 | LINE 781 | 8 782 | 0 783 | 10 784 | 33.8 785 | 11 786 | 31.75 787 | 20 788 | -18.25 789 | 21 790 | -20.299 791 | 0 792 | LINE 793 | 8 794 | 0 795 | 10 796 | 31.75 797 | 11 798 | 28.951 799 | 20 800 | -20.299 801 | 21 802 | -19.549 803 | 0 804 | LINE 805 | 8 806 | 0 807 | 10 808 | 28.951 809 | 11 810 | 28.2 811 | 20 812 | -19.549 813 | 21 814 | -16.75 815 | 0 816 | LINE 817 | 8 818 | 0 819 | 10 820 | 28.2 821 | 11 822 | 28.951 823 | 20 824 | 16.75 825 | 21 826 | 19.549 827 | 0 828 | LINE 829 | 8 830 | 0 831 | 10 832 | 28.951 833 | 11 834 | 31.75 835 | 20 836 | 19.549 837 | 21 838 | 20.299 839 | 0 840 | LINE 841 | 8 842 | 0 843 | 10 844 | 31.75 845 | 11 846 | 33.8 847 | 20 848 | 20.299 849 | 21 850 | 18.25 851 | 0 852 | LINE 853 | 8 854 | 0 855 | 10 856 | 33.8 857 | 11 858 | 33.049 859 | 20 860 | 18.25 861 | 21 862 | 15.451 863 | 0 864 | LINE 865 | 8 866 | 0 867 | 10 868 | 33.049 869 | 11 870 | 30.25 871 | 20 872 | 15.451 873 | 21 874 | 14.701 875 | 0 876 | LINE 877 | 8 878 | 0 879 | 10 880 | 30.25 881 | 11 882 | 28.2 883 | 20 884 | 14.701 885 | 21 886 | 16.75 887 | 0 888 | ENDSEC 889 | 0 890 | SECTION 891 | 2 892 | OBJECTS 893 | 0 894 | DICTIONARY 895 | 0 896 | ENDSEC 897 | 0 898 | EOF 899 | -------------------------------------------------------------------------------- /Case/Hex Spacer.scad: -------------------------------------------------------------------------------- 1 | // 5.02 wide 2 | $fn = 30; 3 | module standoff() 4 | { 5 | hexagon(5.02/2); 6 | circle(3.2/2, $fn = 30); 7 | } 8 | module hexagon(length) { width = 2 * length * tan(30); union() { square(size = [ length * 2, width ], center = true); rotate(a = [ 0, 0, 60 ]) { square(size = [ length * 2, width ], center = true); } rotate(a = [ 0, 0, -60 ]) { square(size = [ length * 2, width ], center = true); } } } 9 | 10 | module hexSpacer() 11 | { 12 | difference() 13 | { 14 | hull() 15 | { 16 | translate([-35+4,-43/2+4]) circle(4); 17 | translate([35-4,-43/2+4]) circle(4); 18 | translate([-35+4,43/2-4]) circle(4); 19 | translate([35-4,43/2-4]) circle(4); 20 | } 21 | translate([31, 43/2-4]) rotate([0,0,-15]) standoff(); 22 | translate([31, -43/2+4]) rotate([0,0,15]) standoff(); 23 | translate([-31, 43/2-4]) rotate([0,0,15]) standoff(); 24 | translate([-31, -43/2+4]) rotate([0,0,-15]) standoff(); 25 | square([70-6, 43-16], true); 26 | square([70-16, 43-6], true); 27 | 28 | translate([25-.5,-11.5+.5]) rotate([0,0,45]) square(10, true); 29 | translate([-31,0]) square(16.5, true); 30 | } 31 | 32 | } 33 | hexSpacer(); -------------------------------------------------------------------------------- /Case/README.md: -------------------------------------------------------------------------------- 1 | # ESPLux Case 2 | 3 | I'm probably getting a bit ahead of myself here. I have created a case for the final board to (hopefully) fit in. This is designed to work with the [Sick of Beige](http://dangerousprototypes.com/docs/Sick_of_Beige_standard_PCB_sizes_v1.0) DP7043 spec. 4 | 5 | If it all doesn't fit, its OpenSCAD. I'll just change the numbers and make it one of the bigger sizes. 6 | 7 | The plan is to cut out each of the layers on my laser cutter (hence the CDR file there for the text) 8 | -------------------------------------------------------------------------------- /Case/Screw Terminal Lid.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Screw Terminal Lid.cdr -------------------------------------------------------------------------------- /Case/Screw Terminal Lid.scad: -------------------------------------------------------------------------------- 1 | $fn = 30; 2 | // 5.02 wide 3 | module standoff() 4 | { 5 | //hexagon(5.02/2); 6 | circle(3.2/2, $fn = 30); 7 | } 8 | module hexagon(length) { width = 2 * length * tan(30); union() { square(size = [ length * 2, width ], center = true); rotate(a = [ 0, 0, 60 ]) { square(size = [ length * 2, width ], center = true); } rotate(a = [ 0, 0, -60 ]) { square(size = [ length * 2, width ], center = true); } } } 9 | 10 | module screwTerminalLid() 11 | { 12 | difference() 13 | { 14 | hull() 15 | { 16 | translate([-35+4,-43/2+4]) circle(4); 17 | translate([35-4,-43/2+4]) circle(4); 18 | translate([-35+4,43/2-4]) circle(4); 19 | translate([35-4,43/2-4]) circle(4); 20 | } 21 | translate([31, 43/2-4]) rotate([0,0,-15]) standoff(); 22 | translate([31, -43/2+4]) rotate([0,0,15]) standoff(); 23 | translate([-31, 43/2-4]) rotate([0,0,15]) standoff(); 24 | translate([-31, -43/2+4]) rotate([0,0,-15]) standoff(); 25 | 26 | translate([-31,3.51/2]) circle(3/2, $fn = 30); 27 | translate([-31,-3.51/2]) circle(3/2, $fn = 30); 28 | translate([-31,3.51+3.51/2]) circle(3/2, $fn = 30); 29 | translate([-31,-3.51-3.51/2]) circle(3/2, $fn = 30); 30 | 31 | } 32 | 33 | } 34 | screwTerminalLid(); 35 | -------------------------------------------------------------------------------- /Case/Screw Terminal Spacer.scad: -------------------------------------------------------------------------------- 1 | $fn = 30; 2 | // 5.02 wide 3 | module standoff() 4 | { 5 | //hexagon(5.02/2); 6 | circle(3.2/2, $fn = 30); 7 | } 8 | module hexagon(length) { width = 2 * length * tan(30); union() { square(size = [ length * 2, width ], center = true); rotate(a = [ 0, 0, 60 ]) { square(size = [ length * 2, width ], center = true); } rotate(a = [ 0, 0, -60 ]) { square(size = [ length * 2, width ], center = true); } } } 9 | 10 | module screwTerminalSpacer() 11 | { 12 | difference() 13 | { 14 | hull() 15 | { 16 | translate([-35+4,-43/2+4]) circle(4); 17 | translate([35-4,-43/2+4]) circle(4); 18 | translate([-35+4,43/2-4]) circle(4); 19 | translate([35-4,43/2-4]) circle(4); 20 | } 21 | translate([31, 43/2-4]) rotate([0,0,-15]) standoff(); 22 | translate([31, -43/2+4]) rotate([0,0,15]) standoff(); 23 | translate([-31, 43/2-4]) rotate([0,0,15]) standoff(); 24 | translate([-31, -43/2+4]) rotate([0,0,-15]) standoff(); 25 | square([70-6, 43-16], true); 26 | square([70-16, 43-6], true); 27 | 28 | translate([-31,3.51/2+.5]) circle(3.2/2, $fn = 30); 29 | translate([-31,-3.51/2-.5]) circle(3.2/2, $fn = 30); 30 | translate([-31,3.51+3.51/2+.5]) circle(3.2/2, $fn = 30); 31 | translate([-31,-3.51-3.51/2-.5]) circle(3.2/2, $fn = 30); 32 | 33 | translate([25-.5,-11.5+.5]) rotate([0,0,45]) square(10, true); 34 | } 35 | 36 | } 37 | screwTerminalSpacer(); -------------------------------------------------------------------------------- /Case/Visualisation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Case/Visualisation.png -------------------------------------------------------------------------------- /Case/Visualisation.scad: -------------------------------------------------------------------------------- 1 | use 2 | use 3 | use 4 | use 5 | use 6 | use 7 | explosition = 1.7; 8 | 9 | 10 | color( [0.2,0.2,0.6,.1] ) linear_extrude(2) base(); // Base 11 | translate([0,0,(2)*explosition]) color( [0.2,0.2,0.2,1] ) linear_extrude(4.5) baseSpacer(); // One Spacer 12 | translate([0,0,(2+4.5)*explosition]) color( "purple" ) linear_extrude(1.6) base(); // PCB 13 | translate([0,0,(2+4.5+1.6)*explosition]) color( [1,1,.51,.1] ) linear_extrude(3) clearThinSpacer(); 14 | translate([0,0,(2+4.5+1.6+3)*explosition]) color( [0.2,0.2,0.2,1] ) linear_extrude(4.5) hexSpacer(); 15 | translate([0,0,(2+4.5+1.6+3+4.5)*explosition]) color( [0.2,0.2,0.2,1] ) linear_extrude(4.5) hexSpacer(); 16 | translate([0,0,(2+4.5+1.6+3+4.5+4.5)*explosition]) color( [0.2,0.2,0.2,1] ) linear_extrude(4.5) screwTerminalSpacer(); 17 | translate([0,0,(2+4.5+1.6+3+4.5+4.5+4.5)*explosition]) color( [0.2,0.2,0.2,1] ) linear_extrude(4.5) screwTerminalSpacer(); 18 | translate([0,0,(2+4.5+1.6+3+4.5+4.5+4.5+4.5)*explosition]) color( [0.2,0.2,0.6,.15] ) linear_extrude(2) screwTerminalLid(); 19 | 20 | -------------------------------------------------------------------------------- /Documentation/API Commands.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/API Commands.docx -------------------------------------------------------------------------------- /Documentation/API Commands.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/API Commands.pdf -------------------------------------------------------------------------------- /Documentation/Best Product/HAD Best Product information sheet.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/Best Product/HAD Best Product information sheet.docx -------------------------------------------------------------------------------- /Documentation/Best Product/Parts Box.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/Best Product/Parts Box.docx -------------------------------------------------------------------------------- /Documentation/Best Product/Parts Box.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/Best Product/Parts Box.pdf -------------------------------------------------------------------------------- /Documentation/Best Product/Power Supplies.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/Best Product/Power Supplies.docx -------------------------------------------------------------------------------- /Documentation/Best Product/Power Supplies.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/Best Product/Power Supplies.pdf -------------------------------------------------------------------------------- /Documentation/Getting Started.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/Getting Started.docx -------------------------------------------------------------------------------- /Documentation/Getting Started.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/Getting Started.pdf -------------------------------------------------------------------------------- /Documentation/README.md: -------------------------------------------------------------------------------- 1 | Thank you for trying out ESPLux! 2 | 3 | Please check out the word/pdf document above for a getting started guide. More information will be populated here as it becomes available. 4 | 5 | For a list of commands please see the API Commands document. -------------------------------------------------------------------------------- /Documentation/System Design Diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Documentation/System Design Diagram.png -------------------------------------------------------------------------------- /ESPlorer/README.md: -------------------------------------------------------------------------------- 1 | Download from: [http://esp8266.ru/esplorer/](http://esp8266.ru/esplorer/) -------------------------------------------------------------------------------- /Firmware/ACOn.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /Firmware/Debug Files/ESPLux.lua: -------------------------------------------------------------------------------- 1 | local function sendHeader(connection) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | 4 | end 5 | 6 | local function sendAttr(connection, attr, val) 7 | connection:send('"'.. attr .. '": "' .. val .. '",\n') 8 | end 9 | 10 | return function (connection, args) 11 | collectgarbage() 12 | sendHeader(connection) 13 | connection:send('{') 14 | majorVer, minorVer, devVer, chipid, flashid, flashsize, flashmode, flashspeed = node.info(); 15 | sendAttr(connection, "majorVer" , majorVer) 16 | sendAttr(connection, "devVer" , devVer) 17 | sendAttr(connection, "chipid" , chipid) 18 | sendAttr(connection, "flashid" , flashid) 19 | sendAttr(connection, "flashsize" , flashsize) 20 | sendAttr(connection, "flashmode" , flashmode) 21 | sendAttr(connection, "flashspeed" , flashspeed) 22 | sendAttr(connection, "node.heap" , node.heap()) 23 | sendAttr(connection, 'Memory in use' , collectgarbage("count")) 24 | sendAttr(connection, 'IP address' , wifi.sta.getip()) 25 | sendAttr(connection, 'MAC address' , wifi.sta.getmac()) 26 | connection:send('"ESPLux": "v0.1"') 27 | connection:send('}') 28 | end -------------------------------------------------------------------------------- /Firmware/Debug Files/RenameHttpFiles.lua: -------------------------------------------------------------------------------- 1 | 2 | file.rename("getState.lua","http/getState.lua") 3 | 4 | 5 | 6 | 7 | file.rename("index.html","http/index.html") 8 | 9 | 10 | 11 | 12 | file.rename("setACOn.lua","http/setACOn.lua") 13 | 14 | 15 | 16 | 17 | file.rename("setDim.lua","http/setDim.lua") 18 | 19 | 20 | 21 | 22 | file.rename("setIndicator.lua","http/setIndicator.lua") 23 | 24 | 25 | 26 | 27 | file.rename("setIP.lua","http/setIP.lua") 28 | 29 | 30 | 31 | 32 | file.rename("setLights.lua","http/setLights.lua") 33 | 34 | 35 | 36 | 37 | file.rename("setName.lua","http/setName.lua") 38 | 39 | 40 | 41 | 42 | file.rename("setWifi.lua","http/setWifi.lua") -------------------------------------------------------------------------------- /Firmware/Dim.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /Firmware/LightName.txt: -------------------------------------------------------------------------------- 1 | ESPLux -------------------------------------------------------------------------------- /Firmware/Net.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 192.168.1.200 3 | 255.255.255.0 4 | 192.168.1.1 -------------------------------------------------------------------------------- /Firmware/PreviousLevel.txt: -------------------------------------------------------------------------------- 1 | 1023 -------------------------------------------------------------------------------- /Firmware/Seed.txt: -------------------------------------------------------------------------------- 1 | 9 -------------------------------------------------------------------------------- /Firmware/http/Debug Files/ESPLux.lua: -------------------------------------------------------------------------------- 1 | local function sendHeader(connection) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | 4 | end 5 | 6 | local function sendAttr(connection, attr, val) 7 | connection:send('"'.. attr .. '": "' .. val .. '",\n') 8 | end 9 | 10 | return function (connection, args) 11 | collectgarbage() 12 | sendHeader(connection) 13 | connection:send('{') 14 | majorVer, minorVer, devVer, chipid, flashid, flashsize, flashmode, flashspeed = node.info(); 15 | sendAttr(connection, "majorVer" , majorVer) 16 | sendAttr(connection, "devVer" , devVer) 17 | sendAttr(connection, "chipid" , chipid) 18 | sendAttr(connection, "flashid" , flashid) 19 | sendAttr(connection, "flashsize" , flashsize) 20 | sendAttr(connection, "flashmode" , flashmode) 21 | sendAttr(connection, "flashspeed" , flashspeed) 22 | sendAttr(connection, "node.heap" , node.heap()) 23 | sendAttr(connection, 'Memory in use' , collectgarbage("count")) 24 | sendAttr(connection, 'IP address' , wifi.sta.getip()) 25 | sendAttr(connection, 'MAC address' , wifi.sta.getmac()) 26 | connection:send('"ESPLux": "v0.1"') 27 | connection:send('}') 28 | end -------------------------------------------------------------------------------- /Firmware/http/Debug Files/getACOn.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("ACOn.txt", "r") 4 | connection:send(file.readline()) 5 | file.close() 6 | end -------------------------------------------------------------------------------- /Firmware/http/Debug Files/getDim.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("Dim.txt", "r") 4 | connection:send(file.readline()) 5 | file.close() 6 | end -------------------------------------------------------------------------------- /Firmware/http/Debug Files/getIP.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | 4 | file.open("Net.txt", "r") 5 | 6 | connection:send(file.readline()) 7 | connection:send(file.readline()) 8 | connection:send(file.readline()) 9 | connection:send(file.readline()) 10 | file.close() 11 | end -------------------------------------------------------------------------------- /Firmware/http/Debug Files/getName.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("LightName.txt", "r") 4 | connection:send(file.readline()) 5 | file.close() 6 | end -------------------------------------------------------------------------------- /Firmware/http/Debug Files/getPreviousLevel.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("PreviousLevel.txt", "r") 4 | connection:send(file.readline()) 5 | file.close() 6 | end -------------------------------------------------------------------------------- /Firmware/http/Debug Files/restart.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | node.restart() 4 | end -------------------------------------------------------------------------------- /Firmware/http/Debug Files/setLights2.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | gpio.mode(1,gpio.OUTPUT) 3 | pwm.setup(1,1000,1023) 4 | pwm.start(1) 5 | pwm.setduty(1,args.val) 6 | print(args.val) 7 | file.open("PreviousLevel.txt", "w+") 8 | file.write(args.val) 9 | file.close() 10 | 11 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 12 | connection:send('{ "Message": "Set light value" }') 13 | print('{ "Message": "Set light value" }') 14 | end -------------------------------------------------------------------------------- /Firmware/http/getState.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("ACOn.txt", "r") 4 | connection:send(file.readline()) 5 | connection:send("\n") 6 | file.close() 7 | file.open("Dim.txt", "r") 8 | connection:send(file.readline()) 9 | connection:send("\n") 10 | file.close() 11 | file.open("LightName.txt", "r") 12 | connection:send(file.readline()) 13 | connection:send("\n") 14 | file.close() 15 | file.open("PreviousLevel.txt", "r") 16 | connection:send(file.readline()) 17 | connection:send("\n") 18 | file.close() 19 | file.open("Net.txt", "r") 20 | connection:send(file.readline()) 21 | connection:send(file.readline()) 22 | connection:send(file.readline()) 23 | connection:send(file.readline()) 24 | file.close() 25 | end -------------------------------------------------------------------------------- /Firmware/http/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | ESPLux 4 | 5 | 6 | 175 | 176 | 177 |
178 |
179 | ESPLux 180 | Support 181 |
182 |
183 |
184 | Light Control - Unknown 185 |
186 |
187 |
188 |
189 |
190 | --% 191 |
192 |
193 |
194 | 195 | 196 |
197 |
198 |
199 |
200 |
201 | Settings 202 |
203 |
204 | There isn't much you need to do to your ESPLux, but here are a few options you might like to change from default. The indicator lights will switch back off each time you reset your ESPLux. 205 |
206 |
207 |
    208 |
  • Indicator lights
  • 209 |
  • Light is dimmable
  • 210 |
  • Set light to previous value when switch is flipped
  • 211 |
212 | 213 |
214 |
215 |
    216 | 217 |
  • Light Name: 218 |
  • 220 |
221 |
222 |
223 |
224 |
225 | Wi-Fi 226 |
227 |
228 |
    229 |
  • SSID: 230 | (Leave this field blank if you want to change your IP without affecting your Wi-Fi settings)
  • 231 |
  • Password:
  • 232 |
  • Set Static IP?
  • 233 |
  • IP Address:
  • 234 |
  • Subnet:
  • 235 |
  • Gateway:
  • 236 |
237 |
238 |
239 | 240 |
241 |
242 |
243 | 443 | 444 | 445 | -------------------------------------------------------------------------------- /Firmware/http/minify/index.html: -------------------------------------------------------------------------------- 1 | ESPLux
ESPLux Support
Light Control - Unknown
--%
Settings
There isn't much you need to do to your ESPLux, but here are a few options you might like to change from default. The indicator lights will switch back off each time you reset your ESPLux.
  • Indicator lights
  • Light is dimmable
  • Set light to previous value when switch is flipped
  • Light Name:
Wi-Fi
  • SSID: (Leave this field blank if you want to change your IP without affecting your Wi-Fi settings)
  • Password:
  • Set Static IP?
  • IP Address:
  • Subnet:
  • Gateway:
-------------------------------------------------------------------------------- /Firmware/http/setACOn.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("ACOn.txt", "w+") 4 | if args.val == "1" then file.write("1") 5 | elseif args.val == "0" then file.write("0") 6 | else 7 | file.write("1") 8 | end 9 | connection:send(args.val) 10 | file.close() 11 | end -------------------------------------------------------------------------------- /Firmware/http/setDim.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("Dim.txt", "w+") 4 | if args.val == "1" then file.write("1") 5 | elseif args.val == "0" then file.write("0") 6 | else 7 | file.write("1") 8 | end 9 | connection:send(args.val) 10 | file.close() 11 | end -------------------------------------------------------------------------------- /Firmware/http/setIP.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("Net.txt", "w+") 4 | file.writeline(args.static) 5 | file.writeline(args.ip) 6 | file.writeline(args.nm) 7 | file.writeline(args.gw) 8 | file.close() 9 | if args.static == "1" then 10 | wifi.sta.setip({ip=args.ip, netmask=args.nm, gateway=args.gw}) 11 | end 12 | end -------------------------------------------------------------------------------- /Firmware/http/setIndicator.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | pin=2 3 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 4 | 5 | if args.state == "on" then 6 | connection:send('{ "Message": "Indicator On" }') 7 | print('{ "Message": "Indicator On" }') 8 | gpio.mode(pin, gpio.OUTPUT) 9 | gpio.write(pin, gpio.HIGH) 10 | else 11 | connection:send('{ "Message": "Indicator Off" }') 12 | print('{ "Message": "Indicator Off" }') 13 | gpio.mode(pin, gpio.OUTPUT) 14 | gpio.write(pin, gpio.LOW) 15 | end 16 | end -------------------------------------------------------------------------------- /Firmware/http/setLights.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | pwm.setduty(1,args.val) 3 | 4 | file.open("PreviousLevel.txt", "w+") 5 | file.write(args.val) 6 | file.close() 7 | 8 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 9 | connection:send('{ "Message": "Set light value" }') 10 | print('{ "Message": "Set light value" }') 11 | end -------------------------------------------------------------------------------- /Firmware/http/setName.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("LightName.txt", "w+") 4 | file.write(args.val) 5 | connection:send(args.val) 6 | file.close() 7 | end -------------------------------------------------------------------------------- /Firmware/http/setWifi.lua: -------------------------------------------------------------------------------- 1 | return function (connection, args) 2 | connection:send("HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nCache-Control: private, no-store\r\n\r\n") 3 | file.open("Net.txt", "w+") 4 | file.writeline(args.static) 5 | file.writeline(args.ip) 6 | file.writeline(args.nm) 7 | file.writeline(args.gw) 8 | file.close() 9 | wifi.setmode(wifi.STATION) 10 | wifi.sta.config(args.s,args.p) 11 | if args.static == "1" then 12 | wifi.sta.setip({ip=args.ip, netmask=args.nm, gateway=args.gw}) 13 | end 14 | end -------------------------------------------------------------------------------- /Firmware/httpserver-error.lua: -------------------------------------------------------------------------------- 1 | -- httpserver-error.lua 2 | -- Part of nodemcu-httpserver, handles sending error pages to client. 3 | -- Author: Marcos Kirsch 4 | 5 | return function (connection, args) 6 | 7 | local function sendHeader(connection, code, errorString, mimeType) 8 | connection:send("HTTP/1.0 " .. code .. " " .. errorString .. "\r\nServer: nodemcu-httpserver\r\nContent-Type: " .. mimeType .. "\r\nConnection: close\r\n\r\n") 9 | end 10 | 11 | print("Error " .. args.code .. ": " .. args.errorString) 12 | sendHeader(connection, args.code, args.errorString, "text/html") 13 | connection:send("" .. args.code .. " - " .. args.errorString .. "

" .. args.code .. " - " .. args.errorString .. "

\r\n") 14 | end 15 | -------------------------------------------------------------------------------- /Firmware/httpserver-header.lua: -------------------------------------------------------------------------------- 1 | -- httpserver-header.lua 2 | -- Part of nodemcu-httpserver, knows how to send an HTTP header. 3 | -- Author: Marcos Kirsch 4 | 5 | return function (connection, code, extension) 6 | 7 | local function getHTTPStatusString(code) 8 | local codez = {[200]="OK", [400]="Bad Request", [404]="Not Found",} 9 | local myResult = codez[code] 10 | -- enforce returning valid http codes all the way throughout? 11 | if myResult then return myResult else return "Not Implemented" end 12 | end 13 | 14 | local function getMimeType(ext) 15 | local gzip = false 16 | -- A few MIME types. Keep list short. If you need something that is missing, let's add it. 17 | local mt = {css = "text/css", gif = "image/gif", html = "text/html", ico = "image/x-icon", jpeg = "image/jpeg", jpg = "image/jpeg", js = "application/javascript", json = "application/json", png = "image/png", xml = "text/xml"} 18 | -- add comressed flag if file ends with gz 19 | if ext:find("%.gz$") then 20 | ext = ext:sub(1, -4) 21 | gzip = true 22 | end 23 | if mt[ext] then contentType = mt[ext] else contentType = "text/plain" end 24 | return {contentType = contentType, gzip = gzip} 25 | end 26 | 27 | local mimeType = getMimeType(extension) 28 | 29 | connection:send("HTTP/1.0 " .. code .. " " .. getHTTPStatusString(code) .. "\r\nServer: nodemcu-httpserver\r\nContent-Type: " .. mimeType["contentType"] .. "\r\n") 30 | if mimeType["gzip"] then 31 | connection:send("Content-Encoding: gzip\r\n") 32 | end 33 | connection:send("Connection: close\r\n\r\n") 34 | end 35 | 36 | -------------------------------------------------------------------------------- /Firmware/httpserver-request.lua: -------------------------------------------------------------------------------- 1 | -- httpserver-request 2 | -- Part of nodemcu-httpserver, parses incoming client requests. 3 | -- Author: Marcos Kirsch 4 | 5 | local function validateMethod(method) 6 | local httpMethods = {GET=true, HEAD=true, POST=true, PUT=true, DELETE=true, TRACE=true, OPTIONS=true, CONNECT=true, PATCH=true} 7 | -- default for non-existent attributes returns nil, which evaluates to false 8 | return httpMethods[method] 9 | end 10 | 11 | local function uriToFilename(uri) 12 | return "http/" .. string.sub(uri, 2, -1) 13 | end 14 | 15 | local function parseArgs(args) 16 | local r = {}; i=1 17 | if args == nil or args == "" then return r end 18 | for arg in string.gmatch(args, "([^&]+)") do 19 | local name, value = string.match(arg, "(.*)=(.*)") 20 | if name ~= nil then r[name] = value end 21 | i = i + 1 22 | end 23 | return r 24 | end 25 | 26 | local function parseUri(uri) 27 | local r = {} 28 | local filename 29 | local ext 30 | local fullExt = {} 31 | 32 | if uri == nil then return r end 33 | if uri == "/" then uri = "/index.html" end 34 | questionMarkPos, b, c, d, e, f = uri:find("?") 35 | if questionMarkPos == nil then 36 | r.file = uri:sub(1, questionMarkPos) 37 | r.args = {} 38 | else 39 | r.file = uri:sub(1, questionMarkPos - 1) 40 | r.args = parseArgs(uri:sub(questionMarkPos+1, #uri)) 41 | end 42 | filename = r.file 43 | while filename:match("%.") do 44 | filename,ext = filename:match("(.+)%.(.+)") 45 | table.insert(fullExt,1,ext) 46 | end 47 | r.ext = table.concat(fullExt,".") 48 | r.isScript = r.ext == "lua" or r.ext == "lc" 49 | r.file = uriToFilename(r.file) 50 | return r 51 | end 52 | 53 | -- Parses the client's request. Returns a dictionary containing pretty much everything 54 | -- the server needs to know about the uri. 55 | return function (request) 56 | local e = request:find("\r\n", 1, true) 57 | if not e then return nil end 58 | local line = request:sub(1, e - 1) 59 | local r = {} 60 | _, i, r.method, r.request = line:find("^([A-Z]+) (.-) HTTP/[1-9]+.[0-9]+$") 61 | r.methodIsValid = validateMethod(r.method) 62 | r.uri = parseUri(r.request) 63 | return r 64 | end 65 | -------------------------------------------------------------------------------- /Firmware/httpserver-static.lua: -------------------------------------------------------------------------------- 1 | -- httpserver-static.lua 2 | -- Part of nodemcu-httpserver, handles sending static files to client. 3 | -- Author: Marcos Kirsch 4 | 5 | return function (connection, args) 6 | dofile("httpserver-header.lc")(connection, 200, args.ext) 7 | --print("Begin sending:", args.file) 8 | -- Send file in little chunks 9 | local continue = true 10 | local bytesSent = 0 11 | while continue do 12 | collectgarbage() 13 | -- NodeMCU file API lets you open 1 file at a time. 14 | -- So we need to open, seek, close each time in order 15 | -- to support multiple simultaneous clients. 16 | file.open(args.file) 17 | file.seek("set", bytesSent) 18 | local chunk = file.read(256) 19 | file.close() 20 | if chunk == nil then 21 | continue = false 22 | else 23 | coroutine.yield() 24 | connection:send(chunk) 25 | bytesSent = bytesSent + #chunk 26 | chunk = nil 27 | --print("Sent" .. args.file, bytesSent) 28 | end 29 | end 30 | --print("Finished sending:", args.file) 31 | end 32 | -------------------------------------------------------------------------------- /Firmware/httpserver.lua: -------------------------------------------------------------------------------- 1 | -- httpserver 2 | -- Author: Marcos Kirsch 3 | 4 | -- Starts web server in the specified port. 5 | return function (port) 6 | 7 | local s = net.createServer(net.TCP, 10) -- 10 seconds client timeout 8 | s:listen( 9 | port, 10 | function (connection) 11 | 12 | -- This variable holds the thread used for sending data back to the user. 13 | -- We do it in a separate thread because we need to yield when sending lots 14 | -- of data in order to avoid overflowing the mcu's buffer. 15 | local connectionThread 16 | 17 | local function onGet(connection, uri) 18 | collectgarbage() 19 | local fileServeFunction = nil 20 | if #(uri.file) > 32 then 21 | -- nodemcu-firmware cannot handle long filenames. 22 | uri.args = {code = 400, errorString = "Bad Request"} 23 | fileServeFunction = dofile("httpserver-error.lc") 24 | else 25 | local fileExists = file.open(uri.file, "r") 26 | file.close() 27 | if not fileExists then 28 | uri.args = {code = 404, errorString = "Not Found"} 29 | fileServeFunction = dofile("httpserver-error.lc") 30 | elseif uri.isScript then 31 | fileServeFunction = dofile(uri.file) 32 | else 33 | uri.args = {file = uri.file, ext = uri.ext} 34 | fileServeFunction = dofile("httpserver-static.lc") 35 | end 36 | end 37 | connectionThread = coroutine.create(fileServeFunction) 38 | coroutine.resume(connectionThread, connection, uri.args) 39 | end 40 | 41 | local function onReceive(connection, payload) 42 | collectgarbage() 43 | -- print(payload) -- for debugging 44 | -- parse payload and decide what to serve. 45 | local req = dofile("httpserver-request.lc")(payload) 46 | -- print("Requested URI: " .. req.request) -- uncomment this if you want to be spammed 47 | if req.methodIsValid and req.method == "GET" then 48 | onGet(connection, req.uri) 49 | else 50 | local args = {} 51 | local fileServeFunction = dofile("httpserver-error.lc") 52 | if req.methodIsValid then 53 | args = {code = 501, errorString = "Not Implemented"} 54 | else 55 | args = {code = 400, errorString = "Bad Request"} 56 | end 57 | connectionThread = coroutine.create(fileServeFunction) 58 | coroutine.resume(connectionThread, connection, args) 59 | end 60 | end 61 | 62 | local function onSent(connection, payload) 63 | collectgarbage() 64 | if connectionThread then 65 | local connectionThreadStatus = coroutine.status(connectionThread) 66 | if connectionThreadStatus == "suspended" then 67 | -- Not finished sending file, resume. 68 | coroutine.resume(connectionThread) 69 | elseif connectionThreadStatus == "dead" then 70 | -- We're done sending file. 71 | connection:close() 72 | connectionThread = nil 73 | end 74 | end 75 | end 76 | 77 | connection:on("receive", onReceive) 78 | connection:on("sent", onSent) 79 | 80 | end 81 | ) 82 | -- false and nil evaluate as false 83 | --local ip = wifi.sta.getip() 84 | --if not ip then ip = wifi.ap.getip() end 85 | --print("nodemcu-httpserver running at http://" .. ip .. ":" .. port) 86 | print("nodemcu-httpserver running!") 87 | return s 88 | 89 | end 90 | -------------------------------------------------------------------------------- /Firmware/init.lua: -------------------------------------------------------------------------------- 1 | -- Begin WiFi configuration 2 | 3 | gpio.mode(1,gpio.OUTPUT) 4 | pwm.setup(1,1000,1023) 5 | pwm.start(1) 6 | pwm.setduty(1,0) 7 | 8 | dofile("setLightLevel.lua") 9 | 10 | print('set (mode='..wifi.getmode()..')') 11 | print('MAC: ',wifi.sta.getmac()) 12 | print('chip: ',node.chipid()) 13 | print('heap: ',node.heap()) 14 | 15 | collectgarbage() 16 | 17 | -- End WiFi configuration 18 | 19 | -- Compile server code and remove original .lua files. 20 | -- This only happens the first time afer the .lua files are uploaded. 21 | 22 | local compileAndRemoveIfNeeded = function(f) 23 | if file.open(f) then 24 | file.close() 25 | print('Compiling:', f) 26 | node.compile(f) 27 | file.remove(f) 28 | collectgarbage() 29 | end 30 | end 31 | 32 | local serverFiles = {'httpserver.lua', 'httpserver-request.lua', 'httpserver-static.lua', 'httpserver-header.lua', 'httpserver-error.lua', 'setStartIP.lua'} 33 | for i, f in ipairs(serverFiles) do compileAndRemoveIfNeeded(f) end 34 | 35 | 36 | dofile("resetWireless.lua") 37 | dofile("setStartIP.lc") 38 | 39 | 40 | 41 | compileAndRemoveIfNeeded = nil 42 | serverFiles = nil 43 | collectgarbage() 44 | 45 | -- Connect to the WiFi access point. 46 | -- Once the device is connected, you may start the HTTP server. 47 | 48 | local joinCounter = 0 49 | local joinMaxAttempts = 3 50 | tmr.alarm(0, 3000, 1, function() 51 | 52 | local ip = wifi.sta.getip() 53 | if ip == nil and joinCounter < joinMaxAttempts then 54 | print('Connecting to WiFi Access Point ...') 55 | joinCounter = joinCounter +1 56 | else 57 | if joinCounter == joinMaxAttempts then 58 | print('Failed to connect to WiFi Access Point.') 59 | dofile("httpserver.lc")(80) 60 | else 61 | print('IP: ',ip) 62 | -- Uncomment to automatically start the server in port 80 63 | dofile("httpserver.lc")(80) 64 | end 65 | tmr.stop(0) 66 | joinCounter = nil 67 | joinMaxAttempts = nil 68 | collectgarbage() 69 | end 70 | 71 | end) 72 | 73 | -------------------------------------------------------------------------------- /Firmware/resetWireless.lua: -------------------------------------------------------------------------------- 1 | gpio.mode(7,gpio.INPUT,gpio.FLOAT) 2 | if gpio.read(7) == 1 then 3 | 4 | file.open("Net.txt", "w+") 5 | file.writeline("0") 6 | file.writeline("192.168.1.200") 7 | file.writeline("255.255.255.0") 8 | file.writeline("192.168.1.1") 9 | file.close() 10 | 11 | file.open("Seed.txt", "r") 12 | local seed = file.readline() 13 | math.randomseed(seed) 14 | print(seed) 15 | file.close() 16 | 17 | file.open("Seed.txt", "a") 18 | file.write('1') 19 | file.close() 20 | 21 | local wifiConfig = {} 22 | wifiConfig.accessPointConfig = {} 23 | wifiConfig.accessPointConfig.ssid = "ESPLux-"..math.random(100,999) -- Name of the SSID you want to create 24 | wifiConfig.accessPointConfig.pwd = "espluxsetup" -- WiFi password - at least 8 characters 25 | wifi.setmode(wifi.SOFTAP) 26 | wifi.ap.config(wifiConfig.accessPointConfig) 27 | print("ESPLux: Wifi reset to:" .. wifiConfig.accessPointConfig.ssid) 28 | wifiConfig = nil 29 | gpio.mode(2, gpio.OUTPUT) 30 | gpio.write(2, gpio.HIGH) 31 | else 32 | print("ESPLux: No wifi reset needed") 33 | end 34 | -------------------------------------------------------------------------------- /Firmware/setLightLevel.lua: -------------------------------------------------------------------------------- 1 | local ACOn = 0 2 | file.open("ACOn.txt", "r") 3 | ACOn = file.readline() 4 | file.close() 5 | if ACOn == "1" then -- If AC set to 1, reset to previous level 6 | file.open("PreviousLevel.txt", "r") 7 | pwm.setduty(1,file.readline()) 8 | file.close() 9 | print("ESPLux: Returning the light to its rightful level") 10 | else -- set light full on 11 | pwm.setduty(1,1023) 12 | print("ESPLux: Turning the light on") 13 | end 14 | -------------------------------------------------------------------------------- /Firmware/setStartIP.lua: -------------------------------------------------------------------------------- 1 | local staticIP = 0 2 | file.open("Net.txt", "r") 3 | staticIP = file.readline() 4 | local ipA = file.readline() 5 | local nm = file.readline() 6 | local gw = file.readline() 7 | 8 | file.close() 9 | if staticIP == "1\n" then 10 | wifi.sta.setip({ip=ipA, netmask=nm, gateway=gw}) 11 | print("ESPLux: Static IP Set!") 12 | else 13 | print("ESPLux: Using DHCP") 14 | end 15 | -------------------------------------------------------------------------------- /License Information/ESPLux.md: -------------------------------------------------------------------------------- 1 | ## creative commons 2 | 3 | # Attribution-ShareAlike 4.0 International 4 | 5 | Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. 6 | 7 | ### Using Creative Commons Public Licenses 8 | 9 | Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. 10 | 11 | * __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors). 12 | 13 | * __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees). 14 | 15 | ## Creative Commons Attribution-ShareAlike 4.0 International Public License 16 | 17 | By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. 18 | 19 | ### Section 1 – Definitions. 20 | 21 | a. __Adapted Material__ means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. 22 | 23 | b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. 24 | 25 | c. __BY-SA Compatible License__ means a license listed at [creativecommons.org/compatiblelicenses](http://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License. 26 | 27 | d. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. 28 | 29 | e. __Effective Technological Measures__ means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. 30 | 31 | f. __Exceptions and Limitations__ means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. 32 | 33 | g. __License Elements__ means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. 34 | 35 | h. __Licensed Material__ means the artistic or literary work, database, or other material to which the Licensor applied this Public License. 36 | 37 | i. __Licensed Rights__ means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. 38 | 39 | j. __Licensor__ means the individual(s) or entity(ies) granting rights under this Public License. 40 | 41 | k. __Share__ means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. 42 | 43 | l. __Sui Generis Database Rights__ means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. 44 | 45 | m. __You__ means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. 46 | 47 | ### Section 2 – Scope. 48 | 49 | a. ___License grant.___ 50 | 51 | 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: 52 | 53 | A. reproduce and Share the Licensed Material, in whole or in part; and 54 | 55 | B. produce, reproduce, and Share Adapted Material. 56 | 57 | 2. __Exceptions and Limitations.__ For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 58 | 59 | 3. __Term.__ The term of this Public License is specified in Section 6(a). 60 | 61 | 4. __Media and formats; technical modifications allowed.__ The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. 62 | 63 | 5. __Downstream recipients.__ 64 | 65 | A. __Offer from the Licensor – Licensed Material.__ Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. 66 | 67 | B. __Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. 68 | 69 | C. __No downstream restrictions.__ You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. 70 | 71 | 6. __No endorsement.__ Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). 72 | 73 | b. ___Other rights.___ 74 | 75 | 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. 76 | 77 | 2. Patent and trademark rights are not licensed under this Public License. 78 | 79 | 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. 80 | 81 | ### Section 3 – License Conditions. 82 | 83 | Your exercise of the Licensed Rights is expressly made subject to the following conditions. 84 | 85 | a. ___Attribution.___ 86 | 87 | 1. If You Share the Licensed Material (including in modified form), You must: 88 | 89 | A. retain the following if it is supplied by the Licensor with the Licensed Material: 90 | 91 | i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); 92 | 93 | ii. a copyright notice; 94 | 95 | iii. a notice that refers to this Public License; 96 | 97 | iv. a notice that refers to the disclaimer of warranties; 98 | 99 | v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; 100 | 101 | B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and 102 | 103 | C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 104 | 105 | 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. 106 | 107 | 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. 108 | 109 | b. ___ShareAlike.___ 110 | 111 | In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. 112 | 113 | 1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. 114 | 115 | 2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. 116 | 117 | 3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. 118 | 119 | ### Section 4 – Sui Generis Database Rights. 120 | 121 | Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: 122 | 123 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; 124 | 125 | b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and 126 | 127 | c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. 128 | 129 | For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. 130 | 131 | ### Section 5 – Disclaimer of Warranties and Limitation of Liability. 132 | 133 | a. __Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.__ 134 | 135 | b. __To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.__ 136 | 137 | c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. 138 | 139 | ### Section 6 – Term and Termination. 140 | 141 | a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. 142 | 143 | b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 144 | 145 | 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 146 | 147 | 2. upon express reinstatement by the Licensor. 148 | 149 | For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. 150 | 151 | c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. 152 | 153 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. 154 | 155 | ### Section 7 – Other Terms and Conditions. 156 | 157 | a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. 158 | 159 | b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.t stated herein are separate from and independent of the terms and conditions of this Public License. 160 | 161 | ### Section 8 – Interpretation. 162 | 163 | a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. 164 | 165 | b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. 166 | 167 | c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. 168 | 169 | d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. 170 | 171 | ``` 172 | Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. 173 | 174 | Creative Commons may be contacted at creativecommons.org 175 | ``` -------------------------------------------------------------------------------- /License Information/LuaLoader.md: -------------------------------------------------------------------------------- 1 | LuaLoader for Windows 2 | ========= 3 | 4 | A serial communications tool and IDE for the NodeMcu Lua firmware for the ESP8266 5 | 6 | LuaLoader is freeware. 7 | 8 | The MIT License (MIT) 9 | 10 | Copyright (c) 2015 Peter Jennings benlo.com 11 | 12 | Permission is hereby granted, free of charge, to any person obtaining a copy 13 | of this software and associated documentation files (the "Software"), to deal 14 | in the Software without restriction, including without limitation the rights 15 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 16 | copies of the Software, and to permit persons to whom the Software is 17 | furnished to do so, subject to the following conditions: 18 | 19 | The above copyright notice and this permission notice shall be included in all 20 | copies or substantial portions of the Software. 21 | 22 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 23 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 24 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 25 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 26 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 27 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 28 | SOFTWARE. 29 | -------------------------------------------------------------------------------- /License Information/README.md: -------------------------------------------------------------------------------- 1 | # License Information 2 | 3 | This project stands on the shoulders of giants. Without the amazing work of some of the greats in the industry, this project wouldn't exist. This directory contains the license information for the various components I have used in ESPLux. Below is a list of links to the project homepages for each component, as well as a link to their license files. 4 | 5 | 6 | ## Firmware and Scripts ## 7 | 8 | * **[NodeMCU](https://github.com/nodemcu/nodemcu-firmware)** - [MIT](https://github.com/pretenda/ESPLux/blob/master/License%20Information/nodemcu) 9 | * **[NodeMCU-httpserver](https://github.com/marcoskirsch/nodemcu-httpserver)** - [GNU GPL](https://github.com/pretenda/ESPLux/blob/master/License%20Information/nodemcu-httpserver) 10 | 11 | ## Support Tools ## 12 | * **[ESPFlasher](https://github.com/nodemcu/nodemcu-flasher)** - [MIT](https://github.com/pretenda/ESPLux/blob/master/License%20Information/nodemcu-flasher) 13 | * **[LuaLoader](http://benlo.com/esp8266)** - [MIT](https://github.com/pretenda/ESPLux/blob/master/License%20Information/LuaLoader.md) 14 | * **[ESPlorer](http://esp8266.ru/esplorer/)** - [GPLv2](https://github.com/pretenda/ESPLux/blob/master/License%20Information/ESPlorer.md) - [Source](https://github.com/4refr0nt/ESPlorer) 15 | 16 | ## ESPLux ## 17 | ESPLux is under the *[Attribution-ShareAlike 4.0 International](https://github.com/pretenda/ESPLux/blob/master/License%20Information/ESPLux.md)* license. In other words, feel free to share and modify anything I have created, however, if you are to share it again, you must use the same license as I have, and give credit where credit is due. [See here](https://creativecommons.org/licenses/by-sa/4.0/) for a human readable version of what you can and can't do. -------------------------------------------------------------------------------- /License Information/nodemcu: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 zeroday nodemcu.com 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /License Information/nodemcu-flasher: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 zeroday nodemcu.com 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /OpenHAB/items/pretenda.items: -------------------------------------------------------------------------------- 1 | // 2 | // Main 3 | // 4 | Switch tvCabLights "TV Cabinet Lighting" {http=">[ON:GET:http://192.168.1.200/setLights.lua?val=1023] >[OFF:GET:http://192.168.1.37/setLights.lua?val=0]"} 5 | Dimmer tvCabLightDim "TV Dim [%d]" {http=">[*:GET:http://192.168.1.200/setLights.lua?val=1023]"} -------------------------------------------------------------------------------- /OpenHAB/rules/pretenda.rules: -------------------------------------------------------------------------------- 1 | import org.openhab.core.library.types.* 2 | import org.openhab.core.persistence.* 3 | import org.openhab.model.script.actions.* 4 | 5 | rule "ESPLux Dimmer" 6 | when 7 | Item tvCabLightDim received command 8 | then 9 | var Number percent = 0 10 | if(tvCabLightDim.state instanceof DecimalType) percent = tvCabLightDim.state as DecimalType 11 | 12 | if(receivedCommand==INCREASE) percent = percent + 6 13 | if(receivedCommand==DECREASE) percent = percent - 6 14 | 15 | if(percent<0) percent = 0 16 | if(percent>100) percent = 100 17 | var Number outputVal = 0 18 | outputVal = ((Math::round((percent / 100 * 1023).doubleValue)) 19 | sendHttpGetRequest("http://192.168.1.200/setLights.lua?val="+outputVal) 20 | postUpdate(tvCabLightDim, percent); 21 | end -------------------------------------------------------------------------------- /OpenHAB/sitemaps/pretenda.sitemap: -------------------------------------------------------------------------------- 1 | sitemap pretenda label="pretenda" 2 | { 3 | Frame { 4 | Text label="Main" icon="sofa" { 5 | 6 | Frame label="Power" { 7 | Switch item=tvCabLights 8 | Slider item=tvCabLightDim 9 | } 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /Packaging/Backup_of_Base Art.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Packaging/Backup_of_Base Art.cdr -------------------------------------------------------------------------------- /Packaging/Backup_of_Lid Art.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Packaging/Backup_of_Lid Art.cdr -------------------------------------------------------------------------------- /Packaging/Base Art.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Packaging/Base Art.cdr -------------------------------------------------------------------------------- /Packaging/Base Art.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Packaging/Base Art.pdf -------------------------------------------------------------------------------- /Packaging/Bottom Box.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Packaging/Bottom Box.cdr -------------------------------------------------------------------------------- /Packaging/Bottom Box.dxf: -------------------------------------------------------------------------------- 1 | 0 2 | SECTION 3 | 2 4 | BLOCKS 5 | 0 6 | ENDSEC 7 | 0 8 | SECTION 9 | 2 10 | ENTITIES 11 | 0 12 | LINE 13 | 8 14 | 0 15 | 10 16 | -106 17 | 11 18 | -106 19 | 20 20 | -40 21 | 21 22 | 40 23 | 0 24 | LINE 25 | 8 26 | 0 27 | 10 28 | -106 29 | 11 30 | -56 31 | 20 32 | 40 33 | 21 34 | 40 35 | 0 36 | LINE 37 | 8 38 | 0 39 | 10 40 | -56 41 | 11 42 | -56 43 | 20 44 | 40 45 | 21 46 | -40 47 | 0 48 | LINE 49 | 8 50 | 0 51 | 10 52 | -56 53 | 11 54 | -106 55 | 20 56 | -40 57 | 21 58 | -40 59 | 0 60 | LINE 61 | 8 62 | 0 63 | 10 64 | -55 65 | 11 66 | -55 67 | 20 68 | -91 69 | 21 70 | -41 71 | 0 72 | LINE 73 | 8 74 | 0 75 | 10 76 | -55 77 | 11 78 | 55 79 | 20 80 | -41 81 | 21 82 | -41 83 | 0 84 | LINE 85 | 8 86 | 0 87 | 10 88 | 55 89 | 11 90 | 55 91 | 20 92 | -41 93 | 21 94 | -91 95 | 0 96 | LINE 97 | 8 98 | 0 99 | 10 100 | 55 101 | 11 102 | -55 103 | 20 104 | -91 105 | 21 106 | -91 107 | 0 108 | LINE 109 | 8 110 | 0 111 | 10 112 | -55 113 | 11 114 | -55 115 | 20 116 | -40 117 | 21 118 | 40 119 | 0 120 | LINE 121 | 8 122 | 0 123 | 10 124 | -55 125 | 11 126 | 55 127 | 20 128 | 40 129 | 21 130 | 40 131 | 0 132 | LINE 133 | 8 134 | 0 135 | 10 136 | 55 137 | 11 138 | 55 139 | 20 140 | 40 141 | 21 142 | -40 143 | 0 144 | LINE 145 | 8 146 | 0 147 | 10 148 | 55 149 | 11 150 | -55 151 | 20 152 | -40 153 | 21 154 | -40 155 | 0 156 | LINE 157 | 8 158 | 0 159 | 10 160 | -55 161 | 11 162 | -55 163 | 20 164 | 41 165 | 21 166 | 91 167 | 0 168 | LINE 169 | 8 170 | 0 171 | 10 172 | -55 173 | 11 174 | 55 175 | 20 176 | 91 177 | 21 178 | 91 179 | 0 180 | LINE 181 | 8 182 | 0 183 | 10 184 | 55 185 | 11 186 | 55 187 | 20 188 | 91 189 | 21 190 | 41 191 | 0 192 | LINE 193 | 8 194 | 0 195 | 10 196 | 55 197 | 11 198 | -55 199 | 20 200 | 41 201 | 21 202 | 41 203 | 0 204 | LINE 205 | 8 206 | 0 207 | 10 208 | 56 209 | 11 210 | 56 211 | 20 212 | -40 213 | 21 214 | 40 215 | 0 216 | LINE 217 | 8 218 | 0 219 | 10 220 | 56 221 | 11 222 | 106 223 | 20 224 | 40 225 | 21 226 | 40 227 | 0 228 | LINE 229 | 8 230 | 0 231 | 10 232 | 106 233 | 11 234 | 106 235 | 20 236 | 40 237 | 21 238 | -40 239 | 0 240 | LINE 241 | 8 242 | 0 243 | 10 244 | 106 245 | 11 246 | 56 247 | 20 248 | -40 249 | 21 250 | -40 251 | 0 252 | ENDSEC 253 | 0 254 | SECTION 255 | 2 256 | OBJECTS 257 | 0 258 | DICTIONARY 259 | 0 260 | ENDSEC 261 | 0 262 | EOF 263 | -------------------------------------------------------------------------------- /Packaging/Bottom Box.scad: -------------------------------------------------------------------------------- 1 | square([110,80], true); 2 | translate([0,40+25+1]) square([110,50], true); 3 | translate([0,-40-25-1]) square([110,50], true); 4 | translate([55+25+1,0]) square([50,80], true); 5 | translate([-55-25-1,0]) square([50,80], true); -------------------------------------------------------------------------------- /Packaging/Lid Art.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Packaging/Lid Art.cdr -------------------------------------------------------------------------------- /Packaging/Lid Art.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Packaging/Lid Art.pdf -------------------------------------------------------------------------------- /Packaging/Top Box.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Packaging/Top Box.cdr -------------------------------------------------------------------------------- /Packaging/Top Box.dxf: -------------------------------------------------------------------------------- 1 | 0 2 | SECTION 3 | 2 4 | BLOCKS 5 | 0 6 | ENDSEC 7 | 0 8 | SECTION 9 | 2 10 | ENTITIES 11 | 0 12 | LINE 13 | 8 14 | 0 15 | 10 16 | -103.5 17 | 11 18 | -103.5 19 | 20 20 | -42.5 21 | 21 22 | 42.5 23 | 0 24 | LINE 25 | 8 26 | 0 27 | 10 28 | -103.5 29 | 11 30 | -58.5 31 | 20 32 | 42.5 33 | 21 34 | 42.5 35 | 0 36 | LINE 37 | 8 38 | 0 39 | 10 40 | -58.5 41 | 11 42 | -58.5 43 | 20 44 | 42.5 45 | 21 46 | -42.5 47 | 0 48 | LINE 49 | 8 50 | 0 51 | 10 52 | -58.5 53 | 11 54 | -103.5 55 | 20 56 | -42.5 57 | 21 58 | -42.5 59 | 0 60 | LINE 61 | 8 62 | 0 63 | 10 64 | -57.5 65 | 11 66 | -57.5 67 | 20 68 | -88.5 69 | 21 70 | -43.5 71 | 0 72 | LINE 73 | 8 74 | 0 75 | 10 76 | -57.5 77 | 11 78 | 57.5 79 | 20 80 | -43.5 81 | 21 82 | -43.5 83 | 0 84 | LINE 85 | 8 86 | 0 87 | 10 88 | 57.5 89 | 11 90 | 57.5 91 | 20 92 | -43.5 93 | 21 94 | -88.5 95 | 0 96 | LINE 97 | 8 98 | 0 99 | 10 100 | 57.5 101 | 11 102 | -57.5 103 | 20 104 | -88.5 105 | 21 106 | -88.5 107 | 0 108 | LINE 109 | 8 110 | 0 111 | 10 112 | -57.5 113 | 11 114 | -57.5 115 | 20 116 | -42.5 117 | 21 118 | 42.5 119 | 0 120 | LINE 121 | 8 122 | 0 123 | 10 124 | -57.5 125 | 11 126 | 57.5 127 | 20 128 | 42.5 129 | 21 130 | 42.5 131 | 0 132 | LINE 133 | 8 134 | 0 135 | 10 136 | 57.5 137 | 11 138 | 57.5 139 | 20 140 | 42.5 141 | 21 142 | -42.5 143 | 0 144 | LINE 145 | 8 146 | 0 147 | 10 148 | 57.5 149 | 11 150 | -57.5 151 | 20 152 | -42.5 153 | 21 154 | -42.5 155 | 0 156 | LINE 157 | 8 158 | 0 159 | 10 160 | -57.5 161 | 11 162 | -57.5 163 | 20 164 | 43.5 165 | 21 166 | 88.5 167 | 0 168 | LINE 169 | 8 170 | 0 171 | 10 172 | -57.5 173 | 11 174 | 57.5 175 | 20 176 | 88.5 177 | 21 178 | 88.5 179 | 0 180 | LINE 181 | 8 182 | 0 183 | 10 184 | 57.5 185 | 11 186 | 57.5 187 | 20 188 | 88.5 189 | 21 190 | 43.5 191 | 0 192 | LINE 193 | 8 194 | 0 195 | 10 196 | 57.5 197 | 11 198 | -57.5 199 | 20 200 | 43.5 201 | 21 202 | 43.5 203 | 0 204 | LINE 205 | 8 206 | 0 207 | 10 208 | 58.5 209 | 11 210 | 58.5 211 | 20 212 | -42.5 213 | 21 214 | 42.5 215 | 0 216 | LINE 217 | 8 218 | 0 219 | 10 220 | 58.5 221 | 11 222 | 103.5 223 | 20 224 | 42.5 225 | 21 226 | 42.5 227 | 0 228 | LINE 229 | 8 230 | 0 231 | 10 232 | 103.5 233 | 11 234 | 103.5 235 | 20 236 | 42.5 237 | 21 238 | -42.5 239 | 0 240 | LINE 241 | 8 242 | 0 243 | 10 244 | 103.5 245 | 11 246 | 58.5 247 | 20 248 | -42.5 249 | 21 250 | -42.5 251 | 0 252 | ENDSEC 253 | 0 254 | SECTION 255 | 2 256 | OBJECTS 257 | 0 258 | DICTIONARY 259 | 0 260 | ENDSEC 261 | 0 262 | EOF 263 | -------------------------------------------------------------------------------- /Packaging/Top Box.scad: -------------------------------------------------------------------------------- 1 | square([115,85], true); 2 | translate([0,42.5+22.5+1]) square([115,45], true); 3 | translate([0,-42.5-22.5-1]) square([115,45], true); 4 | translate([57.5+22.5+1,0]) square([45,85], true); 5 | translate([-57.5-22.5-1,0]) square([45,85], true); -------------------------------------------------------------------------------- /Photos/2015-07-24 15.52.37.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.52.37.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.52.51.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.52.51.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.52.53.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.52.53.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.53.03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.53.03.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.53.13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.53.13.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.53.17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.53.17.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.53.27.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.53.27.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.53.45.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.53.45.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.53.48.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.53.48.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.53.51.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.53.51.jpg -------------------------------------------------------------------------------- /Photos/2015-07-24 15.53.54.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-24 15.53.54.jpg -------------------------------------------------------------------------------- /Photos/2015-07-28 09.09.08 HDR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/2015-07-28 09.09.08 HDR.jpg -------------------------------------------------------------------------------- /Photos/Interface/Light Control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/Interface/Light Control.png -------------------------------------------------------------------------------- /Photos/Interface/Settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/Interface/Settings.png -------------------------------------------------------------------------------- /Photos/Interface/Start Page.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/Interface/Start Page.PNG -------------------------------------------------------------------------------- /Photos/Interface/Wifi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pretenda/ESPLux/92e21ffedb78738713107a55c71434499998aa7f/Photos/Interface/Wifi.png -------------------------------------------------------------------------------- /Programmer Holder/Holder.scad: -------------------------------------------------------------------------------- 1 | $fn = 30; 2 | difference() 3 | { 4 | union() 5 | { 6 | translate([-3,-3,0]) cube([6,9,21]); 7 | hull() 8 | { 9 | translate([-3,2,0]) cube([6,4,1]); 10 | translate([-3,2,10]) cube([28.5,4,1]); 11 | translate([-3-6+41,2,0]) cube([6,3,1]); 12 | translate([-3+35,1.5,10]) cube([6,3,1]); 13 | } 14 | translate([-3+35,-3,0]) cube([6,6,11]); 15 | hull() 16 | { 17 | translate([-3+22.5,-3+3,20]) cube([6,6,1]); 18 | translate([-3+22.5,-1+3,10]) cube([6,4,11]); 19 | } 20 | } 21 | 22 | translate([0,0,-1]) cylinder(8,3/2,3/2); 23 | translate([35,0,-1]) cylinder(8,3/2,3/2); 24 | translate([0,3,15]) cylinder(12,3/2,3/2); 25 | translate([22.5,3,15]) cylinder(12,3/2,3/2); 26 | } -------------------------------------------------------------------------------- /Programmer Holder/README.md: -------------------------------------------------------------------------------- 1 | You make this object after you realise you have no way of semi-permanently mounting the programmer onto your ESPLux, making it incredibly annoying to have to reprogram the thing. 2 | 3 | This is just a glorified spacer. 4 | 5 | ![](http://puu.sh/j0HZL/dcba1a1ff3.png) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ESPLux 2 | 3 | This is the repo for all things ESPLux. My updates are on my webpage, [ESPLux.info](http://esplux.info). --------------------------------------------------------------------------------