{"id":29644950,"url":"https://github.com/unit-electronics-mx/unit_relay_module_g6k_2g_y_tr_dc5","last_synced_at":"2025-07-22T01:06:38.486Z","repository":{"id":304999723,"uuid":"972340502","full_name":"UNIT-Electronics-MX/unit_relay_module_g6k_2g_y_tr_dc5","owner":"UNIT-Electronics-MX","description":"Isolated 2-channel relay module for safely switching high-voltage devices using low-voltage digital signals. Ideal for automation, IoT, and embedded control systems.","archived":false,"fork":false,"pushed_at":"2025-07-17T17:44:11.000Z","size":9735,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T18:50:57.371Z","etag":null,"topics":["iot","pwm","relay"],"latest_commit_sha":null,"homepage":"https://unit-electronics-mx.github.io/wiki_uelectronics/es/docs/Modules/relay","language":null,"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/UNIT-Electronics-MX.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}},"created_at":"2025-04-24T23:22:43.000Z","updated_at":"2025-07-09T21:04:34.000Z","dependencies_parsed_at":"2025-07-17T22:07:09.341Z","dependency_job_id":null,"html_url":"https://github.com/UNIT-Electronics-MX/unit_relay_module_g6k_2g_y_tr_dc5","commit_stats":null,"previous_names":["unit-electronics-mx/unit_relay_module_g6k_2g_y_tr_dc5"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/UNIT-Electronics-MX/unit_relay_module_g6k_2g_y_tr_dc5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UNIT-Electronics-MX%2Funit_relay_module_g6k_2g_y_tr_dc5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UNIT-Electronics-MX%2Funit_relay_module_g6k_2g_y_tr_dc5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UNIT-Electronics-MX%2Funit_relay_module_g6k_2g_y_tr_dc5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UNIT-Electronics-MX%2Funit_relay_module_g6k_2g_y_tr_dc5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UNIT-Electronics-MX","download_url":"https://codeload.github.com/UNIT-Electronics-MX/unit_relay_module_g6k_2g_y_tr_dc5/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UNIT-Electronics-MX%2Funit_relay_module_g6k_2g_y_tr_dc5/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266405405,"owners_count":23923536,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["iot","pwm","relay"],"created_at":"2025-07-22T01:06:37.542Z","updated_at":"2025-07-22T01:06:38.474Z","avatar_url":"https://github.com/UNIT-Electronics-MX.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Relay Module\n\nThis dual-channel relay module is engineered to safely and reliably interface with microcontrollers that manage higher-voltage or higher-current loads. It provides a dedicated 5 V supply for powering the relay coils while the logic supply is aligned with the microcontroller’s I/O voltage (3.3 V or 5 V). The module accepts digital control signals to toggle the relays, and the relay contacts are designed with both normally-open (NO) and normally-closed (NC) configurations, offering versatile switching options.\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"./unit_relay_module_g6k_2g_y_tr_dc5.pdf\"\u003e\u003cimg src=\"hardware/resources/img/relay_module.png\" width=\"400px\"\u003e\u003cbr/\u003e UNIT Relay Module\u003c/a\u003e\n\u003c/div\u003e\n\n\n## **Features**\n- **2 × 5 V relays** with Normally Open (NO) and Normally Closed (NC) contacts  \n- **Optical isolation** between control (logic) and power (coil) sides  \n- **LED indicators**: one for power and one per channel  \n- Compatible with **3.3 V or 5 V logic**  \n- **Screw terminals** for secure connection of power loads    \n\n\n## **Description** \n\n\u003cdiv align=\"center\"\u003e\n\n| Signal         | Description                                                                  |\n|----------------|------------------------------------------------------------------------------|\n| JDVCC          | +5V for relay coils; isolated from MCU logic, enabling 3.3V systems.         |\n| VCC            | Powers input drivers; must match MCU voltage (3.3V or 5V).                   |\n| IN             | MCU signal; high (~VCC) activates the optocoupler and relay.                 |\n| NO1 / NO2      | Normally open contacts; close only when the relay is energized.              |\n| COM1 / COM2    | Common terminal toggling between NC and NO.                                |\n| NC1 / NC2      | Normally closed contacts; open when the relay is active.                     |\n| LED_PWR        | LED showing JDVCC (5V) presence.                                               |\n| LED_IN         | LED indicating control signal activity from IN.                            |\n\n\u003c/div\u003e\n\n\n\n## Common Applications\n\n- Home Automation\n- Industrial Automation\n- IoT Projects\n- Automated Irrigation\n- HVAC Control\n- Renewable Energy\n- Testing \u0026 Laboratory\n- Robotics \u0026 Mechatronics\n- Smart Agriculture\n- Vehicle Power Management\n- Audio \u0026 Signaling\n- Security \u0026 Alarm Systems\n- Education \u0026 Demos\n\n## Documentation and Setup\n\n### Overview\nThis repository contains firmware and documentation for integrating the Relay Module into your projects.\n\n### Installation\n1. Clone the repository:\n   ```\n   git clone git@github.com:UNIT-Electronics-MX/unit_relay_module_g6k_2g_y_tr_dc5.git\n   ```\n2. Navigate to the project directory:\n   ```\n   cd ./unit_buck_relay_module_g6k_2g_y_tr_dc5\n   ```\n3. Follow the platform-specific setup instructions detailed in the project documentation.\n\n### Usage\nInclude the sensor initialization and configuration routines in your main project file. Sample code snippets and detailed explanations can be found in the documentation folder of the repository.\n\n\n## Support\nFor any issues or further assistance, please open an issue on the GitHub repository or contact our support team.\n\n\n## License MIT\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Resources\n- [Product brief](./unit_relay_module_g6k_2g_y_tr_dc5.pdf)\n- [Schematic](./hardware/UE0089-SCH-G6K-2G-Y-TR-DC5-001-T.pdf)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funit-electronics-mx%2Funit_relay_module_g6k_2g_y_tr_dc5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funit-electronics-mx%2Funit_relay_module_g6k_2g_y_tr_dc5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funit-electronics-mx%2Funit_relay_module_g6k_2g_y_tr_dc5/lists"}