Skip to the content
PCBKitNew board
2 layers50 × 100 mmCorrector de postura, the printed circuit board in 3D

Corrector de postura

agustin-arg/Posture5

Dispositivo electrónico de corrección de postura corporal

Size
50 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
46
Pads
90
Tracks, vias
180, 0
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
21 Sep 2025
Updated
27 Feb 2026

Overview

Corrector de postura is an open-source printed circuit board by agustin-arg, from the agustin-arg/Posture repository on GitHub. It is a 2-layer board of 50 × 100 mm with 23 parts on 46 nets, routed with 180 tracks and 0 vias.

It is built around the NODEMCU-32SLUA and PN2222A. Its parts include 6 resistors, 3 inductors, 2 ICs, 1 diode and 1 transistor. It belongs with the ESP8266 boards of this library.

Main components

2

README

README.md

Posture

Un dispositivo wearable que detecta malas posturas en tiempo real y ofrece retroalimentación háptica (vibración), acción mecánica (servomotor), visual (LEDs) y auditiva (buzzer). Incluye conectividad Bluetooth Low Energy (BLE) para configuración y monitoreo remoto.

Características

  • Feedback Multimodal:
    • LED Rojo: Mala postura.
    • LED Verde: Postura correcta.
    • Buzzer: Alerta sonora.
    • Vibrador: Alerta táctil.
    • Servomotor: Acción mecánica correctiva (opcional).
  • Conectividad BLE: Permite ver el estado, calibrar y configurar umbrales desde la App móvil.

🛠️ Hardware Requerido y Conexiones

ComponentePin ESP32 (GPIO)Descripción
MPU6050 SDAGPIO 21Datos I2C
MPU6050 SCLGPIO 22Reloj I2C
LED RojoGPIO 25Indicador de mala postura
LED VerdeGPIO 33Indicador de postura correcta
LED AzulGPIO 32Estado Bluetooth / Calibración
BuzzerGPIO 26Alarma sonora (PWM)
VibradorGPIO 18Motor de vibración
ServomotorGPIO 19Servo para corrección física

📂 Estructura del Proyecto

El código está organizado en 6 archivos para facilitar el mantenimiento:

  1. main.py: Punto de entrada. Orquesta la inicialización y el bucle principal.
  2. config.py: Configuración. Almacena pines, constantes y UUIDs de Bluetooth.
  3. mpu6050.py: Driver. Manejo de bajo nivel del sensor I2C.
  4. actuators.py: Hardware. Controla LEDs, buzzer, motor y servo.
  5. ble_service.py: Comunicaciones. Gestiona la publicidad BLE, conexión y características GATT.
  6. posture_logic.py: Matemáticas. Contiene la física pura y el filtro complementario para calcular el ángulo.

🚀 Instalación y Uso

  1. Flashear MicroPython: Asegúrate de que tu ESP32 tenga instalado el firmware de MicroPython más reciente.
  2. Subir Archivos: Sube los 6 archivos .py a la raíz del dispositivo (usando Thonny IDE, ampy o rshell).
  3. Encendido: Reinicia el ESP32.
  4. Calibración (Importante):
    • Colócate el dispositivo en la espalda en una postura correcta.
    • Envía el comando de calibración vía BLE o espera la secuencia inicial.
    • El LED Azul parpadeará 3 veces (tomando datos).
    • El LED Verde se encenderá por 1 segundo confirmando el éxito.
  5. Funcionamiento: Si te inclinas más allá del umbral (por defecto 20°), el dispositivo te alertará.

📱 Especificaciones Bluetooth (BLE)

Para desarrollar o conectar Posture App (link), utiliza los siguientes UUIDs definidos en config.py:

Service UUID: 0000180f-0000-1000-8000-00805f9b34fb

CaracterísticaUUID (Prefijo 0000...)PermisosFunción
Status...2a19...Read, NotifyNotifica 1 si hay mala postura, 0 si es buena.
Threshold...2a1b...Read, WriteLee o establece el ángulo límite (ej. 20°).
Calibrate...2a1c...WriteEscribe cualquier valor para iniciar calibración.
System...2a22...Read, Write1 = Encendido, 0 = Apagado (Standby).
Buzzer...2a1e...Read, Write1 = Enable, 0 = Disable.
Vibrator...2a1f...Read, Write1 = Enable, 0 = Disable.
LEDs...2a20...Read, Write1 = Enable, 0 = Disable.

⚙️ App de Android

Se incluye una app de Android para poder enciende o apaga actuadores vía Bluetooth y muestra imágenes a modo de monitoreo

Parts

23
QtyValueFootprintReferences
3220ΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3
3MountingHole_2.2mm_M2_ISO7380_PadMountingHole:MountingHole_2.2mm_M2_ISO7380_PadH2, H3, H4
2100kΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR5, R6
11N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD4
1470ΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4
1BatteryJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmBT1
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1GY-521GY-521:GY-521U2
1H1MountingHole:MountingHole_2.2mm_M2_ISO7380_PadH1
1LED BlueLED_THT:LED_D5.0mm_ClearL1
1LED GreenLED_THT:LED_D5.0mm_ClearL2
1LED RedLED_THT:LED_D5.0mm_ClearL3
1LOGOlogos:UNRaf_logo_completoG***
1Motor_ERMMotor vibrator:motorM2
1Motor_ServoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalM1
1NODEMCU-32SNODEMCU-32S:MODULE_NODEMCU-32SU1
1PN2222APackage_TO_SOT_THT:TO-92_Inline_Horizontal1Q1
1SW_SPSTSS-22F32-G060:SW-TH_SS-22F25-G050SW1

Questions

How big is the Corrector de postura PCB?

It measures 50 × 100 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Corrector de postura use?

23 parts, built around the NODEMCU-32SLUA and PN2222A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Corrector de postura KiCad files?

From the agustin-arg/Posture repository on GitHub, at the commit this page was made from: the board is pcb/design/Corrector de postura.kicad_pcb and its schematic pcb/schematics/Corrector de postura.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Corrector de postura design in my own project?

Its repository states no licence, so its author keeps all rights: ask agustin-arg before reusing the design.

Similar boards

  • 2 layers169 × 87 mmThermostat v2, the printed circuit board in 3D

    Thermostat v2

    ANTzacalie/termo-pro-esp32

    Full-featured smart thermostat built on the ESP32 platform.

    26 parts1CERN-OHL-P-2.0
  • 2 layers30.5 × 77.5 mmProyecto sensor temperatura, the printed circuit board in 3D

    Proyecto sensor temperatura

    unla-investigacion-desarrollo/ecosistema-iot

    Antes de desarrollar el sistema final, realizamos una etapa de exploración donde investigamos y experimentamos con las siguientes tecnologías:

    8 parts5
  • 2 layers91.4 × 76.2 mmArm pcb, the printed circuit board in 3D

    Arm pcb

    AashishKanted/Kratos_Arm

    2023-24 Code base for the robotic arm of the kratos rover

    24 parts2
  • 2 layers64.1 × 98.3 mmLora life jacket, the printed circuit board in 3D

    Lora life jacket

    bytecod3/lora-life-jacket

    Electronic device for life jackets with LORA data transmission

    17 parts2Apache-2.0
  • 2 layers65.5 × 51.8 mmIOT, the printed circuit board in 3D

    IOT

    hopkinskong/eie553-iot-hardware

    ESP32 IOT Smart Lock Device Hardware Schematic and PCB used in the course "EIE553 Security in Data Communication".

    14 parts2
  • 2 layers80 × 100 mmPcb v3, the printed circuit board in 3D

    Pcb v3

    2026MakerClub/PCB

    projects with pcb, custom and commonly used schemes, footprints...etc.

    21 parts1
  • 2 layers41.5 × 85 mmBase station, the printed circuit board in 3D

    Base station

    bytecod3/ear-tag

    Ear tag with LORA

    4 parts1MIT
  • 2 layers57.2 × 52.1 mmKiCad Esp32 LotNoDisplay, the printed circuit board in 3D

    KiCad Esp32 LotNoDisplay

    Chihhao/ESP32-MAX7219-LED-Matrix-Display

    這是一個基於 ESP32 的 LED 點矩陣顯示專案,整合了 WiFi 網頁設定、RTC 時間顯示、以及條碼掃描器輸入功能,適合用於創客空間或資訊看板。

    18 parts1