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.

seascan

Member Since 11 Nov 2011
Offline Last Active Mar 18 2014 01:40 AM
-----

Topics I've Started

Sine wave

13 March 2014 - 05:14 PM

Hi.  I was wondering if anyone can enlighten me on how to go about creating a 26khz sine wave with a Netduino?  Also, is the ND's DAC fast enough to sample/measure a responding wave with this frequency?

 

Sorry if my question doesn't make sense.  My strengths are more with coding... I'm not 'tuned in' to the electronics as much.

 

Thanks!

Terry


SD Card Reading with External Power

08 February 2014 - 07:32 PM

Hi.  I have a Very simple program that creates a file on an SD card at boot up.  If the File exists, it lights the LED and deletes the file (so the next boot up the LED is off).

 

This works perfectly while plugged into my computer via USB -- every other reboot the LED is on.  When the ND is being powered by an external power supply it does not work -- EVERY reboot the LED is on.

 

I have an ND+1 with 4.2 and a 2GB SD Card formatted to FAT32.

 

Any ideas?

Imports Microsoft.SPOTImports Microsoft.SPOT.HardwareImports SecretLabs.NETMF.HardwareImports SecretLabs.NETMF.Hardware.NetduinoPlusModule Module1    Public _onBoardLED As OutputPort    Sub Main()        _onBoardLED = New OutputPort(Pins.ONBOARD_LED, False)        If System.IO.File.Exists("SDRebootMe.txt") Then            Do Until System.IO.File.Exists("SDRebootMe.txt") = False                System.IO.File.Delete("SDRebootMe.txt")            Loop            _onBoardLED.Write(True)                   Else            Do Until System.IO.File.Exists("SDRebootMe.txt") = True                Dim file As New System.IO.FileStream("SDRebootMe.txt", System.IO.FileMode.Create)                Dim SR As New System.IO.StreamWriter(file)                SR.WriteLine("FooBar")                SR.Flush()                SR.Close()                file.Close()            Loop            _onBoardLED.Write(False)        End If    End SubEnd Module

Thank you!

Terry


ND+1 Connected to Router

07 February 2014 - 06:15 PM

Hi.  This one is difficult to explain.  I have been trying to figure it out on my own for days and have failed.    For a few weeks I have been building an application on an ND+1.  It works great.  Reading humidity, multiple temperatures, light levels, controlling relays, etc.  I connected the ND to a Netgear WNCE2001 (Ethernet Adapter) and set my ND to a static IP address.  Again, works great.  With port forwarding on my home router I am able to access all the sensor info from the internet.  Woo Hoo!   So, I went ahead a bought a nice box to house all my components and used external power supplies (not USB) for the ND and Netgear.  I noticed I couldn't 'talk' with the ND when I put in the static IP address.  Weird.  So, I unplugged the ND and plugged the USB cable to my PC for debugging.  Works great -- was able to access it via static IP with no problem!  Weird.  So, without unplugging the netgear I unplugged the ND USB and used the AC Power.  Now it works!  With both the ND and Netgear on external power I was able to access the ND via the IP Address.    So, now I recycle power on both the ND and Netgear and they don't work -- all the lights look happy (just like when plugged into to the USB port but, I can't access the ND via IP address).     For debugging I swapped out power supplies for the ND.  I tried staggering the boot so the netgear loads first, tried watch dog timer, tried cutting out all the code except for the webserver, tried polling the webserver, tried cycling the ethernet pin (CPU 50) -- tried so many things that I can't recall them all. Because I have lots of LED flashing debug points (flashes tell me where I am in the code) I can see that the ND is polling away waiting on the socket.     The only way to access the ND via IP address is if I run the ND in debug mode from the laptop.  Then I can unplug the ND and give it power from the AC power supply and it still works great.   I know I've done a poor job of explaining the issue and all my attempts of debugging....  just hoping someone may recognize this and can say "oh, that's easy just do ------ "   Thank you!


VB & AGENT

05 February 2014 - 10:52 PM

Is it possible to program an AGENT watch with VB?

 

 


Galileo

05 February 2014 - 09:25 PM

Hi.  Does anyone know if Galileo is a competitor to Netduino or are the two different enough to not be "against" each other?

 

 


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.