Skip to content

Commit

Permalink
Updated screenshots and add photo of Battery Case
Browse files Browse the repository at this point in the history
  • Loading branch information
janick committed Jan 17, 2023
1 parent e948389 commit bd3cf29
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Notice how the white "GPIO0" wire is connected to a separate exposed GND pin on
![WT32-SC01 Plus DIY Programmer Cable](assets/diy_programmer.jpg "DIY Programmer Cable")

The following steps assume you have an application succesfully compiled using `idf.py build` (see [Build This Example](#build-this-example) section).
To program, then run your application with the serial monitor, power the WT32-SC01 Plus via its own
To program, then run your application optionally with the serial monitor, power the WT32-SC01 Plus via its own
USB-C port as well as connecting your serial board to a USB port on your computer.

1. To enter programming mode, connect the GPIO0 wire to the GND pin, then press the `RST` button on the back
Expand All @@ -102,24 +102,26 @@ of the WT32-SC01 Plus.

5. To run your application, disconnect the GPIO0 wire, then reset the WT32-SC01 Plus again.


### Using the WT programmer

If you were fortunate enough to order a WT32-SC01 Plus that came with its own custom programmer, TBD


## OTA Updates

The example application includes over-the-air (OTA) update cability.
This trivial example application includes over-the-air (OTA) update cability.
Once the example application is flashed once using the serial communication board,
you can use OTA updates instead for subsequent updates but takes longer to flash (approx 2mins).

1. Build the latest version of the application using the command `idf.py build`

1. Start the OTA server using the command `python webserver`
1. Start the OTA server using the command `python webserver.py`

1. Reset your WT32-SC01 Plus

1. While the splash screen is displayed, tap the project name 5 times to trigger an OTA upgrade.
For the upgrade to complete succesfully, you must have specified your WiFi credentials and OTA server certificate when building.
For the upgrade to complete succesfully, you must have correctly specified your WiFi credentials and OTA server certificate when building.

## Squareline Studio

Expand All @@ -135,6 +137,9 @@ e.g. on my Mac:
$ cp -r SquareLine/boards/* /Applications/Squareline_Studio.app/Contents/boards
```

Restart Squareline Studio if it is was already running.


## Building This Example

After cloning this respository:
Expand All @@ -152,13 +157,14 @@ After cloning this respository:

## Screenshots

<img src="assets/splashScreen.jpg" width="200"> <img src="assets/OTAScreen.jpg" width="200"> <img src="assets/mainAppScreen.jpg" width="200">
<img src="assets/splashScreen.jpg" height=300> <img src="assets/OTAScreen.jpg" height=300> <img src="assets/mainAppScreen.jpg" height=300>


## ToDo

* Add my code
* Get my code configurable using menuconfig
* Add discussion on partitioning

## 3D-Printed Cases

Expand All @@ -167,6 +173,8 @@ In the 3Dprint directory, you'll find STL files for 3D-printable cases
* BatteryCase: Compact case that can fit the WT32-SC01 Plus, a [3.7V lithium-ion battery](https://www.aliexpress.us/item/3256803919111184.html), a [charger module](https://www.aliexpress.us/item/3256804193670438.html), and a [power switch](https://www.aliexpress.us/item/2251832642923360.html).
The USB-C opening and tabs to hold the charger module still need some tweaking.

<img src="assets/BatteryCase.jpg" height=300>


## References

Expand Down
Binary file added assets/BatteryCase.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splashScreen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bd3cf29

Please sign in to comment.