Netduino as an extension to a WinForms app?
#1
Posted 26 November 2010 - 05:53 AM
I am new to the Netduino/hardware world but not to .NET so I am very excited about this product! I would like to buy one, but wanted to know more about how it works first. I have a very simple question regarding the design/purpose of the Netduino and I suppose the .NET Micro Framework in general:
Obviously the intended usage of a Netduino is to deploy your .NET app onto the device, letting it run standalone; however, can the Netduino be used as a "plug-and-play" device (similar to Phidgets) where a WinForms application can have direct control/access to it? My intent is to send digital outputs to control physical objects remotely. For example, write an app that can run on a server that I can access via my phone or another Internet-enabled device to control the Netduino connected to it.
If the Netduino is only designed for deploy-only, standalone usage, that's still a pretty cool device for $35! I'll probably be getting one regardless, but would just like to know more about how it can be used.
Thanks in advance!
-Eric
#2
Posted 26 November 2010 - 06:02 AM
#3
Posted 26 November 2010 - 08:09 AM
#4
Posted 26 November 2010 - 09:32 PM
#5
Posted 26 November 2010 - 09:36 PM
#6
Posted 26 November 2010 - 10:46 PM
#7
Posted 27 November 2010 - 01:29 AM
#8
Posted 27 November 2010 - 06:43 AM
Thanks for your responses.
Phil: That is similar to what I am trying to do, but mine is far simpler! I want to interface with my mechanical padlock to unlock a door via my phone. In order to interface with the deadbolt, I need to be able to close the circuits to the right pins of the numeric keypad in the right order.
Perhaps I don't even need a Netduino? This might be a dumb question, but can I simply use different pin combinations of a PC's RS-232 port (and some programming with .NET's System.IO.Ports) to close 6 independent circuits on command? (5 numeric keypad buttons, and a 6th "lock" button)
Or would I need some hardware with more logic (i.e. the Netduino) and perhaps Chris' approach with the serial connectivity?
-E
you can use just the serial port, but you will be limited to three outputs, plus it will be an epic pain in the butt to get working. i would recommend getting the Netduino to save yourself some gray hairs. If you still want to go down that rabbit hole, this article should get you started [http://slicksolution...dsdriver.shtml]
#9
Posted 27 November 2010 - 02:35 PM
Perhaps I don't even need a Netduino? This might be a dumb question, but can I simply use different pin combinations of a PC's RS-232 port (and some programming with .NET's System.IO.Ports) to close 6 independent circuits on command? (5 numeric keypad buttons, and a 6th "lock" button)
Or would I need some hardware with more logic (i.e. the Netduino) and perhaps Chris' approach with the serial connectivity?
If you don't mind using wires to the lock, three independent outputs (from the COM port) plus a little logic circuitry could get you 8 possible outputs (enough, as you only need 6), but don't forget that the RS232 signals are around +/-10 V.
Phil
#10
Posted 30 November 2010 - 03:25 AM
#11
Posted 30 November 2010 - 03:27 AM
So it sounds possible but not very practical for someone who isn't overly savvy with logic circuits? Maybe I should just get the Netduino Plus? I still can't find where to purchase them. Are there none for sale?
Hi BigE,
The Netduino Plus officially goes on sale soon. The units that are out there today are from a special "public beta" batch we shipped back in September.
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users