{"id":31588573,"url":"https://github.com/goldmanliyam/led-brightness-control","last_synced_at":"2026-05-11T07:03:45.487Z","repository":{"id":316469274,"uuid":"1059500187","full_name":"GoldmanLiyam/led-brightness-control","owner":"GoldmanLiyam","description":"LED brightness control project using ESP32, CLI, potentiometer, PWM and FreeRTOS.","archived":false,"fork":false,"pushed_at":"2025-09-24T18:49:36.000Z","size":41943,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-24T20:29:31.552Z","etag":null,"topics":["adc","cli","esp-idf","esp32","freertos","platformio","pwm","uart"],"latest_commit_sha":null,"homepage":"","language":"C","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/GoldmanLiyam.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-18T14:25:05.000Z","updated_at":"2025-09-24T18:49:40.000Z","dependencies_parsed_at":"2025-09-24T20:39:43.164Z","dependency_job_id":null,"html_url":"https://github.com/GoldmanLiyam/led-brightness-control","commit_stats":null,"previous_names":["goldmanliyam/led-brightness-control"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/GoldmanLiyam/led-brightness-control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoldmanLiyam%2Fled-brightness-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoldmanLiyam%2Fled-brightness-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoldmanLiyam%2Fled-brightness-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoldmanLiyam%2Fled-brightness-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoldmanLiyam","download_url":"https://codeload.github.com/GoldmanLiyam/led-brightness-control/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoldmanLiyam%2Fled-brightness-control/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547821,"owners_count":26004775,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["adc","cli","esp-idf","esp32","freertos","platformio","pwm","uart"],"created_at":"2025-10-06T02:10:55.580Z","updated_at":"2025-10-06T02:11:44.666Z","avatar_url":"https://github.com/GoldmanLiyam.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LED brightness control\r\nLED brightness control project using ESP32, CLI, potentiometer, PWM and RTOS.\r\n\r\n## Features\r\n- The system is controlled by RTOS.\r\n- CLI controls the system status (ON/OFF).\r\n- A timer controls the potentiometer readings.\r\n- When the system is OFF, the LED will be turned off, and the timer stops.\r\n- The readings from the potentiometer are mapped to the PWM's range (0-255).\r\n- `cli_task` reads characters from the terminal with UART connection.\r\n- The task accepts the following words: `off`, `Off`, `OFF`, `on`, `On`, `ON`.\r\n- ON turns the system ON, OFF turns it OFF\r\n- Any other word will trigger the `help` message, which clarifies\r\n  the acceptable words.\r\n- If the system is already ON/OFF when entering ON/OFF, the user will be notified.\r\n- Max characters to enter - 63, after the 63rd character, the `cli_task` won't read any other character.\r\n- As soon as the system is turned ON, a new reading will occur.\r\n- In case the timer won't stop/start, an infinite loop will occur, which triggers the watchdog.\r\n\r\n## Demo\r\n\r\n### 🎞️ GIF 1 – CLI Example\r\n![CLI demonstration](assets/demo1.gif)\r\n\r\n### 🎞️ GIF 2 – Brightness Control Example\r\n![Demonstration for controlling the brightness of the LED](assets/demo2.gif)\r\n\r\n---\r\n\r\n### 📸 Project Images\r\n\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"assets/img1.jpg\" width=\"400\"/\u003e\r\n  \u003cbr/\u003e\r\n  \u003cem\u003eLED Brightness Control breadboard – top view\u003c/em\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"assets/img2.jpeg\" width=\"400\"/\u003e\r\n  \u003cbr/\u003e\r\n  \u003cem\u003eLED Brightness Control breadboard – front view\u003c/em\u003e\r\n\u003c/p\u003e\r\n\r\n## Installation\r\n- Clone this repository:  \r\n  git clone https://github.com/GoldmanLiyam/led-brightness-control.git\r\n- Open with VS CODE and PlatformIO extension\r\n- Connect ESP32 board\r\n- Upload code via PlatformIO\r\n\r\n## Usage\r\n- `on` - Turn system ON  \r\n- `off` - Turn system OFF  \r\n- Any other word - Show help message\r\n\r\n## Hardware\r\n- ESP32 DevKit v1\r\n- 10kΩ potentiometer\r\n- 3mm, 3V LED\r\n- 330Ω resistor\r\n- Breadboard \u0026 jumpers\r\n\r\n## License\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n\r\nCreated by Liyam Goldman\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoldmanliyam%2Fled-brightness-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoldmanliyam%2Fled-brightness-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoldmanliyam%2Fled-brightness-control/lists"}