element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs TI C2000 Launchpad TMS320F28069: Gravity Meter - Matlab
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: martinvalencia
  • Date Created: 6 Jun 2016 1:20 AM Date Created
  • Views 1938 views
  • Likes 3 likes
  • Comments 4 comments
  • gravity
  • educational_boosterpack
  • acelerometer
  • launchpad™
  • texas_instrutments
  • c2000
  • matlab
  • c2000_launchpad
  • dsp
  • controlSUITE
Related
Recommended

TI C2000 Launchpad TMS320F28069: Gravity Meter - Matlab

martinvalencia
martinvalencia
6 Jun 2016

Accelerometer:

 

An accelerometer is a device that measures proper acceleration ("g-force"). Proper acceleration is not the same as coordinate acceleration (rate of change of velocity).

For example, an accelerometer at rest on the surface of the Earth will measure an acceleration g= 9.81 m/s2 straight upwards. By contrast, accelerometers in free fall (falling toward the center of the Earth at a rate of about 9.81 m/s2) will measure zero.

 

Introduction:

My goal is analyzing vibration waves using an accelerometer and fourier analizis (Matlab) can observe the behavior of waves in time.

 

 

TMS320F28069 and Serial CommunicationLaunchpad and Boosterpack
imageimage

 

                                                                                    

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Description (Texas Instruments)

TMS320F28069 / C2000 Launchpad:

 

The InstaSPINTm-MOTION (and InstaSPIN-FOC) enabled C2000Tm Piccolo LaunchPad is an inexpensive evaluation platform designed to help you leap right into the world of motor control using the InstaSPIN-MOTION or InstaSPIN-FOC solution.

The LaunchPad is based on the Piccolo TMS320F28069M with unique features such as 256KB of on board flash, 12bit ADC, I2C, SPI, UART, CAN, dual Encoder support and InstaSPIN libraries in on-chip execute only ROM memory.

 

image

Features

    • C2000 Piccolo F28069M MCU with InstaSPINTm-MOTION and InstaSPIN-FOC technology
    • Built in isolated XDS100v2 JTAG Emulator enables real-time in-system programming and debugging via USB
    • Hardware supports two BoosterPacks and dual Encoder feedback
    • Free unrestricted version of Code Composer StudioTm integrated development environment (IDE)
    • Free download of MotorWareTm software with drivers, modules, and InstaSPIN projects that work with various BoosterPacks.
    • Free GUI to instrument software built in MotorwareTm GUI

 

Educational BoosterPack MKII

The Educational BoosterPack MKII offers a high level of integration for developers to quickly prototype complete solutions. Various analog and digital inputs/outputs are at your disposal including an analog joystick, environmental and motion sensors, RGB LED, microphone, buzzer, color LCD display, and more.

 

image

Features
        • TI OPT3001 Light Sensor
        • TI TMP006 Temperature Sensor
        • Servo Motor Connector
        • 3-Axis Accelerometer
        • User Push Buttons
        • RGB Multi-color LED
        • Buzzer
        • 40-pin Stackable BoosterPack Connector
        • Color TFT LCD Display
        • Microphone
        • 2-Axis Joystick with Pushbutton

 

Application:

 

The C2000, communicates with the PC via a serial environment using a protocol number in Hexadecimal, as this greatly reduces the number of bytes to send, when compared with a protocol of numbers in decimal; by making more efficient communication between the PC and C2000.

 

The protocol data is Hexadecimal
image

 

Configuring the Serial
image

 

Graphics generated by Matlab

 

Accelerometer in passive state, without any vibration:
imageimage

 

 

Accelerometer active state, detecting vibrations of the table.
imageimage

 

Fourier analysis was performed to find the bandwidth wave vibration, and also analyze its various components across the spectrum.

 

FFT(X,Y,Z)

image

Zoom

image

 

 

Reference:

C2000:

 

InstaSPIN-MOTION (and InstaSPIN-FOC) enabled C2000 Piccolo LaunchPad - LAUNCHXL-F28069M - TI Tool Folder

 

Boosterpack MKII

Educational BoosterPack MKII - BOOSTXL-EDUMKII - TI Tool Folder

 

Accelerometer

https://en.wikipedia.org/wiki/Accelerometer

 

Program Link/ Matlab and C2000 CCSV6:

http://www.mediafire.com/download/tufc9f5scbu0nw0/MATLAB_C2000_code.rar

  • Sign in to reply

Top Comments

  • DAB
    DAB over 9 years ago in reply to martinvalencia +1
    Depending upon the crust density in your area, you should see gravity increase if you took it to a sea level location. Now depending upon you sensitivity, you might just be able to see some change in local…
  • DAB
    DAB over 9 years ago in reply to martinvalencia

    Depending upon the crust density in your area, you should see gravity increase if you took it to a sea level location.

     

    Now depending upon you sensitivity, you might just be able to see some change in local gravity when the moon is directly overhead or at its zenith for you location.

     

    You can also get gravity maps from either NASA or ESA, which you can then compare different locations to see if you can verify the regional variations.

     

    Lots of fun things to play with.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • martinvalencia
    martinvalencia over 9 years ago in reply to DAB

    for the moment I've only measured vibrations from hitting a table!

     

    but just give me a good idea, maybe you have knowledge about analizis that can be made to gravity.

     

    where I live there is a height of 2335 meters above sea level!

     

    erhaps gravity is affected by any parameters, but for those analizis need some bibliographic references to datatypes know that I look, I would be very grateful for your help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 9 years ago in reply to DAB

    That can be a deep subject! image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 9 years ago

    Interesting post.

     

    So what does the data tell you about gravity at your location?

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube