{"id":20563388,"url":"https://github.com/pilotak/raspberry-zero-plc","last_synced_at":"2026-03-19T16:24:13.384Z","repository":{"id":91903476,"uuid":"159807771","full_name":"pilotak/raspberry-zero-plc","owner":"pilotak","description":"DIN mount Raspberry Zero PLC","archived":false,"fork":false,"pushed_at":"2018-11-30T11:18:14.000Z","size":570,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T08:20:43.866Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pilotak.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-30T10:32:16.000Z","updated_at":"2023-07-31T21:02:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e516827-5c49-4f35-aec5-ee9e893d5c1d","html_url":"https://github.com/pilotak/raspberry-zero-plc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pilotak/raspberry-zero-plc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fraspberry-zero-plc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fraspberry-zero-plc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fraspberry-zero-plc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fraspberry-zero-plc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilotak","download_url":"https://codeload.github.com/pilotak/raspberry-zero-plc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fraspberry-zero-plc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30196173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-16T04:18:02.613Z","updated_at":"2026-03-06T20:31:30.966Z","avatar_url":"https://github.com/pilotak.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi Zero/W based PLC\nDIN mount PLC with following features\n- power supply 7-45V DC\n- 2x SPDT relay\n- 1x SSR relay output (positive)\n- 4x mosfet output (negative)\n- 4x opto-isolated digital inputs with hardware debounce\n- 3x analog input + 1 additional for power supply monitoring\n- 1x CAN interface\n- 1x RS232 (can be used for console or as standalone serial port)\n\n## Picture\n![photo](./Pictures/photo.jpg)\n\n## BOM\n\n| Qty | Component | Value | Package |\n|:---:| --------- | ----- | ------- |\n| 4 | Capacitor | 1uF/6.3V | C0805 |\n| 2 | Capacitor | 10uF/6.3V | C0805 |\n| 2 | Capacitor | 22p | C0805 |\n| 12 | Capacitor | 100n | C0805 |\n| 1 | Capacitor | 100uF/50V | PANASONIC_E |\n| 1 | Capacitor | 470uF/10V | PANASONIC_E |\n| 6 | Diode | S1B | DO214AC (SMA) |\n| 1 | TVS | SMBJ33 | DO214AA (SMB) |\n| 2 | Shottky diode| SS26 | DO214AA (SMB) |\n| 1 | NAND Schmitt trigger | 74HC132D | SO14 |\n| 1 | CAN controller | MCP2515-I/SO | SO-18L |\n| 1 | RS232 driver | SP3222EET | SO-18L |\n| 1 | CAN transceiver | TJA1050 | SO08 |\n| 4 | Photocoupler | TLP185 | SOP04 |\n| 1 | SSR relay | AQY212S | SOP04 |\n| 2 | Realy | SRD-5VDC-SL-C | |\n| 1 | Inductor | DE1207-100 | DR125 |\n| 4 | N-mosfet | 2N7002 | SOT23 |\n| 1 | Crystal | 16MHz | HC49U-V |\n| 2 | PNP transistor | BCX71SMD | SOT23 |\n| 1 | P-mosfet | DMG2305UX | SOT23 |\n| 2 | N-mosfet | IRLML0060TRPBF | SOT23 |\n| 5 | Resistor| 1K | R0805 |\n| 5 | Resistor| 2K2 | R0805 |\n| 4 | Resistor| 10K | R0805 |\n| 1 | Resistor| 18K | R0805 |\n| 3 | Resistor| 47K | R0805 |\n| 4 | Resistor| 68K | R0805 |\n| 6 | Resistor| 100K | R0805 |\n| 1 | Resistor| 120R | R1206 |\n| 4 | Resistor| 820K | R0805 |\n| 1 | ADC | ADS1015 | module |\n| 1 | LDO regulator | LM1117-3.3 | SOT223 |\n| 1 | Step-down regulator | LM2576-5.0 | TO-263-5 |\n| 1 | Raspberry Pi | Zero | |\n| 2 | Screw terminal| KF301-5.0-2P | KF301-5.0-2P |\n| 2 | Screw terminal| KF301-5.0-3P | KF301-5.0-3P |\n| 7 | Screw terminal| KF350-3.5-2P | KF350-3.50-2P |\n| 1 | DIN case | Z100J PS | |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilotak%2Fraspberry-zero-plc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilotak%2Fraspberry-zero-plc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilotak%2Fraspberry-zero-plc/lists"}