Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 24, 2009, 10:45 AM   #1
deorg
macrumors 6502
 
Join Date: May 2007
Location: Lima, Peru
Send a message via MSN to deorg
Arduino + leds + ipodtouch (wifi) + xbee

Two questions...
First..
I want to make a wall of 50 Leds lamps, and conected to a kinda like audrino board ( i know It wont support 50 lamps) and ofcourse upload sequences to display that I allready have programed...

anybody know any board kinda a like audrino that are for more led lamps...

secondly anybody know how could I change the secuence through the ipod via wifi...

thanks
__________________
Perk 1: Bandolier, Perk 2: Juggernaut, Perk 3: Last Stand.
deorg is offline   0 Reply With Quote
Old Jun 24, 2009, 10:50 AM   #2
LtRammstein
macrumors 6502a
 
Join Date: Jun 2006
Location: Denver, CO
Send a message via AIM to LtRammstein Send a message via MSN to LtRammstein
Wow... Huge hobbyist stuff here!

First off, if you have never programmed for a microcontroller before, stay with the Arduino. Sadly, you will need a lot of circuitry from the Arduino to the LED lamps. This is because the Arduino cannot provide the current or voltage to all the LEDs.

To control it via WiFi from your iPod Touch... There's many approaches.

I personally would keep the Arduino attached to the Mac and send commands that way. Attaching a wireless card to the Arduino is very difficult to program with and it just exponentially increases the difficulty of the project.
__________________
17" White Intel iMac 1.83GHz, 250 GB HD, 2 GB RAM || iPod Touch 16GB w/ 3.0 || 15" Intel MBP 2.4GHz, 250 GB HD, 4 GB RAM
LtRammstein is offline   0 Reply With Quote
Old Jun 24, 2009, 11:16 PM   #3
deorg
Thread Starter
macrumors 6502
 
Join Date: May 2007
Location: Lima, Peru
Send a message via MSN to deorg
Quote:
Originally Posted by LtRammstein View Post
Wow... Huge hobbyist stuff here!

First off, if you have never programmed for a microcontroller before, stay with the Arduino. Sadly, you will need a lot of circuitry from the Arduino to the LED lamps. This is because the Arduino cannot provide the current or voltage to all the LEDs.

To control it via WiFi from your iPod Touch... There's many approaches.

I personally would keep the Arduino attached to the Mac and send commands that way. Attaching a wireless card to the Arduino is very difficult to program with and it just exponentially increases the difficulty of the project.

Ive used just the arduino... but, wich one would I need to provide enoght Voltage to all 50 led lamps, and control each lamp like the peggy
http://www.evilmadscientist.com/arti.../ardlibarchive
My team has experience on electronics...
__________________
Perk 1: Bandolier, Perk 2: Juggernaut, Perk 3: Last Stand.
deorg is offline   0 Reply With Quote
Old Jun 25, 2009, 05:03 PM   #4
cruzrojas
macrumors member
 
Join Date: Mar 2007
Location: USA
I would recommend sticking with the arduino, it would be hard to find a micro-controller with 50 digital pins if you are planning to connect one IO per LED. A first straightforward approximation I can think of would be:

1) power the LEDs thru an external power supply, and make sure the power supply can lit all of them at once.

2) use an op-am with feedback to set the state to low or high (on/off) for a single LED. Notice you need a persistent state such that if you were to disconnect the arduino from the rest of the circuit nothing would change.

3) assign an address to each LED and use the arduino to access each LED and turn it on and off. (notice you will need one op-am per LED).

4) finally look into how to access the arduino wirelessly, there are modules for wi-fi and bluetooth available for the arduino. you can use the more convenient for you.

Good luck with such an entertaining project and I would like to know how your project evolves.

Best Regards
Jesus Cruz
__________________
Systems: MBP SantaRosa, 15', 160Gb@7200 rpm HD; G4 mac mini
iPod: ipod nano 1Gb, 1st gen, touch 16 Gb, 2nd gen
Blog: chuyandmac.blogspot.com
cruzrojas is offline   0 Reply With Quote
Old Jun 25, 2009, 09:07 PM   #5
Muncher
macrumors 65816
 
Muncher's Avatar
 
Join Date: Apr 2007
Location: California
Quote:
Originally Posted by cruzrojas View Post
I would recommend sticking with the arduino, it would be hard to find a micro-controller with 50 digital pins if you are planning to connect one IO per LED. A first straightforward approximation I can think of would be...

2) use an op-am with feedback to set the state to low or high (on/off) for a single LED. Notice you need a persistent state such that if you were to disconnect the arduino from the rest of the circuit nothing would change.
That seems like a lot; you'd need 50 op amps, which (if you used LM324s) would mean 13 chips . Personally, I'd go with an array of 5x10 LEDs, and use 15 buffered output lines. Then you can wire them up so that the five lines connect to 10 LED anodes, and the other 10 lines each to 5 LED cathodes (or vice-versa). Then, trigger one LED at a time. As long as your circuit is fast enough updating, that would really cut down on the IO lines you need to use (and parts too!). Anyway you cut it, you're going to need at the least: 50 resistors for each LED and a transistor buffer for each IO line.

Obviously, the way I presented is easiest if the LEDs are going to be in a 5x10 array. It still can be done otherwise though.

Quote:
Originally Posted by LtRammstein View Post
I personally would keep the Arduino attached to the Mac and send commands that way. Attaching a wireless card to the Arduino is very difficult to program with and it just exponentially increases the difficulty of the project.
I would have to agree with this. The Wi-Fi interface will take much more work than the rest of the project; it isn't worth it.
__________________
2.4Ghz 20" Rev. A iMac, Wii, crimson DS, intuos3 4x6, PS3
iPod touch 2G 16GB > Fiio E1 > Hifiman RE0
Muncher is offline   0 Reply With Quote
Old Jun 26, 2009, 11:30 AM   #6
LtRammstein
macrumors 6502a
 
Join Date: Jun 2006
Location: Denver, CO
Send a message via AIM to LtRammstein Send a message via MSN to LtRammstein
Well, there are many ways on hooking up 50 LEDs together.

Easiest way would be a matrix (25x25) then sending row and column commands to some circuitry. From there you can have biasing resistors and transistors for controlling voltage/current flow to each LED. It's a bit more time consuming, and you can make it expandable.

Plus, LED technology has gotten in such a way large power-hungry LEDs are not necessary anymore. A friend of mine has a circuit board with 12 LEDs on it that are powered by the microcontroller and manipulated by the LED Driver. Plus, they are BRIGHT (350 mcd)!

But it's all on your design specs.
__________________
17" White Intel iMac 1.83GHz, 250 GB HD, 2 GB RAM || iPod Touch 16GB w/ 3.0 || 15" Intel MBP 2.4GHz, 250 GB HD, 4 GB RAM
LtRammstein is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
HP 2511x LED Monitor AppleTech22 Mac Peripherals 6 Mar 29, 2012 07:13 AM
Bright spot (splotch) on MacBook Air 2011 LED backlight diffuser meanieblue MacBook Air 0 Jul 30, 2011 03:30 PM
All Purpose LED Light - the set of useful LED applications AppAnnex iPhone and iPod touch Apps 0 Jul 8, 2011 09:57 AM
24" IPS LED Backlit Monitor Advice Dr McKay Buying Tips and Advice 14 Apr 23, 2011 09:23 AM


All times are GMT -5. The time now is 05:45 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC