{"id":275,"date":"2014-03-26T22:45:40","date_gmt":"2014-03-26T21:45:40","guid":{"rendered":"http:\/\/www.vd4y.de\/?p=275"},"modified":"2014-03-26T22:45:40","modified_gmt":"2014-03-26T21:45:40","slug":"spi-ws2812-converter","status":"publish","type":"post","link":"http:\/\/www.vd4y.de\/index.php\/spi-ws2812-converter\/","title":{"rendered":"SPI WS2812 Converter"},"content":{"rendered":"<p>Die WS2812 LED kann man ja verschieden ansteuern, aber ich wollte es per SPI machen. Also hab ich nach einer M\u00f6glichkeit gesucht wie ich das SPI Signal in ein WS2812 kompatibles konvertieren kann. Das habe ich hier <a href=\"http:\/\/wiki.artifactory.org.au\/doku.php?id=projects:ws2811clockshaper\">http:\/\/wiki.artifactory.org.au\/doku.php?id=projects:ws2811clockshaper<\/a> gefunden. Die Schaltung soll bei 5V funktionieren. Ich hab aber 3,3 Volt. Also hab ich die Schaltung angepasst. Die WS2812 kann man dabei von 3,0 bis 4,4 Volt betreiben. Mehr geht nicht, da sonst die WS2812 die Schwellen nicht mehr erkennen kann.<\/p>\n<p><a href=\"http:\/\/www.vd4y.de\/wp-content\/uploads\/2014\/03\/SPI-WS2812.png\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-279\" title=\"SPI-WS2812\" src=\"http:\/\/www.vd4y.de\/wp-content\/uploads\/2014\/03\/SPI-WS2812-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.vd4y.de\/wp-content\/uploads\/2014\/03\/SPI-WS2812_TOP.png\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-278\" title=\"SPI-WS2812_TOP\" src=\"http:\/\/www.vd4y.de\/wp-content\/uploads\/2014\/03\/SPI-WS2812_TOP-150x91.png\" alt=\"\" width=\"150\" height=\"91\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.vd4y.de\/wp-content\/uploads\/2014\/03\/SPI-WS2812_BACK.png\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-277\" title=\"SPI-WS2812_BACK\" src=\"http:\/\/www.vd4y.de\/wp-content\/uploads\/2014\/03\/SPI-WS2812_BACK-150x91.png\" alt=\"\" width=\"150\" height=\"91\" \/><\/a><\/p>\n<p>Hier noch das Programm f\u00fcr den ATXMega256A3B\u00a0zum ansteuern. Es ist f\u00fcr 240 LEDs geschrieben, kann aber \u00fcber den Parameter #define COUNT_PIX 240 ge\u00e4ndert werden.<\/p>\n<p><a href=\"http:\/\/www.vd4y.de\/wp-content\/uploads\/2014\/03\/WS2812.zip\">WS2812.ZIP<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die WS2812 LED kann man ja verschieden ansteuern, aber ich wollte es per SPI machen. Also hab ich nach einer M\u00f6glichkeit gesucht wie ich das SPI Signal in ein WS2812 kompatibles konvertieren kann. Das habe ich hier http:\/\/wiki.artifactory.org.au\/doku.php?id=projects:ws2811clockshaper gefunden. Die Schaltung soll bei 5V funktionieren. Ich hab aber 3,3 Volt. Also hab ich die Schaltung [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25],"tags":[],"_links":{"self":[{"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/posts\/275"}],"collection":[{"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/comments?post=275"}],"version-history":[{"count":4,"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":284,"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/posts\/275\/revisions\/284"}],"wp:attachment":[{"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/media?parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/categories?post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.vd4y.de\/index.php\/wp-json\/wp\/v2\/tags?post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}