arduino porkypine

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

arduino porkypine

Postby mtbf0 » Sun Mar 16, 2008 8:00 am

here's myboarduino porkypine.

1 boarduino, 18 100ohm resistors, 6 rgb leds, 6 drinking straws, 18 channels of pwm at about 122Hz. lots of code.

it's really quite beautiful. unfortunately the colors are pretty washed out in the video. maybe i'll try shooting again with a little more ambient light.

there is currently no scripting capability. what you are seeing is commands sent to it over serial from a minicom script.

one has to be careful of bumping one's head on the mega168's current sourcing max. the most you're seeing in the video is 9 channels at 100% duty cycle and nine channels completely off at any one time. last night i had 15 channels at 50% and 2 at 100% and was getting some bizarre flickering. 18 channels at 50% looked ok, though. who knows?

have to play with the resistor values. the greens are super bright, the reds very bright, and the blues much weaker than the other 2 colors. i also figure that increasing the values will give more apparent control over the colors.

and, of course, have to get scripting going.
User avatar
mtbf0
 
Posts: 1642
Joined: Fri Nov 09, 2007 11:59 pm
Location: oakland ca

Postby cell » Sun Mar 16, 2008 6:48 pm

sweet.
cell
 
Posts: 44
Joined: Fri Nov 02, 2007 8:24 am

Re: arduino porkypine

Postby Tcepsa » Tue Feb 17, 2009 12:43 pm

Hehe, I love the straws; haven't seen that idea before!
"If you compare yourself with others, you may become vain or bitter; for always there will be greater and lesser persons than yourself. Enjoy your achievements as well as your plans." --Desiderata, by Max Ehrmann
User avatar
Tcepsa
 
Posts: 26
Joined: Tue Jan 13, 2009 6:14 pm
Location: Mid-Atlantic Region of the USA

Re: arduino porkypine

Postby tendo » Mon Jul 12, 2010 6:16 pm

I know I'm resurrecting an ancient thread, but if anyone is subscribed could you tell me about doing this on a massive scale? I'd like to build a gigantic one of these. Thanks!
tendo
 
Posts: 3
Joined: Mon Jul 12, 2010 6:15 pm

Re: arduino porkypine

Postby Tcepsa » Mon Jul 12, 2010 6:28 pm

That sounds like a job for Shift Registers! Do a search for them on Hackaday.com; they recently had a decent tutorial on how to use them and chain them together. I am curious about whether there are other (better?) ways to do it as well...
"If you compare yourself with others, you may become vain or bitter; for always there will be greater and lesser persons than yourself. Enjoy your achievements as well as your plans." --Desiderata, by Max Ehrmann
User avatar
Tcepsa
 
Posts: 26
Joined: Tue Jan 13, 2009 6:14 pm
Location: Mid-Atlantic Region of the USA

Re: arduino porkypine

Postby tendo » Mon Jul 12, 2010 7:45 pm

Awesome, thanks. I'll look into that
tendo
 
Posts: 3
Joined: Mon Jul 12, 2010 6:15 pm

Re: arduino porkypine

Postby mtbf0 » Mon Jul 12, 2010 10:21 pm

check out the rainbowduino from seeed studios. 64 rgb leds.

the porkypine was a programming excercise. getting 18 channels of software pwm. i was inspired by the blinkm but couldn't see spending $14 per led. the porkypine in the video is tethered, but the one i use for a nightlight is scriptable. there are parts of the code that i've never tested and i haven't touched it for a good long time. if anyone would like a crack at it let me know.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1642
Joined: Fri Nov 09, 2007 11:59 pm
Location: oakland ca

Re: arduino porkypine

Postby tendo » Mon Jul 12, 2010 11:46 pm

Awesome. Thanks for the tip!
tendo
 
Posts: 3
Joined: Mon Jul 12, 2010 6:15 pm

Re: arduino porkypine

Postby mtbf0 » Tue Jul 13, 2010 7:22 am

for another board with more complete hardware documentation see the emsl meggy jr.

for something that just drives crazy numbers of leds emsl also has the peggy 2 and peggy 2le.

keep in mind that all of these displays are multiplexed. the duty cycle on the rainbowduino and meggy jr is 1/8. on the peggy boards it's 1/25.

with the porkypine you can turn on all the leds at once, but you'll probably reset the chip and maybe fry it.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1642
Joined: Fri Nov 09, 2007 11:59 pm
Location: oakland ca

Re: arduino porkypine

Postby Entropy » Tue Jul 13, 2010 9:14 am

tendo wrote:I know I'm resurrecting an ancient thread, but if anyone is subscribed could you tell me about doing this on a massive scale? I'd like to build a gigantic one of these. Thanks!

What sort of arrangement do you want?

Matrix like the Rainbowduino mentioned earlier?

A fixed linear array?

A strand of "christmas light" style nodes that are individually controllable?

As you go from "matrix" to "flexible strand", things get more expensive and difficult as control has to be decentralized.

For a fixed linear array - take a look at the NXP PCA9635 - 16 high speed PWM channels off of an I2C bus. It's REALLY easy to drive from an AVR (I use my Boarduino as a master for testing, and eventually I'll be using the Boarduino as a DMX-to-I2C bridge).

To work with the PCA9635 you'll need a TSSOP-28/SSOP-28 breakout board (such as Sparkfun's for around $4/board, if anyone knows of a cheaper source I'd LOVE it) and a decent temp controlled soldering iron (such as the Aoyue 937 - about $50), along with some solder flux. TSSOP-28s aren't hard to solder if you use lots of flux, I used the "roll a ball of solder across the pins" technique and only had to clean up two solder bridges.
Entropy
 
Posts: 472
Joined: Mon Jan 07, 2008 11:43 pm
Location: Owego, NY USA


Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [100]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]