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.

Gilberto Garcia

Member Since 01 Feb 2012
Offline Last Active Nov 08 2012 12:19 AM
-----

Posts I've Made

In Topic: Home Alarm System using Netduino Plus (HomeAlarmPlus project)

19 June 2012 - 12:28 AM

I have been modifying circuitry and code to be more reliable. Code was updated/tested with the latest .NET Micro Framework (4.2 QFE1) . In the meantime, I have created a repository with the base class library at https://github.com/f...r/HomeAlarmPlus . Thanks and enjoy!

In Topic: Hello Pachube (AnalogInput)

22 May 2012 - 06:47 PM

I just tried Hello Pachube example to get started with ethernet activity.

var voltagePort = new AnalogInput(Pins.GPIO_PIN_A1);

The above line is not computing. AnalogInput is wavy underlined and Error reads:

Error 1 The type or namespace name 'AnalogInput' could not be found (are you missing a using directive or an assembly reference?)


I had a similar problem before. The following code solved my problem:

var voltagePort = new SecretLabs.NETMF.Hardware.AnalogInput(SecretLabs.NETMF.Hardware.NetduinoPlus.Pins.GPIO_PIN_A1);

I agree with Cuno, Pachube's code is working fine with the Cosm.

In Topic: System.Diagnostics.Stopwatch class

08 May 2012 - 05:07 PM

Chris,

Thank you so much for this library. It was a time saver. I added two more methods to the library (ElapsedSeconds and ElapsedMinutes).

public double ElapsedSeconds
        {
            get
            {
                if (m_startTicks != 0 && m_isRunning)
                {
                    TimeSpan duration = new TimeSpan((Microsoft.SPOT.Hardware.Utility.GetMachineTime().Ticks - m_startTicks));
                    return duration.Seconds;
                }
                else if (m_startTicks != 0 && !m_isRunning)
                {
                    TimeSpan duration = new TimeSpan((m_stopTicks - m_startTicks));
                    return duration.Seconds;
                }
                else
                    throw new InvalidOperationException();
            }
        }

        public double ElapsedMinutes
        {
            get
            {
                if (m_startTicks != 0 && m_isRunning)
                {
                    TimeSpan duration = new TimeSpan((Microsoft.SPOT.Hardware.Utility.GetMachineTime().Ticks - m_startTicks));
                    return duration.Minutes;
                }
                else if (m_startTicks != 0 && !m_isRunning)
                {
                    TimeSpan duration = new TimeSpan((m_stopTicks - m_startTicks));
                    return duration.Minutes;
                }
                else
                    throw new InvalidOperationException();
            }
        }

In Topic: WiFly Shield

25 March 2012 - 05:12 PM

For best performance, I'd use the Netduino Plus with a WiFi Ethernet Bridge device. I know that a number of people have used Quiche's drivers...but I have not had a chance to use WiFly enough to have a good feel for performance.

Chris


I would like to add that I am currently using my Netduino Plus with a Netgear Universal Dual Band Wireless (WNCE3001). It requires a one time setup of SSID and password on the Wireless adapter, just follow the instructions.

G. García

In Topic: Netduino Stopwatch Equivilent

20 March 2012 - 01:11 PM

Nice Job! Thank you!

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.