Skip to content

The AeroRust Nanosat embedded workshop with 2 subsystems - Onbaord computer and power system and peripheral crates

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

AeroRust/nanosat-workshop

Repository files navigation

Nanosat embedded workshop

using Embassy, written in Rust

Getting started

To setup your environment and learn about the exercises follow the book. You can access the book in a few ways:

  1. Clone the repo
git clone [email protected]:AeroRust/nanosat-workshop.git && \ 
cd nanosat-workshop

NB: Using [email protected]:AeroRust/nanosat-workshop.git requires SSH key set up on Github.

  1. Build the docs of the applications

cargo +nightly website-docs

  1. Start the local book server mdbook serve

  2. Use your browser to open http://localhost:3000

How to flash

1. Install espflash

cargo install [email protected]

2. Use cargo run

  • For power-system application (Olimex board) cargo run -p power-system
  • For onboard-computer application (Espressif Rust board) cargo run -p onboard-computer

Pinout and schematics

Olimex's ESP32-C3 dev board:

PDF: https://raw.githubusercontent.com/OLIMEX/ESP32-C3-DevKit-Lipo/main/HARDWARE/ESP32-C3-DevKit-Lipo_Rev_B/ESP32-C3-DevKit-Lipo_Rev_B.pdf

Repository PDF file: 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

About

The AeroRust Nanosat embedded workshop with 2 subsystems - Onbaord computer and power system and peripheral crates

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks