• Menu
  • Product
  • Email
  • PDF
  • Order now
  • Designing Single- and Three-Axis Selfie Sticks With MSPM0 MCUs

    • SLAAEA2A February   2023  – September 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507

       

  • CONTENTS
  • SEARCH
  • Designing Single- and Three-Axis Selfie Sticks With MSPM0 MCUs
  1.   1
  2.   Designing Single- and Three-Axis Selfie Sticks With MSPM0 MCUs
  3. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content
Application Brief

Designing Single- and Three-Axis Selfie Sticks With MSPM0 MCUs

Designing Single- and Three-Axis Selfie Sticks With MSPM0 MCUs

There are two main types of selfie stick products on the market: single-axis selfie sticks and three-axis selfie sticks. How can a selfie stick maintain the shooting stability of a mobile phone? Hand shaking of photographers can cause one-axis or three-axis jitter, in which the position and direction is detected by the built-in gyroscope sensor of the selfie stick. The internal MCU can process the data and drive one or three motors to produce the opposite movement, which is used to offset the vibration of the mobile phone screen and stabilize the phone when taking a picture or video.

GUID-20230223-SS0I-0SD2-QQ0G-GXNVFR73VBSN-low.pngFigure 1 3-Axis Selfie Stick

To sense, process, and actuate the single- or three-axis motors in a gimbal or selfie stick application, TI’s MSPM0 MCUs can meet the requirements with high-performance features, portfolio, and diverse package sizes to fit small form factors.

GUID-20230223-SS0I-MLDK-LDWT-QSNQMTFNTPFF-low.svg Figure 2 3-Axis and 1-Axis Selfie Stick Block Diagram

Hardware and software

Hardware

  • Microcontroller (MCU): Acquires gyroscope or accelerator information, runs the control algorithms generates the PWM, and gets the motor speed and position information.
  • Driver: BLDC integrated MOSFET motor driver
  • Power system: Battery, battery charger, boost, and LDO regulator

Software

  • Application: Task management and scheduling.
  • Algorithm: Calculates the gesture of phone in real time according gyroscope or accelerometer feedback; drives BLDC motor using Hall-sensored trapezoidal or sensorless algorithm to achieve closed-loop position control.

All these functions can be realized using TI devices:

  • MCU
    • MSPM0Lxx ARM Cortex M0+ 32-MHz MCUs
    • MSPM0Gxx ARM Cortex M0+ 80-MHz MCUs
  • BLDC Motor Driver: 3-phase BLDC Motor Driver (DRV831x series)
  • Charger: Battery charger ICs (BQ series)
  • Boost: Step-up (boost) switching regulators series
  • LDO: LDO linear regulators series

Why is MSPM0 considered for selfie sticks?

The newest Arm® Cortex® M0+ MSPM0Gx high-performance MCUs feature up to 80-MHz operating frequency, 32 kB to 128 kB flash options, scalable analog integration, advanced on-chip motor control peripherals provide a design for various selfie stick applications.

GUID-20230223-SS0I-MXTX-V8V7-N5DHJHFMMVSL-low.png

What can MSPM0 do in a selfie stick?

The following resources are available for selfie sticks:

  • Motor control designs in MSPM0-SDK
    • MSPM0 Sensored Trap Library
      • Supports DRV831x devices with integrated current sense
    • MSPM0 Sensorless FOC Library
      • Supports DRV831x devices with integrated current sense
  • High-performance core integrated math accelerator (MATHACL)
    • Reduce process time for FOC and gesture estimation algorithms and sensing signal
  • Analog and digital peripherals for motor control
    • Two independent 4-Msps 12-bit ADC modules: fast and accurate current sensing
    • Two zero-drift chopper op-amps: accurately amplify the 2-phase current
    • Three high speed comparators: enable hardware current limiting
    • Advanced motor control timers: six flexible PWMs and cross triggers
  • Communication interfaces
    • SPI, UART, and I2C to connect to IMU (inertial measurement unit) sensor
GUID-20230223-SS0I-VRQB-LJ8N-3Q4F45P0JHN6-low.svgFigure 3 Selfie Stick System Block Diagram Based on MSPM0Gx

Resources

Order an MSPM0 LaunchPad™ development kit and DRV8316REVM today to start evaluating MSPM0 for a motor control function for a gimbal or selfie stick system. Jump-start a design with MSPM0 code examples and interactive online trainings. The follow links provide resources that are available.

  • MSPM0-SDK
  • MSPM0 overview page
  • MSPM0 Academy
  • MSPM0 LaunchPad development kit
    • LP-MSPM0L1306
    • LP-MSPM0G3507
  • DRV831xEVM
    • DRV8311HEVM
    • DRV8316REVM
    • DRV8317HEVM
  • MSPM0 Trapezoidal Control Application Note
  • MSPM0 Sensorless FOC Application Note
  • TI Precision Labs - Motor Drivers: Brushless-DC Basics

IMPORTANT NOTICE AND DISCLAIMER

TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.

These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.

TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 

Copyright © 2023, Texas Instruments Incorporated

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale