Projects / Ideas / Orientation detector

Orientation detector

IntermediateMotionIdeaReviewed
In short

How do you build an orientation detector?

An accelerometer with built-in orientation detection tells portrait from landscape and which way is up, and the display rotates to match. You need Arduino Nano, MMA8452Q accelerometer, SSD1306 OLED Display and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 210 min
Parts
4
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Detect orientation in hardware.

Parts list

How to build it

  1. Wire the sensor
  2. Enable orientation detection
  3. Read the register
  4. Rotate the display
  5. Add a lock button

Related projects

Common questions

What parts do I need for the orientation detector?

Arduino Nano, MMA8452Q accelerometer, SSD1306 OLED Display and Breadboard 830 Tie Points.

How long does the orientation detector take to build?

About 210 minutes for a intermediate maker.