Here’s something I whipped up Friday: a tasty duo of home-cooked, hand soldered RGB-LED shields. They fit onto the Freakduino boards but also Arduino and can produce light in all colors. The shields will be covered by a semitransparent material so the light output will be even.
Not the most complicated circuit 🙂 but I needed them to replace state of the art LCD screen shields, that unfortunately used pins that the board also used. Fingers crossed it will work this time.
If you want to make this yourself, here is some info on the circuit.
A few weeks ago, I wrote about the Freakduino boards I had ordered for building my prototype. First I had some problems with combining the code for the LCD shields with the Zigbee radio function on the boards. It turned out they used some of the same pins, so now I’ve built my own RGB-Led shields. I’m getting quite good at soldering this way!
Only this week I found out that one of the Freakduino boards was faulty, when I tried to use both of them at the same time. But I have to say: WOW great customer service from Freaklabs! I emailed them about the issue, and they immediately concluded there must be something wrong with the board, and they are sending TWO new replacement boards! Very, very nice indeed.
Now I’m still biting my nails as the deadlines for this project are so close, but luckily I managed to push the first one back two weeks. So one week from now: exhibition; the week after: report. I just hope I will have time for one more user test before the exhibition. Wish me luck!
I think the code for this project would include a ‘loop’ where two functions are alternated: broadcasting (A) and receiving (B). How would this work?
The simplest example would be that two units would only influence each others’ colors, depending on their distance to each other (closer together or wider apart).
The code would exist of two functions: one that broadcasts color value, and one that reads signal strength and color value, and then assigns a new color to the LCD. Each node would switch between these two functions.
Thanks to Julia Nacsa, for helping me to get started!
Perhaps this post will be of use to other first-time Freakduino users, perhaps it’s a nice laugh for you experts out there 🙂
A few posts ago, I bought two Freakduino boards and some other stuff. It took me a while to get it all up and running, but here we are. What do you need to do when you start using Freakduino, using Mac?
- Unpack the box with the nice Japanese stamps and stickers
- Find a USB-cable type mini-to-normal
- Plug the board into the computer USB
- A blue LED lights up: congratulations, the power connection works!
- Download the Arduino environment
- If you are using a Macbook, you need to update your USB drivers, or the right serial port will not show up.
- Open the Arduino environment. Contrary to the data sheet on the Freaklabs site, you need to select Tools> Board> Arduino Duemilanove w/ ATmega 328
- Under Tools> Serial Port, select the USB port that you are using. Hint: it is one that only appears when the board is plugged in. Try a few until loading the sketch works (see next step)
- Open File> Examples> 1.Basics> Blink
- Click Upload at the top of the screen. If this works, it means everything is connected correctly
- Download the Freakduino Chibi library from Github
- Find the folder named ‘Arduino’ that was created when installing the program
- Make a new folder inside it and call it ‘libraries’
- Drag the file that you downloaded from Github to this new folder
- Rename the Chibi library into ‘Chibi’ or else Arduino can’t read it
- Try a wireless communication example like File> Examples> Chibi> ‘hello world 1’
- Yay, you have wireless communication!
Bear in mind that almost every step here took me a few hits and misses, this is actually a condensed list 🙂 Do you have suggestions for making this list shorter? Be my guest!
In the title: 2 things I had never heard of before this project. 🙂
The hardware for my project will be:
This should function as three smartphones: one assigned as photographer, two that act as light sources.