Netduino home hardware projects downloads community

Jump to content

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


Member Since 29 Dec 2011
Offline Last Active May 03 2017 02:30 AM

#48992 Long button press sample

Posted by JerseyTechGuy on 03 May 2013 - 06:48 PM

Sorry for taking so long.  Had some project interviews this morning.  Just getting back to my home office.


You'll likely benefit from using Stefan's .NET Micro Framework Toolbox on CodePlex. In the Samples you'll want to take a look at the Auto-Repeat Button Example.  I am using this on Pandora's Box. Basically I have a menu so I use up and down buttons and an enter button to run different modes.  When I start my scan mode the only way to end it is to hold the up button for 3 seconds and it will stop scan mode then reset Pandora's Box.


Inside the button state change event handler the case of "AutoRepeatInputPort.AutoRepeatState.Tick" handles timed button presses. The documentation on the CodePlex site is pretty good.  You'll see the following properties help you set your timings.


InitialDelay - Get/set the initial delay before the auto-repeat starts.
AutoRepeatPeriod - Get/set the interval period of the auto-repeat.


Hope this helps.

#48782 Run HTML file from the SD card

Posted by JerseyTechGuy on 26 April 2013 - 10:47 PM

Check out this project.  This is where I learned from

#48775 Run HTML file from the SD card

Posted by JerseyTechGuy on 26 April 2013 - 06:04 PM

It is absolutely possible.  I currently do this on a Netduino Plus 2.  I am running NeonMika Web Server on the Netduino. When I go to this serves an HTML file from my SD Card.  When I save my settings after filling in the form it uses jquery and json to send the data from my browser to the Netduino and the code on the Netduino saves my settings to a file called Settings.cfg on the SD Card.

#48660 HTML5 webserver for file transfer

Posted by JerseyTechGuy on 23 April 2013 - 03:15 PM

You can use whatever you want.  HTML5 uses technologies like jQuery which is client side anyway (runs in the browser).  But behind the scenes HTML5 upload still converts a file to bytes and sends it to the server in a Post.  The mechanism is still the same.  This is the basic functionality of a web server in general.  If you want to use HTML5 then you simply need to server up pages that have HTML5 code and use jQuery, AJAX or whatever other HTML5 compatible technology you want.

#48298 PWM freezing due to PWMChannels mapping

Posted by JerseyTechGuy on 11 April 2013 - 02:01 PM

NooM is correct.  Specs for the Netduino 1 I/O are:


digital i/o features

? all 20 digital and analog pins: GPIO

? digital pins 0-1: UART 1 RX, TX

? digital pins 2-3: UART 2 RX, TX

[color=#ff0000;]? digital pins 5-6: PWM, PWM[/color]

? digital pins 7-8: UART 2 RTS, CTS

[color=#ff0000;]? digital pins 9-10: PWM, PWM[/color]

? digital pins 11-13: SPI MOSI, MISO, SPCK

? analog pins 4-5: I2C SDA, SCL

#48094 What are the reference differences between NP1 and NP2?

Posted by JerseyTechGuy on 05 April 2013 - 07:43 PM

I will send you some notes from my porting of the Server.  This will help.


PS:  I am looking forward to reading your new blog :D

#48085 What are the reference differences between NP1 and NP2?

Posted by JerseyTechGuy on 05 April 2013 - 06:17 PM

Hi Markus,


I for one greatly appreciate all the work you put into the server and how it has helped with my project.  I can get you whatever code info you need as I have ported it to work on the ND+2.  Let me know what you need.


More importantly I know how important it is to work with an actual board and how expensive it is to be a student.  We need to work on getting you a ND+2 to work with especially if it helps with the code.


I'll contact you via PM to see what I can do and who your local reseller is and get you setup!

#48084 Delay interruption handling

Posted by JerseyTechGuy on 05 April 2013 - 06:10 PM

If you are using a NativeEventHandler for the interrupt handler one of the parameters should be the time the event was triggered.  Since you have the time you should easily be able to store it in a variable and check how much time has elapsed since the last trigger.  So in essence you cannot tell the event handler to only fire every 5 or 10 minutes but you can tell the handler to run / not run code unless it matches your time criteria.

#47926 Introducing Netduino Plus 2

Posted by JerseyTechGuy on 02 April 2013 - 12:06 PM

hello sir,
 Now i purchased new netduino plus 2 board iand i want to run the garage door open or close project using netduino plus 2 but m gettin the error cannot deploy mcorlib.dll assmebilies of program 4.1 into the netduino plus 2 version4.2 pls tel me the solution
in this link this project i want to do in netduino plus 2
pls tel the solution..

You have to upgrade the project from version 4.1 to version 4.2
  • BMW likes this

#47837 Netduino and RFIDs

Posted by JerseyTechGuy on 31 March 2013 - 02:25 PM

I cannot give you exact resources of where and what to get but I can tell you from having worked on a related project these are typcially called EPC RFID tags, EPC meaning Electronic Product Code.  The latest I think is EPC Gen 2.  These are the kind of high powered tags used in Drivers licenses and other ID Cards as well as products so they can be inventoried from up to 30 feet.


The problem with most typically RFID key fobs and the like is they are not powered.  They are powered when the EM field is created between the reader and the tag and info is sent back. The only ways around this is creating a larger EM field or powering the tags.


Hope this will help with the Googling of resources.

#47705 Building a Set of Netduino 2 & Netduino 2 Plus Tutorials to share

Posted by JerseyTechGuy on 28 March 2013 - 11:01 PM

Lately I've been back working on my Blog Site and wanted to add some Netduino topics on there.  So I decided to build a Netduino Tutorials Section and start doing some articles on various Netduino topics.


I am planning to target these more towards the Netduino 2 and Netduino 2 Plus as these are what I more commonly work with.  I know new Netduino users and Forum member are always looking to learn and looking to find tutorials on certain topics.


I've started a list of some of the topics I am going to cover.  They are broken down into Beginner, Intermediate and Advanced tutorials.  I've listed a few to start.  Not all of them are written yet but I will be writing them and releasing them over time.


Please take a look at my topics and my Netduino 2 Tutorial page and feel free to post up any tutorials you may want to see.  If it is something I have the knowledge of and can do a tutorial I will gladly add it to the list and work on it.


My hope is to have a small resource that I can give back to the community for all the help they provided getting me off the ground.


Here is the link to my main Tutorials Page http://www.davevande...ino-2-tutorials

Below is the list of tutorials I am planning to cover thus far.  Those with hyperlinks are currently posted.

  • Reading a Button Matrix
  • Dynamically Loading Assemblies


#47694 need help!

Posted by JerseyTechGuy on 28 March 2013 - 07:31 PM

Probably not the best place to be asking for paid help.  I am a paid consultant and do this type of work, but certainly would not think of taking on a task like this especially from this kind of forum post.  This is an open community and everyone tries to help equally and learn equally.  It sounds like you bit off a little more than you could chew on your project.


Perhaps if you post of some details of the project and what your struggles are, the community can help give you some guidance so you can finish the project that you chose to take on.

#47625 Ultrasonic Sensor HC-SR04

Posted by JerseyTechGuy on 27 March 2013 - 12:07 PM

Yes, these ping type sensors will send an ultrasonic wave that does reflect off of water.  You will of course need to pre-program some know values to do the calculations.  For instance... if the sensor is placed on the top of a container facing the bottom it will give you a reading of how far away the water is from the top of the container where the sensor is.  In order to measure the water level you would then need to know how far the bottom of the container is from the sensor and do the math (ContainerHeight - PingReading = WaterHeight).


At the same time, if what you are measuring is the inside of the container, you can of course calculate out the volume of the container and be able to read back how many litres / gallons, etc are in the container by doing the volumetric math.


Welcome to the forums and good luck with your project!

#47553 New here - feasable project?

Posted by JerseyTechGuy on 25 March 2013 - 11:37 AM

Hey Waynio,


Sorry for the late response...  Let me see if I can give you a little more guidance...


A couple thoughts first:


1) If you purchase a Netduino Plus 2 it will be accessible via Ethernet.  Second is it will have an SD Card.  Using a DS1307 Real Time Clock you could build in scheduling into the Netduino and allow it to read the schedule from the SD card. This way it would be completely independent in the process of controlling your blinds.


2) Because your board may be on the Network (Ethernet connected) you can use an NTP server to update the clock automatically which will keep the RTC in sync.  The RTC comes into play when you lose power or Ethernet and Power as the Netduino will only keep time while on.


3) It's pretty easy to build a sunrise/sunset class to determine the time of sunrise and sunset.  You could also have it dynamically base the Open/Close on Sunrise/Sunset instead of an actual schedule.


As far as the motor controller...


You could use something like this one from Adafruit.  It's a motor shield.


Then maybe a motor like this stepper.


The nice thing about this stepper is that it will easily interface with the Shield and it's a stepper so you could easily control the blinds open close to open partially at Sun-Up then wait a few minutes and open all the way.  Kinda ease in the daylight.


Adafruit also has a number of gears and pulleys that you can look at and maybe fit to your needs.


This will hopefully give you some ideas and some direction.

#47454 Netduino Plus with USB network adapter

Posted by JerseyTechGuy on 21 March 2013 - 08:51 PM

No.  Netduino does not support USB devices.  USB is used for deployment/debugging.

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.