Just received a strip of WS2812B, OSOYOO Nano, and 5V/2A wall wart in the mail today.
Hit some roadblocks at first because of a non-auto detected driver. I thought my light strip was DOA! Uploaded about 20 sketches before I figured out that they weren’t actually uploading and there was no communication. It was stuck on default blink sketch doh! After doing about 10 mins of research I found and updated the driver and it worked. Whew!
Finding the driver was unfortunately much harder than anticipated. Eventually found a reference to the download location from an Amazon OSOYOO Nano product review/comment, yeah that’s what it took to find it. Using Kriegers examples so far they’ve been great. Still looking for a nice Christmas palette for my strip. I don’t want to install Chrome just to get PaletteKnife, I’m anti-Chrome sorry.
Eventually I plan on installing some of them as a Bambilight for my PC monitor. The rest will likely call home in my man cave of a garage.
The best resource during my initial information searches after sitting down at my work bench was actually this Google+ group. It comes up in all the searches about FastLED. Thank you for this group as a resource it really helped! I’m up and running now, looking forward to reading more about FastLED projects.
@Thomas_Runge Checked out your homepage, that’s some amazing stuff. Looks like it’s really cold there right now. Stay warm. Love the trinket project for your daughter, great job dad! The python script references palette.json and palette.fastled.txt. Where can I find those or are they part of the fetch?
@Thomas_Runge Apparently it’s not Python 3 compliant you old timer you. Running into syntax errors. StringIO and urllib2 have been deprecated among other issues. Trying my best to update it to Python 3. Gotta love deprecated classes.
I’ve got some hundreds smaller and bigger Python scripts in production since many years. Porting them to Python 3 costs me weeks and pays me nothing.
To both palette files: palette.fastled is the FastLED format to include in your sketches. The Json format is for my Fibonacci-FastLED-“simulator”: http://coto.homenet.org/fibonacci.zip
(I really have to make a new website, all that damn old stuff there)
@Thomas_Runge I’ve got about 50% of it ported to Python 3 but running into a badzipfile error. Did you encounter that when writing the script? Are the zip files encoded by some proprietary program and not regular zip files? I’ve spent a day trying to clear up the badzipfile error in itself. I have gotten the script to connect to the site and fetch the zip with Python 3, that’s where I’m at so far. Progress is slow. I really want paletteknife otherwise I wouldn’t bother. Being anti-chrome has its downsides sometimes.
@Thomas_Runge Trust me I thought about it after I was 5 hours into trying to figure out urlib errors. I might since I’ve hit a roadblock and I’m bad with Python. Many sections would be better off with a complete rewrite from scratch. I do appreciate all the time and effort you put into it though don’t get me wrong. You have talent.
Thanks for certifying talent! At least I’m already trying for 25 years…
It took you 5 hours to port my Python2 code to Python3 and you’re still not finished? It didn’t take half that time to code it from scratch! >:->
@Thomas_Runge I’ve never written a single line of Python in my life. Syntax is like a combination of PHP and Java. It’s frustrating to learn. I did install Python 2 but it’s throwing errors on that too so I gave up.
@Thomas_Runge That’s awesome! It’s almost identical to what I made with a few things you did differently. However it’s not working. Not sure why it’s working for you and throwing errors for me. Is there some type of strict mode for Python 3.5 that I have enabled?
C:\Python35>paletteknife3.py
Traceback (most recent call last):
File “C:\Python35\paletteknife3.py”, line 11, in
import urllib.request, urllib.parse
ImportError: No module named request
@Thomas_Runge Yup, I just specified py -3 paletteknife3.py and it ran perfectly. Doh! See what you did getting me to install Python 2. Now to figure out how to get rid of Python 2 cleanly. Thank you for the updated script! You are awesome!
@Thomas_Runge Ah now I can see the output format. It generates the palette.fastled.txt and palette.json files. I thought it was going to download and extract all of the zip files to individual folders of each palette. Instead it scrapes and generates all palettes into a txt file. Interesting. Why 1 big file? I assume you wrote another script that includes the txt file and regex through it to pick out the palettes you want to run?
As I wrote earlier, I made some kind of Fibonacci-display-simulator using processing on a desktop computer. This way I could easily check and implement new pattern. And I could easily check all available palettes: just let it run and watch, without memory shortages for that huge amount of palettes.
@Thomas_Runge Sorry for making you repeat yourself. Even though I understand why you did it now there’s no way I could do something that complex with Python. Your projects deserve more attention in my opinion they’re brilliant. A homepage redesign sounds nice, especially documentation for your projects and download links for scripts. Have you thought about a github repo? It does seem a bit dated but that’s just aesthetics, the content speaks for itself. Was fun being able to see your webcam and sensor data. Thank you for helping me get up and running with cpt-city palettes. I had to swap out my power supply because I couldn’t run the full color waves. 2x WS2812B strips on full color pulled 1.7Amps and was cutting off my old 1A PSU. Working like a charm now thank you for everything!