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

Wild idea for a group project


  • Please log in to reply
39 replies to this topic

#21 VincentA

VincentA

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts
  • LocationIndia

Posted 12 January 2011 - 11:04 AM

That is cool -- i think for this project, that might be cheating -- I think we'd need to get an ND+ playing the role of Yaler.


I have'mentioned in the my previous reply, we can get the led params from the link. So why do we even need the firewall stuff??
I am realy busy this week so I guess I'll have to wait couple of days more to get hands on..

Vincent

#22 bill.french

bill.french

    Advanced Member

  • Members
  • PipPipPip
  • 260 posts
  • LocationPrinceton, NJ

Posted 12 January 2011 - 11:12 AM

I have'mentioned in the my previous reply, we can get the led params from the link. So why do we even need the firewall stuff??
I am realy busy this week so I guess I'll have to wait couple of days more to get hands on..

Vincent

My concern with your link is that it involves using an extra server to store and pass data that is not an netduino -- i think we should keep it as purely about the netduino plus as possible.

#23 VincentA

VincentA

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts
  • LocationIndia

Posted 12 January 2011 - 02:01 PM

My concern with your link is that it involves using an extra server to store and pass data that is not an netduino -- i think we should keep it as purely about the netduino plus as possible.


Hey Bill,

Actually we will need a server anyway to list down all the ND+ devices ( I dont think a p2p network is feasible option). So what we can do is ,retrieve list of all ND+ and then connect then using sockets. But then nobody can predict if multiple ND+ are connected to one device and one trying to turn LED and other is trying to turn it off. I know this isnt much practicle. but just a thought...

Vincent

#24 bill.french

bill.french

    Advanced Member

  • Members
  • PipPipPip
  • 260 posts
  • LocationPrinceton, NJ

Posted 12 January 2011 - 02:19 PM

my point is that I think an ND+ could (should?) play the role of the server. I do agree that most of the ND+ should be as bare bones as possible, so blinking an LED is a great starting point.

#25 VincentA

VincentA

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts
  • LocationIndia

Posted 13 January 2011 - 12:22 PM

my point is that I think an ND+ could (should?) play the role of the server. I do agree that most of the ND+ should be as bare bones as possible, so blinking an LED is a great starting point.


I belive this can be done. In the given case we will need to rely on javascript for most of the operations and we will need to write the incomings to a file on SD card. I know this will re really really slow but doable.

Anybody wants to work on a small flat file db for ND? I dont think we can port sqlite to ND.

Vincent

#26 georgejh

georgejh

    Advanced Member

  • Members
  • PipPipPip
  • 87 posts
  • LocationGlasgow, UK

Posted 18 January 2011 - 05:05 PM

You mean to say ndeer 2 ndeer stuff!!! (sorta peer2peer)


Not exactly that but this is good idea too :)

#27 JonnyBoats

JonnyBoats

    Advanced Member

  • Members
  • PipPipPip
  • 155 posts
  • LocationPhillips, ME

Posted 19 January 2011 - 12:08 AM

As a first step to get going how about a traditional server that Netduinos could start checking into? I thought the idea of a Google map overlay showing where all the Netduinos are was brilliant! Once we have that working,we could then try using a Netduino as a server. Sort of crawl before you walk before you run....

#28 Arron Chapman

Arron Chapman

    Advanced Member

  • Members
  • PipPipPip
  • 289 posts
  • LocationOregon, USA

Posted 19 January 2011 - 09:25 PM

The p2p idea is an interesting one. I like the idea of borrowing some ideas from the torrent protocol, where the central server (the tracker) is essentially just a phone book, telling you where the other clients (the peers) can be reached. On another (related) note. The devices could simply pass around data about their environment, (gps, temperature, humidity, barometric pressure, light intensity, true-random noise) then pass whatever they have around to the others (including the data they collected for everyone else), which would allow each individual Netduino to create it's own maps or charts.

When you talk EE use small words, I'm just a Software Developer :)
My Blog/Site and Everything Else

If my post helped you please consider pressing the "Like This" button in the bottom right-hand corner.

 

Oh my. So many things, so little money!!

 


#29 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 19 January 2011 - 09:46 PM

On another (related) note.
The devices could simply pass around data about their environment, (gps, temperature, humidity, barometric pressure, light intensity, true-random noise) then pass whatever they have around to the others (including the data they collected for everyone else), which would allow each individual Netduino to create it's own maps or charts.


That could be difficult for two reasons. Not all of us have temp sensors, gps, ... Also memory issues with passing around lots of other people's data.

Maybe we can pass one character each?

#30 Arron Chapman

Arron Chapman

    Advanced Member

  • Members
  • PipPipPip
  • 289 posts
  • LocationOregon, USA

Posted 19 January 2011 - 10:30 PM

That could be difficult for two reasons. Not all of us have temp sensors, gps, ... Also memory issues with passing around lots of other people's data.

Maybe we can pass one character each?


I thought we'd specify a simple spec, something like {client:aaa.bbb.ccc.ddd,data:{gps:'12.233,92.259'}} (JSON is nice :) ), should be small enough to store several thousand records. Or even CSV (smaller but much harder to parse when you don't know all the params to expect). Further if you only have 1 sensor you send just that value, if you have 12 you send all 12.

Again it just an idea.

When you talk EE use small words, I'm just a Software Developer :)
My Blog/Site and Everything Else

If my post helped you please consider pressing the "Like This" button in the bottom right-hand corner.

 

Oh my. So many things, so little money!!

 


#31 georgejh

georgejh

    Advanced Member

  • Members
  • PipPipPip
  • 87 posts
  • LocationGlasgow, UK

Posted 20 January 2011 - 08:48 AM

I thought we'd specify a simple spec, something like {client:aaa.bbb.ccc.ddd,data:{gps:'12.233,92.259'}} (JSON is nice :) ), should be small enough to store several thousand records. Or even CSV (smaller but much harder to parse when you don't know all the params to expect). Further if you only have 1 sensor you send just that value, if you have 12 you send all 12.

Again it just an idea.


Why not utilize microSD storage

#32 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 20 January 2011 - 03:15 PM

Although it is nice that we think of all these complex things to do (send certain data), we still need to figure out how to actually get them to talk to each other, so if this is something that we are seriously doing (i want to!) we first need to decide on a method for the actual communication. Then we can all have a vote on what to send or whatnot.

#33 Frank

Frank

    Advanced Member

  • Members
  • PipPipPip
  • 62 posts
  • LocationNorth Waterboro Maine

Posted 20 January 2011 - 04:00 PM

Although it is nice that we think of all these complex things to do (send certain data), we still need to figure out how to actually get them to talk to each other, so if this is something that we are seriously doing (i want to!) we first need to decide on a method for the actual communication. Then we can all have a vote on what to send or whatnot.


I'd love to get it simpler than that. I'd dearly love my Netduino, after reading temp from a DS18B20 to simply send my website http://www.xxxxx.xxx/?A1234.

This may seem simple to a lot, but it's stumped me for days. I finally got my website to acccept, and parse and refresh the temp box on the mainpage with that line, but I can't get it sent.

I don't want complexity, and great options. I want just that line. Isn't it possible to have a method for ANY Netduino Plus, that when fed a URL , will send it?

Probably just whining, but after chasing one of my own stupid errors for two days, I'm beat !
Retired -stone sculptor -macro photographer- novice but avid Go player - Geek

#34 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 January 2011 - 06:15 PM

I'd love to get it simpler than that. I'd dearly love my Netduino, after reading temp from a DS18B20 to simply send my website http://www.xxxxx.xxx/?A1234.

This may seem simple to a lot, but it's stumped me for days. I finally got my website to acccept, and parse and refresh the temp box on the mainpage with that line, but I can't get it sent.


Frank,

Have you looked at the SocketSample sample app which comes with the .NET MF 4.1 SDK? If you pass it that line as a URL, it should "request" that page--and you can just throw away the response. Make sure that you disable the proxy server in that sample.

Chris

#35 Frank

Frank

    Advanced Member

  • Members
  • PipPipPip
  • 62 posts
  • LocationNorth Waterboro Maine

Posted 21 January 2011 - 02:39 AM

Frank,

Have you looked at the SocketSample sample app which comes with the .NET MF 4.1 SDK? If you pass it that line as a URL, it should "request" that page--and you can just throw away the response. Make sure that you disable the proxy server in that sample.

Chris


Never knew they were there ! Thanks, that should help, AND the new update to the Getting Started with the Internet of Things was just released at Safari and it looks like another great source of stuff I never knew !

Thanks Chris.
Retired -stone sculptor -macro photographer- novice but avid Go player - Geek

#36 Mike L

Mike L

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 17 February 2011 - 12:06 AM

I was just wondering if this project got off the ground at all. I am interested but I have a Netduino with an Arduino Ethernet Shield. I think the central server as the gate keeper with all netduinos communicating over port 80 would be the easiest to get going. I have been experimenting with a simple publish/subscribe messaging system that might work well on this project, but it is in it's early stages. Currently my message broker is just a console application that accepts subscriptions and publications. When a publish message comes in it routes the message to any subscribers. This is working on an internal network with 1 netduino. My goal was to have multiple netduinos passing messages around in a home automation project. In it's current state it wouldn't be able to find netdunios behind a firewall unless someone had port forwarding enabled on their router. But it might be able to be modified to have the netduino open an outbound connection and keep the connection open while the server passes messages to it. Now I am starting to get a little too complicated though:)

#37 JonnyBoats

JonnyBoats

    Advanced Member

  • Members
  • PipPipPip
  • 155 posts
  • LocationPhillips, ME

Posted 18 February 2011 - 12:56 AM

In an effort to kickstart this and keep it simple, may I suggest we use a channel on ThingSpeak (www.thingspeak.com )? They have a utorial on how to get a Netduino Plus to submit data, and it looks like it would be rather easy for us to share a channel that everyone could read and write to share and pass data. What do you think? PS: See seperate thread on ThingSpeak in this forum.

#38 Mike L

Mike L

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 21 February 2011 - 01:31 AM

In an effort to kickstart this and keep it simple, may I suggest we use a channel on ThingSpeak (www.thingspeak.com )?

They have a utorial on how to get a Netduino Plus to submit data, and it looks like it would be rather easy for us to share a channel that everyone could read and write to share and pass data.

What do you think?

PS: See seperate thread on ThingSpeak in this forum.


I am willing to give it a try.

#39 Eric Burdo

Eric Burdo

    Advanced Member

  • Members
  • PipPipPip
  • 130 posts

Posted 23 February 2011 - 12:00 PM

As a first step to get going how about a traditional server that Netduinos could start checking into? I thought the idea of a Google map overlay showing where all the Netduinos are was brilliant!

Once we have that working,we could then try using a Netduino as a server. Sort of crawl before you walk before you run....


I like that idea... something that would do a mashup of Google or Bing maps... and your Netduino.
~ Eric D. Burdo ~ http://brick-labs.com/

Today LED's, tomorrow, the world!!! Well, OK, maybe servos.

#40 Jim Davies

Jim Davies

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts
  • LocationBrighton & Hove, UK

Posted 26 February 2011 - 02:57 PM

In an effort to kickstart this and keep it simple, may I suggest we use a channel on ThingSpeak (www.thingspeak.com )?


I heard from ThingSpeak that it will remain free, by the way, so maybe that would help?

Jim




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.