Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Gadgteteer clean code

402 views

Published on

Gadgeteer, une plateforme de prototypage facile

Published in: Software
  • Be the first to comment

  • Be the first to like this

Gadgteteer clean code

  1. 1. PROTOTYPAGE FACILE AVEC GADGETEER Le hardware rendu accessible
  2. 2. © Pyxis Technologies inc. /studio Expertise Qualité Respect Agile Big Data custom CQRS Desktop Event Sourcing Microsoft .NET C# Scrum Software development Training Web noussommes
  3. 3. © Pyxis Technologies inc. POURQUOI GADGETEER?
  4. 4. © Pyxis Technologies inc. AVEC ARDUINO (NETDUINO) C’EST MIEUX
  5. 5. © Pyxis Technologies inc. GADGETEER PLUG & PLAY
  6. 6. © Pyxis Technologies inc. Managed Native QU’EST-CE GADGETEER? Hardware ORHAL Drivers OS Emulator PAL Timers RAM I/O CLR Execution Engine Interop Type System Garbage Collector Libraries .NET …WPF COMM Gadgeteer CoreSocket InterfacesMicroFramework TinyCLR
  7. 7. © Pyxis Technologies inc.  GPIO (General Purpuse Input/Output) avec ou sans interruption  UART (Universal Asynchronous Receiver/Transmitter)  I²C Bus (Inter-Integrated Circuit)  SPI Bus (Serial Peripheral Interface)  Analog Input/Output  USB Host/Client  CAN Bus (Controller Area Network)  Graphics Display  Touchscreen  PWM (Pulse Width Modulation)  Ethernet  SD (Secure Digital)  Autre spécifique aux manufacturier LES FONCTIONS HARDWARE
  8. 8. © Pyxis Technologies inc. A QUOI RESSEMBLE UN MAIN BOARD?
  9. 9. © Pyxis Technologies inc. A QUOI RESSEMBLE UN MAIN BOARD? Reset Button Socket number Socket types
  10. 10. © Pyxis Technologies inc. A QUOI RESSEMBLE UN DEVICE?
  11. 11. © Pyxis Technologies inc. Type Letter Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10 Analog In A +3.3V +5V AIN (G!) AIN (G) AIN GPIO [UN] [UN] [UN] GND LCD B +3.3V +5V LCD B0 LCD B1 LCD B2 LCD B3 LCD B4 LCD EN LCD CLK GND CAN C +3.3V +5V GPIO! TD (G) RD (G) GPIO [UN] [UN] [UN] GND USB Device D +3.3V +5V GPIO! D- D+ GPIO GPIO [UN] [UN] GND Ethernet E +3.3V +5V [UN] LED1? LED2? TX D- TX D+ RX D- RX D+ GND SD Card F +3.3V +5V GPIO! DAT0 DAT1 CMD DAT2 DAT3 CLK GND LCD G +3.3V +5V LCD G0 LCD G1 LCD G2 LCD G3 LCD G4 LCD G5 BL GND USB Host H +3.3V +5V GPIO! D- D+ [UN] [UN] [UN] [UN] GND I²C I +3.3V +5V GPIO! [UN] [UN] GPIO [UN] SDA SCL GND UART + Handshaking K +3.3V +5V GPIO! TX (G) RX (G) RTS CTS [UN] [UN] GND Analog Out O +3.3V +5V GPIO! GPIO AOUT [UN] [UN] [UN] [UN] GND PWM P +3.3V +5V GPIO! [UN] [UN] GPIO PWM (G) PWM (G) PWM GND LCD R +3.3V +5V LCD R0 LCD R1 LCD R2 LCD R3 LCD R4 VSYNC HSYNC GND SPI S +3.3V +5V GPIO! GPIO GPIO GPIO MOSI MISO SCK GND Touch T +3.3V +5V [UN] YU XL YD XR [UN] [UN] GND UART U +3.3V +5V GPIO! TX (G) RX (G) GPIO [UN] [UN] [UN] GND 3 GPIO X +3.3V +5V GPIO! GPIO GPIO [UN] [UN] [UN] [UN] GND 7 GPIO Y +3.3V +5V GPIO! GPIO GPIO GPIO GPIO GPIO GPIO GND Manufacturer Specific Z +3.3V +5V GPIO! [MS] [MS] [MS] [MS] [MS] [MS] GND DaisyLink Downstream * +3.3V +5V GPIO! GPIO GPIO [MS] [MS] [MS] [MS] GND ALL SOCKETS TABLE
  12. 12. © Pyxis Technologies inc. SOCKET SAMPLE Type Letter Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10 Analog In A +3.3V +5V AIN (G!) AIN (G) AIN GPIO [UN] [UN] [UN] GND I²C I +3.3V +5V GPIO! [UN] [UN] GPIO [UN] SDA SCL GND Touch T +3.3V +5V [UN] YU XL YD XR [UN] [UN] GND 3 GPIO X +3.3V +5V GPIO! GPIO GPIO [UN] [UN] [UN] [UN] GND
  13. 13. © Pyxis Technologies inc. Visual Studio 2013 Express (ou +) Microsoft NETMF (Visual Studio Extension) Microsoft NETMF SDK (Librairies) Microsoft .NET Gadgeteer (Designer & gabarit de projets) GHI Electronics’ SDK (Drivers pour les microcontrôleur et les modules) COMMENT DÉMARRER? https://www.ghielectronics.com/downloads/Gadgeteer/NET_Gadgeteer_for_beginners.pdf
  14. 14. © Pyxis Technologies inc.  Hello world « à la » Gadgeteer ENVIRONNEMENT DE DÉVELOPPEMENT
  15. 15. © Pyxis Technologies inc. UNE CAMÉRA
  16. 16. © Pyxis Technologies inc. UNE CAMÉRA (AVEC HUB)
  17. 17. © Pyxis Technologies inc. PROJET D’IRRIGATION AUTOMATIQUE
  18. 18. © Pyxis Technologies inc. PROJET D’IRRIGATION AUTOMATIQUE
  19. 19. © Pyxis Technologies inc. Rappelez-vous Comprendre le système de connecteurs Toujours penser asynchrone Ecrire du code « clean » Questions? 19 LA FIN

×