{"id":14970915,"url":"https://github.com/danielkummer/ni2c","last_synced_at":"2026-03-01T05:36:41.393Z","repository":{"id":57446109,"uuid":"112608346","full_name":"danielkummer/ni2c","owner":"danielkummer","description":"The NI2C is an universal i2c nixie driver ","archived":false,"fork":false,"pushed_at":"2018-01-01T22:36:25.000Z","size":2120,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T03:31:57.971Z","etag":null,"topics":["arduino","bcd","decoder","driver","fritzing","i2c","module","nixie","onion2","pcb"],"latest_commit_sha":null,"homepage":null,"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/danielkummer.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}},"created_at":"2017-11-30T12:23:04.000Z","updated_at":"2023-11-27T01:03:25.000Z","dependencies_parsed_at":"2022-09-07T22:11:20.519Z","dependency_job_id":null,"html_url":"https://github.com/danielkummer/ni2c","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielkummer/ni2c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkummer%2Fni2c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkummer%2Fni2c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkummer%2Fni2c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkummer%2Fni2c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielkummer","download_url":"https://codeload.github.com/danielkummer/ni2c/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkummer%2Fni2c/sbom","scorecard":{"id":320052,"data":{"date":"2025-08-11","repo":{"name":"github.com/danielkummer/ni2c","commit":"51c7716bdffa91c06c6d2dab9151a8505d56944b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T01:08:54.759Z","repository_id":57446109,"created_at":"2025-08-18T01:08:54.759Z","updated_at":"2025-08-18T01:08:54.759Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29960499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"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":["arduino","bcd","decoder","driver","fritzing","i2c","module","nixie","onion2","pcb"],"created_at":"2024-09-24T13:44:20.878Z","updated_at":"2026-03-01T05:36:41.365Z","avatar_url":"https://github.com/danielkummer.png","language":"C++","readme":"# Nixie i2c Driver\n\nThis simple, custom nixie driver is indented to drive  _any_ kind of nixie tubes via i2c interface. It allows to address two  tubes with each i2c slave. The module is intended to be stackable and dynamically addressable using dip switches.\n\n* Supports up to 8 stacked drivers\n* Each driver module can power 2 nixie tubes\n\nThe driver module has been tested with the following nixie tubes:\n\n* IN-4\n* IN-7\n\n## BOM - Bill of Materials\n\n| Name | Count | Component | Description |\n| ---- | ----- | --------- | ----------- |\n| 74141 | 2x | SN74141 or K155ID1 | BCD decoder |\n| PCF8574 | 1x | PCF8574 | i2c I/O expander |\n| SW1/SW2 | 1x | DIP Switch 4 | |\n| R1, R2 | 2x | 10kΩ Resistor | bus pull-up |\n| R3, R4, R5, R8 | 4x | 10kΩ Resistor | |\n| R6, R7 | 2x | 10kΩ 2W Resistor | |\n| C2, C3, C4| 3x | 0.1µF Capacitor | optional |\n| STACK PWR | 1x | pin-2 Male/female pin header | use male header with long pins to stack the module. Use a short pinned header for the bottom module |\n| HV PWR | 1x | pin-2 Male/female pin header | use male header with long pins to stack the module. Use a short pinned header for the bottom module |\n| PWR | 1x | screw terminal  | optional, power can also be supplied via STACK PWR |\n| I2C | 1x | pin-2 Male/female pin header | i2c bus, 1:SDA 2:SCL |\n| NX1, NX2 | 2x | pin-8 Male pin header | 90° angle for stackable module |\n| ANODE | 1x | pin-6 Male pin header | 90° angle for stackable module |\n\n## Schema\n\n![description](/img/nixie_i2c_driver_stackable_schema.jpg)\n\n## Assembly instructions\n\n* The capacitors are optional as they're used as bypass\n\n## Problem Solving\n\n* If the tubes don't light up correctly you might have to change R6, R7. You can use [this calculator](http://www.csgnetwork.com/anoderescalc.html) to determine the resistor values based on the HV power supply\n\n\n## I2c Interface Definition\n\n| Byte | 7(MSB) | 6 | 5 | 4 | 3 | 2 | 1 | 0(LSB) |\n| ---- | ------ | - | - | - | - | - | - | ------ |\n| i2c slave address | L | H | H | H | A2 | A1 | A0 | R/W |\n| I/O data bus | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |\n\n### Address Reference\n\n* Only the write addresses are shown as the nixie driver module doesn't support read operations.\n* Arduino uses 7-bit addresses, the LSB (R/W) is _not_ set and the address range starts at 0x38\n\n| A2 | A1 | A0 | i2c bus 8-bit slave address |\n| -- | -- | -- | --------------------------- |\n| L | L | L | 0x70 |\n| L | L | H | 0x72 |\n| L | H | L | 0x74 |\n| L | H | H | 0x76 |\n| H | L | L | 0x78 |\n| H | L | H | 0x7A |\n| H | H | L | 0x7C |\n| H | H | H | 0x7E |\n\n## BCD Decoder Reference\n\nThe two bcd decoders each use 4-bit of the 8-bit I/O expander.\n\nThe 74141 decoder has 4 inputs marked A,B,C,D which trigger corresponding outputs.\n\n### Truth Table\n\n| D | C | B | A | Output |\n| - | - | - | - | ------ |\n| L | L | L | L | 0 |\n| L | L | L | H | 1 |  \n| L | L | H | L | 2 |\n| L | L | H | H | 3 |\n| L | H | L | L | 4 |\n| L | H | L | H | 5 |\n| L | H | H | L | 6 |\n| L | H | H | H | 7 |\n| H | L | L | L | 8 |\n| H | L | L | H | 9 |\n\nAll values above 0x9 are out of range and turn all outputs off.\n\n* \"on\" range: 0x0..0x9\n* \"off\" range: 0xA..0xF\n\n## Using the Nixie i2c module\n\nBased on the logic tables of the bcd decoders, writing to the i2c bus to output numbers is quite simple.\n\nOne byte defines the values for both decoders:\n\n| Decoder | Bits |\n| ------- | ---- |\n| NIXIE 1 | 0000ABCD |\n| NIXIE 2 | ABCD0000 |\n\n### Data Examples\n\n| Example value | Nixie Output |\n| ------------- | ------------ |\n| 0xFF | all off |\n| 0x12 | \"21\" |\n| 0x01 | \"10\" |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkummer%2Fni2c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielkummer%2Fni2c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkummer%2Fni2c/lists"}