{"id":29290382,"url":"https://github.com/anthippi/arduino-ethernet-led-controller-web-android","last_synced_at":"2026-05-04T22:41:27.564Z","repository":{"id":302894973,"uuid":"1013867495","full_name":"Anthippi/Arduino-Ethernet-LED-Controller-Web-Android","owner":"Anthippi","description":"Arduino-based LED Controller with Web \u0026 Android App Support (via Ethernet)","archived":false,"fork":false,"pushed_at":"2025-12-26T13:42:14.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-27T07:54:07.076Z","etag":null,"topics":["android-application","arduino","ethernet","mega2560"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Anthippi.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-07-04T15:44:52.000Z","updated_at":"2025-12-26T13:42:17.000Z","dependencies_parsed_at":"2025-07-04T17:06:28.655Z","dependency_job_id":null,"html_url":"https://github.com/Anthippi/Arduino-Ethernet-LED-Controller-Web-Android","commit_stats":null,"previous_names":["anthippi/arduino-ethernet-led-controller-web-android"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Anthippi/Arduino-Ethernet-LED-Controller-Web-Android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthippi%2FArduino-Ethernet-LED-Controller-Web-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthippi%2FArduino-Ethernet-LED-Controller-Web-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthippi%2FArduino-Ethernet-LED-Controller-Web-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthippi%2FArduino-Ethernet-LED-Controller-Web-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anthippi","download_url":"https://codeload.github.com/Anthippi/Arduino-Ethernet-LED-Controller-Web-Android/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthippi%2FArduino-Ethernet-LED-Controller-Web-Android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32628211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android-application","arduino","ethernet","mega2560"],"created_at":"2025-07-06T06:04:52.550Z","updated_at":"2026-05-04T22:41:27.559Z","avatar_url":"https://github.com/Anthippi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino Ethernet LED Controller (Web \u0026 Android) [![Static Badge](https://img.shields.io/badge/English-orange)](README.en.md)\n\nΑυτό το project επιτρέπει τον **έλεγχο ενός LED** συνδεδεμένου σε **Arduino Mega 2560** με **Ethernet Shield (HanRun W5100)**, μέσω ενός **Web server** και **Android app** που στέλνουν HTTP αιτήματα.\n\n---\n\n## Υλικά / Hardware\n\n- Arduino Mega 2560  \n- Ethernet Shield (HanRun W5100 ή συμβατό)  \n- LED  \n- Αντιστάτης (220Ω ή 330Ω)  \n- Android κινητό με σύνδεση στο ίδιο δίκτυο  \n- Καλώδιο Ethernet  \n- Τροφοδοσία για το Arduino (μέσω USB ή εξωτερική)\n\n---\n\n## Συνδεσμολογία\n\n| Arduino Pin | Συσκευή |\n|-------------|----------|\n| D9          | Θετικό πόδι LED (μέσω αντίστασης)  \n| GND         | Αρνητικό LED\n\nΤο Ethernet Shield συνδέεται πάνω στο Arduino Mega κατευθείαν (stacked).\n\n\u003cimg width=\"1024\" height=\"559\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b9522923-cba3-40bc-be18-897d8fa38ae0\" /\u003e\n\n---\n\n## Android App (Java)\n\nΗ εφαρμογή αποτελείται από 2 κουμπιά:\n- **LED ON** ➜ στέλνει αίτημα στο `/​?button1on`\n- **LED OFF** ➜ στέλνει αίτημα στο `/​?button2off`\n\n### Παράδειγμα αιτήματος:\n```\nGET http://anduinoIP/?button1on\n```\n\n### Τεχνολογίες:\n- Java (Android)\n- AsyncTask για HTTP αιτήματα\n\n---\n\n## Arduino Sketch\n\nΤο Arduino δημιουργεί έναν HTTP web server στη θύρα `0` και \"ακούει\" αιτήματα από το Android app.\n\n### Λειτουργίες:\n- `/​?button1on` ➜ ενεργοποιεί το LED (pin 9)\n- `/​?button2off` ➜ απενεργοποιεί το LED\n\nΗ απάντηση περιέχει και ένα απλό web UI με κουμπιά για έλεγχο μέσω browser.\n\n---\n\n## Ρυθμίσεις Δικτύου\n\nΗ IP του Arduino ορίζεται **σταθερά**:\n```cpp\nIPAddress ip(0, 0, 0, 0); // arduinoIP\n```\n\u003eΦρόντισε να είναι **στο ίδιο δίκτυο** με το κινητό Android.\n\n---\n\n## Build Οδηγίες\n\n### Arduino\n1. Άνοιξε το Arduino IDE\n2. Κάνε επικόλληση τον κώδικα του sketch\n3. Σύνδεσε το Arduino και ανέβασε τον κώδικα\n\n### Android App\n1. Άνοιξε το Android Studio\n2. Ρύθμισε την IP στα αρχεία `MainActivity.java` και `network_security_config.xml`:\n```java\nprivate static final String SERVER_URL = \"http:// arduinoIP\";\n```\n```xml\n\u003cdomain includeSubdomains=\"true\"\u003e arduinoIP \u003c/domain\u003e\n```\n\n3. Τρέξε την εφαρμογή σε Android κινητό ή emulator που έχει πρόσβαση στο ίδιο δίκτυο\n\n---\n\n## Screenshots\n\n- Android app με 2 κουμπιά (LED ON / OFF)\n  \n  ![android_buttons](https://github.com/user-attachments/assets/f49389f1-cec6-4035-ac4d-fd784366d127)\n\n- Web interface από τον Arduino με ίδιο έλεγχο\n  \n  ![web_buttons](https://github.com/user-attachments/assets/8db40c17-0329-4097-9d0c-c4c74ae52558)\n\n---\n\n## Έλεγχος\n\nΜπορείς να ελέγξεις το LED:\n- Μέσω Android εφαρμογής\n- Μέσω browser, πηγαίνοντας στο:  `http:// arduinoIP`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthippi%2Farduino-ethernet-led-controller-web-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthippi%2Farduino-ethernet-led-controller-web-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthippi%2Farduino-ethernet-led-controller-web-android/lists"}