The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 14 Rust embedded-hal Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
driver-examples
Rust example programs for many of my hardware device drivers running on STM32F3 Discovery, STM32F103 "Blue Pill", RaspberryPi and micro:bit boards
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
OFMon
Offline-first smart energy monitoring platform using Rust, ESP32, Thingsboard, and a fork of Thingsboard Mobile flutter app.
-
mpu6050-dmp-rs
Platform-independent I2C driver for MPU6050. Supports DMP usage. Fork of drogue-mpu-6050 which uses only embedded-hal traits (no dependency on embedded-time or drogue-embedded-timer).
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
[Embedded NES][Rust] https://github.com/kamiyaowl/rust-nes-emulator [Embedded NES][Rust]https://github.com/henrikpersson/potatis
In the esp-hal, they appear to offer both sync and async I2C implementations, depending on what works best for an application. Since the async implementation is gated by a feature, it may not show up in the docs you linked.
Async implementation: https://github.com/esp-rs/esp-hal/blob/main/esp-hal-common/s...
You can also see the async feature mentioned here: https://docs.rs/crate/esp32s2-hal/latest/features
It was actually quite simple and a lot of fun to write (and hear!).
Video: [1]
Source code: [2]
[1]: https://blog.eldruin.com/ad983x-waveform-generator-dds-drive...
[2]: https://github.com/eldruin/driver-examples/blob/master/stm32...
Afaik there while there are some OSS projects they aren't necessarily mature.
The no_std hal is still a bit of a moving target so it's not as beginner friendly, the most mature here seems to be the SlimeVR firmware: https://github.com/SlimeVR/SlimeVR-Rust/tree/main/firmware
For std hal there are a few more, OFMon being a good one: https://github.com/arashsm79/OFMon
nice, have you seen https://github.com/barafael/mpu6050-dmp-rs? Definitely open for contributions.
Project mention: Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.70] | /r/rust | 2023-06-03rustlink: small set of Rust tools to program STM32 devices esp32-phantom: Rust sandbox to explore the WiFi and BLE capabilities of the ESP32 stm32-rf-scanner: STM32 and nRF24L01+ based 2.4GHz RF scanner stm32-dc-dc: STM32 based DC-DC converter
Rust embedded-hal related posts
- Rust on Espressif chips – 29-09-2023
- The Embedded Rust ESP Development Ecosystem
- Arduino Uno issue with interfacing with a dht11 sensor.
- How to write HALs and get into microcontroller programming
- Rust embedded device driver examples for bluepill, and other boards
- Looking for a highly resource constrained target to run Rust on. Any ideas?
- Code Rust in Aurdino??
-
A note from our sponsor - WorkOS
workos.com | 25 Apr 2024
Index
What are some of the best open-source embedded-hal projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | potatis | 648 |
2 | esp-hal | 565 |
3 | atsamd | 531 |
4 | esp-idf-hal | 387 |
5 | linux-embedded-hal | 226 |
6 | driver-examples | 86 |
7 | bl602-hal | 70 |
8 | OFMon | 34 |
9 | dht-sensor | 24 |
10 | mpu6050-dmp-rs | 13 |
11 | notecard-rs | 8 |
12 | atsam4-hal | 5 |
13 | esp32-phantom | 4 |
14 | ebyte-e32-ui | 1 |
Sponsored