diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/README.md b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/README.md index 50a3712..28700c2 100644 --- a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/README.md +++ b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/README.md @@ -1,10 +1,15 @@ -






+


# PARACITY GALLERY ### diy how-to -















+




+![picture](images/1.gif) +







###### v0.42 + + +





## Table of Contents * User-agreement @@ -16,9 +21,9 @@ +







-![](pcb-ass.jpg) ## User-agreement @@ -59,22 +64,34 @@ After this date this how-to will continue to roam the streets and will never be ## Hardware -In this Archive you will find a 3d printable .stl file that will allow you to print a mould for vacuum forming the charging pad cover. -3d_print_chargingpad_for_molding_cover.stl + +### Vacuum form + +![picture](hardware/3d-printable-vacuumform-mold-snapshot.png) + +In this Archive you will find a [3d printable .stl](hardware/3d_print_chargingpad_for_molding_cover.stl) file that will allow you to print a mould for vacuum forming the charging pad cover. + +### Stencil +To make the vacuum formed charging pad cover look more symbiotic, one could use the included [template](hardware/spray-stencil-295x420.svg) to lasercut a spray paint stencil. +### Inlay +To even-out the electronics underneath the vacuum formed mould you can use 2 to 3 mm cardboard stock as as spacer. A lasercutting template to cut the cardboard stock is provided [here](hardware/spacer-345x495.svg) + +![picture](hardware/stencil-spacer-mould.gif) +From left to right: logo stencil, vacuum formed mould with cardboard inlay, vacuum formed mould with logo, cardboard inlay + ## Software -In this Archive you will find an Arduino sketch for the ESP8266 wireless chip. -In the Software folder +[Here](software/code/code.ino/) you will find an Arduino sketch for the ESP8266 wifi enabled microcontroller that provides a non-encrypted wireless access point called 'example code' running a webserver that serves files stored on its 'SPIFFS' filesystem (stored at [here](software/code/data)). + ### Prerequisites This guide assumes you have a 4MB ESP12F microcontroller and use Arduino IDE. -* Board Manager: You will need to add the support for this board to your IDE (Arduino in this case), see: https://github.com/esp8266/Arduino -* SPIFFS: You will need to add SPIFFS file upload support to Arduino if you want to upload files to the ESP12F, see: https://github.com/esp8266/arduino-esp8266fs-plugin - +* Board Manager: You will need to add the support for this board to your IDE (Arduino in this case), see: [https://github.com/esp8266/Arduino](https://github.com/esp8266/Arduino) +* SPIFFS: You will need to add SPIFFS file upload support to Arduino if you want to upload files to the ESP12F, see [https://github.com/esp8266/arduino-esp8266fs-plugin](https://github.com/esp8266/arduino-esp8266fs-plugin). ### Uploading Code For ESP12F use the following settings in Arduino IDE @@ -103,25 +120,30 @@ For ESP12F use the following settings in Arduino IDE These settings give you about 2.471 KB of SPIFFS storage space for files and ~512KB sketch size ### Uploading Data to SPIFFS -The website served on the ESP8266 lives in the 'data' folder inside the sketchyour sketch. To upload this data you need the 'Arduino ESP8266 filesystem uploader' plugin. Find it [here](https://github.com/esp8266/arduino-esp8266fs-plugin). +The website served on the ESP12F lives in the ['data'](software/code/data) folder inside the Arduino sketch [folder](software/code/). To upload this data you need the 'Arduino ESP8266 filesystem uploader' plugin. Find it here: [https://github.com/esp8266/arduino-esp8266fs-plugin](https://github.com/esp8266/arduino-esp8266fs-plugin). -You will find the tool/function in Arduino > Tools > ESP8266 Sketch Data Upload (make sure the directory path is correct). Close the Serial Monitor prior to uploading data. +To upload files to the ESP12F using the Arduino IDE click: Arduino > Tools > ESP8266 Sketch Data Upload (make sure you installed it in the correct directory path). Close the Serial Monitor prior to uploading data. ### Over-the-air (OTA) uploading -* Connect to the hotspot created by the ESP12F. +* Connect to the hotspot created by the ESP12F ('example code'). * Launch Arduino, choose "esp at 192.168.4.1" as the port. * If you don't see the port listed in Arduino (Tools > Port), restart Arduino IDE. -You can upload your sketch and files wirelessly, there is one caveat: SPIFFS file uploads don't work with password protected uploads (line 42). Workaround: flash your sketch with line 42 commented out. Upload your files to SPIFFS, then uncomment the line and Upload the code. +You can upload your sketch and files wirelessly, there is one caveat: SPIFFS file uploads don't work with password protected uploads (line 42). Workaround: flash your sketch with line 42 commented out. Upload your files to SPIFFS, then uncomment the line and upload the code. ## Electronics -### bill of materials -* PCB: Upload the 'gerbers.zip' from this archive to a PCB factory, for example: [allpcb.com](http://allpcb.com), [jlcpcb.com](http://jlcpcb.com) +![picture](images/pcb-ass.jpg) +Fully assembled electronics, left to right, top to bottom: ESP12F (unshielded), AM1117 regulator, coil. + +
+### Bill of materials + +* PCB: Upload the ['gerbers.zip'](electronics/gerbers.zip) from this archive to a PCB factory, for example: [allpcb.com](http://allpcb.com), [jlcpcb.com](http://jlcpcb.com) * ESP12F: Widely available. * AM1117 3.3v Regulator: Widely available. * QI compatible wireless charging coil delivering 5v and > [500 mA](https://docs.ai-thinker.com/_media/esp8266/docs/esp-12f_product_specification_en.pdf): For example [this](https://aliexpress.com/item/4001154059743.html), search keywords: "pcba receiver module qi". Alternatively you could repurpose 'adaptor coils' advertised to convert non-QI phones to wireless charging, such as [these](https://www.pearl.de/mtrkw-9811-qi-kompatible-receiver-pads.shtml)*. diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/gerbers.zip b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/electronics/gerbers.zip similarity index 55% rename from works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/gerbers.zip rename to works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/electronics/gerbers.zip index 397e9bb..5301d55 100644 Binary files a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/gerbers.zip and b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/electronics/gerbers.zip differ diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/3d-printable-vacuumform-mold-snapshot.png b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/3d-printable-vacuumform-mold-snapshot.png new file mode 100644 index 0000000..119b31f Binary files /dev/null and b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/3d-printable-vacuumform-mold-snapshot.png differ diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/3d-printable-vacuumform-mold.stl b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/3d-printable-vacuumform-mold.stl similarity index 100% rename from works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/3d-printable-vacuumform-mold.stl rename to works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/3d-printable-vacuumform-mold.stl diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/mold_inlay_for_board/spacer-345x495.svg b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/spacer-345x495.svg similarity index 98% rename from works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/mold_inlay_for_board/spacer-345x495.svg rename to works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/spacer-345x495.svg index f5a9e17..ae86623 100644 --- a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/mold_inlay_for_board/spacer-345x495.svg +++ b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/spacer-345x495.svg @@ -1,5 +1,5 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/stencil-spacer-mould.gif b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/stencil-spacer-mould.gif new file mode 100644 index 0000000..c82bc41 Binary files /dev/null and b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/hardware/stencil-spacer-mould.gif differ diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/images/1.gif b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/images/1.gif new file mode 100644 index 0000000..099f898 Binary files /dev/null and b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/images/1.gif differ diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/images/pcb-ass.jpg b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/images/pcb-ass.jpg new file mode 100644 index 0000000..251fd06 Binary files /dev/null and b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/images/pcb-ass.jpg differ diff --git a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/pcb-ass.jpg b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/pcb-ass.jpg deleted file mode 100644 index b8599b2..0000000 Binary files a/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/pcb-ass.jpg and /dev/null differ diff --git a/code/esp8266/paracity_gallery_v041/DNSServer.cpp b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/DNSServer.cpp similarity index 100% rename from code/esp8266/paracity_gallery_v041/DNSServer.cpp rename to works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/DNSServer.cpp diff --git a/code/esp8266/paracity_gallery_v041/DNSServer.h b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/DNSServer.h similarity index 100% rename from code/esp8266/paracity_gallery_v041/DNSServer.h rename to works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/DNSServer.h diff --git a/code/esp8266/paracity_gallery_v041/paracity_gallery_v041.ino b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/code.ino similarity index 86% rename from code/esp8266/paracity_gallery_v041/paracity_gallery_v041.ino rename to works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/code.ino index b786dc5..e2ff8a5 100644 --- a/code/esp8266/paracity_gallery_v041/paracity_gallery_v041.ino +++ b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/code.ino @@ -15,13 +15,13 @@ ESP8266WebServer server(80); #ifndef STASSID - #define STASSID "\xF0\x9F\x9B\xB4 UNFLASHED" - //#define STASPSK "mypassword" + #define STASSID "example code" // ssid of wifi access point + //#define STASPSK "mypassword" // password of wifi access point #endif - IPAddress apIP(192, 168, 4, 1); + IPAddress apIP(192, 168, 4, 1); // ip address of access point ('router') const char* ssid = STASSID; - //const char* password = STAPSK; + //const char* password = STAPSK; // disable encryption void setup() { Serial.begin(115200); @@ -38,8 +38,8 @@ Serial.println(WiFi.softAPIP()); //Over-the-Air updates - ArduinoOTA.setHostname("ESP8266"); - //ArduinoOTA.setPassword("change-me"); //disabled to allow data uploads + ArduinoOTA.setHostname("ESP8266"); // allow apple devices to connect to http://ESP8266.local to visit the contents + //ArduinoOTA.setPassword("change-me"); // enabling password disables SPIFFS upload ArduinoOTA.begin(); SPIFFS.begin(); diff --git a/code/esp8266/paracity_gallery_v041/data/index.html b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/data/index.html similarity index 93% rename from code/esp8266/paracity_gallery_v041/data/index.html rename to works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/data/index.html index c061527..f8ae45f 100644 --- a/code/esp8266/paracity_gallery_v041/data/index.html +++ b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/data/index.html @@ -1,12 +1,9 @@ - - -hi \ No newline at end of file diff --git a/code/esp8266/paracity_gallery_v041/data/pic.jpg b/works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/data/pic.jpg similarity index 100% rename from code/esp8266/paracity_gallery_v041/data/pic.jpg rename to works/Dennis de Bel & Anton Jehle/paracity_gallery_v041/software/code/data/pic.jpg