Home Automation With .Net Micro

Post on 17-May-2015

1,061 views 1 download

Tags:

transcript

Home Automation with .Net Micro

Control your home from the web!

OverviewEmbedded Systems.Net MicroTahoe IIBasic ElectronicsHome AutomationBONUS?!!!

Embedded SystemsWhat are they?

Task specificHigh performance (often real-time)Typically written in C

ExamplesEvery modern electronic device!

Examples

.Net Micro.Net for embedded systemsSmall footprint ~ 300kbSupports a lot of standards

Flash, USB, GPIO, I2CIt’s easy!

.Net Micro

Microsoft.SPOTSmart Personal Object Technology

Predecessor to .Net MicroNamespace for .Net MicroOther namespaces

Lots of SystemDevice specific (DeviceSolutions.SPOT)

Tahoe IIManufactured by Device SolutionsBoard was donated

Sample ProgramsDEMO TIME!

Basic ElectronicsVoltage (V)

Force between two points that is trying to drive a current

Measured in Volts (V)Current (I)

Flow of electric chargeMeasured in Amps (A)

Resistance (R)Opposition to the passage of currentMeasured in Ohms (Ω)

Basic ElectronicsOhm’s Law

V=I*RJoule’s Law

P=I*VPower (P)

Rate of energy transferMeasured in Joules (J)More power = more heat

Electronic ComponentsResistorTransistorRelayDiodeLED

ResistorA two-terminal electronic component that

produces a voltage across its terminals that is proportional to the electric current passing through it in accordance with Ohm's law.

Resistor Colors

TransistorA semiconductor device used to amplify and

switch electronic signals.Bipolar Junction Transistor

RelayAn electrically operated switch.

DiodeA two-terminal electronic component that

conducts electric current in only one direction.

Home AutomationControl electrical devicesMonitor your homeWeb interfaceAutomated responses

Bonus Topic!Web Sockets