Show Posts
Pages: 1 2 3 [4] 5 6 ... 19
46  Using Arduino / Microcontrollers / Re: Which controller to take for 3x16bit PWM? on: December 03, 2013, 11:06:09 pm
A Teensy3 is $19 is much smaller than a normal Arduino and has 10 16-bit hardware PWM pins.

http://www.pjrc.com/store/teensy3.html
47  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: November 14, 2013, 09:18:18 am
Yes, unfortualately that is the case. It did not occur to me that you were using a Yun until after I posted.

The Yun is supported with the elease of Arduino 1.5.4 but the Arduino team also introduced changes, e.g. how libraries are supported that make it very difficult for third party developers to support the Arduino environment. This does not only concern Eclipse but there are others.

While these third party developers (software as well as hardware). The very well thought out suggestions these third party deveopers have put forth have been met with a surprising reluctance, despite the obcvius shortcomings of the IDE.

Anyway, if you currntly want to use the Arduino Eclips Plugin with an Arduino Yun you are at an impass as the eclipse plugin does not with with the 1.5.4 Arduino environment.

Do you get this message also using the Arduino IDE when runnning on a Mac natively ?
"Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
Do you get this message "

48  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: November 13, 2013, 11:51:55 am
To add to Jantje's comments, there is really no reason to use Arduino and Eclipse + Plugin in a VM on the mac.
That combo runs very smoothly natively on a mac. It has been noted that the way the VM assumes the USB ports in some cases
interfers with things.

Here is a link to detailled installation instructions on a mac. http://trippylighting.com/teensy-arduino-ect/arduino-eclipse-plugin/arduino-eclipse-plugin-installation/
49  Using Arduino / LEDs and Multiplexing / Re: Need more control over PWM for led fade. on: November 03, 2013, 10:48:46 am
I re-read the OPs original post, and in that application when you fade in all color channels from zero that step is detectable, I agree. For the OPs intended purpose I'd agree that the little breakout from Adafruit seems ideal. Had not seen that one before, so thanks for posting it!

50  Using Arduino / LEDs and Multiplexing / Re: Need more control over PWM for led fade. on: November 02, 2013, 05:17:07 pm
Another thing that came to  ind is that if actually do want to use 16 bit, the Teensy3 http://www.pjrc.com/teensy/index.html has 10 pins that can do 16-bit PWM http://www.pjrc.com/teensy/td_pulse.html. Not bad for $20!
51  Using Arduino / LEDs and Multiplexing / Re: Need more control over PWM for led fade. on: November 02, 2013, 05:04:16 pm
The steps come from a nonlinear response of the human eye to changes in brightness.
If an LEDs light output would be by some strange coincidence matched to that, 256 steps or 8-bit per color channel would provide you with smooth dimming.
The article here http://neuroelec.com/2011/04/led-brightness-to-your-eye-gamma-correction-no/ explains this fairly well. In order to linearize it is fairly common to use a lookup table that maps the 256 steps onto a 12-bit map.

I use that approach in my lighting systems ( see signature for links) and it provides very smooth fading using 265 steps per color channel. Only when fading very, very slowly at ranges vevery close to zero have I been able to detect steps. So in essence the speed which with you fade also has to do with the ability to detect steps. Having 12-bit dimming available I can still use a 10-bit lookup table to correct that behavior.

16 bits are nice if you want to use arbitrary scaling, say if you want to be able to only use only a quarter of the dimming range of your LED but still want to be able to smoothly fade, however is not really necessary at all in my experience. More is not necessarily better!
52  Using Arduino / LEDs and Multiplexing / Re: 10 Watt high power LEDs. on: October 31, 2013, 03:12:59 pm
I was merely pointing out that there was a technical inaccuracy in what you wrote and did want to point it out as it has been a misunderstand in more than one three/post on this forum. No reason to be defensive!

I am not sure I understand your problem not being able to draw enough current. You wrote in a post above that you are using current limiting resistors that will limit the current through the LEDs to 400mA. When you set the duty cycle of the PWM signal to 100% then the "switches" are on 100% of the time, thus you will draw these 400mA. If you want more current to flow you'd need to lower the value of the current  limiting resistors, or is there something I am missing ?
53  Using Arduino / LEDs and Multiplexing / Re: 10 Watt high power LEDs. on: October 30, 2013, 07:27:25 pm
If you are using current limiting resistors, then you will not damage the  LEDs. However the assessment that with PWM you can perhaps reduce average current but not peak current is still correct.
54  Using Arduino / LEDs and Multiplexing / Re: 10 Watt high power LEDs. on: October 27, 2013, 11:50:51 am
You CANNOT lower the current draw using PWM. You limit the overall energy going into the LED, however, if the current exceeds that of the LEDs spec you may have already shortened the lifetime of the LEDs.
55  Using Arduino / Interfacing w/ Software on the Computer / Re: Help RXTX on MAC OS X on: October 19, 2013, 06:58:27 am
Google translate:
"Hello, I have a problem I can not seem to use the RXTX library in Java, the installation does not work how. Can you show me how to install it please."

You may want to explain what exactly is not working. If you are comfortable reading English, then this link may help:
http://trippylighting.com/teensy-arduino-ect/arduino-eclipse-plugin/the-serial-monitor-on-mac-osx/
56  Using Arduino / Networking, Protocols, and Devices / Re: TouchOSC via Ardosc/Bonjour on: October 17, 2013, 08:27:10 pm
That's very good to hear. Congrats!
57  Using Arduino / LEDs and Multiplexing / Re: 10W RGB LED Project on: October 16, 2013, 05:25:57 am
As others have already noted, you are best off using a constant current power supply. There is a bare board for sale at Tindie.com that theoretically would fit your LED. The components you'd need are easy to find. The PT4115 can be found on eBay as well for $0.40 a piece! As a whole this would make for a really inexpensive LED driver that would allow 12 bit dimming.

https://www.tindie.com/products/RobG/10w-rgb-led-driver-pcb/

As noted by others, connecting the LEBd to a " normal"  regulated power supply is not going to cut it. "Normal" regulated power supply keep the voltage constant. LEDs are constant current devices. LEDs, and particularly High Power LEDs such as yours get hot (you will definitely née a good heat sink!!!)  and when the temperature raise, the forward voltage will also raise. That is why a simple current limiting resistor is not a good solution.

The LED that you have linked to has very short leads on one side, so perhaps look for an equivalent LED with leads that are a little longer. While the LED in your image  is a common anode ( or cathode) LED, you can cut off the " bridge" to eliminate the problem and make it workable with the above linked board.

In general I personally would not trust these ultra cheap, un-binned Chinese mass produced eBay LEDs.
58  Using Arduino / LEDs and Multiplexing / Re: Driving 2 RGB LED strips on: October 09, 2013, 08:41:53 pm
That sounds like a good plan. If you want to prototype this before committing to a custom PCB try this motor shield from Adafruit. http://www.adafruit.com/products/815
the PCA9685 used on the board is really an LED driver chip.
59  Using Arduino / Networking, Protocols, and Devices / Re: TouchOSC via Ardosc/Bonjour on: September 21, 2013, 08:53:48 pm
You don't NEED Bonjour, but it is cool ;-)

I think I had the problem with the LED just blinking once too when I was figuring things out. IIRC the trick in TouchOSC is to use a toggle button (not a push button) and un-check the "local feedback" check box.
  • When you press the button once an OSC message is sent to the Arduino.
  • Then the LED is turned on.
  • then a message is sent back to the toggle button in TouchOSC to turn it on.
60  Using Arduino / Networking, Protocols, and Devices / Re: TouchOSC via Ardosc/Bonjour on: September 21, 2013, 05:34:28 pm
Replacing the Ethernet Shield with a WiFi shield will require some adaptions to the ArdOSC library. The ArdOSC library contains a few function calls to the lower level SPI functions of the Ethernet library.

I personally am not working with the ArdOSC library anymore as it is rather dated and not maintained anymore. I have rewritten my code to use the OSC library from CNMAT (Oscuino) https://github.com/CNMAT/OSC. It is writen and maintained by the inventors of the OSC protocol and actively maintained.
It uses the "regular" Arduino Ethernet and EthernetUDP libraries and is not directly hardware dependent. However, using hardware that can make direct use of the the Arduino Ethernet libraries is a not to be underestimated advantage to getting things to work very quickly.
For example I use a WIZ820io Ethernet module instead of the Ethernet Shield.

Any change in Ethernet related hardware will require you to change code in the used libraries unless the libraries that come with these shields e.g. the Seedstudio WiFi shield have compatible function calls.
Pages: 1 2 3 [4] 5 6 ... 19