Show Posts
Pages: 1 2 [3] 4 5 ... 49
31  Community / Bar Sport / Re: Sawpping out Resistances on: October 29, 2011, 10:26:01 pm
Well, Lady Ada has investigated Apple charging. Perhaps that will help.
That's where I got it from... Well, from a form on her site. That's where that schematic comes from.
32  Community / Bar Sport / Re: Sawpping out Resistances on: October 29, 2011, 10:25:12 pm
I may well be wrong, but I can't believe that they have to be that precise.  For the 49.9K I would just get a 50K, the 75K should be readily available and the 43.2K looks a lot like 43K or 47K to me.  I mean, what's the tolerance of the power supply?  It has to change as the battery goes up and down in charge....right?
I thought about that, then went against it because I wanted it to be perfect, but at this point, $ 4.50 total on ebay for all the resistors is way better than $8 + S&H at DigiKey... EDIT: It ended up being $3.47 actually smiley this is nice

eBay, and close values it is... Already ordered, and shipped. Thanks for the suggestions dude.
33  Community / Bar Sport / Re: I need some big transistors on: October 29, 2011, 07:39:34 pm
Or you can just go to Digi-Key and get a 4A 400V NPN transistor for $0.23 each:

http://search.digikey.com/us/en/products/BUL704/497-7205-5-ND/1426970

--
The QuadRAM shield: add 512 kilobytes of external RAM to your Arduino Mega/Mega2560

Love you smiley-wink Do those transistors require a heatsink with them tho? Cause I don't think that will be cheap if it does :/

Oh, and on a side topic, if your the creator of RC, then I would like to tell you that your designs are amazing.
34  Community / Bar Sport / Re: I need some big transistors on: October 29, 2011, 07:31:25 pm
Must it be a NPN rather then a high current logic level N-channel MOSFET?

By the way those wanting to do high side switching with P-channel MOSFET usually don't find them quite as common as their N-channel brothers, at least with good low Ron specs. Here are some I ordered on E-bay to check out.

http://www.ebay.com/itm/280528177645?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649

Lefty


Well, I really just need some transistor that when I put +5 (through a 1k) to the Base, it will pass through the ground, or +5 at 2 amps. I don't know much about transistors, which is why I ask for help. The ones you posted look a tad excessive, but if they're good, I'll get em.
35  Community / Bar Sport / I need some big transistors on: October 29, 2011, 07:18:10 pm
Well, I know this belongs in a "general hardware" topic, but I couldn't find one...

What would a good transistor for running 2 amps at 5 volts? Preferrably rated at a little more than that, just in case. I would also prefer them on ebay, and I need 28, so hopefully not more than a buck a pop. Also, I need them to be NPN transistors.

Please respond if you know any good alternatives.

Thanks,
Jeremy
36  Community / Bar Sport / Re: Which wireless printer server to buy? on: October 29, 2011, 02:02:27 pm
I have an Airport Extreme for wifi, and an Airport Express as a print server. Works flawless, and easy to set up. I would say check out the airport express.

Is airport for apple?
Made by apple, but it works great for PC as well. In fact, I'm on a PC.
37  Community / Bar Sport / Re: Sawpping out Resistances on: October 29, 2011, 02:01:34 pm
That may be true, but $0.25 for 1 resistor is a bit much.
So use a couple of junk box small 100k ohm 10 turn trimmer pots and set to the correct voltage values.
Lefty
Well, I am making 12 of those things, so pots have already been eliminated as an option. I guess I will just pay 25 cents each... Not THAT much I guess :/
38  Community / Bar Sport / Re: Sawpping out Resistances on: October 29, 2011, 01:39:04 pm
That may be true, but $0.25 for 1 resistor is a bit much.
39  Community / Bar Sport / Sawpping out Resistances on: October 29, 2011, 12:33:18 pm
Well, after a lot of searching, I found out what the resistances in the iPad charger are. However, it seems that the resistances used don't exist in PHP form. And since I plan on using through hole resistors, that seems to be a problem.

I'm sure this is easy to figure out, but I can't seem to... Can anyone help me out, and tell me what common through hole resistance values to swap these out with? Also, I'm sure you noticed, but they're voltage dividers, so it's not so much the value that matters, as the output voltage.

40  Community / Bar Sport / Re: Which wireless printer server to buy? on: October 28, 2011, 12:40:33 am
I have an Airport Extreme for wifi, and an Airport Express as a print server. Works flawless, and easy to set up. I would say check out the airport express.
41  Community / Bar Sport / Re: Anybody have a CNC or Makerbot, and wanna help out a fellow Arduino addict? on: October 26, 2011, 02:23:25 am
Uhgg, all of the softwares they offer are so difficult to me... Time to learn I guess :/
42  Community / Bar Sport / Re: Your latest purchase on: October 24, 2011, 09:27:58 pm
Ruggeduino:



https://shop.ruggedcircuits.com/index.php?main_page=product_info&cPath=1&products_id=23

Overvoltage and overcurrent protection on all IO ports. Now that's what you want when you are testing!
I want one, but can't bring myself to spend $40 on it... Just 1 more reason for me to envy you -.-
43  Community / Bar Sport / Re: Anybody have a CNC or Makerbot, and wanna help out a fellow Arduino addict? on: October 24, 2011, 09:25:30 pm
Hmm, I knew about those sites, but I forgot about em. Thanks guys.
44  Community / Exhibition / Gallery / Re: RGB to White on: October 23, 2011, 04:10:28 pm
You really shouldn't be driving LED's directly from pins if they are high-brightness types.. you may want to use a switching transistor so that you can provide more current and potentially add more LED's...
They have 1k resistors, so they don't draw much power. When I use my LED strips, I will definately use some big beefy transistors. But for now, it's fine.

Also, I've found that the "whiteness" can be helped by PWM blending of white with the RGB.. allowing for more light output.  I typically put all the LED's (RGB+W) inside a semi-translucent shell, which helps blend the colors.  Ping Pong balls work well for this...
Well, I would just prefer to turn the RGB off completely, as to save some power. After all, when I do upgrade to strips, having both the RGB, and the White strip on full blast would require quite a big power supply.
45  Community / Exhibition / Gallery / RGB to White on: October 23, 2011, 03:53:11 pm
I know this is very basic, but I'm just started at getting back into Arduino. The main reason I'm posting this is so that the people who watch my video can see the code. Let me know what you think of this.

About the project: I am making some custom firniture for my room. I want to add some lighting to it. It is gonna be controlled by some pots, switches, ect. However, when you try to make white light with an RGB led, it is very impure. So what I'm gonna do is add pure white LEDs next to the RGB. This is how I plan to have it switch between the RGB, and the White LED.

Code:
int red = 11;    // Red lead of RGB attached to pin 11
int green = 10;  // Green lead of RGB attached to pin 10
int blue = 9;    // Blue lead of RGB attached to pin 9
int white = 8;   // White LED attached to pin 8

int redPot = 0;    // Pot for controlling red value attached to analog pin 0
int greenPot = 1;  // Pot for controlling green value attached to analog pin 1
int bluePot = 2;   // Pot for controlling blue value attached to analog pin 2

int redVal;    // Variable for storing the red value
int greenVal;  // Variable for storing the green value
int blueVal;   // Variable for storing the blue value

void setup() {               
 pinMode(red, OUTPUT);    // Red pin is an output
 pinMode(green, OUTPUT);  // Green pin is an output
 pinMode(blue, OUTPUT);   // Blue pin is an output
 pinMode(white, OUTPUT);  // White pin is an output
}

void loop() {
 redVal = analogRead(redPot);      // Reads the value of the Red Pot, and stores the value in Red Val
 greenVal = analogRead(greenPot);  // Reads the value of the Green Pot, and stores the value in Green Val
 blueVal = analogRead(bluePot);    // Reads the value of the Blue Pot, and stores the value in Blue Val
 
 redVal = map(redVal, 0, 1023, 0, 255);      // Maps Red Val to fit the perameters of PWM
 greenVal = map(greenVal, 0, 1023, 0, 255);  // Maps Green Val to fit the perameters of PWM
 blueVal = map(blueVal, 0, 1023, 0, 255);    // Maps Blue Val to fit the perameters of PWM
 
 if(redVal >= 250 && greenVal >= 250 && blueVal >= 250){  // If Red Val, Green Val, and Blue Val are all equal to or above 250
  digitalWrite(red, LOW);                                 // Turn the Red Pin off
  digitalWrite(green, LOW);                               // Turn the Green Pin off
  digitalWrite(blue, LOW);                                // Turn the Blue Pin off
  digitalWrite(white, HIGH);                              // Turn the White Pin on
 }
 else{
  analogWrite(red, redVal);      // PWM the Red Pin to the value of Red Val
  analogWrite(green, greenVal);  // PWM the Green Pin to the value of Green Val
  analogWrite(blue, blueVal);    // PWM the Blue Pin to the value of Blue Val
  digitalWrite(white, LOW);      // Turn the White Pin off
 } 
}
Pages: 1 2 [3] 4 5 ... 49