OLLYDOTDEV / Project-Birdseye-DTX-2020

The initial plan is to create a device that is made for the sole purpose of a Preemptive Security system for People who work with Confidential/Private Information and need to work on potentially more public places where one cant Guarantee fully secure/discrete room. My Approach to solving this is with a wireless computing node That Takes Sensor data from a variety of senses. Then the Data from the Senses is taken then and processed to determine whether there is a security breach if so then it will Relay that info over to the Raspberry Pi W that then Emulates an HID (Human interface device) Using the P4wnP1_aloa made by mame82 to Execute a custom user-defined action that will be set via Apache server hosted of the Raspberry Pi W Communicating From a web interface back to the purchase server utilizing Ajax
GNU General Public License v3.0
3 stars 1 forks source link

Mode Sensor configuration #31

Closed OLLYDOTDEV closed 3 years ago

OLLYDOTDEV commented 3 years ago

As a user there should be modes that ROMS can be put into this will configure that sensor will be used and when

OLLYDOTDEV commented 3 years ago

to start off i started with taking some of my older test code Full_Trigger_Test.ino and added the capabilities to have individual sensors turned on and off depending on control variables

OLLYDOTDEV commented 3 years ago

to import this test code into ROMS.cpp

then a custom function called was make SecurityMode()

this takes the mode that is transmitted from the Raspberry Pi and depending on the mode, it configures the sensors to be the enabled/ disabled.

other than that the only other main code optimizations is that when it is in the off state it has a software flag set so that it reduces the unnecessary time used to poll the sensor data but rather dedicates it extra time to be prepared to receive transmissions and be ready to change mode