{"id":15142091,"url":"https://github.com/myraspberry/pico_w_pid","last_synced_at":"2026-01-19T08:01:41.848Z","repository":{"id":211803264,"uuid":"729978595","full_name":"MyRaspberry/PICO_W_PID","owner":"MyRaspberry","description":"Raspberry Pi PICO W board with PID control and webserver show/operation","archived":false,"fork":false,"pushed_at":"2024-02-11T04:23:31.000Z","size":263,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T15:17:42.840Z","etag":null,"topics":["circuitpython","pico-w"],"latest_commit_sha":null,"homepage":"http://kll.byethost7.com/kllfusion01/infusions/articles/articles.php?article_id=227","language":"C++","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/MyRaspberry.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}},"created_at":"2023-12-10T23:16:58.000Z","updated_at":"2024-04-02T13:12:51.000Z","dependencies_parsed_at":"2024-02-11T05:22:56.420Z","dependency_job_id":"b56e0479-8da4-4810-895e-c9f14ca464f2","html_url":"https://github.com/MyRaspberry/PICO_W_PID","commit_stats":null,"previous_names":["myraspberry/pico_w_pid"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/MyRaspberry/PICO_W_PID","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyRaspberry%2FPICO_W_PID","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyRaspberry%2FPICO_W_PID/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyRaspberry%2FPICO_W_PID/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyRaspberry%2FPICO_W_PID/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MyRaspberry","download_url":"https://codeload.github.com/MyRaspberry/PICO_W_PID/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyRaspberry%2FPICO_W_PID/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28563215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"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":["circuitpython","pico-w"],"created_at":"2024-09-26T09:22:36.217Z","updated_at":"2026-01-19T08:01:41.826Z","avatar_url":"https://github.com/MyRaspberry.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# PID-project\n## PICO W Circuit Python\n\nnew  ( 3.1.2024 )\n\n## PICO W Arduino IDE 2.2.1\n## ESP32-S3 Arduino IDE 2.3\n\n- webserver ( RTC from NTP )\n- analog in\n- digital out pwm\n- PID\n- MQTT to local broker\n+ + MQTT with Secure Server and MQTT lib v2.5.2 to HIVEMQ with TLS\n\n## RPI4: MQTT broker \u0026 Node-Red \u0026 SQLite for Current and Hist Trend\n\n- fix IP 192.168.1.4 on ethernet port / cable\n- Mosquitto MQTT broker ( no TLS / password protected ) ( v2.0.11 )\n- SQLite3 ( v3.40.1 )\n- Node ( v20.10.0 )\n- Node-Red ( v3.1.0 )\n\nadd sideproject: \u003c/br\u003e\n# PMS1W PoorManScope 1channel  WiFi\n## PICO W CP829\n## ESP-32-S3 Arduino\n## PICO W Arduino\n\n# project info\nsee [phone browser](http://kll.byethost7.com/kllfusion01/downloads/PICOW_android_beowser_page.jpg)\u003c/br\u003e\nsee [V102 from PC](http://kll.byethost7.com/kllfusion01/downloads/PICOW_PID_datapage.png)\u003c/br\u003e\nsee [V110 NR\u0026wwww](http://kll.byethost7.com/kllfusion01/downloads/PICOW_PID_WWW_NR_DASHpng.png)\u003c/br\u003e\nsee [ESP32-S3 Arduino IDE](http://kll.byethost7.com/kllfusion01/downloads/ESP32_Arduino_PID_faceplate.png)\u003c/br\u003e\n\nsee [PICOW CP829 PMS1W](http://kll.byethost7.com/kllfusion01/downloads/PICO_W_CP289_PMS1W.png)\u003c/br\u003e\nsee [ESP32-S3 PMS1W](http://kll.byethost7.com/kllfusion01/downloads/esp32-s3_PMS1W_RAW_In.png)\u003c/br\u003e\n\n- v1.0.1b PreRelease\n- v1.0.2b Release\n- v1.1.0 MQTT ( no TLS ) Release\n- v1.1.1 update to CP900a6 work on PICO_W code\n- v1.1.2 back to CP829 and use mem_free report for each import \"DIAGM\" in settings.toml\n- v1.1.3 delete datetime lib use time lib only ( +26kB mem )\n_______________________________\n\nboard: PICO W\u003c/br\u003e\nused system files:\n```OS: Circuit Python\nadafruit-circuitpython-raspberry_pi_pico_w-en_US-20231205-no-branch-156f417.uf2\nadafruit-circuitpython-bundle-9.x-mpy-20231205.zip\nflash_nuke.uf2\n```\n\n### read back after nuke \u0026 flash:\n\nsee: boot_out.txt\n\n```\nAdafruit CircuitPython 9.0.0-alpha.5-34-g156f417f70 on 2023-12-05;\nRaspberry Pi Pico W with rp2040\nBoard ID:raspberry_pi_pico_w\n```\n______________________________\n\nthe in this project used Python PID code is from:\u003c/br\u003e\n[m-lundberg/simple-pid](https://github.com/m-lundberg/simple-pid) \u003c/br\u003e\nMIT lic.\n\n_______________________________\n\n## maker\n\nby: kll engineering\u003c/br\u003e\nlic: CC-BY-SA 4.0\u003c/br\u003e\ndate: 11.12.23\u003c/br\u003e\nplace: CNX\u003c/br\u003e\nblog: [myBlog PICO_W PID artcle](http://kll.byethost7.com/kllfusion01/infusions/articles/articles.php?article_id=227)\n\n_______________________________\n\n## HOW TO\n\n- 1\u003c/br\u003e\nget a PICO W board with WIFI 6$ and HEADERS ( if you not want to solder 7$ )\u003c/br\u003e\n[PICO W board](https://www.raspberrypi.com/products/raspberry-pi-pico/?variant=raspberry-pi-pico-wh)\n\n- 2\u003c/br\u003e\nconnect it with a USB cable ( USB A to Micro-USB-B cable ) to a PC USB port\u003c/br\u003e\nand see drive content INDEX.HTM, INFO_UF2.TXT ( with bootloader info )\u003c/br\u003e\nlater you will need to press the [BOOT-SEL] button while connecting to see that drive again\n\n- 3\u003c/br\u003e\nopen 2 file explorer windows and copy like drag / drop\u003c/br\u003e\n-a- flash_nuke.uf2 ( required only if you change CPxxx version )\u003c/br\u003e\n-b- adafruit-circuitpython-raspberry_pi_pico_w-\u003c LANGUAGE \u003e\u003c DATE \u003e\u003c VERSION \u003e.uf2 to it\u003c/br\u003e\nafter copy the drive will close and after 5sec drive show up again: 'CIRCUITPY'\u003c/br\u003e\npls find there boot_out.txt and check\n\n- 4\u003c/br\u003e\nyou could start now edit 'code.py' with MU-Editor, but here we\u003c/br\u003e\ndelete the empty code.py and settings.toml\u003c/br\u003e\nand copy / drag our new files and /lib/\n\n- 5\u003c/br\u003e\nopen [MU-Editor](https://codewith.mu/) ( mode circuitpython )( should auto find that drive and open code.py )\u003c/br\u003e\nactivate the serial TAB aka REPL console ( use [CTRL][c] for stop / [CTRL][d] for reboot )\u003c/br\u003e\nnow develop code directly on the board\u003c/br\u003e\nBUT: can not edit settings.toml on the board! ( reboot failure might happen )\u003c/br\u003e\nthat file only edit on the PC ( like with notepad )( like add your wifi login SSID PASSWORD )\u003c/br\u003e\nand copy it to the board\n\n - 6\u003c/br\u003e\ngood project code backup / upload to your PC\u003c/br\u003e\nkeep zips for each version\n\n- 7\u003c/br\u003e\n[System files download](https://circuitpython.org/board/raspberry_pi_pico_w/)\u003c/br\u003e\nmight want to check if there is a update on the core files,\u003c/br\u003e\ndownload CPxxx.uf2 and adafruit-circuitpython-bundle_lib.zip\n- 7a- backup all your code\u003c/br\u003e\n- 7b- nuke the board\u003c/br\u003e\n- 7c- flash the board with the new CPxxx.uf2\u003c/br\u003e\n- 7d- copy back your code ( not the /lib/ )\u003c/br\u003e\n- 7e- with the new lib.zip\u003c/br\u003e\ncopy / unzip from it new versions of the same libs used in that project\u003c/br\u003e\n( here /adafruit_httpserver/ )\u003c/br\u003e\n- 7f- expect to now find code errors old code .vs. new libs \u003c/br\u003e\nand find new lib doc online to fix\n\n- 8\u003c/br\u003e\nafter first edit settings.toml for SSID \u0026 SSID password and wanted FIX IP\u003c/br\u003e\nopen any browser ( inside your LAN ) http://192.168.1.215 and test operation\u003c/br\u003e\n( OUT \u0026 SP number or mouse input and [ENTER] as submit )\u003c/br\u003e \n( see also MU-REPL for diagnostic prints \"www ....\" )\n\n- 9\u003c/br\u003e\nafter website operation checked and coding work finished ( incl backup )\u003c/br\u003e \nyou can disconnect the USB cable from PC and use a USB charger to power the board\u003c/br\u003e\n( place anywhere inside your LANs WIFI area)\n\n- 10\u003c/br\u003e\nhardware: PID needs a\u003c/br\u003e\n*input for PV: connect a SENSOR on ADC0 \u003c/br\u003e\nbut you could also use 'linked' sensor boards..\u003c/br\u003e\n*output from OUT: here use a LED to see the 'dimmed' control output\u003c/br\u003e\nlater can connect like a SERVO ... for real process control\u003c/br\u003e\n\n\n_______________________________\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyraspberry%2Fpico_w_pid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyraspberry%2Fpico_w_pid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyraspberry%2Fpico_w_pid/lists"}