https://github.com/aerorust/nanosat-workshop
The AeroRust Nanosat embedded workshop using 2 ESP32-C3 boards with embassy
https://github.com/aerorust/nanosat-workshop
embedded embedded-systems nanosatellite rust workshop
Last synced: 12 months ago
JSON representation
The AeroRust Nanosat embedded workshop using 2 ESP32-C3 boards with embassy
- Host: GitHub
- URL: https://github.com/aerorust/nanosat-workshop
- Owner: AeroRust
- License: apache-2.0
- Created: 2023-03-17T12:35:17.000Z (over 3 years ago)
- Default Branch: skeleton
- Last Pushed: 2024-06-15T05:52:33.000Z (about 2 years ago)
- Last Synced: 2024-06-15T06:38:42.400Z (about 2 years ago)
- Topics: embedded, embedded-systems, nanosatellite, rust, workshop
- Language: Rust
- Homepage: https://aerorust.org/nanosat-workshop/
- Size: 172 MB
- Stars: 22
- Watchers: 4
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# ESP32-C3 embedded workshop
## using Embassy, written in Rust
### To setup your environment
Follow the [book](./docs/SUMMARY.md) (Markdown) or run the included [mdbook (Installation)][mdbook-install] book:
[mdbook-install]: https://rust-lang.github.io/mdBook/guide/installation.html
```
git clone git@github.com:LechevSpace/nanosat-workshop.git && \
cd nanosat-workshop && \
mdbook serve
```
**NB:** Using `git@github.com:LechevSpace/nanosat-workshop.git` requires SSH key set up on Github.
Use your browser to open [http://localhost:3000](http://localhost:3000)
### How to flash
#### Install `espflash`
```
cargo install espflash --rev 60224d1 --git https://github.com/esp-rs/espflash
```
#### `cargo run`
### Pinout and schematics
##### Olimex's ESP32-C3 dev board:
https://raw.githubusercontent.com/OLIMEX/ESP32-C3-DevKit-Lipo/main/HARDWARE/ESP32-C3-DevKit-Lipo_Rev_B/ESP32-C3-DevKit-Lipo_Rev_B.pdf
https://github.com/OLIMEX/ESP32-C3-DevKit-Lipo/raw/main/HARDWARE/ESP32-C3-DevKit-Lipo_Rev_B/ESP32-C3-DevKit-Lipo_Rev_B.pdf
##### Espressif's ESP32-C3-DevKit-RUST-1
Pinout, docs, schematics, etc. can be found here: https://github.com/esp-rs/esp-rust-board
### Debugging with UART
#### Using a Usb-to-serial device for UART debugging
Use UART0 at 21 (TX) & 20 (RX) GPIO pins.
Run minicom at correct baud rate (`115 200`):
```
minicom -b 115200 --noinit --statline --capturefile=uart_debug.cap --wrap -D /dev/ttyUSB0
```
This will save all caught data in a file called `uart_debug.cap`.
## License
MIT or APACHE-2.0