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.
Photo

Analog Input Help Needed


  • Please log in to reply
46 replies to this topic

#41 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 16 September 2010 - 06:11 AM

O wow, you sir are a master of un-disaster :lol:

InterruptPort test = new InterruptPort(Pins.GPIO_PIN_A5, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeBoth);
            test.Dispose();

sensor = new AnalogInput(Pins.GPIO_PIN_A5);

and by doing that I get different values!.


Hi Oz,

We picked up a Gadget Shield and are trying to reproduce the problem...but aren't having any luck doing so. Is there any chance you could provide two small samples--one that doesn't work (without your workaround) and one that does owrk (with your workaround)?

We're looking at this and a possible Stream bugfix for the v4.1.1 firmware before moving it to beta. Any help you could provide reproducing this issue (or confirming that it was already fixed in the previous releases, if that's the case) would be much appreciated.

Thanks Oz!

Chris

#42 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 16 September 2010 - 11:38 PM

Hi Oz,

We picked up a Gadget Shield and are trying to reproduce the problem...but aren't having any luck doing so. Is there any chance you could provide two small samples--one that doesn't work (without your workaround) and one that does owrk (with your workaround)?

We're looking at this and a possible Stream bugfix for the v4.1.1 firmware before moving it to beta. Any help you could provide reproducing this issue (or confirming that it was already fixed in the previous releases, if that's the case) would be much appreciated.

Thanks Oz!

Chris


I'll check it out again and see if it has been fixed by the alpha release.

#43 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 September 2010 - 02:16 AM

I'll check it out again and see if it has been fixed by the alpha release.


Cool, thank you.

#44 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 17 September 2010 - 08:25 PM

Cool, thank you.


Good news! I dont need to make an interupt port and disable the resistor to fix it anymore so its good now.

#45 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 September 2010 - 08:55 PM

Good news! I dont need to make an interupt port and disable the resistor to fix it anymore so its good now.


That is good news. Just to double-check, could you do the following?

1. Deploy your application _without_ the workaround
2. Unplug and depower your Netduino. Plug it in. Make sure it still works.

The reason I ask: the pins are not fully "reset" during a soft reset--so depowering and then repowering the Netduino will verify that everything is 100% good now.

Thanks for all your testing, tutorials, etc.!

Chris

#46 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 17 September 2010 - 09:27 PM

That is good news. Just to double-check, could you do the following?

1. Deploy your application _without_ the workaround
2. Unplug and depower your Netduino. Plug it in. Make sure it still works.

The reason I ask: the pins are not fully "reset" during a soft reset--so depowering and then repowering the Netduino will verify that everything is 100% good now.

Thanks for all your testing, tutorials, etc.!

Chris


Good there too! It works after unpluging and plugining it in [with USB and Barrel Plug]. I just got my breadboard and wires from adafruit and I am trying to come up with a tutorial. Now that that is fixed I wont have to worry about it! Thanks

#47 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 September 2010 - 09:56 PM

Now that that is fixed I wont have to worry about it!


Awesome. Thanks, oz. We'll close out the bug report in our support database.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.