{"id":22656923,"url":"https://github.com/icelk/httpwm","last_synced_at":"2026-05-05T05:36:13.980Z","repository":{"id":60824081,"uuid":"343877104","full_name":"Icelk/httPWM","owner":"Icelk","description":"Web application to control Raspberry Pi PWM from anywhere in the world.","archived":false,"fork":false,"pushed_at":"2023-02-12T02:24:57.000Z","size":179,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T21:47:36.995Z","etag":null,"topics":["http-server","pwm","raspberry-pi","webapp"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Icelk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-02T18:43:48.000Z","updated_at":"2023-01-14T23:17:38.000Z","dependencies_parsed_at":"2024-12-09T10:16:57.462Z","dependency_job_id":"d9618e72-61e7-475f-9922-a9a14cb33929","html_url":"https://github.com/Icelk/httPWM","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icelk%2FhttPWM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icelk%2FhttPWM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icelk%2FhttPWM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icelk%2FhttPWM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Icelk","download_url":"https://codeload.github.com/Icelk/httPWM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156419,"owners_count":20732397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http-server","pwm","raspberry-pi","webapp"],"created_at":"2024-12-09T10:16:53.919Z","updated_at":"2026-05-05T05:36:13.907Z","avatar_url":"https://github.com/Icelk.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# _htt_**PWM**\n\n\u003e httPWM is a web-driven PWM controller supported by a custom backend.\n\nThe backend consists of my web server [Icelk/kvarn](https://github.com/Icelk/kvarn)\nand a custom-built event-loop.\n\nIt's goal is to enable software control over PWM output on the Raspberry Pi and ESP32,\neither through the hardware `PWM channels` or through `software PWM` (only Raspberry Pi).\n\nThe backend event-loop and scheduler handling is the core part, and can be used without `Kvarn` and other binary dependencies.\nIf you want to use only the library, check out [main.rs](src/bin/main.rs) for a implementation and make sure to disable default features in your `Cargo.toml`.\n\n# Sample circuit\n\n\u003e This is the exact circuit I'm using. You can definitely change the MOSFET to a NPN transistor.\n\nA [sample circuit](resources/circuit.cddx) is included (opened using the [Circuit Diagram Web Editor](https://www.circuit-diagram.org/editor/)),\nwhich uses the Raspberry Pi's hardware PWM pins and 5V power from it's USB ports.\n\n![circuit](resources/circuit.svg)\n\n# State of project\n\nRight now, it's in a working state and can be deployed on a Raspberry Pi and ESP32-C3 (see the build scripts).\n\nIt takes about 5 minutes to compile the first time on a `RPi model 3`.\nCompilation to the ESP32-C3 is done thought the `./build-esp32.sh` script. It can then be flashed using `./flash-esp32-c3.sh`.\nYou'll need a few programs installed (`cargo install espmonitor espflash`) and possibly some other dependencies. The script will tell you.\n\n# Contribution\n\nThis code is licensed under the MIT license, and so should all contributions also be.\n\nIf you encounter any bugs, please open an issue or tackle the problem yourself!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficelk%2Fhttpwm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficelk%2Fhttpwm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficelk%2Fhttpwm/lists"}