{"id":16453654,"url":"https://github.com/laurivosandi/nixiesp12","last_synced_at":"2025-03-23T10:32:15.542Z","repository":{"id":75220655,"uuid":"92973653","full_name":"laurivosandi/nixiesp12","owner":"laurivosandi","description":"Yet another Nixie clock project","archived":false,"fork":false,"pushed_at":"2024-10-03T21:25:56.000Z","size":2421,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T10:16:22.654Z","etag":null,"topics":["74141","74hc595","esp8266","in-12a","in-12b","in-6","k155id1","kicad","lm1117","micropython","nixie","python"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laurivosandi.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":"2017-05-31T17:56:29.000Z","updated_at":"2024-10-03T21:24:21.000Z","dependencies_parsed_at":"2023-02-26T23:31:20.707Z","dependency_job_id":null,"html_url":"https://github.com/laurivosandi/nixiesp12","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurivosandi%2Fnixiesp12","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurivosandi%2Fnixiesp12/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurivosandi%2Fnixiesp12/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurivosandi%2Fnixiesp12/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laurivosandi","download_url":"https://codeload.github.com/laurivosandi/nixiesp12/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221849326,"owners_count":16891423,"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","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":["74141","74hc595","esp8266","in-12a","in-12b","in-6","k155id1","kicad","lm1117","micropython","nixie","python"],"created_at":"2024-10-11T10:16:19.051Z","updated_at":"2024-10-28T15:32:34.646Z","avatar_url":"https://github.com/laurivosandi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixiESP12\n\n## Intro\n\nYet another Nixie clock project!\n\nSome highlights:\n\n* K155ID1 driven IN-12A or IN-12B tubes for hour, minute, seconds. Use 36k resistors on these tubes.\n* BS108 driven IN-6 or [similar 4*10mm neon bulbs](https://www.aliexpress.com/item/32344955038.html?spm=a2g0s.9042311.0.0.6ab14c4dCxpPZ0) for digit separation. Use 270k resistors on these bulbs.\n* 74HC595 for serial to parallel conversion\n* ESP8266 for time synchronization. Use 1k resistors for pull-up.\n* LM1117-3.3V and LM1117-5V regulators for logic power supply\n* No tube step up converter on-board, pin headers for connecting\n  \u003ca href=\"http://www.ebay.com/itm/DC-5V-12V-to-170V-DC-High-Voltage-NIXIE-Power-Supply-Module-PSU-NIXIE-TUBE-ERA-/322511957768?hash=item4b1735ef08\"\u003ethird party power supply\u003c/a\u003e\n* KiCad design with 3D models from http://miniwatt.info\n\nSome KiCad screenshots:\n\n\u003cimg src=\"https://git.k-space.ee/lauri/nixiesp12/raw/master/nixiesp.png\"/\u003e\n\n\n## Install\n\nInstall dependencies on an Ubuntu 18.04 box:\n\n```bash\napt install -y python3-pip wget picocom make\npip3 install adafruit-ampy esptool\n```\n\nBoot ESP8266 with program pin held low and flash MicroPython:\n\n```bash\ncd firmware\nmake erase\nmake flash\n```\n\nReboot ESP8266, open serial to to the controller and format filesystem:\n\n```\nimport os\nos.umount('/')\nos.VfsLfs2.mkfs(bdev)\nos.mount(bdev, '/')\n```\n\nFinish with by uploading scripts:\n\n```bash\nmake upload\n```\n\nPower cycle the device and via WiFi connect to the device,\nnetwork name is MicroPython-XXXXXX and password is micropythoN.\nNavigate to http://192.168.4.1 to start the configuration wizard.\n\n\n## Configuring\n\nIf firmware is unable to connect to preconfigured wireless network\nor it is started up for the first time wireless network\nwith password `micropythoN` is created.\n\nConnect to that wireless network and open http://192.168.4.1\nin web browser to configure the clock.\n\n\n## Assembly tips\n\nSome cheap 1117V regulators don't offer short circuit protection\nand once blown pass through input voltage,\nmake sure you get ones with protection otherwise you can fry ESP8266\nor serial-to-parallel chips.\n\nOnce the PCB is milled or etched make sure you clean the 180V rails thoroughly,\nthat voltage is high enough to cross gaps of 0.1mm.\nOnce that happens it burns a thick dark trace into the fiberglass of PCB and\nit's pretty tricky to clean up.\nThe PCB is designed with 0.4mm clearance to be compliant with HV designs.\nThis clearance of course assumes that PCB traces are covered.\nEither use solder mask or conformal coating.\n\nUse the bench power supply to gradually power up the device,\nat 9V set current limiter to 0.5A max.\n5V linear regulator can be omitted and bypassed if 5V wall adapter is always used.\nOtherwise 6V-12V wall adapters are suitable,\nThincan DBE60 9V wall adapters are pretty much perfect for the job.\nNote that the higher the input voltage the more power is dissipated\nas heat on the 3.3V and 5V voltage regulators, thus at 12V the device gets really hot.\n\n\n## Debugging\n\n* If you get nonsense reading during boot up sequence 0..9 likely the connection between serial-to-parallel chips and high voltage drivers\n  is flaky. Either there are shorted pins or there is no connection at all. Check soldering joints and check for shorts between lines and line to ground.\n* If single tube doesn't light up likely the gas has escaped the tube, find replacement tube.\n* If single digit does not light up likely the tube socket pin is mangled or it is not properly soldered on the side where the PCB trace runs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurivosandi%2Fnixiesp12","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurivosandi%2Fnixiesp12","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurivosandi%2Fnixiesp12/lists"}