{"id":21009720,"url":"https://github.com/lily-osp/esp8266-sensor-data-distributed-system","last_synced_at":"2026-05-01T08:32:46.546Z","repository":{"id":112743200,"uuid":"581506157","full_name":"lily-osp/ESP8266-Sensor-Data-Distributed-System","owner":"lily-osp","description":"Here is an example of how you could use MicroPython to set up a distributed system with three ESP8266 microcontrollers, where one microcontroller collects sensor data, another processes the data, and a third displays the results","archived":false,"fork":false,"pushed_at":"2023-12-13T06:35:10.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-27T19:32:23.457Z","etag":null,"topics":["distributed-systems","esp8266","micropython","micropython-esp8266"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lily-osp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-23T11:41:22.000Z","updated_at":"2023-12-13T06:35:29.000Z","dependencies_parsed_at":"2023-12-13T07:28:37.203Z","dependency_job_id":"634d6e9e-ce69-4128-9c2a-4a50ab627fc0","html_url":"https://github.com/lily-osp/ESP8266-Sensor-Data-Distributed-System","commit_stats":null,"previous_names":["lily-open-source/distributed-system-esp8266","lily-open-source/-esp8266-sensor-data-distributed-system","lily-osp/esp8266-sensor-data-distributed-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lily-osp/ESP8266-Sensor-Data-Distributed-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lily-osp%2FESP8266-Sensor-Data-Distributed-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lily-osp%2FESP8266-Sensor-Data-Distributed-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lily-osp%2FESP8266-Sensor-Data-Distributed-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lily-osp%2FESP8266-Sensor-Data-Distributed-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lily-osp","download_url":"https://codeload.github.com/lily-osp/ESP8266-Sensor-Data-Distributed-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lily-osp%2FESP8266-Sensor-Data-Distributed-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32490810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["distributed-systems","esp8266","micropython","micropython-esp8266"],"created_at":"2024-11-19T09:17:41.560Z","updated_at":"2026-05-01T08:32:46.530Z","avatar_url":"https://github.com/lily-osp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP8266 Sensor Data Distributed System\n\nThis project demonstrates the implementation of a distributed system using three ESP8266 microcontrollers. The setup involves one microcontroller collecting sensor data, another processing the data, and a third displaying the processed results on an OLED display.\n\n## System Components\n\nTo replicate this distributed system, you will need the following components:\n\n- Three ESP8266 microcontrollers\n- USB-to-serial adapter (e.g., FTDI adapter)\n- Sensor (e.g., temperature sensor)\n- OLED display\n\n## Hardware Connections\n\n1. **Sensor Connection:**\n   - Connect the sensor to the ADC (analog-to-digital converter) of one ESP8266 microcontroller.\n\n2. **OLED Display Connection:**\n   - Connect the OLED display to the I2C bus of another ESP8266 microcontroller.\n\n3. **USB-to-Serial Connection:**\n   - Connect all three ESP8266 microcontrollers to your computer using the USB-to-serial adapter.\n\n## Usage\n\nFollow these detailed steps to use the distributed system effectively:\n\n1. **Burn MicroPython Firmware:**\n   - Utilize the esptool utility to burn the MicroPython firmware to each ESP8266 microcontroller.\n   - Refer to the [MicroPython documentation](https://micropython.org/download#esp8266) for firmware burning instructions.\n\n2. **Upload Code:**\n   - Use a tool like ampy to upload the code for each microcontroller.\n   - Check the [ampy documentation](https://github.com/pycampers/ampy) for code uploading guidance.\n\n3. **Configure Display Microcontroller:**\n   - Ensure that the IP address and port of the HTTP server in the code for the display microcontroller match the server microcontroller's IP address and port.\n\n4. **Power On:**\n   - Power on all three ESP8266 microcontrollers and the OLED display.\n   - The OLED display should start showing the processed value of the sensor data.\n\n## Customization Opportunities\n\nFeel free to customize the code to meet specific needs:\n\n- Modify communication protocols.\n- Add extra processing steps.\n- Adjust display output according to requirements.\n\n## Note\n\nThis distributed system serves as a foundation for more complex IoT projects. Explore and adapt the codebase to suit your unique applications and extend the functionalities of the system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flily-osp%2Fesp8266-sensor-data-distributed-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flily-osp%2Fesp8266-sensor-data-distributed-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flily-osp%2Fesp8266-sensor-data-distributed-system/lists"}