Anti-Slouch Cushion

Introduction: Anti-Slouch Cushion

About: Technomentis is a venture to foster innovation and hands on learning for youngsters at formative ages. We explore, create, design, tinker and innovate at Explorato - our makers space.


People with sitting jobs in offices often end up having back pain and other bone related issues due to their improper seating posture. To address this issue, a modular cushion is made with flex sensors embedded in it. The cushion is also connected to a computer wirelessly via Bluetooth. When a person slouches, the computer goes into the sleep mode and wakes up only when the person sits with proper seating posture.

Step 1: Components Required:

  1. Arduino UNO R3 x 1
  2. USB cable x 1
  3. HC- 05 Bluetooth module x 1
  4. Resistor- 24.6K ohms x 2
  5. Resistor 1K ohms x 1
  6. Resistor 470 ohms x 1
  7. PN2222A Transistor x 1
  8. Breadboard x 1
  9. Jumper Wires Male - Male (M-M) x 20
  10. Jumper Wires Male - Fe-Male (M-F) x 20

Step 2: Connecting Flex Sensors to the Arduino UNO

Flex Sensors:

Flex sensors are sensors that changes its resistance depending upon the extent to which it is flexed. The resistance changes in the range of KΩ.

Circuit Connections:

  1. Connect an M-M jumper wire from the 5V pin of Arduino to the breadboard (5V line).
  2. Connect an M-M jumper wire from the GND pin of the Arduino to the breadboard (GND line).
  3. Attach M-F jumper wires (/solder) on each pins of both flex sensors.
  4. Connect one pin each of each flex sensors to the 5V line.
  5. Connect the other pins of both flex sensors separately on breadboard.

Step 3: Connecting Voltage Divider Circuit

24.6KΩ Fixed Resistor:

This fixed resistor is used to build a voltage divider circuit. Using the correct resistor aids in obtaining the required sensitivity needed for this project. (If exact 24.6KΩ resistor is not available, three 8.2KΩ resistors can be connected in series to obtain the same resistance)

Circuit Connections:

  1. Connect one end of the 24.6Kohms resistor on the GND line and the other end to flex sensor 1.
  2. Repeat the above step for flex sensor 2.
  3. Connect an M-M jumper wire from the junction of 24.6K ohms resistor and flex sensor 1 to Pin A0 of the Arduino UNO.
  4. Connect an M-M jumper wire from the junction of 24.6K ohms resistor and flex sensor 2 to Pin A1 of the Arduino UNO.

Step 4: Connecting the Transistor

PN2222A Transistor:

PN2222A is an NPN BJT (Bipolar Junction Transistor). It has three pins i.e., Emitter, Base and Collector. The transistor acts like a switch. When the Base pin is triggered, Emitter and Collector pins are shorted. To reduce the voltage on the Base pin, a 1Kohm resistor is used.

Circuit Connections:

  1. Place the PN2222A transistor on the breadboard.
  2. Connect an M-M jumper wire from Pin 13 of the Arduino UNO to 1Kohm resistor placed on the breadboard.
  3. Connect the other end of the 1Kohm resistor to the base of the transistor.
  4. Connect an M-M jumper wire from the GND line of the breadboard to the Emitter of the transistor
  5. Connect a 470 ohms resistor from the 5V line to the Collector of the transistor.

Step 5: Connecting the HC-05 Module

HC-05 Bluetooth Module:
It is a wireless communication module that transmits data serially. Out of the six pins that comes with general break out board, only 4 pins are used. VCC pin of HC-05 is connected to +5V while GND pin is connected to GND of the microcontroller. RX pin refers to receiver and TX pin refers to transmitter. These pins are used for communication between the Bluetooth and the microcontroller.

Note: HC-06 Bluetooth modules can also be used for this project instead of HC-05.

Circuit Connections:

  1. Connect an M-F jumper wire from the VCC pin of the Bluetooth to the 5V line of the breadboard.
  2. Connect an M-F jumper wire from the GND pin of the Bluetooth to the Collector of the breadboard.

Step 6: Upload the Arduino Sketch

Step 7: Download and Install the BtProx Software

  1. Download the zip file.
  2. Unzip the file.
  3. Open btprox.exe file.
  4. Pair the HC-05 with your laptop/computer
  5. Select the HC-05 device in the software
  6. Set the time after which the laptop/ computer should go into sleep mode.
  7. Click 'Start'.

For more detailed instructions, please refer to

Step 8: Reference Images for Construction



    • Creative Misuse Contest

      Creative Misuse Contest
    • Water Contest

      Water Contest
    • Fix It! Contest

      Fix It! Contest