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.

jrlyman3

Member Since 09 Mar 2013
Offline Last Active Aug 17 2014 11:47 PM
-----

#59196 Automated Urban Garden

Posted by jrlyman3 on 13 July 2014 - 07:28 PM

Wow that looks great!  What type of moisture sensor are you using?  How's it been working?

 

My PlantNanny (http://www.lymantech...nanny-part-one/) started giving me noise for the moisture level last week.  I pulled out the moisture sensor (a two prong fork like thing) and when I cleaned it off I found that the metal plating (probably copper) was completely corroded away.

 

Instead of buying a new one I took two pieces of #12 gauge copper electrical wire, secured them to the fork by wrapping some hookup wire around them, and soldered them to the sensor at the top of the fork.  It seems to be working, I guess we'll see how it goes.




#58746 obstacle detection

Posted by jrlyman3 on 17 June 2014 - 02:32 AM

I like to use "breadboard jumper wires".  They come in M/F, F/F, and even M/M configurations.  You can get them from a bunch of vendors on Amazon for a few dollars.  One way to do a "Y" cable would be to cut a couple M/F cables in half, strip the ends, twist them together, solder it together, and shrink wrap it.  Use one male end (to plug into the Netduino) and 2 or more female ends to receive the wires from your devices.

 

Another way that I've done it is to solder a jumper wire with a male end to a piece of female header with 3 or 4 sockets.  Solder all the pins together and put some shrink wrap on it if you want.

 

Do you have a soldering iron?  I took a quick look on Amazon and I don't see any premade jumpers.

 

John




#57265 Is netduino has Mac address

Posted by jrlyman3 on 01 April 2014 - 02:19 PM

And if you did have Netduino Plus 1/2 ... the MAC address is printed on a label stuck to the back of the board.




#57225 Need some help with jagged array (2d array)

Posted by jrlyman3 on 31 March 2014 - 02:12 AM

OK, so here's the problem.  You load the data into XBuffer, then you store a pointer to that bffer into InBuff, you load the next set of data into XBuffer and store the same pointer into the next element of inBuff, and so on.  One way to fix it would be to move the new of XBuffer into the loop.  As in:

    for (Y = 0; Y < Ymax; Y++)
    {
        Xbuffer = new byte[Xmax];  
        for (X = 0; X < Xmax; X++)
        {
          XBuffer[X] = buffer[X + Y * 4];
        }
        InBuff[Y] = XBuffer;
    }

The down side of this is that this will use up twice the amount of memory.  If you use the data from the initial buffer it would save the memory.




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.