Skip to content

Este equipo desarrolla el cubo de las emociones, que permite una comunicación directa y personal entre enfermera y paciente.

Notifications You must be signed in to change notification settings

MediaLabUniovi/Healthcare_CuboLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

english | spanish

Emotion cube (Health-Cube CuboLab)

This repository contains the code and schematics for an Emotions cube project, which uses an Accelerometer to meassure which face it is placed in. Allowing patients with difficulty when expresing their feelings to communicate thier degree of confort/disconfort.

Cubo Cerrado

Features

  • 3-D printed faces and structure
  • ESP32-WROOM-32
  • 1850 Bateries
  • IMU and other electronic components
Cubo Abierto

Installation

  1. Clone the repository:

    Clone this repository to your local machine using:

    git clone https://github.com/MedialabUniovi/Healthcare_CuboLab/Proto-v2.2.2.git
  2. Set up the environment:

    Open the project in ArduinoIDE or Platform.io and ensure you have installed the required libraries.

  3. Upload the code:

    Compile and upload the code to the ESP32-WROOM-32 microcontroller.

  4. Assemble the hardware:

    Connect the components to the PCB, and attach embed it into the 3-D printed structure.

Usage

  1. Charge the device: It has a "DC barrel jack" conector. It should be charged with a 10V charger.

  2. Data reception: The generated data will be saved on a DataBase and accesible via http.

  3. Configuration Once it starts charging it allows the user to acces the configuration of the cube via WiFi

  4. Customization: Modify the code to suit your needs by adding additional sensors or improving the data logging system.

General flowchart

The systems toggles between three states goberned which indicate whether the cube is in motion detection, charging and configuration, and only charging. Indicating the level of charge after disconnection.

General

Pins

Number Name Description
G33 Vcharge Pin used to detect if the charger is connected
G34 Vbat Pin used to meassure the battery voltage
G21 SDA Pin used by I2C data transmission
G22 SCL Pin used by I2C clock
G14 PIN14 Pin used for the wakeup IMU interrupt
G18 PIN18 Pin used to activate the buzzer
G25 PIN25 LED red Pin
G26 PIN26 LED green Pin
G27 PIN27 LED blue Pin

Power supply

As for the power supply of the product: The values of the resistances shown in the schematic are calculated taking into account the use of two batteries with a BMS controlling them. Any modification in the power system should take this into account. The recommended voltage supply is 10V; any lower may cause the BMS not to open and more than 12V could damage the BMS.

It should be noted that for the battery reading to be succesful there should be a bridge made between pins ¿? and ¿? in the PCB. Unless the system is supplied with only one battery, in that case thse pins are used for separate purposes.

About

Este equipo desarrolla el cubo de las emociones, que permite una comunicación directa y personal entre enfermera y paciente.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7