Show Posts
Pages: 1 ... 7 8 [9] 10 11 ... 20
121  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!
122  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.
123  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.
124  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.
125  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 ?
126  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 (#)
127  Using Arduino / LEDs and Multiplexing / Re: led fader project on: March 08, 2013, 07:41:02 pm
The " standard" PWM frequency on the Arduno boards is 500 Hz. Frequencies over 100-120hz are not visible to most people.
It may have more to do with the 8- bit resolution of the Ardinos PWM signal in combination with the non linearity of the human brightness perception.

In my own projects I use an Led driver board with 12 bit resolution, allowing me a CIE brightness corrected dimming, alas at about 120Hz (IIRC) PWM frequency. Smooth as butter dimming without any perceivable flicker.
128  Using Arduino / Networking, Protocols, and Devices / Re: Wire lib vs I2C lib - interrupts, performance. on: March 05, 2013, 09:39:11 pm
The I2c library is faster than the wire library. The values presented in the table are code-size in bytes and duration of whatever write read function. The calculation you did assumes that the first number given is the number of bytes transferred per time, which, again , is not what the numbers represent.
The I2C signals are realized in hardware, thus the likelyhood that your application will have to wait because of the " blocking" behavior is very small. Removing dependence on interrupts makes this library more flexible to use as it eliminates its chance of interfering with other libraries that may also want to use the same interrupts.

The reason this library worked better for me was because of the timeout and reset, a function the wire library does it offer, or at least did not when I write the software for my prject.
129  Using Arduino / LEDs and Multiplexing / Re: OctoWS2811 Library - for large LED display at video speed refresh on: March 03, 2013, 06:46:21 am
Hi Paul,

Pretty stellar work from you. as usual!
What you need is not a gamma correction but CIE lightness correction :
I've seen lookup tables for the above on the forum usually in 8 bit resolution and have one in 12 bit used for my LED shields for my projects

Even better would be true CIE lab color correction:
130  Using Arduino / LEDs and Multiplexing / Re: LED project help on: March 02, 2013, 09:53:03 am
The 20feet of CAT5 cable for the PWM would worry me a bit was well. I would expect some signal degradation particularly if the PWM is running at higher fequencies.
131  Using Arduino / LEDs and Multiplexing / Re: Full brightness multiplexing. on: March 01, 2013, 06:01:50 pm
The human eye is more sensitive to green light, so green LED usually appear brighter than the red, or the blue.
This article may also of interest if brightness perception is an issue:
132  Using Arduino / Networking, Protocols, and Devices / Re: Wire lib vs I2C lib - interrupts, performance. on: February 26, 2013, 06:57:22 pm
If you scroll down the page on you'll find a pretty detailed timing comparison between the I2C and wire library ;-)
That should explain any performance differences.
133  Using Arduino / Microcontrollers / Re: Teensy 2.0 Teensy Loader Error on: February 23, 2013, 07:34:36 pm
Perhaps you want to post your problems on the forum dedicated to the teensy boards:
134  Using Arduino / Networking, Protocols, and Devices / Re: Wifi connection???????? on: February 20, 2013, 06:56:16 pm
I read through your initial post again.
If you are interested in a real WiFi solution I would currently not recommend any WiFi shield and suggest an alternate solution using a " standard" Ethenet shield connected via short Ethernet Cable to a little pocket router. That way you will not have to rewrite code but still are able to use a WiFi connection:,149865.0.html
135  Using Arduino / Networking, Protocols, and Devices / Re: DIY Arduino WiFi? on: February 20, 2013, 06:51:18 pm
PaulS....I like your humor.....most of the time. This was the second time today that my kids asked me what I was laughing about when reading forum posts. That made an otherwise crappy day much better.

Here you go.
Pages: 1 ... 7 8 [9] 10 11 ... 20