<ul><li>An  Open-Source  toolkit for building small electronic devices using the  .NET Framework  and  Visual Studio.  </l...
Hardware <ul><li>To make a Gadgeteer project you need : </li></ul><ul><li>A PC to program your application </li></ul><ul><...
Hardware <ul><li>Mainboard: </li></ul><ul><li>Spider </li></ul><ul><li>72MHz 32-bit ARM-7 processor; </li></ul><ul><li>4.5...
Software <ul><li>To start the Gadgeteer programming: </li></ul><ul><li>Install the related software on PC. </li></ul><ul><...
Software Visual Programming: Visual studio would  automatically create the init code  for this module, need to  USE  them ...
Make   a   Project   -  W eather Station  <ul><li>Includes: </li></ul><ul><li>.NET Mainboard – Spider; </li></ul><ul><li>B...
<ul><li>Prepare the needed modules and connect the mainboard. </li></ul><ul><li>Install the related drivers and  wire to t...
Make a Project  -  W eather Station  Take photos and get the data from the sensors, store into the SD Card: Photo taken by...
Other Projects <ul><li>Gluttony snake machine </li></ul><ul><li>A machine that you can play the “Gluttony snake” with it. ...
<ul><li>Thanks. </li></ul>Weibo  in sina:                     http ://weibo.com/seeedstudio
Upcoming SlideShare
Loading in...5
×

.Net Gadgeteer

1,031

Published on

Gadgeteer介绍

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,031
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 一种称为 .net gadgteer 的模块化设计。何谓模块化设计? 传统的电子开发方式: 选型 - 画板 - 制版 - 焊接 软件编程(从底层开始);模块化开发方式:选型 - 连接 - 软件编程(有可能在网上找到别人开发过的 lib )。硬件上避免了打板制版的痛苦,但软件上不可避免的会和底层打交道。 Gadgeteer 也是这样一种模块化设计思想,但它更有自己的特点: 1. 基于 MF 和 .net 编程,功能更加强大;传统的电子模块不具备这样的框架; 2. 处理器的强大,其他电子积木都是单片机或者 avr ; 3 。由于基于 net ,各个功能模块都有自己的驱动,接口更加明确和丰富,易于软件方面人员的上手开发。
  • Gadgeteer 是由微软主导,由各个开源硬件开发商协助共同开发的。微软提供了整个 gadgeteer 的框架,并提供 MF 作为整个系统的支撑;各个硬件开发商制作硬件,并提供与之对应的 SDK 或 Driver ; 它在硬件上采用处理器 + 功能模块的思想,各个模块即插即用,免去了普通用户在开发硬件的时候需要制板 / 焊板的痛苦; 在软件上使用 windows 的开发思想,为每一个模块配备了对应的驱动程序,用户无需了解硬件及底层众多繁杂的初始化 / 通讯等工作,直接使用驱动暴露出来的接口,就好像在 PC 上使用声卡 / 显卡 / 网卡的等一样方便;
  • 选择一款 gadgeteer 主板: 1. 用户可以选择所想用的 Module ,并下载安装相应的驱动,和 PC 上买声卡并安装驱动一样; 2. 安装 Module 的时候,选择与该 module 对应的 socket 类型并连接就可以了。 2.PC 机通过一块 power board 于 Mainboard 相连接,提供了在线调试功能,用户在开发过程中可以运行单步、全速等调试模式,并查看寄存器情况;
  • 现在已经开发完成的 module 大概有 20 种,还有大约 10 种正在开发中; 包括 sensor/wireless communication/store/human interface 等。
  • 基与 MF SDK4.1 以上; PC 端需要用户安装的可以简单分类为: IDE+MF SDK + Gadgeteer SDK + module driver ; 用户只需编写 application , 操作简单。 至于 mainboard 里的 firmware ,有时候硬件供应商可能会有更新,只需按照说明更新即可。
  • 1. 安装好驱动之后,在 visual studio 上就能找到如图的图形,拖至编程区中就可以使用。
  • .Net Gadgeteer

    1. 2. <ul><li>An Open-Source toolkit for building small electronic devices using the .NET Framework and Visual Studio. </li></ul><ul><li>Combines the advantages of object-oriented programming, solderless assembly of electronics with a kit of peripherals, and support for quick form-factor construction using computer-aided design. </li></ul><ul><li>An open collaboration between Microsoft, hardware manufactuers, and end users. </li></ul><ul><li>for Software Engineer, gadgeteer helps you escaping from the fussy low level driver or hardware, you can aim your bullet right to your application target. </li></ul>W hat is Gadgeteer?
    2. 3. Hardware <ul><li>To make a Gadgeteer project you need : </li></ul><ul><li>A PC to program your application </li></ul><ul><li>A Gadgeteer Mainboard </li></ul><ul><li>A power board </li></ul><ul><li>At least one module </li></ul>* You can found all of this at seeedstudio bazaar
    3. 4. Hardware <ul><li>Mainboard: </li></ul><ul><li>Spider </li></ul><ul><li>72MHz 32-bit ARM-7 processor; </li></ul><ul><li>4.5MB Flash </li></ul><ul><li>16MB RAM </li></ul><ul><li>Full TCP/IP Stack with SSL,HTTP,TCP, UDP,DHCP; </li></ul><ul><li>SPI/UART/I2C/CAN….. </li></ul><ul><li>… . </li></ul><ul><li>Hydra </li></ul><ul><li>Nano </li></ul><ul><li>…… .. </li></ul><ul><li>Module: </li></ul><ul><li>Display T35 Module </li></ul><ul><li>Current Module </li></ul><ul><li>Accerometer Module </li></ul><ul><li>Camera Module </li></ul><ul><li>Cellular Radio Module </li></ul><ul><li>Pulse Oximeter Module </li></ul><ul><li>Moisture Module </li></ul><ul><li>Barometer Module </li></ul><ul><li>SD Card module </li></ul><ul><li>Ethernet module </li></ul><ul><li>… </li></ul>* You can found all of this at seeedstudio bazaar Hardware open-source, you can download them from: http://gadgeteer.codeplex.com/SourceControl/list/changesets
    4. 5. Software <ul><li>To start the Gadgeteer programming: </li></ul><ul><li>Install the related software on PC. </li></ul><ul><li>Upgrade firmware to the mainboard </li></ul><ul><li>Install module driver on PC. </li></ul>Structure: http://www.seeedstudio.com/depot/accelerometer-module-net-gadgeteer-compatible-p-968.html?cPath=203
    5. 6. Software Visual Programming: Visual studio would automatically create the init code for this module, need to USE them with the functions in the driver to program your applications.
    6. 7. Make a Project - W eather Station <ul><li>Includes: </li></ul><ul><li>.NET Mainboard – Spider; </li></ul><ul><li>Barometer; </li></ul><ul><li>Temp&humility sensor </li></ul><ul><li>Camera </li></ul><ul><li>GPS </li></ul><ul><li>SD Card </li></ul><ul><li>Power module </li></ul><ul><li>Cellular Radio </li></ul>A simple Weather Station that measures the environment and then upload to internet for sharing
    7. 8. <ul><li>Prepare the needed modules and connect the mainboard. </li></ul><ul><li>Install the related drivers and wire to the right socket in visual studio, initial code will be generated automatically. </li></ul><ul><li>Then, the modules can be used in application program as an object, all the api can be used by the application progarm, for example: </li></ul><ul><li>display.SimpleGraphics.DisplayText(&quot;moisture: &quot; + local_moistureValue, font, GT.Color.Green, 0, 0); </li></ul><ul><li>local_SDCard.WriteFile(filename, binary_sensordata); </li></ul><ul><li>local_moistureValue = moistureSensor.GetMoistureReading().ToString(&quot;f2&quot;); </li></ul>Make a Project - W eather Station
    8. 9. Make a Project - W eather Station Take photos and get the data from the sensors, store into the SD Card: Photo taken by camera Environment result Next Step: Upload the result to internet, can be seen by people all the world!
    9. 10. Other Projects <ul><li>Gluttony snake machine </li></ul><ul><li>A machine that you can play the “Gluttony snake” with it. </li></ul><ul><li>Plant Assistant </li></ul><ul><li>System with the “moisture sensor” and “relay” to helps irrigate the plants when needed. Or upload environment data for sharing. </li></ul><ul><li>Intelligent Robot </li></ul><ul><li>With the numerous gadgeteer sensor modules, a Robot that can react to human being/object detection/line finding…would be much easier than before. </li></ul><ul><li>…… </li></ul>
    10. 11. <ul><li>Thanks. </li></ul>Weibo in sina: http ://weibo.com/seeedstudio
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×