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.

Smart Switch

776 views

Published on

Presentation from the code camp about how to build cross platform mobile app that controls hardware using Bluetooth. Done using Xamarin, C#, .NET, Arduino, Bluetooth and Power Relay.

Published in: Mobile
  • Login to see the comments

  • Be the first to like this

Smart Switch

  1. 1. Smart Switch Sameer Khandekar
  2. 2. Agenda • What is it about? • Intro to Arduino • Hardware architecture • App architecture • Code & Demo • Resources
  3. 3. What is it about? • Building Hardware and App • Arduino, Bluetooth & Power Relay • Xamarin, MVVMCross
  4. 4. Intro to Arduino • What is Arduino
  5. 5. Intro to Arduino • What is Arduino • Open source hardware platform • Comes in different flavors • Various shields are available • Arduino Terminology (Shields, Schematics, Sketch) • Potential for Arduino
  6. 6. Hardware Architecture Bluetooth Module Arduino Board LED + Resistor Power Relay
  7. 7. Hardware Pin Diagram + Tips
  8. 8. Hardware Schematics • Schematics
  9. 9. Hardware Sketch • The Sketch
  10. 10. App architecture • Requirements • Cross platform App • Share common code • Same Workflow on all platforms • Different Ux per platform • Different BT Implementation per platform
  11. 11. App architecture • Design Patterns • MVVM • IOC • Singleton • Framework .NET PCL View Model Android Windows Phone iOS View Bluetooth View Bluetooth View Bluetooth
  12. 12. Code & Demo
  13. 13. Resources • https://www.hackster.io/sameerk/smart-switch • Arduino IDE - https://www.arduino.cc/ • Xamarin - http://www.xamarin.com/ • MVVMCross – NuGet package • @sameerIOTApps • https://www.linkedin.com/in/sameerk1

×