Internet of thing: Trabajando con Arduino y Visual Studio

3,863
-1

Published on

Slides de la sesión de introducción a Arduino y Visual Studio para MSDN Latinoamérica

Published in: Technology, Business

Internet of thing: Trabajando con Arduino y Visual Studio

  1. 1. Bruno Capuano Innovation Manager @elbruno http://www.elbruno.co m
  2. 2. $30 Investment!
  3. 3. Specification Clock Speed 16MHz 32K EEPROM • Component Flash Memory • 1K SRAM 2K Analog -> Digital 6Ch 10bit Communication SPI Digital 14 I/O PWM 6 Channel (Digital)
  4. 4. Digital Pins USB Connector Battery Connector Power Pins Analog Pins
  5. 5. • • • Circuit on breadboard
  6. 6. • Ejemplo void setup void loop
  7. 7. start void setup() { //code1 //code2 } void loop() { //code3 //code4 //code5 } code1 code2 code3 code4 code5
  8. 8. start void setup() { >configure output pin >Led is OFF } void loop() { >LED is ON >Time delay >LED is ON >Time Delay } Configure Output pin LED is off LED is on Time delay LED is off Time delay
  9. 9. int LED1Pin = 7; void setup() { pinMode(LED1Pin, OUTPUT); digitalWrite(LED1Pin, LOW); } void loop() { digitalWrite(LED1Pin, HIGH); delay(500); digitalWrite(LED1Pin, LOW); delay(250); } //Pin 7 is output pin //LED is initially low //Turn on LED. //Time delay for 0.5 second. //Turn off LED. //Time delay for 0.25 second.
  10. 10. Verify button
  11. 11. Note: Make sure USB-to-serial driver is installed first
  12. 12. Upload button
  13. 13. Ethernet Servo/Stepper/ DC Motors Prototypin g GPS Audio / MP3
  14. 14. LCD MIDI LED Display Zigbee WIFI
  15. 15. http://elbruno.com/category/informatica-e-internet/arduino/ http://arduino.cc http://arduino.cc/downloads http://arduino.cc/en/Main/Software#toc3 http://www.visualmicro.com http://visualmicro.codeplex.com/ http://www.visualmicro.com/archive.aspx http://www.seeedstudio.com/depot/grove-t-3.html?ref=top

×