×

SparkFun Electronics will be closed on July 3rd, 2015 in observance of Independence Day. Any orders placed after 2:00pm MT on July 2nd will be shipped out after the weekend. Thanks!

Billbo911

Member Since: January 22, 2008

Country: United States

  • I’m having some unexpected behavior from the PicoBuck. I am running only two channels. One with a Red “3 Watt” LED and one with a Blue “3 Watt” LED. I am powering this with the +12vdc rail of an old PC power supply. I am controlling each of the channels with a separate PWM output from a Arduino Nano. I am reading two separate pots to set the output value used to drive each channel. [pseudocode analogWrite (BlueLEDpin, analogRead((BluePot)/4)] The problem is, it appears I have a lot of cross talk between the two channels. If only one channel is connected, I can control it’s brightness without issue. But, if I have two channels running, both pots change the brightness of both LEDs. Using serial.Print shows that each value being written out is in the expected range of 0-255. There is no cross control happening there. This leads me to believe the issue may be in the PicoBuck it’s self.

    Any ideas?

    [EDIT] I looked into the specs on the AL8805W5 and found it works more reliably with <= 500Hz control signal. Since I am using pins 5 & 6 from the Arduino, I may be getting ~980Hz . Additionally, pins 5 and 6 use T1 for timing, as does the “delay()” command. These two items combined may be causing the issue. More testing later. I will post the results [/EDIT]

    [EDIT2] Yes, it is as I expected, using D5 & D6 for PWM output, along with code that includes “delay()”, is NOT a good idea. I simply moved the control signals to D10 & D11 and the PicoBuck worked perfectly. I am tempted to remove my original post, but if it helps someone else to fix a problem, then I am happy to leave my oversight posted. [/EDIT2]

  • OK, now we are on the same page!

  • “Remember 3W is the limit of these LEDs, not the amount of power they will use.” WHAT?? Is this some kind of doublespeak?

  • So, let me see if I follow. If it is a 3W LED, to determine what resistor to put in series with it if you want to run it at it’s maximum rated power from +5vdc, then do the following? (This assumes you won’t be using a PicoBuck modified to run 700mA.) 3W = .700* E, 3W/.7A= 4.3v across the LED, that leaves .7 v across the resistor. .7v/.7A = 1 ohm, correct?

  • I’m wondering the same thing as “Member #466922”. How can you market this as a 3W LED? Even if we use the upper limit of Vf at 2.4v, it’s impossible to get 3W at only 700mA. It only works out to be 1.68W. So Sparkfun, what’s up with that? Are we missing something?

  • Announcing SFE’s new “Super Product” line. Our first two offerings come in Chocolate and Silicon.

  • “This step requires the #85 Sonic Screwdriver….”

  • Photo contest needed! You using your S.H.O.V.E.L out in the wild. Remember, is more than just a tool for loading fuel into your system.

  • Dfpfpfpff Dfpfpfpfpff Dfpfppff tink tink….Dfpfpfpff Dfpfpfpfpff Dfpfppff tink tink….Dfpfpfpff Dfpfpfpfpff Dfpfppff tink tink….

  • How about a steering wheel cover that can be used to help train student drives learn to keep their hand at “10 and 2” (or “9 and 3” if you are of that persuasion). Touch sensors could be placed at the desired hand positions. A pizio speaker would chirp when the driver is out of position for more than a few seconds. This allows for setting of the turn blinkers or turning lights on etc. An accelerometer could sense when the wheel is beyond a certain number of degrees from center and would then allow the hands to be shifted for turning corners etc. without the alarm sounding. The accelerometer could also be used to monitor acceleration and deceleration rates for “feedback” purposes after the driving period was completed.

No public wish lists :(