Show Posts
Pages: 1 ... 27 28 [29] 30
421  Using Arduino / Programming Questions / Re: Thoughts on how to program this array on: February 25, 2011, 08:25:03 am
Paul,
My only concern with that is, if I've got 100 LEDs and 99 are on and I need to find that last one by randomly checking, it may take 100 tries or more to find it. Let alone, all the other higher numbers, or lower as I'm going down.

Fletcher, that's a very good idea but ideally I would like it to be totally random whenever changing. So if you're at 50% then take it to 90% then back to 50% you'd have many different ones lit. I know I'm asking for a lot more complication, but I'd like to have it work like that if I can.

Thanks guys
422  Using Arduino / Programming Questions / Re: Thoughts on how to program this array on: February 25, 2011, 07:45:30 am
Now that I think of it, I'm thinking I could have two arrays. The OFF array and the ON array. Then move the LEDs from one to the other. Is this a good approach?
423  Using Arduino / Programming Questions / Thoughts on how to program this array on: February 25, 2011, 07:34:35 am
I'm not looking for someone to code it for me, just some ideas on how to approach it... I'm fairly amateur. 

Anyway, I want to have X number of LEDs and a potentiometer. As you fade the pot up, random LEDs turn on. So at half turned, a random 50% of the LEDs are on, at full turn, all the LEDs. 

Simple enough so far. But here's the thing, I don't want it to rerandomize all the lights as it fades up. I just want it to add to the ones already on. So no static TV look. So what I need advice on is how to efficiently figure out which LEDs are not on yet, then randomly choose an off one to turn on. 

Then there's the fade down, I need to find an efficient way to choose random on LEDs to turn back off as it fades back down.

So basically I need help on how to create an array, then how to interact with objects in that array based on their values, in groups. 

The fact that they will be LEDs is not important, I'm just interested on how to do these things with an array. 
424  Using Arduino / General Electronics / Re: Nixie Tube Transformer on: February 24, 2011, 01:10:13 am
ehh... I figured a different transformer would be easier but it's not looking that way. I think ill go with the lm317. Thanks guys.
425  Using Arduino / General Electronics / Re: Nixie Tube Transformer on: February 24, 2011, 12:00:43 am
I'm just trying to further explore my options... Would finding a 5V to approx. 170V transformer be possible? It's hard to find anything other than consimer electronics on google. Is a specific step up transformer something that a person can buy online?
426  Using Arduino / General Electronics / Re: Nixie Tube Transformer on: February 23, 2011, 04:44:02 am
Okay that sounds good. How would i go about finding this particular voltage converter chip? A quick google search turns up a lot of different things.
427  Using Arduino / General Electronics / Nixie Tube Transformer on: February 23, 2011, 03:48:27 am
I got some disposable camera guts for my Nixie Tube clock per this tutorial:
http://www.instructables.com/id/Disposibal-Camera-Nixie-Tube-Driver/

The thing is, I plan on running my clock off 5V. So if the camera transformer converts 1.5V to 200+V then 5V would result in 666V, right? That's bad.

I don't want to buy an expensive prefabricated nixie tube driver. I figured I could use a potentiometer to get the 5v to 1.5v but then I'm going 5V > 1.5V > 200V > 170V and using two potentiometers and that seems silly. Does anyone have any suggestions on how I should do this?

Thanks
428  Using Arduino / General Electronics / Input voltage of UNO/atmega328p on: February 21, 2011, 07:22:34 pm
I want to power my project with a wall adapter when it's done. I know the UNO can take an input of 7-12v but does the board regulate that? I eventually want to run my project off just the atmega328p. Does it require a specific voltage or can it do 7-12V too? Or do I need 5v specifically for the standalone chip?
429  Using Arduino / Installation & Troubleshooting / Re: Cant burn new bootloader on: February 20, 2011, 03:53:19 am
Aha. I should've known my problem was caused by not following directions. I'll give that a try later on and report back
430  Using Arduino / Installation & Troubleshooting / Re: Cant burn new bootloader on: February 20, 2011, 03:27:51 am
No, it that something I need to do first? I don't really know much about that.
431  Using Arduino / Installation & Troubleshooting / Cant burn new bootloader on: February 20, 2011, 02:12:12 am
I've got an ATmega328P on an UNO and I'm trying to burn the lilypad bootloader onto it, to use on a breadboard. So I select "Lilypad Arduino w/ ATmega328" and try burning it with any program and I get an error. "Content mismatch" or "protocol error, expect=0x14, resp=0x51". Errors with any program. So then I try "ATmega328 on a breadboard (8 MHz internal clock)" from http://arduino.cc/en/Tutorial/ArduinoToBreadboard and I get the exact same errors. Is this a 328/328P thing? I'm having trouble finding anything that make sense on google. I would appreciate any help.

Thanks
432  Using Arduino / Project Guidance / Re: Nixie Tube Driver on: February 19, 2011, 05:37:12 am
Okay, cool, that makes sense.
433  Using Arduino / Project Guidance / Re: Nixie Tube Driver on: February 19, 2011, 05:19:50 am
Actually, I have another question. If the Nixie tubes are using approx. 200 volts, how can these 74HC595 IC's handle them? How to you wire them so that you don't blow up your 74HC595?
434  Using Arduino / Project Guidance / Re: Nixie Tube Driver on: February 19, 2011, 04:52:18 am
Perfect, thank you. Although that seems pretty complicated. Ill try to make sense of it when I begin working on things, but in the meantime if anyone has any more help or tips i would appreciate it.
435  Using Arduino / Programming Questions / Re: Simple clock on: February 19, 2011, 04:37:12 am
Thanks guys, Ill look into RTC's.
Pages: 1 ... 27 28 [29] 30