New version of BlinkStick Node.js library has been released. This release switches from Node.js usb module to node-hid which has a better support for all operating systems: Windows, Linux and OSX. It also works with the latest version of Node.js.
This release has the following changes:
[Feature] Use node-hid for all operating systems
[Security] Bump express from 3.1.1 to 4.17.1 in /examples/picker
[Feature] Updated documentation
Please note that the udev rule for Linux systems has to be updated to support new API without root.
More details about setting up new library for your operating system can be found on Github:
Go behind the scenes to see how BlinkStick Nanos are built! In this video I cover everything it takes to make the device: solder paste, component placement with pick and place machine, reflowing in a modified toaster oven, depanelization, programming, testing and packaging. That’s a lot to cover in under 14 minutes!
Script works by checking connectivity to Google DNS server’s IP address. This approach avoid errors when DNS is not available, but the Internet connection is still up and running. When connection can be established, BlinkStick will light up green. When connection is not available, BlinkStick will start pulsing red and will turn green back again when connection is reestablished. Script tries to connect to Google DNS server every second so the notification is almost instant.
I tried to make the script as compact as possible and also documented most of the code to make it easier to understand and change.
David Harris posted a great tutorial on how to set up Raspberry Pi, TI SensorTag 2 and BlinkStick to act as a smart light that responds to remote lighting conditions. Head over to hakster.io for a very in depth tutorial.
<..> Born as a single relatively simple LED device, BlinkStick has evolved into several distinct products. Each BlinkStick model has unique characteristics that make it suitable for specific projects and purposes. <..> All BlinkStick models have one thing in common, though: They feature bright multi-colored RGB LEDs that can be controlled individually. <..>
Dmitri has written an overview of BlinkStick devices, a tutorial about setting up BlinkStick on the Raspberry Pi and some great examples on how to utilize the super bright LEDs on the device. Raspberry Pi Geek is a fantastic magazine so head over and subscribe if you haven’t done so already! 🙂