So I got my new boarduino design in (with built-in USB!) and I have to test it so why not put it thru its paces with a BlinkM? Why not indeed!
Wiring it up to a boarduino is not as easy as simply plug&play as with an Arduino, so you’ll need a few wires. Still its very straightforward!
[flickr 2240092729 ]
when you power it up it will immediately start doing its thing which is fading thru some nice colors
[flickr 2240884386 ]
But the real fun is programming it…upload the Arduino Communicator sketch and then run the blink Sequencer on your computer. Connect and then select which colors to display
2 years ago when I worked on Duel Nature, I made a table of data that approximates a heartbeat. I couldnt quite duplicate it directly because the loop time is 3 seconds not 1 second, but I didn’t do too bad. Here it is in ‘autoplay’ mode with the heartbeat script. Sadly it doesnt seem like you can save the script to share it.
Next I wanted to experiment with talking to the BlinkM over i2c. I decided to make a little temperature display. When its cold, the LED turns blue, when its hot it turns red. For the sensor I simply used a LM34 which is super simple: just give it 5V and ground and the middle pin will be at +10mV/degF. So 68 degrees is 680mV.
I used a little heatshrink to protect the wires:
Then wrote a sketch to tell the LED to change color, here it is at room temperature (65deg, its cold in here)
Squeezing the sensor brings up the temp a bit, to maybe 85 degrees, a little pinker
Then some icey water (its in a plastic bag to protect both the sensor and my drink!)
and some hot tea
The final analysis?
The BlinkM worked well and is a nifty little thing, the Sequencer software could be improved (can’t save scripts, cant adjust loopspeed, clicking on a ‘frame’ doesnt display the RGB value…) but its impressive that theres any software at all. It seems like the real control comes from sending it direct i2c commands, so one would have to write a custom Arduino sketch to make it do what you want. (Or, probably better yet, a python script that talks to the Arduino communicator since at least then you’re not uploading sketches) While its not the right thing for people who want to make 100-LED blinky projects (since its ~$12 each), its probably a good accessory for someone with an Arduino who just needs a few lights for a standalone project. I could see them being popular as integrated into wearables/fashion technology. They’re hella bright too!
ps. I’d like to see someone show how to control them directly using a motherboard i2c port such as the ones that have temp (and sometimes IR) sensors.
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !
Finally a USB-Boarduino!
When will we see this in the shop?
Nice application using the BlinkM!
Do you plan on posting the Arduino Sketch for the temp LED?
happi valentines lady ada
When can we get the USB-Boarduino and how much will it be?
I have been impressed with your work since I first saw your awesome nixie clock a few years ago. It inspired me to make my own, it’ snot nearly as impressive (only a single digit and no cool tread plate) but it’s still one of my favorite “blinky” lights in my work space.
I saw your blinkM projects and thought I would share mine. It’s pretty simple right now as it is just using the default light script, but it looks pretty cool anyway. I have a PIC controlled module on my bench, and once I figure out how to get the PIC and associated stuff inside the lamp it should be even more interesting.
I second Juan’s request – care to share the sketch? I’m curious about what your temp-to-color mapping looks like. I fudged together a “Weather Beacon” that gets temp data from Yahoo!s weather API. I’m still tweaking my temp-to-color mapping, but handle it all on the PHP side (and then, in a big clunky if/then).
I too would like to see the mapping – care to share the sketch?
Just wanted to say that the humanity checker is awesome.