Deadman Tactical Camera HUD (Android)

Mission timer • deadman check-in • GPS / speed / waypoint • hashed logs • encrypted notes.

00:00:00
Last check-in:
Timeout: 05:00
OK
GPS: off
Speed: —
Distance (session): 0 m
Heading:
Bearing to WP:
HOME: —
WP: —
Range to WP: —

Camera off

Last clip:

Download recording

Session History (GPS-tagged)

Event Log (hash chained)
Current hash:
(none yet)
Secure Mission Notes (AES-GCM encrypted, device-local)

Notes are encrypted with a key derived from your passphrase. Forget the passphrase = notes lost.

Deadman Digital – Heartbeat Ops Studio

Simulated dead man switch with timed pings, jitter, trip logic, and secure-design notes. Front-end only – wire to your backend when ready.

Live Status

Idle
Interval: Δt = B + U(-J,+J)  |  Trip when t_now - t_last > T_timeout
Event Log

Controls & Config

Idle – configure then Arm to start heartbeats.
Concept: this page simulates a dead man switch (DMS). When armed, the browser sends periodic “heartbeat” pings. If the timer expires without a valid ping, the switch trips and an emergency action would fire on your backend (alerts, data release, account lock, etc.).

Front-end flow:
  • You set baseInterval, jitter, and timeout.
  • JavaScript schedules heartbeats with random jitter: Δt = B + U(-J,+J).
  • Each successful ping updates t_last and resets the timeout countdown.
  • If t_now - t_last > T_timeout, the switch state becomes TRIPPED.
Right now everything runs locally in the browser – no real network calls unless you wire a backend URL.
Secure implementation (when you add a backend):
  • Each ping carries a cryptographically strong token (API key, signed JWT, etc.).
  • Server tracks last_seen[token] and a configured timeout T_timeout for that token.
  • Server only accepts HTTPS and validates token signatures before resetting the timer.
  • Logs and alerts are generated whenever a timeout is passed or a ping looks invalid.
On the server, the “equation” is:
if (now - last_seen > T_timeout) { trigger_emergency(token) }

Use browser SubtleCrypto or a library like libsodium/SJCL in the backend to derive keys, sign tokens, and verify authenticity.
Android + Developer Mode angle:
  • Run this page inside a hybrid app (Cordova/Capacitor) so heartbeats can continue in a foreground service, even when the screen is off.
  • Use native notifications to show “DMS Armed – X min left” and allow quick disarm.
  • Developer Mode helps you debug: inspect network, CPU, and background behavior via Chrome DevTools over USB.
  • You can pair this heartbeat with your Android camera, GPS, and motion sensors to only arm when certain conditions are met (e.g., stationary for N seconds, or headset plugged in).
Beyond software pings:
  • Motion / tilt – DeviceMotion can detect if the device hasn’t moved in a long time (possible loss of consciousness).
  • Wearables – Heart-rate or SpO₂ sensors can be combined with the ping logic on the backend for “health + presence” checks.
  • Hardware deadman devices – physical pedals, tethers, or switches can feed data into your backend; this web UI is then the monitoring console.
This front-end is your “mission control”; the physical sensors live in the real world.
Key equations / algorithms used here:
  • Jittered interval:
    Δt = B + U(-J,+J)
    where B is base interval (seconds), J is max jitter, and U(-J,+J) is a uniform random number in that range.
  • Timeout test:
    trip if (t_now - t_last) > T_timeout
    where T_timeout is the chosen timeout in seconds.
  • Availability metric (concept):
    uptime_ratio = successful_pings / total_attempts
    For a hardened deployment, you’d track this over days/weeks to prove reliability.

Deadman Digital – Radio & NOAA Ops Studio

Ham radio + NOAA weather + JS crypto + radio equations – all in one teaching / podcast HUD for your VMAGs.

How Ham Radio Hooks Into NOAA

NOAA Weather Radio (NWR) is a 24/7 “all hazards” broadcast on 7 VHF frequencies (162.400–162.550 MHz).

Ham operators listen, then report ground truth via Skywarn nets, CWOP weather stations, and APRS packets back into NOAA data systems.

• Perfect for education: physics (waves), geography (maps), coding (APIs), and emergency-prep in one project.

🧩 Think of this widget as your “mission brief” panel for ham + weather segments in your VMAGs.

What You Can Do With NO License

  • ✅ Listen to NOAA Weather Radio on 162.xxx MHz.
  • ✅ Use FRS radios (short-range family walkie-talkies).
  • ✅ Use CB radio (11-meter band) with legal CB rigs.
  • ✅ Use MURS (5 VHF channels) with certified gear.
  • ✅ Run this HTML/JS studio to visualize data & teach.

🚨 Transmitting on ham bands (HF, VHF, UHF) needs an FCC amateur license except in true life-or-death emergencies.

NOAA Weather Radio – Core Channels

NOAA Weather Radio All Hazards currently broadcasts nationwide on these seven VHF channels:

Freq (MHz) WX# Service License
162.400WX2NOAA All HazardsListen: No license
162.425WX4NOAA All HazardsListen: No license
162.450WX5NOAA All HazardsListen: No license
162.475WX3NOAA All HazardsListen: No license
162.500WX6NOAA All HazardsListen: No license
162.525WX7NOAA All HazardsListen: No license
162.550WX1NOAA All HazardsListen: No license

Your “favorite” channel depends on your local transmitter – in Illinois, for example, Lockport 162.425 MHz and Chicago 162.550 MHz are common.

Other Weather-Related Channels (Top 3 Examples)

FreqUseLicense
146.520 MHz 2 m ham simplex calling (local Skywarn) Ham license required
14.300 MHz HF maritime/emergency nets (weather / distress) Ham license required
27 MHz CB Ch. 9 CB emergency / road reports No license (CB rules)

You can often listen via online SDRs even without owning a rig – great for students learning HF vs VHF propagation.

CWOP & APRS Weather

CWOP (Citizen Weather Observer Program) lets hams + citizens send home weather station data into NOAA models.

• Many stations use APRS packets from 2 m radios; others upload via the internet only.

• In this HTML widget you’d typically:

  • Pull CWOP/NOAA data from an API on your server.
  • Overlay it on a map or just list values in a table.
  • Teach students how their sensor data feeds real forecasts.

License vs No-License Services (US)

ServiceTypical UseLicense?
NOAA Weather Radio Receive weather & hazard alerts Listen: no license
FRS Short-range family / hiking No license (FRS radio)
CB Road reports / general chat No license (CB rules)
MURS Short-range business / personal No license (certified radio)
GMRS Family repeater systems GMRS license
Amateur (Ham) HF/VHF/UHF global & local comms Tech/General/Extra license

In emergencies where life is at risk and no other comms exist, US rules let anyone use any frequency necessary – but that’s strictly last-resort.

Edu Projects With Ham + NOAA

  • Build a 2 m antenna, compare signal reports vs NOAA forecast.
  • Use online SDR to log NOAA alert tones and map storms.
  • Set up a low-cost weather station and publish data to CWOP.
  • Make a VMAG lesson: “From cloud to forecast model to ham radio speaker”.

🎓 Great STEM combo: encourages radio discipline, math, coding, and local community service.

Core Radio Equations (What Your JS HUD Can Show)

1. Wavelength from Frequency

λ (meters) ≈ 300 / f(MHz)

Example: NOAA 162.550 MHz → λ ≈ 300 / 162.55 ≈ 1.85 m (quarter-wave whip ≈ 0.46 m).

λ-Calc

2. Free-Space Path Loss (FSPL)

FSPL(dB) = 32.44 + 20·log₁₀(dkm) + 20·log₁₀(fMHz)

Use this to explain why handhelds struggle indoors or behind hills.

FSPL

Line-of-Sight & Horizon (Talk Track)

For VHF/UHF, range is mostly line-of-sight. A common approximation:

dhorizon (km) ≈ 3.57·(√h₁ + √h₂) where h in meters.

Example lesson: compare handheld-to-handheld vs handheld-to-tower by plugging in different heights for h₁, h₂.

JavaScript Crypto Libraries (for “Military-Style” Secure Apps)

For browser-based crypto, you want well-audited building blocks:

  • Web Crypto API (SubtleCrypto) – built into modern browsers; supports AES, RSA, SHA, etc. Good for key generation, encryption, signatures.
  • libsodium.js – JS/WebAssembly port of libsodium; excellent for E2E messaging, authenticated encryption, signatures.
  • SJCL (Stanford JS Crypto Library) – AES-256, SHA-256, HMAC, PBKDF2 with safe defaults out of the box.

Pattern: use Web Crypto / libsodium in JS → send only encrypted payloads over HTTPS/WebSocket → decrypt on authorized devices.

Safer Than Plain <input>

  • Always run your studio on HTTPS (TLS) – non-negotiable.
  • Mask secrets with <input type="password"> where appropriate.
  • Sanitize any rich text with a library like DOMPurify to kill XSS.
  • Do strict server-side validation – client-side checks are UX only.
  • For things like card numbers, use tokenization via a payment API instead of collecting raw data.

PWA / Service Worker Tricks for Offline Ops

  • Pre-cache your HTML/JS/CSS and key help docs (emergency playbook).
  • Use a “cache, then network” strategy so old data is visible even when offline.
  • Queue outbound reports in IndexedDB and sync when connection returns.
  • Push weather alerts via Web Push + Notifications API.
  • Make the radio/NOAA studio installable on Android home screen as a PWA.

Ken Wheeler, Fields & Antennas (How to Teach It)

Ken Wheeler’s magnetism videos focus on visualizing fields and counterspace. In a ham + NOAA classroom, you can use that vibe to explain:

  • How RF energy wraps around an antenna as an electromagnetic field.
  • Why antenna length ≈ λ/4 or λ/2 matters for efficiency.
  • How standing waves and impedance mismatch waste power as heat.

Suggested HTML/JS “Field Lab” Activities

  • Use the λ calculator above to pick a 2 m antenna length, then draw a simple “field ring” visualization around it in Canvas.
  • Record short clips showing a handheld near metal objects; discuss detuning and reflections while NOAA audio plays in background.
  • Build a simple slider in JS: move from 1 MHz→1 GHz and show how λ shrinks and antennas get physically smaller.

🧠 Message: “Fields aren’t magic – they follow equations you can calculate and visualize right in the browser.”

Health Dashboard (Native + WebView)

Health Dashboard

Steps (live): 0

Today’s Summary

Steps:

Water: cups

Sleep: hours

Mood: /10

Log Water & Weight

Android Field Toolkit — GPS • SOS • Podcast • AR • FX

Android Field Toolkit (HTML)

GPS • SOS / Deadman • Podcast Math • Photo FX • AR Overlay
HTML/JS • Android-ready

GPS, Hiking/Fishing, Deadman & SOS

Uses browser geolocation (GPS chip), plus a “check-in” deadman timer and an SOS flasher using screen color. On Android, run over HTTPS for best sensor access.

Live GPS Readout

Tap “Start GPS” when you’re outdoors with a clear sky view.

GPS idle
lat: – lon: – accuracy: – speed: – altitude: – last fix: –

Deadman Check-In Timer

You decide “check-in every X minutes.” If you don’t tap in time, it raises an alert. Later you can wire this to SMS/email native side.

Status: disarmed Next check-in: –

SOS Flasher (Morse “... --- ...”)

This uses dot/dash timing: 3 short, 3 long, 3 short, then a pause. For real emergency use, also call 911 / local rescue. On phones, hold the screen facing rescuers.

Screen flasher, not flashlight API
SOS idle — when active, this bar flashes in Morse timing.

Podcast Metrics / Equations

Quick calculator for your podcast VMAG: ROI, download growth, conversion rates, listener retention, etc. Numbers are approximate — you can refine later.

Downloads & Growth

DPE: – Growth: –

Money • ROI • CPA

ROI: – CPA: –

Listener Retention

Retention: –

Ad / CTA Conversion

Conversion: –

Photo FX — Canvas Filters

Upload a photo, then run basic effects: grayscale, invert, brightness, contrast. This uses HTML5 Canvas and can be extended with blend modes and AR overlays later.

0
0

AR 3D Object Overlay

This uses <model-viewer>. On Android with ARCore + Chrome over HTTPS, the “View in your space” AR button appears and opens Google Scene Viewer.

Sample AR Model

Replace src with your own .glb model URL (e.g. from your VMAG CDN). The same embed can be reused inside Hostinger or your Android WebView.

AR tips: - Serve this page over HTTPS. - Use reasonably small .glb files (a few MB). - On Android, tap the AR icon to overlay in the real world.