Slashdot Mirror


Add USB LED Notifications To Your PC With Just a Bit of Soldering (Video)

Arvydas Juskevicius (say that five times fast) is an independent software developer and hardware hacker based in London (which is where I got a chance to talk with him) who's decided to bring the useful LED signalling capabilities of many modern smartphones into the world of desktop or laptop computers. With his £10 BlinkStick kit (£15 pre-assembled), you get a programmable multi-color LED that's about the size of a flash memory key. Deceptively simple -- it's essentially one giant pixel, after all, which might not sound exciting when you have millions of them on a dense display surface. But that LED light is something you can use as a signal for alarms, or to tell you that you have a message from one app while another is at full-screen, or practically anything else that you can devise software to notice and react to. I get the sense that Juskevicius would prefer that people get the kit version, to help spur interest in actually soldering some hardware rather than just plugging it in. If you're allergic to paying in other than U.S. dollars, the BlinkStick is also available from Adafruit Industries. Watch the video below to see it in action.

23 of 129 comments (clear)

  1. Name by reikae · · Score: 3, Funny

    I said his name five times fast, nothing happened. Should I do it in front of a mirror?

    1. Re: Name by MickLinux · · Score: 2

      Ar-vee-duhs You-skah-vitch-ee-us. Why not try a hard name like Alison Palin's son?

      The name is Lithuanian; Because the first and last name's endings match each other, almost definitely Arvydas was Lithuanian born. Also, that c should be a che, a c with a little carrot over it.

      If you want something that is really hard to say, try saying six geese with six goslings: sheshyos zhasheese su sheshiyays zhashy-yukiaise

      --
      Correct Horse Battery Staple: 72 bits of entropy. Enter "Correct H" into google. When it generates the phrase, that's
  2. Design by benjfowler · · Score: 4, Interesting

    Impressively tiny device. Had no idea that it was possible to build a device that interfaces to USB in so few components (it does USB in software on a tiny microcontroller, and the firmware is around 1kb in size...)

    The instructions look easier than falling off a log.

    Question for anybody who knows: would it be possible to generalize this design to drive an array, of -- say -- 10 or 20 RGB LEDs ? This would be a lot more useful for me, as then, I could rig my server case with a string of LEDs to tell the status of all my hard drives, network, load (amongst other things).

    1. Re:Design by Hal_Porter · · Score: 2

      Had no idea that it was possible to build a device that interfaces to USB in so few components (it does USB in software on a tiny microcontroller, and the firmware is around 1kb in size...)

      That's the genius of USB really. Most early USB devices probably had a Serial Interface engine in hardware and a few hundred bytes of firmware written in assembler in flash or masked prom.

      This device is actually quite high end

      http://www.atmel.com/devices/attiny85.aspx

      http://www.atmel.com/Images/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf

      You've got 8KB of flash. You can program it in C and you get a USB driver.

      http://www.blinkstick.com/help/firmware

      Looking at the firmware main.cpp it implements HID class device. Writing to reportId 1 means you set the 3 PWM oscillators for red, green and blue leds. The other reportIds seem to read and write the EEPROM.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    2. Re:Design by viperidaenz · · Score: 3, Interesting

      You don't need any microcontroller to do this.
      Attach an FTDI FT232 chip to the USB port and although its designed an a USB to UART chip it can be configured for GPIO.

    3. Re:Design by Hal_Porter · · Score: 3, Interesting

      Actually if you fig a bit deeper there is something interesting about this project. Look at the USB stack - it's all done in software using GPIO pins! Very clever. There's a company that wrote the USB stack. You can get it GPL licensed for free or you can pay for a BSD license, but they start real cheap

      http://www.obdev.at/products/vusb/license.html

      They've got a load of projects too

      http://www.obdev.at/products/vusb/prjobdev.html

      If you go above 10,000 units you probably pay more but by that point you can afford it.

      Very interesting mix of clever code and a well thought out business model I think.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  3. Old idea by GeorgeHahn · · Score: 2

    Blink(1)
    I'm all for people building things, but if you just want a polished notification LED for your computer, go to the original creators.

    1. Re:Old idea by ColdWetDog · · Score: 2

      Actually this little device solves a problem we are having with our new, stupider, Electronic Health Record. The old one would tell lab and xray that a stat order was up by triggering the speaker (lab has it set to the Star Trek Klaxxon sound which gets a tad old, but it's their department). This could just light up at the central computer on a trigger.

      You would be surprised how useful stupid things like this can be. Yeah, I can rig an Arduno to do this, but I'm kinda time contstrainted. I can solder the thing together and whack on the keyboard for an hour - that's reasonable and for $30, a steal. The EHR vendor is 'thinking' about putting the functionality back in. This usually means they want to be bribed some more. They charge way more than $30.

      --
      Faster! Faster! Faster would be better!
  4. Re:Why is this cr@p on the front page? by danceswithtrees · · Score: 5, Informative

    I was thinking pretty much the same. This is a computer controlled, USB RGB LED (triplet of TLAs!). You can get a Tiva Launchpad from TI preassembled with RGB LED (surprisingly bright BTW) for $13 including shipping. The 15 GBP is about $25 and 10 GBP is $16 in comparison-- I don't know if shipping included in price. Granted the Blinkstick is in a smaller form factor that plugs in directly but the Launchpad has a ARM Cortex processor, GPIO, ADC, UART, USB, etc on it which you can use for other things should you tire of the notification light thing.

  5. Re:Scolllock and Numlock by mythosaz · · Score: 4, Insightful

    All of the *lock keys are mostly useless. Plenty of people (myself included) have remapped our Caps Lock key to TAB. The number of times I've wanted Caps Lock has greatly outweighed the number of times I've sit hitting it 1-2-3 times making sure it's not toggled wrong. Ditto for Scroll Lock. The number of times I've wanted it on versus the number of times I've said, "Hey, why isn't that scrolling right?!?"

    Using those keyboard lights for notifications is OLD NEWS. We've been doing it forever... ...for about £15 less than the £15 in the slashvertisement.

  6. Quaint by mugnyte · · Score: 3, Funny

    Next up, a circuit to ring a bell when someone calls your phone.

  7. Or just use the proper thing for the job ... by Anonymous Coward · · Score: 2, Informative

    ... which is something like http://www.ck3.co.uk/minimus-32-avr-atmel-atmega32u2-usb-dev-board.html, which does USB in hardware, has 2 LEDs already on board and only costs £6.00, or as little as £3.50 if you buy in bulk. Plus you can emulate pretty much any USB device you want - I've used one to drive a whole set of RGB LEDs by mimicking a MIDI output device and mapping notes to colours.

    £15 quid for a single LED driven by an inappropriate microcontroller? About the dumbest thing I've heard in a while.

  8. DevCon.exe and a red-glowing USB mouse by GrangerX · · Score: 3, Interesting

    I made a top-of-the-cubicle LED indicator using Devcon.exe and a Microsoft Mouse that happened to glow red when it was receiving USB power once.

    I basically had devcon.exe 'enable' the mouse when it was ready to indicate something and 'disable' it otherwise.

    Worked reasonably well, but that was back before I got all the notifications on the smartphone anyway.

  9. What's new about this? by HoldenCaulfield · · Score: 2

    There was a kickstarter, blink(1) a little over a year ago that did the same thing - http://stackexchange.com/leagues/1/year/stackoverflow/2013-01-01/759517#759517 (and in a nicer package).

    I wanted something similar (visual cues for meeting reminders; my "email" system is on a KVM with other "dev" systems). I ended up getting the Dream Cheeky 815 USB Webmail Notifier (http://www.dreamcheeky.com/webmail-notifier) - the thing is designed for email notifications with webmail, but there's an Apache License 2.0 driver and helper app (http://dreamcheekyusb.codeplex.com/), which worked fine to drive the thing - the little command line app that uses the driver had enough functionality (gradual on, color change, and blink) that I didn't need to write any real code.

    A little macro scripting, and it was working fine with Outlook.

    A little bigger that the other solutions, so maybe not great for a rack (though it's probably about 1U so it would work fine), but works nice sitting on my desk under my displays . . .

    1. Re:What's new about this? by HoldenCaulfield · · Score: 2

      Argh, correct link for the blink(1) Kickstarter - http://www.kickstarter.com/projects/thingm/blink1-the-usb-rgb-led

      Purchase link: http://buy.thingm.com/blink1 (out of stock, was $30)

      The BlinkStick mentioned in the original is $16

      The Dream Cheeky was $10 (I think I paid 9 on a woot sale)

  10. It's pretty silly you think about it. by VortexCortex · · Score: 3, Informative

    Modern connection interfaces are complex enough that you need an IC to negotiate a connection before you can even get a LED blinking. Today's systems aren't exactly designed for hobbyists to build things.

    Get an old beige box. You can solder a resistor and LED to the DTR pin of a serial port, and program it with a couple lines of assembly -- Oop, nope. The modern OSs aren't really designed for hobbyists to build things either. You'll be learning how to write a kernel driver for your OS if you use Linux. This is why I still use and make small DOS-esque OSs -- It's quite easy using BIOS interrupts. Also, you can still install DOS on nearly all x86-64 systems...

    Data Terminal Ready is just one pin, but with it and the RxD / TxD pins you can build a simple lock-step electronic coms project on a serial port -- So you don't have to implement the whole RS232 chipset just to do a little manual IO. Parallel ports have many more such pins to play with, and don't require serialization either. That's why I teach kids to make robotics with DOS like OSs on my spare "junk" -- Because it's so much faster, cheaper, and easier than with USB, or even RS232 serializing and deserializing state -- Save that for when they get a bit more skilled. There's something almost magical to watching bits flip in memory by making and breaking electrical contacts; Folks immediately start thinking up ways to use such a thing. It's fun watching the scales fall from their eyes as kids realize computers aren't impenetrable black boxes full of voodoo. It's kind of funny that you have to buy a kit with ICs to make more transparent the interface provided by making and breaking pins on older hardware.

    In my experience, once you get past a couple of LEDs or controlling higher voltage switches via contactors, etc. the next stop usually isn't a notification app for your system -- It's a breadboard full of gizmos, or using your PC to control your other gadgets.

    Eg: Readers who liked TFA also liked LIRC.
    (swap the LED with IR-LED, and control your home theater setup)

  11. PC Problem? by pubwvj · · Score: 2

    Is this a Windoze problem?

    Macs already have this functionality built in to notifications.

  12. Classic science fiction by pgpalmer · · Score: 2

    When watching science fiction made a few decades ago, one thing that bothered me was that the technology had a lot of fancy LEDs/bulbs that flashed but apparently did nothing else.

    See any console on the original Star Trek, or Al's handheld during the first season of Quantum Leap.

    But now it makes total sense. They were notification LEDs! Notifying about EVERYTHING!

    1. Re:Classic science fiction by istartedi · · Score: 3, Interesting

      That's my thought. If I've got time and money to burn, and I'm going to fire up the soldering iron, I want a wall full of blinking lights that signify... ummm... that the FUTURE has arrived. Yes, see? That green one there? It means we're in the future. The red one? When it starts blinking, you're time is running out...

      It's funny that this should come up because just now I was in a fast food Chinese place by myself. I was watching people, and there were these two middle-school aged kids with smart phone splaying games or something. I was thinking, these kids have never known a time when tiny little computers were not everywhere. When I was a kid, we thought a home computer would be a wall full of blinking lights.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  13. Simple Microcontroller Blinky Designs by billstewart · · Score: 2

    In this case it's an Atmel atTiny85 instead of a PIC chip, and a tri-color RGB LED instead of three separate LEDs, but yeah, it's not all that complex. It also has a printed circuit board, not particularly complex, and yes, you could build it yourself on breadboard. You could also snark about how Arduinos cost ~$30 when they only have
    You could also buy a Digispark for ~$9 which has a Tiny85 and a voltage regulator, and breaks out the pins for convenient access, with room for headers so you can build the equivalent of an Arduino shield. Instead of a USB socket, it uses the trick of printing traces on the PCB in a layout that acts as a USB Type A plug, so it's more compact and doesn't need a wire.

    Or you could spend ~$8 for an Adafruit Trinket and add an LED; it may be a shade less convenient than the Digispark just because they put the connectors on two sides of the board instead of one (so it's harder to use an RGB LED, but you could put it on the back of the board.)

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  14. Keyboard has single-color LEDs, not RGB by billstewart · · Score: 2

    I don't know about you, but the only time I notice the LEDs on my keyboard are when something's wrong (e.g. everything's frozen, and I look at the disk LED to see that it's just the disk busy again), and they're not very bright. This has a brighter RGB LED that gives you a wide range of colours. In practice, no, I wouldn't bother using one of these things on my laptop, because it's physically awkward; might be fun to build something like this for a desktop machine, I suppose. (OTOH, the next desktop machine I'm likely to build would be a Raspberry Pi, which has its own support for this kind of thing, and the LED could be useful because the box itself would be jammed behind the TV.)

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  15. thingm blink(1) by grouchomarxist · · Score: 2

    Thingm has a similar series of products called blink(1). It runs for about $30, but it is not widely available now. They recently finished .

  16. I like lights by bobjr94 · · Score: 2

    I remember back in the old days, maybe before 1996 or so, hard drives each had their own led header pins. I had 3 or 4 drives in my computer with 3 or 4 hdd led's in my front panel. No real purpose, just liked them, much like these. By the late 90's none of the drives came with them anymore, sad days, just one motherboard driven light for all the drives.