cnliner.blogg.se

Pixelstick firmware 1.2 update
Pixelstick firmware 1.2 update










pixelstick firmware 1.2 update

This is because I wanted to start off a raw plank of wood. In my video I used many power tools to build the stick. The main loop() of the pixelstick.ino loops on the same animation until one presses the button input which switches to the next image on the sd card. The Arduino program reads the 8000 values by batch of 40 every 120ms and maps them on the RGB strip.īasically it "prints" each vertical line of our logo during 120 ms and the camera records and adds each subpart of the whole image. I save all the txt files on a micro SD card.

#PIXELSTICK FIRMWARE 1.2 UPDATE CODE#

bmp extraction code (like I saw on other tutorials on the subject). I used this technique to simplify the Arduino sketch and avoid some UGLY. The script rotates the image and transforms it in an array of R,G,B colors than can easily be read by the Arduino.įor our 40x200 pixels logo, the TXT file will contain 8000 comma separated RGB values. I run the "generate.py" script in the same folder as the previously saved png file.įor every png file in the current folder, the python script generates a TXT file with the same name. The only thing to know here is that a turned off LED is equivalent black.įor the next steps I'll use a 40x200 pixels "la fabrique diy" logo as an example. The image can be anything : text, drawing, photo. The width is not important, it defines the length of your animation (a very large image will take a long time to display on the stick). I draw a 40 pixels high image on photoshop. It allows me to display 40 pixels high images.

pixelstick firmware 1.2 update

I believe it is one of the simplest method you'll find on the web (after the one which consists in directly buying the stick). This repo provides a simple method to build a DIY version of the stick. This technique is also called lightpaintings. These vertical lines, when captured by a long exposure photography, combine to recreate your image in mid air, leaving the person using it invisible. The pixelstick is an ADRESSABLE RGB LED STRIP controlled by an Arduino that can display all sorts of animations to make awesome lightpaintings photographs.Įach LED acts like a pixel on a screen, displaying an image one vertical line at a time as you walk. And subscribe to my Youtube channel if you like this project.












Pixelstick firmware 1.2 update