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

how can i implement netduino plus garage door opener project


  • Please log in to reply
11 replies to this topic

#1 muthu

muthu

    New Member

  • Members
  • Pip
  • 1 posts

Posted 29 March 2013 - 11:50 AM

hello sir,

can any one tell me how to implement netduino plus garage door opener project into netduino plus 2,

i got the ip address after the debuggin but when i open my output ip in the new browser server din send any data its showing

can any one pls tel me the solution for this..



#2 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 14 April 2013 - 11:26 AM

Hello Muthu.

 

Check the following post: http://androidcodemo...e-door-app.html

 

It uses a Android application to control the Netduino connected to a garage opener.


Netduino Plus 2 (v4.2.2.2)


#3 shobana

shobana

    Member

  • Members
  • PipPip
  • 15 posts

Posted 14 April 2013 - 03:57 PM

hello sebswed,

 thnx for reply the link which u showed only i trying itz not working the android app is jus demo app n the 2nd is netduino plus 2 m using this hardware coding is not working for me in the hardware  if i put the ip in other browser the page is not opening..



#4 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 14 April 2013 - 04:15 PM

Hi shobana.

 

I wish I could help you but I'm a beginner myself. Maybe you have specified the wrong IP address in your code. You can use MFDeploy.exe that is installed in "C:Program FilesMicrosoft .NET Micro Frameworkv4.2Tools", select your device and click 'Ping' to get your netduino ip-address.

In the tutorial I linked to is even an other tutorial how you create your own Android application but like I said. I just started programming C# myself and have not enough knowledge to help you :)


Netduino Plus 2 (v4.2.2.2)


#5 shobana

shobana

    Member

  • Members
  • PipPip
  • 15 posts

Posted 15 April 2013 - 04:46 AM

hello sebswed,

 

thank you so much for ur solution sir, but what u told to do i did in MFDeploy Tool i i pinged i get only response as TINY CLR

 

my netduino IP is not generating and also sir, when i run the coding if i connect the LAN the network config in MFDEPLOY TOOL shows me the at present LAN ip only like my connection with 192.168.1.4 if i put this in the browser i don get the page.. i getting confused with DNS primary:8.8.8.8 DNS secoundary :8.8.4.4 but in my pc itz DNS server like 252.83.etc

 

what can i do changes in this network config..

 

can u pls put me photo copy of ur webserver hello world output when u debuged,

i wil come to how the settings to be done,

 

> ur pc network config page

>ur device network cofig page..



#6 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 15 April 2013 - 05:40 AM

Hello shobana.

 

If you see "i get only response as TINY CLR" than that is correct. I'm not at home right now but from what I remember you click after that in the menu on statistic to see your IP (but I'm not home at the moment so I can not confirm this).

 

The code that I use for my webserver (not related to a garage opener) is not finished yet, but it works. I have it posted in: http://forums.netdui...l-text-showing/

 

To get it working you need to deactivate the 2 lines in the code. You need to do the Pinging again and check the 'Statistic' I think it was called to check the result of the pinging.

 

Take note of the line: using SecretLabs.NETMF.Hardware.NetduinoPlus;

When creating a standard netduino application in Visual express 2010 it does not add this by itself (instead you get the version without the 'Plus') so you will need to add that as a reference to your project (both this line of code and by right clicking on the folder called 'References' and choose add to reference after which you will scroll down the list untill you see the netduinoPlus).

 

Just make sure you have all the references in that folder that are also being used in the code (using xxxxx).

You need the ip address that your router assigns to your netduino by 'Pinging' otherwise you won't know the address to access your netduino in your webbrowser.

 

Hm.... I forgot that I had 2 .cs files in my application. I will post it tonight (local time).


Netduino Plus 2 (v4.2.2.2)


#7 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 15 April 2013 - 06:55 PM

Hi shobana.

 

I attach the zip file containing my current working web server which is far from perfect but it works. Feel free using it and to inform me about improvements so I can learn from it. Attached File  WebserverHelloWorld.zip   154.75KB   9 downloads


Netduino Plus 2 (v4.2.2.2)


#8 shobana

shobana

    Member

  • Members
  • PipPip
  • 15 posts

Posted 16 April 2013 - 06:35 AM

hi sebswed,

 

thank you do much for ur help i did what all u said when i put the url i get the response no data is received,

now i am using VISUAL STUDIO c#2010 EXPRESS in WINDOWS 7 should i do change in this..



#9 shobana

shobana

    Member

  • Members
  • PipPip
  • 15 posts

Posted 16 April 2013 - 06:37 AM

i connect one lan with pc with ip 192.168.1.7

other lan with netduino plus 2 with ip 192.168.1.6

 

itz all local host..

 

when i put this ip 192.168.1.6 in the other browser itz telling data is not received..



#10 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 17 April 2013 - 05:00 PM

Maybe you could change the code so it blinks a led (so you know the program is running on your netduino) or show a message in the debugging window? I wish I could advise you on this but my knowledge is not sufficient to understand the problem.


Netduino Plus 2 (v4.2.2.2)


#11 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 17 April 2013 - 05:57 PM

Hello shobana.

 

Maybe you have more luck with the webserver project from Martin http://forums.netdui...lem/#entry45239. His projects worked without any changes for me (you need an SD card with some files on it in your netduino). I even got it to work with DDNS so I can access the netduino from any computer over the internet. Its worth trying :)


Netduino Plus 2 (v4.2.2.2)


#12 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 17 April 2013 - 06:19 PM

I forgot to ask. Did you forward the port (80) in your router/modem to your Netduino's ip address (192.168.1.6)

I will attach a screenshot of how it looks inside my modem (your configuration might look similar)Attached File  port_forwarding.jpg   95.68KB   3 downloads


Netduino Plus 2 (v4.2.2.2)





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.