{"id":22160521,"url":"https://github.com/rozek/node-red-obniz-neopixel-matrix-test","last_synced_at":"2026-02-05T23:31:08.556Z","repository":{"id":114382930,"uuid":"421284544","full_name":"rozek/node-red-obniz-neopixel-matrix-test","owner":"rozek","description":"just a few Node-RED flows to test a Neopixel matrix connected to an obniz board","archived":false,"fork":false,"pushed_at":"2021-12-26T05:13:02.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-14T17:53:56.776Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rozek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2021-10-26T04:52:46.000Z","updated_at":"2021-12-26T05:13:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0f57396-ef91-4a94-98fb-74efa9b08ebf","html_url":"https://github.com/rozek/node-red-obniz-neopixel-matrix-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rozek/node-red-obniz-neopixel-matrix-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fnode-red-obniz-neopixel-matrix-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fnode-red-obniz-neopixel-matrix-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fnode-red-obniz-neopixel-matrix-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fnode-red-obniz-neopixel-matrix-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rozek","download_url":"https://codeload.github.com/rozek/node-red-obniz-neopixel-matrix-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fnode-red-obniz-neopixel-matrix-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29138375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T23:14:48.546Z","status":"ssl_error","status_checked_at":"2026-02-05T23:14:35.724Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-12-02T04:08:25.171Z","updated_at":"2026-02-05T23:31:08.524Z","avatar_url":"https://github.com/rozek.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-red-obniz-neopixel-matrix-test #\n\njust a few Node-RED flows to test a Neopixel matrix connected to an obniz board\n\nThis repository contains a few simple [Node-RED](https://nodered.org/) flows to control an [obniz board](https://obniz.com/products/obnizboard) with an attached Neopixel 16x16 RGB matrix - although they may easily be adapted to other geometries of chained WS2812 RGB LEDs (but only up to a length of 85 LEDs because of restrictions in the obniz board)\n\nWhile the idea behind the obniz board has its benefits, the quality of software and documentation is...not really optimal - these flows may therefore perhaps help newcomers to work with the board and attached WS2812 strings.\n\n\u003e Just a small note: if you like this work and plan to use it, consider \"starring\" this repository (you will find the \"Star\" button on the top right of this page), so that I know which of my repositories to take most care of.\n\n## Prerequisites ##\n\nIn order to run these examples you will need\n\n* a working Node-RED instance,\n* [node-red-contrib-obniz](https://flows.nodered.org/node/node-red-contrib-obniz) - which installs some nodes to communicate with obniz boards,\n* an obniz board,\n* Internet access (because of the obniz board) and\n* any kind of WS2812 RGB LED or string\n\n## Instructions ##\n\nOnce you have all the components together, you will have to\n\n* start up (and configure) the obniz board\n* connect the WS2812 LED string\n* import these flows\n* configure the obniz nodes (i.e., enter the credentials of your board) and\n* start the flows as desired\n\n![](flows.png)\n\n### Start-up the Obniz Board ###\n\nAfter powering up the obniz board, you will have set-up a Wifi connection (as desribed in the board's instruction manual) and - once the board has established a connection to its server - configure board access in the [obniz developer's console](https://obniz.com/console/devices): simply\n\n* press \"+ Add device\"\n* choose your board type\n* press \"I'm ready\" and\n* type in your obniz id and press \"Next\"\n\nRight now, everybody may access your obniz board just by providing its id. It is therefore highly recommended to generate an \"Access Token\" in the developer's console. Such a token does not automatically expire but remains until explicitly deleted or renewed. As soon as a token has been assigned, board access is only granted if the proper token is provided along with the request (see below)\n\n### Connect the WS2812 LED String ###\n\nIn this example, the WS2812 \"data in\" wire is connected to pin 4 of the obniz board. If you prefer a different pin, you may do so by modifying the \"obniz function\" nodes accordingly.\n\nThe LED's Vcc and GND wires should be directly connected to your power supply.\n \n### Import the Flows from this Repo ###\n\nIf not already done, you should install the obniz nodes from [node-red-contrib-obniz](https://flows.nodered.org/node/node-red-contrib-obniz) as described on that page.\n\nNow, you may import the [flows](https://raw.githubusercontent.com/rozek/node-red-obniz-neopixel-matrix-test/main/flows.json) from this repository. Just select the whole text, copy it into the clipboard, then choose \"Import\" from the Node_RED Editor menu, copy the clipboard contents, press \"Import\" and drag the flows to a place of your choice.\n\n### Configure Obniz Nodes ###\n\nOnce the flows have been imported, the obniz nodes have to be configured: you have to provide the serial id of your board and the access key you generated in the [obniz developers console](https://obniz.com/console/devices). \"Instructions\" can be found on the [obniz node page](https://flows.nodered.org/node/node-red-contrib-obniz) - as usual, there are in a horrible shape, but fortunately, it turns out not to be too difficult\n\n### Run desired Flows ###\n\nThis repository contains four different flows. Because of how the obniz board works, they have to share the configured wiring - once set up, it will be stored in the flow context and reused by any other flow (which is why it has to be reset automatically upon re-deployment)\n\n* **x-axis**\u003cbr\u003ethis flow draws a \"x-axis\" by lighting the LEDs 0, 1, 2 up to 15\n* **y-axis**\u003cbr\u003ethis flow draws a \"y-axis\" by lighting the LEDs 0, 16, 32 and so on - this is useful because matrices are usually wired in a serpentine manner\n* **test of 5 rows**\u003cbr\u003ethe initial idea was to write a short function test to see if all matrix LEDs work as intended. This flow tests 5 rows of the connected matrix (because of restrictions in the obniz board) row-wise and alternately in red, green and blue\n* **clear matrix**\u003cbr\u003eWS2812 LEDs are very bright and may disturb when lighting - this flow therefore switches all LEDs off\n\n## License ##\n\n[MIT License](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frozek%2Fnode-red-obniz-neopixel-matrix-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frozek%2Fnode-red-obniz-neopixel-matrix-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frozek%2Fnode-red-obniz-neopixel-matrix-test/lists"}