Smart Smartphone Stand: Fixes Phone Addiction
by PushpendraC2 in Circuits > Gadgets
193 Views, 1 Favorites, 0 Comments
Smart Smartphone Stand: Fixes Phone Addiction
I was tired of wasting hours on my phone every day, so I built a device that literally fights back.
This is a smart smartphone stand that helps keep my phone away, tracks my phone usage habits, and visualizes the data on a web dashboard.
Supplies
- ESP32-C3/ESP32-S3
- Push button x 1
- OLED display 1.3 Inch (SSD1306) x 1
- Buzzer x 1
- Capacitive touch sensor (TTP223) x 1
- Perfboard
- 3.7V Li-Po battery
- Male and female header pins
- 23-gauge wire
- Self-tapping M2 x 6mm screws x 5
- USB-C cable
- 3D printer (or access to one) + PLA filament
- Super glue
Solder the Circuit on a Perfboard
Solder the circuit onto a perfboard according to the wiring diagram.
Cut the perfboard to a size of 34 mm × 36 mm so that it fits inside the body of the stand. We will install it in the enclosure in a later step.
Make the Connections
Make the connections according to the wiring diagram.
Note:
- We will connect the battery to the circuit in a later step.
- I am using an ESP32-S3 here. You can also use an ESP32-C3, but you will need to adjust the code for pin assignments accordingly.
3D Print the Parts
There are four parts to 3D print. Download the provided 3MF files and print the following parts:
- Body
- Body Cover
- Enclosure
- Enclosure Cover
Tip: Add a brim to the base of the body while printing for better adhesion and print quality. Without a brim, the base may warp inward.
Assemble the 3D Printed Body
Assemble the 3D-printed parts following the image.
Use super glue to attach the enclosure to the main body.
Assemble the Electronics Inside the Body
Assemble the electronics inside the 3D-printed body.
- Start with the enclosure and install the OLED display and push button in their designated slots.
- Connect the wires to the components according to the circuit diagram provided in the previous step.
- Secure the enclosure cover using M2 screws.
- Slide the assembled circuit board into the mounting slot inside the body.
- Attach the touch sensor to the back of the body using double-sided tape.
- Finally, secure the body cover using M2 screws.
Upload the Code
Download the code file and update the following variables with your own details:
- `ssid` - Your Wi-Fi name
- `password` - Your Wi-Fi password
Once updated, upload the code to the ESP32-S3 board.
Downloads
Attach the Battery
Solder the battery to the ESP32-S3 board. Optionally, you can add a slide switch between the battery and the board to easily turn the device on or off.
Attach the battery to the body using double-sided tape.
Note: The XIAO ESP32-S3 features an onboard voltage regulator and battery charging circuit, so a single-cell Li-ion/LiPo battery can be connected directly to the designated battery pads on the board.
Power On
Once you power on the stand. Here's what happens:
- On startup, it connects to Wi-Fi. Once connected, it's ready to go.
- When idle, the OLED shows a pair of animated eyes — giving the stand a personality.
- Place your phone on the stand and it starts tracking focus time.
- Try to pick up the phone and you get a 5-second grace window to put it back. Return it in time and the timer continues uninterrupted.
- Visit the IP address shown on the OLED from any device on the same Wi-Fi to open the focus dashboard. It shows current session timer, highlights, a focus timeline, and a daily productivity heatmap.
- Tap the touch sensor while idle to set a reminder timer: 2, 5, 10, 15, 25, or 30 minutes. When it expires, the buzzer beeps for up to one minute until you place the phone back.
- Hold the touch sensor for 2 seconds to switch to clock mode. Phone tracking continues in the background. Hold again for 2 seconds to return to tracking mode.
Conclusion
I've been using this stand for the last two weeks. It hasn't completely stopped me from using my phone — but it has made me significantly more aware of my habits.
And honestly, that's exactly what I was going for.
Happy building!