Karim Tamer Salama
Published

Deep-Sea Forensic Data Rescue Capsule

An autonomous titanium capsule utilizing ESP32 for deep-sea data recovery and emergency telemetry.

AdvancedFull instructions provided11
Deep-Sea Forensic Data Rescue Capsule

Things used in this project

Hardware components

ESP32
Espressif ESP32
×1
MyOctopus i2c Barometric Air Pressure Sensor BMP280
MyOctopus i2c Barometric Air Pressure Sensor BMP280
×1
Solenoid Valve, 2 Way
Solenoid Valve, 2 Way
×1

Software apps and online services

MicroPython
MicroPython

Story

Read more

Custom parts and enclosures

Titanium Grade-5 Deep-Sea Capsule 3D Enclosure Design

3D mechanical enclosure and structural design of the deep-sea rescue capsule modeled for pressure resistance and housing integration.

Schematics

ESP32 Deep-Sea Capsule Circuit Diagram

Circuit schematic showing the connections between the ESP32 microcontroller, BMP280 pressure sensor, and the solenoid valve for the deep-sea rescue system.

Code

Deep-Sea Capsule MicroPython Controller

MicroPython
MicroPython script for controlling the ESP32 and solenoid valve based on pressure sensor telemetry.
from machine import Pin, ADC
import time

# 1. Component Initialization
solenoid_pin = Pin(15, Pin.OUT)       # Solenoid latch control pin
pressure_sensor = ADC(Pin(34))        # Pressure sensor connected to ADC pin
pressure_sensor.atten(ADC.ATTN_11DB)  # Set full-range voltage reading

# 2. Safe pressure threshold (representing standard operating pressure like 1 bar)
safe_pressure_limit = 1000  

while True:
    # Read the current pressure from the sensor
    current_pressure = pressure_sensor.read()
    print("Current Pressure Reading:", current_pressure)
    
    # 3. Core condition: If the pressure exceeds the safe limit, release the latch immediately
    if current_pressure > safe_pressure_limit:
        solenoid_pin.value(1) # Trigger the mechanism / open the latch
    else:
        solenoid_pin.value(0) # Keep the latch locked under normal pressure
        
    # Short delay between readings to stabilize the system
    time.sleep(1)

Credits

Karim Tamer Salama
1 project • 0 followers

Comments