Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: No program will run on: February 17, 2007, 12:33:43 pm
Thanks for your response, but I actually just found the answer in another forum.  I had to choose the atmega168 under the Tools->Microcontroller menu.  Everything works now!  Blinking LEDs mastered.  Now on to the fun stuff smiley
2  Forum 2005-2010 (read only) / Troubleshooting / Re: No program will run on: February 17, 2007, 01:41:54 am
Just curious if you found your problem.  I'm having the same issue.  I don't get errors on the upload, but nothing will run.
3  Forum 2005-2010 (read only) / Interfacing / Re: Expanding PWM on: May 01, 2007, 05:35:03 pm
Sorry for the double post, but I've just found that the TLC5940NT is available again, so I'm going to give it a go.  Can anyone give a more complete coding example on how to control PWM on multiple LEDs with this.  I'm not real familiar with serial communication, etc. so even a generic example of how to send the GS info would be extremely helpful.

Thanks!

Branton
4  Forum 2005-2010 (read only) / Interfacing / Re: Expanding PWM on: May 01, 2007, 05:19:50 pm
sdbrown, I'm just curious what other  components you needed along with the additional ATMEGA168s.  Did you have to build a whole other Arduino board or were the chips standalone?

Thanks!

Branton
5  Forum 2005-2010 (read only) / Interfacing / Re: Expanding PWM on: March 15, 2007, 12:49:54 am
I'm trying to do the same thing, but was slightly off track for a while.  And now, since the led driver listed above isn't available on digikey anymore, I'm curious why I couldn't daisy chain a couple of ATMEGA168 chips together, utilizin their PWM outputs.  Is this crazy?  Is there any other way to do this without the led driver?
6  Forum 2005-2010 (read only) / Interfacing / Re: LED Driver and PWM on: March 15, 2007, 12:41:15 am
Thanks!
7  Forum 2005-2010 (read only) / Interfacing / Re: LED Driver and PWM on: March 14, 2007, 10:13:24 pm
Okay, I got my shift registers and am able to turn many LEDs on and off.  Your multiple LED circuit lets me light those LEDs at the same intensity (using PWM pins without the shift register).  But I need to combine these.  I need many LEDS at many different intensities.  Here is exactly what I'm doing:

I'll have 5 sets of LEDS.  Each set will be made up of 4 Red, 4 Green, and 4 Blue.  For one set of LEDs, I might want to set all Greens to 100, Reds to 255, Blues to 100.  The next set of LEDs will have different values.  This way each set of LEDs can be installed behind a sheet of paper ans something to diffuse the light into one color - thus all colors of the rainbow, hopefully!

Is my original assumption that I need a LED driver correct?  Or is there some way to force the shift register to output a PWM so I can have one pin of the shift register control one color of a set?  I've tried making the shift register do this with delays - lighting a red for 10ms, then off, then on for 10ms hoping it would be the same as sending a PWM of 30 to the Red.

Thanks!  Sorry I'm so confused.  I'm still learning.

Branton
8  Forum 2005-2010 (read only) / Interfacing / Re: LED Driver and PWM on: March 11, 2007, 12:19:21 am
I'm sorry, but I didn't follow.  Was that a yes?  Are the only pins I can use 9, 10 & 11 because they have PWM.  If so, how do I get them to simultaneously control multiple leds?

Thanks!!
9  Forum 2005-2010 (read only) / Interfacing / Re: LED Driver and PWM on: March 10, 2007, 01:04:14 am
Just thought I would clarify my question a bit.  Essentially my question is, can an LED driver provide variable levels of output to several different leds or does it just turn each led on or off?  If not, is there another way to do this?

Thanks!
10  Forum 2005-2010 (read only) / Interfacing / LED Driver and PWM on: March 10, 2007, 01:01:32 am
I'm sort of new to electronics and such, but I'm curious if I understand things correctly.  I read the example at http://www.arduino.cc/en/Tutorial/LEDDriver for controlling multiple LEDs with an LED driver, and I also read the example at http://www.arduino.cc/en/Tutorial/DimmingLEDs for blending colors.  I'm not sure if I understand though if these can be combined.  For example, I want to to have several "panels" that will fade between all colors of the rainbow.  I'm hoping that each panel can have a few LEDs of each color (each color in a panel will be controlled by one pin) and I can fade between different colors in each panel.  Is this possible?  Would I still use the LED driver as shown in the example, or am I missing something?

Thanks!

Branton
11  Forum 2005-2010 (read only) / Interfacing / Re: CMOS Camera Module on: March 10, 2007, 01:49:35 am
Thanks for the info.  An average color would, I think, be perfect.  I looked into Avago and Taos color sensors, but I can't seem to find them available for single purchase (except for a kit for the Taos that costs almost as much as a cmucam).  Could you recommend a color sensor that I could by individually?

Thanks!
12  Forum 2005-2010 (read only) / Interfacing / Re: CMOS Camera Module on: February 21, 2007, 11:40:04 pm
Thanks for the response.  That does actually sound close to what I want, but oh so spensive.  The motion sensor is a great idea, and I'll try it if I can find one!

For anyone interested, I just found something that does what I want, but I can't afford to try yet.  It's called CMUcam (http://www.cs.cmu.edu/~cmucam/).  I'll have to save up and give it a go, then I'll do a tutorial if it works out.
13  Forum 2005-2010 (read only) / Interfacing / Re: CMOS Camera Module on: February 21, 2007, 12:26:24 pm
Okay, then has anyone possibly interfaced with any sort of camera?  I'm just trying to build something that watches for things to move past and then processes the colors it sees.  Any ideas would be greatly appreciated.
14  Forum 2005-2010 (read only) / Interfacing / CMOS Camera Module on: February 20, 2007, 10:15:47 am
I was just looking into using a CMOS camera to get data from the environment, but don't know how I would connect it to the Arduino.  Sparkfun has both of the following modules:

http://www.sparkfun.com/commerce/product_info.php?products_id=8204#
http://www.sparkfun.com/commerce/product_info.php?products_id=637

Has anyone been able to use anything like this with their Arduino or have any ideas of if/how it might be done?

Thanks!
Pages: [1]