Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Dave

Member Since 08 Aug 2010
Offline Last Active Jun 27 2011 06:05 PM
-----

Posts I've Made

In Topic: Cheaper Ethernet option?

21 September 2010 - 10:37 PM

And a lot more pins ...


You don't need to connect any more pins then the shield uses. You just have to wire it up yourself. The module can be used either in bus mode, or SPI.

--Dave

In Topic: Cheaper Ethernet option?

20 September 2010 - 08:54 PM

Right now Cutedigi has them for sale for $25. http://www.cutedigi....1ea707987da5b4. You can also use the Wiznet module which has everything on it for about $25 as well, which is what I'm using to prototype it. http://www.sparkfun....roducts_id=9473 --Dave

In Topic: Netduino Tutorial - Multithreading (Methods with Parameters)

13 September 2010 - 06:26 AM

Actually since you're not using the value returned you could do something like this, and do it all in one line of code....

       public void Pulse(int onTime, int offTime, bool onFirst, uint repeat)
        {
            new Thread(() => doWork(onTime, offTime, onFirst, repeat).Start();
        }

--Dave

In Topic: W5100 Driver

08 September 2010 - 09:18 PM

I have a W5100 module, not shield, hooked up on a proto-board to see how it works. I'm in the process of writing a set of managed classes to work with it, I'll post it when it's done and tested.

Unlike the Fez stuff, it will use the interrupt, and implement all the async stuff.

I wasn't going to say anything till it was done, but since someone else is looking at using the chip, I figured I would let you know that it was in progress.

The chip doesn't seem to work according to spec, and I'm trying to figure out why. The SPI timing diagrams that they have in their app note, seem to be wrong.

For example to read a register on the chip the following works as it should:
snip...
var outbuf = new byte[3];
var inbuf = new byte[1]l

oputbuf[0] = 0x0f;
outbuf[1] = //high byte of address;
outbuf[2] = //low byte of address;

spi.WriteRead(outbuf, inbuf, 3);
snip...
The correct value is read from the register.

However doing a 4 byte write, to write a value to the register does not work. You have to do four one byte writes. This should not work, since raising SS should clear the input sequence.

In about a week or so, since I have to work on what I get paid for, as well, I should have something to upload to the board.

--Dave

In Topic: where is the .net micro framework documentation?

22 August 2010 - 07:52 PM

bryancostanich,

That's good to know, as I prefer local help too. I didn't know about that option in the Visual Studio 2010 installer. Thanks!

Chris



There is also a free plug-in in the visual studio gallery that gives you the old VS2008 style help. Get it at: http://visualstudiog...ed-cbcbebe04a20

--Dave

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.