{"id":17788738,"url":"https://github.com/devel0/iot-atmega328p-eth","last_synced_at":"2025-08-05T02:13:45.537Z","repository":{"id":122982977,"uuid":"152573459","full_name":"devel0/iot-atmega328p-eth","owner":"devel0","description":"minimal setup to debug atmega328p with enc28j60/w5500","archived":false,"fork":false,"pushed_at":"2018-12-30T00:23:41.000Z","size":826,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T00:37:37.963Z","etag":null,"topics":["atmega","enc28j60","iot","w5500"],"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/devel0.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":"2018-10-11T10:26:46.000Z","updated_at":"2020-10-24T17:46:52.000Z","dependencies_parsed_at":"2023-03-10T20:15:29.236Z","dependency_job_id":null,"html_url":"https://github.com/devel0/iot-atmega328p-eth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devel0/iot-atmega328p-eth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fiot-atmega328p-eth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fiot-atmega328p-eth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fiot-atmega328p-eth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fiot-atmega328p-eth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devel0","download_url":"https://codeload.github.com/devel0/iot-atmega328p-eth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fiot-atmega328p-eth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268820501,"owners_count":24312402,"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-08-05T02:00:12.334Z","response_time":2576,"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":["atmega","enc28j60","iot","w5500"],"created_at":"2024-10-27T10:21:01.993Z","updated_at":"2025-08-05T02:13:45.528Z","avatar_url":"https://github.com/devel0.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iot-atmega328p-eth\n\nminimal setup to debug atmega328p with enc28j60/w5500\n\n\u003cimg src=\"doc/setup.jpg\" width=640/\u003e\n\n- [prerequisites](#prerequisites)\n- [config](#config)\n- [wirings](#wirings)\n- [sketch size](#sketch-size)\n- [usage](#usage)\n- [security considerations](#security-considerations)\n\n## prerequisites\n\n- software\n  - install [vscode arduino](https://github.com/devel0/knowledge/blob/master/doc/vscode-arduino.md)\n  - install [UIPEthernet](https://github.com/UIPEthernet/UIPEthernet)\n- hardware\n  - [atmega bare](https://github.com/devel0/iot-atmega-bare)\n  - [enc28j60](https://www.microchip.com/wwwproducts/en/en022889) module or w5500\n\n## config\n\n- tune your network config MACADDRESS and MYIPADDR, MYIPMASK, MYDNS, MYGW if want static initialization\n- choose between one of ethernet module type ( enc28j60 or w5500 )\n\n## wirings\n\nschematics here for w5500 [here](https://easyeda.com/editor#id=|7506cd41b26244d4b4f3a225eba49999) just skip sd card; if use enc28j60 power it from 3v3 setting JP2 to link VCC-3V3\n\n## sketch size\n\n*serial debug included, static ip*\n\n**ENC28J60 (udp disabled)**\n\n- `UIP_CONF_UDP=0` in `UIPEthernet/utility/uipethernet-conf.h`\n\n```\nSketch uses 13364 bytes (40%) of program storage space. Maximum is 32768 bytes.\nGlobal variables use 833 bytes (40%) of dynamic memory, leaving 1215 bytes for local variables. Maximum is 2048 bytes.\n```\n\n**W5500**\n\n```\nSketch uses 12162 bytes (37%) of program storage space. Maximum is 32768 bytes.\nGlobal variables use 317 bytes (15%) of dynamic memory, leaving 1731 bytes for local variables. Maximum is 2048 bytes.\n```\n## usage\n\n```\ntelnet 10.10.2.5 1000\nhi\n```\n\n- check serial `ctrl+shift+p arduino open serial`\n\n```\nreceived message : hi\n```\n\n## security considerations\n\n- atmega web server with **NOT** crypted https: thing can faced to internet through a [nginx proxy](https://github.com/devel0/docker-nginx) with a valid certificate encryption\n- if write ( acting or activators ) present in a internet face must present an api token ( and https of course )\n- in LAN a paranoid setting suggest you have a router with firewall that allow access to the thing only to authorized frontends\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevel0%2Fiot-atmega328p-eth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevel0%2Fiot-atmega328p-eth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevel0%2Fiot-atmega328p-eth/lists"}