This commit is contained in:
Anton Linus 2020-10-07 19:18:51 +02:00
commit 5a8c8765f2
7 changed files with 72 additions and 2 deletions

View File

@ -1,6 +1,5 @@
# opencoil-paracity
Repo for non destructive e-scooter intervention materials.
![picture](https://git.vvvvvvaria.org/then/opencoil-paracity/raw/branch/master/graphics/charging-pad/pad-exploded-view-ani.gif)
Repo for non destructive e-scooter intervention materials

12
adaptor/README.md Normal file
View File

@ -0,0 +1,12 @@
# opencoil-paracity: adaptor
![picture](https://git.vvvvvvaria.org/then/opencoil-paracity/raw/branch/master/adaptor/adaptor-with-electronics.jpg)
*PCB inside educational model for possible adaptor platform, power your own devices!*
![picture](https://git.vvvvvvaria.org/then/opencoil-paracity/raw/branch/master/adaptor/adaptor-cnc-addon.gif)
*CNC adaptopr plate for mounting your own devices*

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 KiB

45
code/esp8266/README.md Normal file
View File

@ -0,0 +1,45 @@
# opencoil-paracity: code
### 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
### Over The Air (OTA) Uploading
* Connect to the hotspot created by the ESP12F.
* 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.

14
electronics/README.md Normal file
View File

@ -0,0 +1,14 @@
# opencoil-paracity: electronics
![picture](https://git.vvvvvvaria.org/then/opencoil-paracity/raw/branch/master/electronics/esp-wireless-charging-pcb/pcb-ass.jpg)
*Assembled pcb*
### Bill of Materials
* PCB: Send the gerbers from this repo to your fab of choice.
* 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://nl.aliexpress.com/item/4001154059743.html).

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB