Home

Awesome

Experimental demo using ESP32-wrover kit and Rust

The main goal of the demo is to display line directions and departure times of public transport vehicles in Brno.

What the project does:

Hardware setup

HW: Wrover-kit

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-wrover-kit.html

demo

Used pins

ILI9341Wrover-kit
RSTGPIO18
CLKGPIO19
D_CGPIO21
CSGPIO22
MOSIGPIO23
MISOGPIO25

HW: ESP32 with ILI9341 display

<img width="723" alt="wokwi" src="https://user-images.githubusercontent.com/43887390/170480059-b26ba8f8-fe7b-49c7-80c2-91c5f25cc8f3.png">

Wokwi

Used pins

ILI9341ESP32-DevKitS-V1.1Cable color
GNDGNDblack
3.3V3.3Vred
RSTGPIO4green
CLKGPIO18orange
D_CGPIO2purple
CSGPIO15blue
MOSIGPIO23yellow
MISOGPIO25cyan

diagram.json

{
  "version": 1,
  "author": "Juraj Sadel",
  "editor": "wokwi",
  "parts": [
    {
      "type": "wokwi-esp32-devkit-v1",
      "id": "esp",
      "top": 0,
      "left": 0.67,
      "attrs": { "builder": "esp32-rust" }
    },
    { "type": "wokwi-ili9341", "id": "lcd1", "top": -354.05, "left": 182.84, "attrs": {} }
  ],
  "connections": [
    [ "esp:TX0", "$serialMonitor:RX", "", [] ],
    [ "esp:RX0", "$serialMonitor:TX", "", [] ],
    [ "esp:D4", "lcd1:RST", "green", [ "h0" ] ],
    [ "esp:3V3", "lcd1:VCC", "red", [ "v-1.02", "h132.77" ] ],
    [ "esp:GND.1", "lcd1:GND", "black", [ "h141.9", "v-1.79" ] ],
    [ "esp:D15", "lcd1:CS", "blue", [ "h0" ] ],
    [ "esp:D2", "lcd1:D/C", "purple", [ "h0" ] ],
    [ "esp:D18", "lcd1:SCK", "orange", [ "h0" ] ],
    [ "esp:D25", "lcd1:MISO", "cyan", [ "h-26.13", "v-106.89", "h328.67" ] ],
    [ "lcd1:MOSI", "esp:D23", "yellow", [ "v0" ] ],
    [ "lcd1:LED", "esp:3V3", "pink", [ "v226.59", "h-190.8" ] ]
  ],
  "serialMonitor": { "display": "terminal" }
}

Wokwi project link

https://wokwi.com/projects/332616143815574099

Devcontainers

The repository supports:

<!-- GIPOR LINK NEEDS TO BE UPDATED WHEN MERGED -->

Build

Flash

Note When using GitHub Codespaces, we need to make the ports public, see instructions.

Wokwi Simulation

Debuging with Wokwi

Wokwi offers debugging with GDB.