Monday, February 27, 2012

CC2500 Module Breakout/Booster Pack

The board includes:
1 Booster pack
2 G2xx3/CC2500 boards
2 breakout boards compatible with booster pack
1 breakout board with single row header

Booster pack is designed to work with G2xx3 chips.

Port mapping:
P1.1 - MISO (CC2500/SPI 2)
P1.2 - MOSI (CC2500/SPI 2)
P1.4 - SCLK (CC2500/SPI 2)
P1.5 - SCLK (CC2500/SPI 1, Memory)
P1.6 - MISO (CC2500/SPI 1, Memory)
P1.7 - MOSI (CC2500/SPI 1, Memory)
P2.0 - CS (CC2500/SPI 1)
P2.1 - GDO0 (CC2500/SPI 1)
P2.2 - GDO2 (CC2500/SPI 1)
P2.3 - GDO2 (CC2500/SPI 2) or Memory Hold
P2.4 - GDO0 (CC2500/SPI 2) or Memory CS
P2.5 - CS (CC2500/SPI 2)

When memory is not used, CS should be jumpered to Vcc, same with Hold.

LaunchPad Port Expanders

Here are two of several I have made, one is 595 based, the other uses MCP23S18.
Both can source and sink, MCP one can also be used as input expander with interrupts.

Monday, January 2, 2012

Power Board with MIDI/Audio Light Controller

When I was a teenager (early 80's,) I was very unimpressed at what Christmas lights could do and I wanted to make them more interesting. Our lights back then had 16 bulbs, so I cut the string into 4 pieces, made a 50V power supply with 4 power BJTs, and used 2 TTL's (7400 and 7493) to control the lights. My first "binary" Christmas lights! 

Last year, after I started experimenting with MSP430, I decided to do another Christmas lights controller, but time more powerful and more versatile than the ones available on the market. At about the same time, I was doing some MIDI projects, and decided that this is the way to go, use MIDI to control my lights. The idea was that you can use MIDI sequencer to create a soundtrack as well as a light show. Then one day, nostalgia set in and I decided to add audio control, turning my unit into a color organ (yes, I still remember 70's.)

After creating my prototype,  I have finalized my design and created two boards: Light Controller board and Power board.

Light Controller
The Light Controller board is 2" by 2" and is designed to control 16 parallel channels. It has a MIDI input, audio input, 3 configuration switches, zero-crossing detector, and MSP430G2553 MCU. Both inputs can be used at the same time. MCU can be re-programmed in circuit making customizations extremely easy.

Power Board
The Power Board is 4" by 4" and has 8 channels. It was designed so that it can be used not only with the above Light Controller board, but also as a serially controlled board. There are parallel in/out headers, which can be used for connecting a second Power Board bringing total of channles to 16 (only one LC board is required.)
There are also serial in/out headers, which (with optional 74HC595) allow connecting several boards in a row. The number of boards is limited only by the timing and the software. 
The default opto-couplers are random phase (LC board uses it's zero-crossing detector to sync to line voltage,) but zero-crossing opto-couplers can be used for non-dimming applications.
Additionally, there is a place for snubber components which are required by some triacs. The default triacs are snubberless and require only one resistor.

Schematic and sample code are available upon request.

Working prototype (MIDI)

Working prototype (Audio)

Working Power Board (serial mode)

Light Controller board. Zero-crossing detector on the left, MSP430G2553 in the middle, MIDI opto-isolator bottom-right, and audio spectrum analyzer chip top-right.
Assembled 8 channel Power Board
Power Board with Light Controller board installed
1- Snubberless triacs require only one resistor, 2- Triac snubber (when required,) 3 - opto-coupler snubber (when required.)
Optional 74HC595 serial shift register installed
Serial input and output (to the left) and parallel input (bottom)