- Netduino Forums
- → Luke's Content
Luke's Content
There have been 18 items by Luke (Search limited from 12-May 23)
#6580 OSC Drivers
Posted by Luke on 27 December 2010 - 07:45 PM in General Discussion
#6581 OSC Drivers
Posted by Luke on 27 December 2010 - 07:48 PM in General Discussion
#6586 OSC Drivers
Posted by Luke on 27 December 2010 - 09:13 PM in General Discussion
#7090 Controlling multiple LEDs with a few outputs as possible
Posted by Luke on 05 January 2011 - 08:55 PM in Netduino 2 (and Netduino 1)
#7152 Controlling multiple LEDs with a few outputs as possible
Posted by Luke on 06 January 2011 - 03:27 PM in Netduino 2 (and Netduino 1)
The EZ-Expander works great with the Netduino. Provides a net gain of 13 more output-only pins. (There are 16 output pins, but you lose three driving the two 74HC595 shift registers.)
http://nootropicdesi...om/ez-expander/
Your link doesn't work, but I think this is what you're talking about:
http://nootropicdesi...om/ez-expander/
That looks nice and is basically what I was getting at.
#7429 Hang during debug with ethernet connected
Posted by Luke on 10 January 2011 - 10:37 PM in Netduino Plus 2 (and Netduino Plus 1)
#7455 Hang during debug with ethernet connected
Posted by Luke on 11 January 2011 - 02:19 PM in Netduino Plus 2 (and Netduino Plus 1)
Hi Luke,
Are you catching exceptions in your program? Perhaps a network connection attempt is failing and an exception is thrown (and not caught...causing your program to stop)?
Do you have a sample which we could use to reproduce the issue? We'd love to dig into it... We're working on a series of networking-related bugfixes for .NET MF right now so this is very timely.
Chris
Chris,
Thanks for the reply. I am catching exceptions in my program when doing anything network related. It works fine without ethernet connected. The exceptions are caught and dumped to the debug output and it will run for hours (let it run for over 16 hours last night).
This morning I created this simple program:
using System; using System.Net; using System.Net.Sockets; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.NetduinoPlus; namespace NetduinoPlusSimpleTest { public class Program { public static void Main() { OutputPort LED = new OutputPort(Pins.ONBOARD_LED, false); while (true) { Debug.Print(DateTime.Now.ToString()); LED.Write(!LED.Read()); Thread.Sleep(1000); } } } }
This hung with the system time at 2 minutes, 11 seconds when the ethernet was attached. I'll do some more testing to see if the time is always the same. It hasn't stopped yet without ethernet attached and I'm at 5 minutes. I'll let it run today just to be sure that it doesn't crash.
OK, update: I'd been using my ethernet cable from my desktop to test. I just moved it to another cable so that I could write in the forum while it's running and it hasn't stopped yet. My desktop is connected directly to my 2wire AT&T U-verse modem. The other connection is to a Netgear GS108 gigabit switch (which is then connected to the U-verse modem). They are both on the same layer 2 network.
I'll test some more tonight and let you know what I find.
#7458 Hang during debug with ethernet connected
Posted by Luke on 11 January 2011 - 03:17 PM in Netduino Plus 2 (and Netduino Plus 1)
#7463 Hang during debug with ethernet connected
Posted by Luke on 11 January 2011 - 04:51 PM in Netduino Plus 2 (and Netduino Plus 1)
Very interesting. Are you using Static IP or DHCP? And just to confirm, this is plugged into your Netgear switch?
I'm using static IP. It's doing this on both switches. At first it seemed that switching to the Netgear fixed the issue, but that wasn't the case.
#7516 Hang during debug with ethernet connected
Posted by Luke on 12 January 2011 - 03:09 PM in Netduino Plus 2 (and Netduino Plus 1)
#9666 Steps to restore an Erased Netduino
Posted by Luke on 17 February 2011 - 05:53 AM in Netduino 2 (and Netduino 1)
#9667 Netduino Plus in stock at SparkFun
Posted by Luke on 17 February 2011 - 06:01 AM in Netduino Plus 2 (and Netduino Plus 1)
#9787 Netduino Plus in stock at SparkFun
Posted by Luke on 18 February 2011 - 07:28 PM in Netduino Plus 2 (and Netduino Plus 1)
And they are sold out already! When I checked last night, they had 17, this morning they have 0
When I noticed them in stock, I started a 15-minute check of the inventory...here's a graph
https://spreadsheets...zx=tx4h2l2mdn89
#9788 Netduino Plus in stock at SparkFun
Posted by Luke on 18 February 2011 - 07:29 PM in Netduino Plus 2 (and Netduino Plus 1)
#9982 2 serial ports + RS422
Posted by Luke on 22 February 2011 - 01:24 AM in General Discussion
#10012 Power through 5V pin?
Posted by Luke on 22 February 2011 - 09:41 PM in Netduino Plus 2 (and Netduino Plus 1)
#11114 Recommend a scope or PC card for working with Netduino?
Posted by Luke on 19 March 2011 - 12:40 PM in General Discussion
Or how about a 40kHz 2-Ch DIP-Size Mixed Signal Scope for $49?
Or get the same thing directly from the designer for $35
http://www.gabotroni...a-xprotolab.htm
It's actually a powerful little device with a 320kHz 2ch scope, arbitrary waveform generator, external triggering, and 8 channel logic analyzer. It will do SPI, I2C, and UART decoding with more to come. Of course, the biggest drawback is the display size and resolution. It also requires a PDI programmer to flash new firmware to it. I don't expect it to replace a dedicated scope or LA, but I'm looking forward to messing with it.
#16980 OSC Drivers
Posted by Luke on 23 August 2011 - 02:51 PM in General Discussion
I did eventually get a PoC working with OSC control. The main problem that I encountered was that I needed a function from the BitConverter that uses unsafe code. It works, but I was hoping to find a better, supported solution. It's been more than 6 months since I've even looked at this, but I'll attach what I have. No guarantee that this is any good and certainly not elegant
NetduinoOSC.zip has all of the OSC code and Program.cs has a little test code that I was using to test it with TouchOSC for iOS and some notes about things that I still planned to do to it.
I'd like to get back to this some day, but I've had other things going on lately keeping me away from it.
Hope this helps,
Luke
Hi Guys, i'm really new to the netduino and wanted to control some things with my iphone / android tablet over OSC (or is there something better for this?)
I've got some experiences with the arduino, but no experience with ethernet and this little tiny bastards (arduino + ethernet shield, netduino plus)
I didn't find any references in the net, like a step-by-step guide to use OSC with arduino / netduino plus.
Is there any?
regards Martin
Attached Files
- NetduinoOSC.zip 3.74KB 36 downloads
- Program.cs 3.43KB 31 downloads
- Netduino Forums
- → Luke's Content
- Privacy Policy