Show Posts
Pages: 1 ... 6 7 [8] 9 10 ... 20
106  Using Arduino / LEDs and Multiplexing / Re: LED driver shield on: April 23, 2013, 05:33:16 am

I've never did anything with LEDs before so I'm still trying to learn...I don't think this driver shield is gonna be enough for my needs,looks like 36 LEDs will be the max I could use without stacking about 4 of those shields...I appreciate the help

Your setup with this shield should put out  at least 4000 lumens ( the blue LEDs usually have a lot less output than the white LEDs). That is extremely bright! No need to stack 4 of those together!
If you really need more lumen output you can also try to find LEDs that run at 1A max instead of the 700mA as these should have a higher lumen output.
107  Using Arduino / LEDs and Multiplexing / Re: 3W Dimmable LED Driver DC 7-30V 700mA on: April 15, 2013, 05:49:47 am
Perhaps you start reading and understanding the alnalogWrite sample provided on the Arduino website. The code you posted above is missing an essential line in the setup that configures your pin 3 as an output.
Headroom, there's no pinMode missing, if that's what you're implying
Yup, that's what I was referring to. Guess I need to do my own reading  smiley-lol

The LED driver you are using employs a PT4115. The data sheet recommends an input voltage of 6-30V and has an under voltage lockout of 5.1V. I have used three of these which use the same chip and when trying these out first I had hoped to get by with a 5V wall wart I had handy. Unfortunately at 4.9V it was below the low voltage lockout. When I used a 9V Wallwart things started working as expected :-)
108  Using Arduino / LEDs and Multiplexing / Re: 3W Dimmable LED Driver DC 7-30V 700mA on: April 14, 2013, 10:06:44 am
Perhaps you start reading and understanding the alnalogWrite sample provided on the Arduino website. The code you posted above is missing an essential line in the setup that configures your pin 3 as an output.

Also, you may want to urgently mount your LED to a heat sink with some thermal tape, thermal epoxy or screws and thermal paste. If the LED gets the full 700mA for too long it will overheat and that will dramatically reduce its lifetime!
109  Using Arduino / LEDs and Multiplexing / Re: High Power (Brightness) RGB LED shield on: April 10, 2013, 06:32:51 pm
Buck configuration.
110  Using Arduino / LEDs and Multiplexing / High Power RGB LED shield - 12bit/channel dimming - I2C (TWI) on: April 09, 2013, 08:58:51 pm
After slowly starting to redesign the shield in January I now have a functioning prototype and I am considering having a batch of these either manufactured or possibly manufacturing them myself.But lets take a little step back.

I used a number of five of a previous version of this shield in my own LED lighting project ( The maker of the original shield sold these through his blog. The last entry on the blog is from Dec. 2012 announcing a christmas break and while there have been a few answers in response to inquiries on the blog he has not posted anything in over 9 months and appears to have lost interest in his creation.

Much to my dismay as I was hoping to use these in a few more projects. When it seemed a possibility that the blog would go offline another user of the shield created another blog and pulled all the information over so it would not be lost.
He invited me to co-host the blog and I accepted. We discussed having a batch of these manufactured in their original form, but as I started creating a costed BOM it became clear that the original Inductors would not be available anymore and we had to find alternatives.

Also there were a few things that I wanted to change and as one thing lead to another...
You can read more details here on our blog:

So let's quickly go through the Features the shield has to offer:

  • Three independent constant current channels. This shield will NOT operate common anode or common cathode LEDs!
  • Meant to drive high brightness LEDs with a constant current from 350 to 700mA.
  • 42V input. 36V output can drive up to 40W of LEDs.
  • On-board 5V switching power supply and I2C connectivity provide for standalone operation.
  • Shield stacks on top of an Arduino but can be operated independently as it only uses GND and I2C (SCA,SDL) from Arduino.
    Shield is stackable (also in multiples) onto Arduino Uno (Rev 2 and Rev 3) and Arduino Leonardo but can be
    connected and operated from any other Arduino Board or microcotroller platform that offers I2C.
  • 12bit PWM resolution per channel allowing for CIE lab brightness corrected dimming(library function).
    The 12bit PWM in conjunction with the LED driver chip provide a dimming ratio of 3000:1 and more.
  • Dynamically adjustable constant current (I2C) between 100mA to 700mA allowing for analog dimming.
  • Adjustable/programmable (I2C) PWM frequency 40Hz to 1.6kHz
  • On-board I2C pull-up resistors can be disabled by means of solder jumpers.
  • Shield is stackable onto Arduino Uno (Rev 2 and Rev 3) and Arduino Leonardo but can be connected and operated from any other Arduino Board through I2C.
  • Optional temp sensor to monitor led temp
  • An Arduino library that provides access to all functions is available on Github.

If all that sounds attractive, please come over to to our blog and leave a comment if you're interested.
The original price of this shield was US$41.50 and we hope to keep it in that range, but that obviously depends somewhat on quantity.
The posted image is a prototype and a few minor refinements are needed, e.g. all the Arduino Pin labels are missing. The terminal block for power input (5mm pitch) is too tall to allow stacking multiple shields and will be exchanged for a smaller one (3.5mm pitch).

111  Using Arduino / LEDs and Multiplexing / Re: OctoWS2811 Library - for large LED display at video speed refresh on: April 01, 2013, 05:25:56 am
What you're looking for is not Gamma correction, but CIE lab brightness correction, as the article at explains. However, the difference is relatively small and I am not sure if its visible.
I have a 12 bit version of it that I coupled post, and ther is also an 8 bit versioning the forum.
However, you can expect the 8 bit a bit ... Choppy.. At lower intensities due to limitation of resolution.
112  Using Arduino / LEDs and Multiplexing / Re: Random RGB Values Give Pastel Colors on: March 30, 2013, 08:28:29 pm
I actually have to revise what I had stated earlier. Clamping one of the values to 255 is not going to work. The way the rings are generated in my lighting system is that the optics in fromt of the LED head " clamps" one of the colors to zero.
So in essence if your algorithm chooses one of the three channels to clamp to zero and then you choose values randomly for the other two channels it'll work better.

However, the approach fungus has posted, selectin HSV and conveting it to RGB - while more complicated to implement and more computationally expensive - is by far the best approach!
113  Using Arduino / Networking, Protocols, and Devices / Re: Arduino WIFI on: March 28, 2013, 05:31:33 am
Somehow you missed at least  half of what I wrote  smiley-confuse I am not familiar with the ArdWiFi shield. Are you speaking about this device : ?

It looks to me that the WiFi module on that shield does NOT employ the WizNet W5100 WiFi chip from WizNet. So in essence, you''ll have to retire the ArdWiFi at least until you have a good bit more Arduino experience. Instead you need to get an Arduino Ethernet Shield. This one: You can get these relatively cheap at eBay for $20. A new original shield from Sparkfun will be about $45.

Then you need to obtain a TP-Link TL WR702n wireless router: for example at Amazon

As an alternative if it has to be a WiFi shield you could get the WiFly shield from Sparkfun Through two libraries - namely WiFly HQ and Ad=rdOSC for WiFly HQ this may support OSC but I have no personal experience with this hardware and cannot vouch for its function.

Once you have these devices (Ethernet Shield and router), let's continue the conversation.

The Ethernet library is !very! unlikely to work with your particular WiFi shield. It is meant to work directly with the original Arduino Ethernet shield that I've linked to above. The Arduino Bonjour library (that you can actually live without) relies directly on lower level functions of the Ethernet library. Any response you may have gotten from your WiFi shield does not involve any of these two libraries as they are hardware dependent on the presence of the WizNet W5100 chip.

Both, the ArdOSC library and the iOSCController library require the Ethernet library/shield.
114  Using Arduino / Networking, Protocols, and Devices / Re: connect an arduino to a server DNS/DHCP on: March 27, 2013, 08:16:49 pm
You may want to talk to the network admin of your school if that is even possible and if they'd allow it.
I could imagine plenty of reasons why they would not allow it ;-)
115  Using Arduino / Networking, Protocols, and Devices / Re: Arduino WIFI on: March 27, 2013, 08:14:03 pm
I Re- read your post. It appears that you had problems even for the iPhone to pick up the Arduino WiFi shield. This may also be an outdated statement but at least in the past the Arduino WiFi shield relied on ceiling an IP adds through DHCP from an existing WiFi router and then you could connect to the WiFishield through the router.

The Ethernet <-> TP-Link router does not have that problem. The router comes configured as an AP (Access Point). You plug it in and can connect to it right away with the iDevice of your choice!
116  Using Arduino / Networking, Protocols, and Devices / Re: Arduino WIFI on: March 27, 2013, 07:59:17 pm
I am afraid you've bitten off a bit more than you can chew at the moment, but don't despair.

You are missing a whole lot more than a few basics and I can say that because I've made this work and had to learn a few things the hard(ware) way.

My current state of knowledge about the Arduino WiFi shield, or better the current set of libraries do not yet support the UDP protocol and there have been a numer of posts about this unfortuante fact on the forum. But that may be different now. That is important because the OSC protocol generally is based on UDP and ArdOSC is no exception.

If the Arduino WiFi shield does support UDP, you have another few hurdles to take. ArdOSC makes use of some lower level functions of the original Ethernet shield library that talk directly to the W5100 Ethernet chip on the Ethenet Shield through SPI. You'd have to rewrite these functions for the specific hardware of the Arduino Wifi Shield.

The above are most of the hardware limitations. There is one more that has to do with the memory requirements of the involved software libraries so an Arduino version with more memory, e.g. a Mega would work if you need space for your own code.

However, you can deal with all of the above if you are not shy of getting different hardware. E.g. Get an Ethernet shield, so you can work with ArdOSC right out of the box. If you want WiFi, then connect a little pocket router to it. I've used a TP-Link TL WR703n and a 702n. I'd recommend the 702n as it has a English user interface (if you buy it through regular US sales channels) the interface for the 703n is all Chinese. You can get the Ethenet shield on eBay for about $20. As long as it has a W5100 chip on it you should be OK. The router will set you back about $25. Together, IMHO that provides you with a lot more mature functionality than any of the WiFi shield currntly available at a much petter price point.

The next thing you are missing is that the reason services show up in TouchOSC is because these are services that are announced through Bonjour
For TouchOSC to pick the Arduino up, you need to use the Arduino Bonjour library to register a service on the WiFi network that your iDevice is connected to.

BTW, the Bonjour Library also makes use of some lower level functions of the Ethernet shield library!

In my LED lighting systems instead of an Arduino I use the Arduino compatible Teensy++2 a WIZ812MJ Ethenet module and adapter also from PJRC. Together,  including the router, all that is less expensive than the Arduino WiFi shield alone!

So, if I have not severely scared the crap out of you and you still want to go ahead with your project and are not afraid of occasionally pulling out your hair and are ready for a few setbacks, in that case you are in the right ace here and I'd be glad to help you along. Once it starts working its actually pretty darned cool!!!

Perhaps start with what you actually want to achieve as an end result and  we'll go from there.
117  Using Arduino / LEDs and Multiplexing / Re: Random RGB Values Give Pastel Colors on: March 27, 2013, 05:53:27 am
Mike is correct, it does help  smiley-wink

This ( scroll down to the video) does exactly that. It randomly chooses 3 values and then clamps one of them to 255 and then fades from the last set of randomly chosen values to the new set.
118  Using Arduino / LEDs and Multiplexing / Re: PWM 3V 200mA High Power Led from 3v soure on: March 18, 2013, 05:39:58 pm

Apparently the only way is using a buck converter to ste-up the voltage and then use a CC driver?


A buck converter is a step down converter, not a step- up converter.
119  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet UDP or TCPIP examples on: March 11, 2013, 03:57:34 pm
If you want to connect the Arduino/TP-Link to your home router that's what you use the Client mode for. Then you can control the Arduino through your home router. If you want to connect from an IPad directly to the TP-Link router you need to put it into AP mode.

What application are you using on the iPad ?
120  Using Arduino / LEDs and Multiplexing / Re: Problem with PWM output and sensor input on: March 09, 2013, 10:32:04 am
No code, no help :-)

Please put the code in code tags by using the hash button (#)
Pages: 1 ... 6 7 [8] 9 10 ... 20