Difference between revisions of "Omegix/Home Automation/Arrival Sensor"

From Makers Local 256
Jump to: navigation, search
(Approaches: updating formatting)
(Approaches: updating notes on position reporting device)
 
Line 11: Line 11:
 
**** Processor (to calculate distance from Geofence)
 
**** Processor (to calculate distance from Geofence)
 
*** Pseudo Code
 
*** Pseudo Code
***# When inside of geofence, record time stamp, send message on cellular network, set IsReportMade flag true
+
**** On a Timer
***# If IsReportMade flag is true, do not send message
+
****# When inside of geofence, record time stamp, call function to send message on cellular network
***# When powered off, IsReportMade flag should be reset.
+
****# When powered off, IsReportMade flag should be reset.
***# If time outside geofence is greater than time inside geofence, set IsReportMade flag to false.
+
****# If time outside geofence is greater than time inside geofence, set IsReportMade flag to false.
 +
**** Functions
 +
***** ReportPosition()
 +
*****# If IsReportMade flag is false, send message on cellular network, set IsReportMade flag to true.
 +
*****# If IsReportMade flag is true, do not send message
  
 
= Online Resources =
 
= Online Resources =

Latest revision as of 13:23, 7 April 2016

Approaches

  • Using Smart Phone As a position reporter
  • Use Mesh IoT network to detect addition of specific node (No GPS Solution)
  • Use GPS device that reports position via a 3G cellular network
    • Only On when car is on via ODBII or lighter jack
      • Components
        • Voltage Regulator
        • GPS
        • Cellular Interface
        • Memory (to store Geofence Locations)
        • Processor (to calculate distance from Geofence)
      • Pseudo Code
        • On a Timer
          1. When inside of geofence, record time stamp, call function to send message on cellular network
          2. When powered off, IsReportMade flag should be reset.
          3. If time outside geofence is greater than time inside geofence, set IsReportMade flag to false.
        • Functions
          • ReportPosition()
            1. If IsReportMade flag is false, send message on cellular network, set IsReportMade flag to true.
            2. If IsReportMade flag is true, do not send message

Online Resources