14 July 2013

Wiring almost complete and one arm lit!

LightWalker

Have been able to spend a fair amount of time on the ol' LightWalker project lately. Pretty happy with how it's progressing...


  • Main unit is completely wired up at this point. All I gotta do is figure out where to mount the mic and how to insulate it a bit and that piece is done!
  • Both legs are completely done... frames, lights, wiring, and fabric covers.
  • Both arms have their frames built.
  • One of the arms has lights installed.
  • All wiring for accelerometers is complete.

First stroll!
A couple weeks ago, I actually wired the legs up, threw the battery and controller in a backpack, and hopped on the leg stilts to see how they worked. Definitely found some things that need polishing, but overall, the first walk went fantastic!

first arm
Here's the arm I got wired up with lights today. Now I just gotta get the lights on the other arm, finish wiring it, and it's on to my actual costume! I think I'm going to need to make an all white stilt outfit with 50 or so pixels in the legs to really make the whole thing work. Might even get a bunch of white fabric to hang off of me so I look more flow-ey.

The man burns in 47 days. At this rate, I might even have time to pack and get some food before I have to head out.

Cheers. Minty.

13 June 2013

First Leg (mostly) Completed!

I got pretty excited about getting this wrapped up tonight and am thoroughly happy with its initial look. It can only get better from here!


Next up is figuring out the final wiring and mounting! And finishing the other three legs of course...

07 June 2013

Total Control Lighting tips

I'm sure anyone reading this blog has noticed that I use a lot of stuff from Cool Neon. It all stems from a random meetup at a laundry mat with a fellow vanagon geek. It was raining out and I was making coffee and cleaning the inside of my van, Siobhan, while my laundry dried. Another van pulled up and we eventually got to chatting and checking out each other's rigs. The other fellow's van had Cool Neon RBG LED ribbon lighting covering the inside that was all controlled by a little remote control. I loved it. Instantly wanted to do the same inside Siobhan. That was about 2 years ago. I have failed miserably at that. *shrugs*
One of my life's loves... Siobhan

I was pretty impressed with what I saw and was pretty happy about my chance encounter. When I started having needs (yes, needs) for el-wire and more complex lighting, I turned to Cool Neon for the goods. So far, I've really liked working with a fun, bay area company; however, I have definitely learned some things about their products recently. Not bad things, just things a guy (or lady) would need to know in order to use them.

1. Controlling the lights

Total Control Lighting (TCL) is controlled over SPI. You can totally control the lights with straight Arduino C++ and not need any other software. You could also connect these lights up to *any* device that supports SPI. You do not have to use the Seeeduino that Cool Neon sells nor do you even have to use an Arduino compatible device. I haven't done it myself, but if you need more processing power and/or memory, you could even use Raspberry Pi. Or maybe the crazy cheap TI Launchpad?

Now, if you are using an Arduino compatible device, cool neon has some cool software to get you started. I definitely recommend using the TCL library from Chris De Vries. You can see it on his site or get it on github. It basically encapsulates all of the SPI controls and gives you simple functions like TCL.begin(), TCL.sendEmptyFrame(), and TCL.sendColor(r, g, b). Definitely handy.

If you're doing an LED Matrix setup for doing TV like effects and what not, they also have some handy Windows visualization software to help do your design. I have not played with this one much as I'm doing all my light effects driven by sensor inputs and algorithms as opposed to pre-stored "videos." This is a whole blog topic on itself...

2. Arduino shields, Arduino's, & SPI

As I mentioned, TCL uses SPI to communicate. Different Arduino devices use different pins for SPI!

You can read all the bloody (not as bad as the red wedding) details of Arduino's SPI implementation here. Specifically, check out the connections table a little past halfway down. It gives you the SPI pins for each Arduino model out there. Make sure to hook the TCLs up according to your device. The Seeeduino that cool neon sells is basically a Duemilanove (you need to know that for SPI stuff as well as working in the Arduino IDE). The Seeeduino Mega they sell is compatible with the Arduino Mega 1280 which uses different SPI pins (50, 51, 52, and 53 as opposed to the duemilanove's 12, 11, 13, and 10). I only had to switch from 11 and 13 to 51 and 52 when I switched from the seeeduino to an Arduino Mega.

Important! All of the above means that the shields that Cool Neon sells are *not* compatible with the Megas. They are connected directly to the duemilanove's pins and will not function on a Mega.

3. Power

Another tidbit I learned recently is that having multiple power sources -- one for your controller and one for your lights -- is a great idea!

When you do that, make sure to hook up the ground for the lights to the power supply for the lights *and* the controller's ground. I think Chris De Vries has a reference to this on his site and that's where I figured it out.

My understanding from Cool Neon is that the lights can be plugged directly into a power supply that's between 5V and 7 or 7.2V. I'm using a little 6V lead-acid deep cycle battery from batteries plus and it's working great.

4. Other Light Sources

So I don't feel too much like a little Cool Neon fan boy, I think I should mention that lights like the TCLs can be found elsewhere. I have not purchased any from other places as I like supporting a local, burner friendly company and the lights they sell have held up great for me. I also appreciate the customer service they offer.

I'm also becoming increasingly aware of the fact that a lot of cheap electrical components come from China and I do not like a lot of their labor or political practices (note that I have not looked into Cool Neon's component sources). Keep that in mind when you buy anything, but especially electrical goods. The cheap stuff is cheap! But, it usually comes from China and probably involves slave labor. If you want a good idea of how much decisions like this support the slave trade, check out http://slaveryfootprint.org.

[EDIT 13 Jun 2013] Just got a note from Cool Neon saying that they have been to the Seeed Studio factory in China that makes the arduino compatible boards they sell and that the factory conditions and ethics there seem top notch. Good to hear!

01 June 2013

SRAM... kabooom!

Crap. I just overshot the SRAM limit of the ATmega328 by a mile. Looks like I'm upgrading to the ATmega2560.

Man. I just ordered an enclosure that would fit my arduino too. Gotta find a bigger one of those too.

28 May 2013

She has a heart

This is not quite everything I wanted to get accomplished this weekend, but I did make some solid progress. All the electric components are soldered and working! In the process, I realized that I know nothing about soldering. Best lesson? Keep your soldering iron tip clean!

It took me quite a while to get everything drawn out and even longer to get it all soldered and working, but it was a great learning experience and super fun.

This is the entire unit... arduino, i2c multiplexing shield, equalizer shield, bluetooth breakout board, 4 ADXL 345 accelerometers, and an electret microphone. Only things missing from the shot are the 450 LED pixel points, the 6v 12Ah sealed lead-acid battery, and another battery to run this unit (I'm going to run the lights and controller off of separate batteries).

LightWalker's guts.



This is the i2c multiplexing shield with TCA9548A i2C switch. It allows me to hook up the 4 accelerometers that all have the same i2c hardware address to a single i2c line. The board can handle up to 8 units with the same address, so maybe I should do a spider for next year?
The big trick here was that I hooked up my SCL and SDA lines to where they were printed on the board but failed to realize that the board didn't connect those to the arduino's analog 4 and 5 pins like my board needed. I think newer boards would work through the stackable headers and the SCL and SDA holes printed on the board. Once I realized I was working with an older setup and re-routed them, all was good.


bottom of the i2c multiplexing shield
top of the i2c multiplexing shield















Here's the equalizer shield. I'm only using one of the  MSGEQ7 chips on here for a single audio channel, so it's kind of overkill, but it does give me a nice stackable shield and pins to hook the microphone and bluetooth to.


equalizer shield w/
electret microphone














And, just for completeness, the arduino compatible shield from seeedstudio...

the seeedstudio arduino
compatible board I'm using