Introduction: IMac-Style IPhone Charging Stand With Sleep Reminder

Do you stay up late scrolling on your phone? I built a fun and practical solution: and iMac- style iPhone charging stand with a sleep reminder system.

When bedtime arrives, a buzzer rings until you place your phone on the stand. Once the IR sensor detects the phone, the buzzer stops, and at the same time, your iPhone starts charging.

This way, the project not only helps you develop healthier sleep habits but also ensures your phone is fully charged for the next morning.

Supplies

  1. Arduino Uno R4 Wi-Fi
  2. Buzzer
  3. IR Sensor
  4. Jumper Wires

Step 1: How It Works

The logic is simple:

  1. Arduino triggers a buzzer alarm when it's bedtime.
  2. The IR sensor detects the phone on the stand.
  3. When the phone is placed the buzzer stops

Step 2: Circuit Connections

  1. Buzzer - Pin D11
  2. IR Sensor OUT - Pin D7
  3. IR Sensor VCC - 5v
  4. IR Sensor GND - GND


Step 3: Arduino Code

#define BUZZER 11
#define SENSOR 7

void setup() {
pinMode(BUZZER, OUTPUT);
pinMode(SENSOR, INPUT);
digitalWrite(BUZZER, LOW);
}

void loop() {
int sensorValue = digitalRead(SENSOR);

// Simulating bedtime reminder (10s delay for demo)
delay(10000);

if (sensorValue == LOW) {
digitalWrite(BUZZER, HIGH);
delay(200);
digitalWrite(BUZZER, LOW);
delay(200);
} else {
digitalWrite(BUZZER, LOW);
}
}


Step 4: Build the Imac-style Stand

  1. Inspired by Apple’s iMac screen.
  2. Holds your iPhone upright.
  3. Hides the charging cable inside.
  4. Mount the IR sensor so it detects when the phone is docked.

Step 5: Step 5: Testing the Project

  1. Upload the code.
  2. Wait for the buzzer to sound (simulated bedtime).
  3. Place your iPhone on the stand.
  4. The IR sensor detects it → buzzer off + phone charging.

Step 6: Making It Look Professional - JUSTWAY

While my electronics worked fine, I didn’t want the project to look messy. That’s where JUSTWAY came in.

  1. Instant Quotes – Upload CAD files and get pricing instantly.
  2. 3D Live Preview – Rotate and inspect before ordering.
  3. Material Variety – SLA resin, Nylon PA-12, CNC aluminum, and more.
  4. NEW for 2025 – Transparent 3D printing (great for showing electronics) & Multicolor printing (perfect for logos).

Step 7: How I Ordered My Custom Stand From JUSTWAY

Here’s exactly how I ordered my polished iMac-style enclosure:

  1. Step 1: Upload Design
  2. I uploaded my CAD model of the iMac-style stand on JUSTWAY’s website.
  3. Step 2: Select Material & Finish
  4. I chose SLA resin with a matte finish for durability and style.
  5. Step 3: Preview Live Model
  6. I rotated and inspected the model in 3D to make sure the charging cable slot and IR sensor mount were correct.
  7. Step 4: Place Order
  8. Once I was satisfied, I placed the order knowing it would come out exactly as previewed.

👉 Pro Tip: If you want your Arduino project to look market-ready, use multicolor printing for logos or transparent printing to proudly showcase your internal wiring.

Step 8: Results

Now, at bedtime, I simply dock my phone:

  1. The buzzer shuts off.
  2. The phone starts charging.
  3. The stand looks like a professional Apple-inspired accessory.

And thanks to JUSTWAY, the build went from a DIY prototype to a polished, product-like gadget.