.. | ||
electronics | ||
hardware | ||
images | ||
software/code | ||
README.html | ||
README.md |
PARACITY GALLERY
diy how-to
v0.42
Table of Contents
- User-agreement
- In(tro)duction
- Hardware
- Software
- Electronics
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'1 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 infrastructure2 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 Apple3 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.
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)
After this date this how-to will continue to roam the streets and will never be made available online. Now do it yourself!
- As in 'offline art' by Aram Bartholl based on the PirateBox initiative.
- 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).
- 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.
Hardware
Vacuum form
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.
Stencil
To make the vacuum formed charging pad cover look more symbiotic, one could use the included template 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
From left to right: logo stencil, vacuum formed mould with cardboard inlay, vacuum formed mould with logo, cardboard inlay
Software
Here 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).
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.
Uploading Code
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
Uploading Data to SPIFFS
The website served on the ESP12F lives in the 'data' folder inside the Arduino sketch folder. To upload this data you need the 'Arduino ESP8266 filesystem uploader' plugin. Find it here: https://github.com/esp8266/arduino-esp8266fs-plugin.
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 ('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.
Electronics
Fully assembled electronics, left to right, top to bottom: ESP12F (unshielded), AM1117 regulator, coil.
Bill of materials
- PCB: Upload the 'gerbers.zip' from this archive to a PCB factory, for example: allpcb.com, jlcpcb.com
- ESP12F: Widely available.
- AM1117 3.3v Regulator: Widely available.
- QI compatible wireless charging coil delivering 5v and > 500 mA: For example this, search keywords: "pcba receiver module qi". Alternatively you could repurpose 'adaptor coils' advertised to convert non-QI phones to wireless charging, such as these*.
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.
You are then left over with the bare coil and flexible pcb. Here I already desoldered the lightning connector flex pcb.
Remove the following chips indicated by the following silkscreen printing:
- Q3 (chip markings: p7)
- Q4 (chip markings: wsc7)
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.
Step 1 completed!
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.
Done!