Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Nereuxofficial/nostd-wifi-lamp
A no-std esp32 Wifi Lamp
https://github.com/Nereuxofficial/nostd-wifi-lamp
embedded esp32 neopixel no-std rust w2812b wifi-lamp
Last synced: about 1 month ago
JSON representation
A no-std esp32 Wifi Lamp
- Host: GitHub
- URL: https://github.com/Nereuxofficial/nostd-wifi-lamp
- Owner: Nereuxofficial
- License: apache-2.0
- Created: 2023-04-17T12:10:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-30T09:55:11.000Z (about 1 year ago)
- Last Synced: 2024-11-02T12:06:16.545Z (about 1 month ago)
- Topics: embedded, esp32, neopixel, no-std, rust, w2812b, wifi-lamp
- Language: Rust
- Homepage: https://nereux.blog/posts/esp32-ws2812-dino-light-2/
- Size: 75.2 KB
- Stars: 30
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-esp-rust - nostd-wifi-lamp - A Wi-Fi Lamp built with an ESP32 and Neopixel Lights controllable via Wi-Fi (Projects / `no_std`)
README
# Nostd-wifi-lamp
[![License](https://img.shields.io/badge/License-AGPLv3-blue?style=flat-square)](#license)
[![issues - Nereuxofficial](https://img.shields.io/github/issues/Nereuxofficial/nostd-wifi-lamp?style=flat-square)](https://github.com/Nereuxofficial/nostd-wifi-lamp/issues)
![Commits/m](https://img.shields.io/github/commit-activity/m/Nereuxofficial/nostd-wifi-lamp?style=flat-square)![image](https://user-images.githubusercontent.com/37740907/234689372-d34c1a6a-9ef1-4e9d-9ad7-e375131d3512.png)
![image](https://user-images.githubusercontent.com/37740907/234694404-828c6bfc-2ea6-4a56-9bc0-13f2fca3bffb.png)A Wi-Fi controllable lamp written in Rust for the ESP32 using esp-hal. This was created for a blog post you can read
[here](https://nereux.blog/posts/esp32-ws2812-dino-light-2/).
## Usage
Sadly, I cannot provide binaries as they include WI-FI SSID and Passwords.
After [installing espup](https://github.com/esp-rs/espup) follow these steps:1. Install the `cargo-espflash` tool
```bash
# We need the newest espflash as of now
cargo install espflash --git https://github.com/esp-rs/cargo-espflash.git
```
2. Clone this repository
```bash
git clone https://github.com/Nereuxofficial/nostd-wifi-lamp
cd nostd-wifi-lamp
```
3. Flash it to your ESP32
```bash
export SSID="your SSID" PASSWORD="your password"
cargo run --release
```
And then enjoy your wifi light! You can now connect to the printed IP Adress in your browser or alternatively send this curl request:
```bash
curl -v -d '{"r":0,"g":0,"b":200}' http://
```(If the last step doesn't work try pressing the `Boot` Button during the command, which always worked for me.)
## Credits
[bjoernQ](https://github.com/bjoernQ) for fixing an error where the stack overflowed into the heap and i had no idea why it was crashing.
[esp-rs](https://github.com/esp-rs/) for the Rust tooling around ESP32s