To have a button similar to AWS from Amazon in order to generate Alarm Events from it.
To generate and send a URL post JSON format on Alarm Event triggered from the button.
On the Alarm event to send BLE advertisment signal for the location of pendant.
To Cancel Alarm and send presence signal periodically.
GPIO in seprate thread, working even when BLE is out
Deep Sleep Mode with GPIO power domain
Deep Sleep Timer periodic to send BLE advertisment
Have parameters configurable from embedded HTTP or external App
Modes to use:
Deep Sleep with the GPIO power domain
Deep Sleep timer
Normal after Wake Up
Programming mode with the web server and direct connect
WiFi TCP/IP connection for sending JSON/GET;
Bluetooth BLE advertisment mode
(in advertisment mode to emulate Eddystone UID/TLM and iBeacon);
Deep Sleep mode, Wake Up from GPIO and Deep Sleep timer for presence;
GPIO for Digital Inputs (touch or standard),
Digital Outputs, one analog for battery level;
Power domain for GPIO
DeepSleep timer for presence
BLE advertisment string Eddystone UID and/or iBeacon
From GPIO two DI for Alarm and Cancel
To detect longs press mode for Cancel (if one button for both alarm and cancel)
Bouncing to implement
From GPIO two DO to turn On on Alarm Event
From GPIO one AI to measure battery voltage level
WiFi credentials to establish TCP/IP connection
Action URL where to send JSON/GET
Internal parameters such as -> MAC;DeviceName;CtrlType;BatteryLevel;AlarmStatus;
Button(S) to enable programming mode (or after power circle based on time out)
Parameters to send on different events:
TxPower, UID, MAC,
Presense mode (Deep Sleep timer) in seconds
Hostname or IP of third party web server (where to send Action URL)
BLE time between sending advertisment
BaseName (can be equal to MAC address)
Eddystone UID (for BLE)
iBeacon UUID (for BLE)
TxPower (for BLE usage)
DO steady or flashing mode per output
DI for Alarm and Cancel (long press detect)
ESP32 in deep Sleep mode on GPIO power domain
Id button was pressed,- goes to wake up
After wake up sending action URL GET/JSON
parameters included are as described.
DO and BLE active
If cancel button was pressed (or long hold on the same button),
then Alarm de-activated, Action URL sent as well
ESP32 back to deep sleep mode
Also every x minutes ESP32 on deep sleep timer sending presence
Sequence of operation (Algorithm) in the screen attached.
15 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
hello i am a computer engineer,i have more than 7 years of experience in electronics and microcontrollers,i have masters in computer engineering ,i can achieve ur tasks quickly ,efficiently and economically
I have done three ESP32 projects recently. My very recent ESP32 project was a webserver. Please feel free to contact me. I may be the most suitable freelancer for this job.