opencoil-paracity/works/Dennis de Bel & Anton Jehle/paracity_gallery_v042/README.md

196 lines
11 KiB
Markdown
Raw Normal View History

2020-11-05 01:28:37 +01:00
<br><br><br>
2020-10-16 05:02:28 +02:00
2020-11-04 23:42:53 +01:00
# PARACITY GALLERY
### diy how-to
2020-11-05 01:28:37 +01:00
<br><br><br><br><br>
![picture](images/1.gif)
<br><br><br><br><br><br><br><br>
2020-11-04 23:42:53 +01:00
###### v0.42
2020-10-16 05:02:28 +02:00
2020-11-05 01:28:37 +01:00
2020-11-04 23:42:53 +01:00
<br><br><br><br><br><br>
## Table of Contents
* User-agreement
* In(tro)duction
* Hardware
* Software
* Electronics
2020-10-16 05:02:28 +02:00
2020-11-04 23:42:53 +01:00
2020-11-05 01:28:37 +01:00
<br><br><br><br><br><br><br><br>
2020-11-04 23:42:53 +01:00
## User-agreement
By reading this text you are granted the rights outlined below. This user-agreement is an attempt at formulating an 'offline art licence' stipulating the following:
* The usage of the files (methods, code) in this archive (subsequently 'the contents'), excluding these terms, can never be published online.
* The contents should only be published offline; on paper, sneaker-net (usb stick, hdd) or microcontroller.
* This user-agrement should be included in derivative works.
* Any of the initiatives, companies and individuals mentioned refrain liability.
* The content can not be used for commercial applications, such as promotions, advertising.
* The content can not be used to do harm, legally, physically, mentally or economically to all parties involved. This includes end-users, creators and facilitators. As such it can not be used in legal cases, court or civilian procedures.
* The content comes with no warranty. All liability, including liability for infringement of any proprietary rights, relating to use of
information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein.
* All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners and are hereby acknowledged.
## In(tro)duction
This archive contains the files and instructions to create your own rolling 'offline'<sup>1</sup> wifi gallery space utilising shared scooters outfitted with induction wireless charging pads.
The files presented here have been collected for the OPENCOIL speedshow that explores the impact of these 'micro-mobility services' on urban space by sharing the same decentralised infrastructure<sup>2</sup> for an exhibition space that attempts to address the conditions, effects and affects of these infrastructures.
The artistic contributions are each stored on a Wifi enabled microcontroller attached to a scooter in a non invasive nor destructive manner. To view the works, one connects to the local unencrypted WiFi network advertised by the Wifi microcontroller. When connecting using Apple<sup>3</sup> devices, a web portal opens automatically, showing the work, no mobile data connection necessary. All works have been specially optimised by the artists to be viewed on smartphones.
OPENCOIL is in no way associated with these micro-mobility services, but merely shares the existing scooter network. The conversion of the scooters into an exhibition space is completely reversible and in no way restricts the conventional use of the scooters (even during the exhibition). The scooters will not be damaged.
2020-10-16 18:59:20 +02:00
The exhibition will start on October 26th in the public space in front of Zentrum für Netzkunst (Haus der Statistik). For one week, until November 1st, the exhibition will be serviced and kept running daily by our team. Should a work be damaged or not be found, please send an e-mail (service@opencoil.show) or use the Telegram App (https://t.me/opencoil)
2020-11-04 23:42:53 +01:00
After this date this how-to will continue to roam the streets and will never be made available online. Now do it yourself!
<br><br><br>
<sup>
1. As in 'offline art' by Aram Bartholl based on the PirateBox initiative.
<br><br>
2. A certain branch of micro-mobility services deploy 'dock-less' sharing vehicles, meaning they don't need to be rented from nor returned to a designated parking spot. This raises questions on convenience, maintenance and use of public space. This 'decentralisation' is reflected in the company itself, where various responsibilities are outsourced; renting is done via a centralised API, repairs are done in a centralised warehouse, units are recharged by a fleet of roaming 'juicers' (lime) or 'hunters' (voi) or 'rangers' (tier) as gig work/minijob), carbon offset and recycling responsibilities are outsourced to external companies (for example: climatepartner.com and deutsche-recycling.de).
<br>
<br>
3. Android devices might present a message offering you to 'sign in' or a warning the network does not have an internet connection. Click the pop-up message and select the option 'use (network) as-is' to use the network without and internet connection and visit any random URL in a browser to view the artworks (http://ya.ru is a good one). If all goes well, you will be redirected to the artwork.
2020-10-16 18:59:20 +02:00
2020-11-04 23:42:53 +01:00
</sup>
2020-11-05 01:31:02 +01:00
2020-11-04 23:42:53 +01:00
## Hardware
2020-10-16 18:59:20 +02:00
2020-11-05 01:28:37 +01:00
### 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.
2020-10-16 18:59:20 +02:00
2020-11-05 01:28:37 +01:00
### 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)
<i>From left to right: logo stencil, vacuum formed mould with cardboard inlay, vacuum formed mould with logo, cardboard inlay</i>
2020-11-04 23:42:53 +01:00
## Software
2020-11-05 01:28:37 +01:00
[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)).
2020-11-04 23:42:53 +01:00
### Prerequisites
2020-10-16 18:59:20 +02:00
This guide assumes you have a 4MB ESP12F microcontroller and use Arduino IDE.
2020-11-05 01:28:37 +01:00
* 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).
2020-10-16 18:59:20 +02:00
2020-11-04 23:42:53 +01:00
### Uploading Code
2020-10-16 18:59:20 +02:00
For ESP12F use the following settings in Arduino IDE
* Board: Generic ESP8266 Module
* Builtin Led: 2
* Upload Speed: 921600
* CPU Frequency: 80 MHz
* Crystal Frequency: 26MHz
* Flash Size: 4MB (FS:3MB OTA: ~512KB)
* Flash Mode: DOUT
* Flash Frequency: 40MHz
* Reset Method: dtr (aka nodemcu)
* Debug port: Disabled
* Debug Level: none
* LwIP Variant: v2 Lower Memory
* VTables: Flash
* Exceptions: Legacy (new can return nullptr)
* Erase Flash: depends on if you want to change SSID, Files, or only Sketch
* Espressif FW: nonos-sdk 2.2.1+100 (190703)
* SSL Support: All SSL ciphers (most compatible)
* Port: depend if u are uploading Over The Air, or using a cable
* Programmer: AVRISP mkII
These settings give you about 2.471 KB of SPIFFS storage space for files and ~512KB sketch size
2020-10-25 03:47:38 +01:00
### Uploading Data to SPIFFS
2020-11-05 01:28:37 +01:00
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).
2020-10-25 03:47:38 +01:00
2020-11-05 01:28:37 +01:00
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.
2020-10-25 03:47:38 +01:00
2020-10-16 18:59:20 +02:00
2020-11-04 23:42:53 +01:00
### Over-the-air (OTA) uploading
2020-10-16 18:59:20 +02:00
2020-11-05 01:28:37 +01:00
* Connect to the hotspot created by the ESP12F ('example code').
2020-10-16 18:59:20 +02:00
* 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.
2020-11-05 01:28:37 +01:00
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.
2020-10-16 18:59:20 +02:00
2020-11-04 23:42:53 +01:00
## Electronics
2020-10-16 18:59:20 +02:00
2020-10-16 05:02:28 +02:00
2020-11-05 16:05:18 +01:00
![picture](images/pcb-ass.gif)
2020-11-05 01:28:37 +01:00
<i>Fully assembled electronics, left to right, top to bottom: ESP12F (unshielded), AM1117 regulator, coil.</i>
<br>
2020-11-05 01:31:02 +01:00
2020-11-05 01:28:37 +01:00
### 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)
2020-10-16 05:02:28 +02:00
* ESP12F: Widely available.
* AM1117 3.3v Regulator: Widely available.
2020-11-04 23:42:53 +01:00
* 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)*.
**NOTE**: Be aware that these 'adaptor coils' could contain additional circuitry that condition the output for use with specific mobile phones (the pearl.de ones do). Below is a guide to modify the 'pearl' coils to deliver maximum voltage (5v)constantly, instead of switching to low power, 2.5v output when not enough/too much current is drawn.
### Modding 'adaptor coils'
If you have soldered all components together and your ESP12f won't boot, you might have to modify your charging coil+circuit a bit. To make sure it's the coil, measure the output of the coil's electronics on the + and - (GND) terminals. If your multimeter reads ~2.5 volts you need to modify the circuit. (Disclaimer: the exact details on how this circuit works are yet unclear, comparing to a working coil revealed several differences in the electronics, matching them up made the non working coil output the needed 5v).
##### Step 1
You need to desolder two IC's/ chips following the (visual) guide below. The electronics and coil are sandwiched between two layers of foil. To peel the foil away look for an opening near the lightning connector.
2020-11-05 16:05:18 +01:00
![picture](electronics/coil-mod/001-coil.gif)
2020-11-04 23:42:53 +01:00
2020-11-05 16:05:18 +01:00
![picture](electronics/coil-mod/002-peel.gif)
2020-11-04 23:42:53 +01:00
You are then left over with the bare coil and flexible pcb. Here I already desoldered the lightning connector flex pcb.
2020-11-05 16:05:18 +01:00
![picture](electronics/coil-mod/003-bare-coil.gif)
2020-11-04 23:42:53 +01:00
Remove the following chips indicated by the following silkscreen printing:
* Q3 (chip markings: p7)
* Q4 (chip markings: wsc7)
2020-11-05 16:05:18 +01:00
![picture](electronics/coil-mod/004-q3.gif)
![picture](electronics/coil-mod/005-q4.gif)
2020-11-04 23:42:53 +01:00
A hot air reworking station + tweezers will make quick work of that (settings: 1 second on 320deg, moderate airflow). Without hot-air you could try a soldering iron or fine wire-cutters to simply cut away the chips. The flexible PCB is very fragile though.
2020-11-05 16:05:18 +01:00
![picture](electronics/coil-mod/006-hotair.gif)
2020-11-04 23:42:53 +01:00
Step 1 completed!
2020-11-05 16:05:18 +01:00
![picture](electronics/coil-mod/007-hotair-done.gif)
2020-11-04 23:42:53 +01:00
##### Step 2
With both chips removed, you have to bridge two of the three (now) bare connections of the transistor Q4. I could not find a datasheet on this transistor so please refer to the photo's to see which pins.
2020-11-05 16:05:18 +01:00
![picture](electronics/coil-mod/008-bridge.gif)
2020-11-04 23:42:53 +01:00
Done!
2020-11-05 16:05:18 +01:00
![picture](electronics/coil-mod/009-done.gif)