Smart Switch
Sameer Khandekar
Agenda
• What is it about?
• Intro to Arduino
• Hardware architecture
• App architecture
• Code & Demo
• Resources
What is it about?
• Building Hardware and App
• Arduino, Bluetooth & Power Relay
• Xamarin, MVVMCross
Intro to Arduino
• What is Arduino
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
Hardware Architecture
Bluetooth Module
Arduino Board
LED + Resistor Power Relay
Hardware Pin Diagram + Tips
Hardware Schematics
• Schematics
Hardware Sketch
• The Sketch
App architecture
• Requirements
• Cross platform App
• Share common code
• Same Workflow on all platforms
• Different Ux per platform
• Different BT Implementation per platform
App architecture
• Design Patterns
• MVVM
• IOC
• Singleton
• Framework
.NET PCL
View Model
Android Windows Phone iOS
View Bluetooth View Bluetooth View Bluetooth
Code & Demo
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

Smart Switch