Design surface like .NET Gadgeteer for Netduino GO? - Netduino Go - Netduino Forums
   
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

Design surface like .NET Gadgeteer for Netduino GO?


  • Please log in to reply
4 replies to this topic

#1 JonnyBoats

JonnyBoats

    Advanced Member

  • Members
  • PipPipPip
  • 155 posts
  • LocationPhillips, ME

Posted 18 May 2012 - 05:09 PM

The design surface in Visual Studio for .Net Gadgeteer is very cool, particularly for documenting how the modules are connected. The code generation is of less interest to me for Netduino GO.

Here is a blog post showing how it works.

Has anyone given any thought to having this for Netduino GO?

#2 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 18 May 2012 - 10:26 PM

Has anyone given any thought to having this for Netduino GO?

I believe it's considered, but instead we made auto detection of modules, so it actually doesn't matter how the modules are connected :)

I kinda like that approach more, instead of "you can only plug module X in socket Y or it won't work (or even harm your device)"
  • Arron Chapman likes this
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#3 neslekkim

neslekkim

    Advanced Member

  • Members
  • PipPipPip
  • 350 posts
  • LocationOslo, Norway

Posted 21 May 2012 - 11:16 AM

I believe it's considered, but instead we made auto detection of modules, so it actually doesn't matter how the modules are connected :)

I kinda like that approach more, instead of "you can only plug module X in socket Y or it won't work (or even harm your device)"


How does this work?, if you connect two modules of same type, two buttons or two led's, how do you know which is which? are there unique serialnumbers on all modules? (cant see any evidence of that on my button?)

--
Asbjørn


#4 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 21 May 2012 - 04:08 PM

How does this work?, if you connect two modules of same type, two buttons or two led's, how do you know which is which? are there unique serialnumbers on all modules? (cant see any evidence of that on my button?)

Two ways:

If I've put the buttons on sockets 2 and 4, and the leds on sockets 1 and 3;
NetduinoGo.Button btn1 = new NetduinoGo.Button(); // button on socket 2
NetduinoGo.Button btn2 = new NetduinoGo.Button(); // button on socket 4
NetduinoGo.RgbLed led1 = new NetduinoGo.RgbLed(); // led on socket 1
NetduinoGo.RgbLed led2 = new NetduinoGo.RgbLed(); // led on socket 3
Or I could do:
NetduinoGo.Button btn1 = new NetduinoGo.Button(GoSockets.Socket2);
NetduinoGo.Button btn2 = new NetduinoGo.Button(GoSockets.Socket4);
NetduinoGo.RgbLed led1 = new NetduinoGo.RgbLed(GoSockets.Socket1);
NetduinoGo.RgbLed led2 = new NetduinoGo.RgbLed(GoSockets.Socket3);

  • Arron Chapman likes this
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 21 May 2012 - 11:15 PM

How does this work?, if you connect two modules of same type, two buttons or two led's, how do you know which is which? are there unique serialnumbers on all modules? (cant see any evidence of that on my button?)

For a few more technical details on this...

Each module has a 128-bit device type UUID. When you connect to an RGB LED, for instance, the go!bus stack finds the first unused module with that device UUID.

We could also support connecting via device ID + serial number in the future...although that would be an optional feature for modules, not a required one.

Chris




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.