Getting Started with the MSP430 Launchpad

1st Edition

Authors: Adrian Fernandez Dung Dang
Paperback ISBN: 9780124115880
eBook ISBN: 9780124116009
Imprint: Newnes
Published Date: 15th April 2013
Page Count: 200
Tax/VAT will be calculated at check-out
Compatible Not compatible
VitalSource PC, Mac, iPhone & iPad Amazon Kindle eReader
ePub & PDF Apple & PC desktop. Mobile devices (Apple & Android) Amazon Kindle eReader
Mobi Amazon Kindle eReader Anything else

Institutional Access


This book explores the world of microcontroller development through friendly lessons and progressively challenging projects, which will have you blink LEDs, make music with buzzers & interact with different sensors like accelerometers and temperature sensors. This book is focused on the MSP-EXP430G2 LaunchPad Evaluation Kit, which is a complete microcontroller development platform that includes everything you need to start creating microcontroller-based projects. Many of the 25+ projects will also leverage external components, such as the highly-integrated Educational BoosterPack, which is a modular extension to the LaunchPad and includes many components such as an RGB LED, character LCD & potentiometer.

This book provides helpful guides that break down hardware circuits through visual diagrams and includes fully-commented code examples. Concepts are broken down and explained in an easy to follow language and analogies to help you understand the principles behind each project/system. The projects will encourage you to use and even combine the fundamental concepts to develop your ideas in creating new microcontroller solutions.

Coverage includes:

  • Digital Input/Output: buttons, LEDs, turning anything into a button
  • Analog Input/Output: sensors, temperature, accelerometer, potentiometer, etc.
  • Programming fundamentals: conditional branches & loops, flow, logic, number systems
  • Pulse-Width Modulation (PWM): square wave, buzzer, analog signal simulation
  • Serial Communication: UART, SPI & I2C
  • Code development using Energia, a free, open-source code editor and compiler
  • Debugging through serial communication with a computer
  • Interfacing with external components such as LEDs, buzzers, potentiometers, sensors & more.

Key Features

  • Includes over 25 projects which focuses on a learn by doing approach
  • Contains easy to follow diagrams and code examples
  • Covers Programming fundamentals, such as conditional branches and loops, flow, logic, number systems

Table of Contents

  • Preface
  • Acknowledgments
  • Chapter 1. Prepare for Liftoff!
    • 1.1 Who Should Read This Book?
    • 1.2 What to Expect Out of This Book
    • 1.3 What Is Possible?

  • Chapter 2. Meet the LaunchPad
    • 2.1 The Brain, the Senses, and the Actions
    • 2.2 Teach the LaunchPad
    • 2.3 Inside the Box
    • 2.4 Project 1: The First Encounter of the LaunchPad Kind

  • Chapter 3. The Fellowship of the LaunchPad
    • 3.1 Your Journey’s Companion
    • 3.2 The Educational BoosterPack
    • 3.3 The Breadboard
    • 3.4 Breakout Board
    • 3.5 Soldering
    • 3.6 Electrical Etiquette
    • 3.7 Recreating the Educational BoosterPack
    • 3.8 So I’ve Got the Hardware, What About the Software?

  • Chapter 4. Meet Energia—a Software Development Environment
    • 4.1 How to Teach Your LaunchPad New Tricks
    • 4.2 Get Energia
    • 4.3 Project 2: LaunchPad’s First Trick—Blink
    • 4.4 Looking at Our First Code Example
    • 4.5 Modifying Our First Code Example
    • 4.6 Breaking a Problem Down

  • Chapter 5. Day in the Life of a Microcontroller
    • 5.1 The Logical LaunchPad
    • 5.2 If (hungry) {eat}
    • 5.3 Conditionals
    • 5.4 If (hungry) {eat} else {sleep}:
    • 5.5 Multiple Choices with the Switch
    • 5.6 Repetition+Condition=Loop
    • 5.7 Project 3: LED Blink Counter
    • 5.8 Your LaunchPad Just Got Educated!

  • Chapter 6. Think Digitally
    • 6.1 Binary: 0+1=65,536
    • 6.2 Hexadecimal—Binary’s Big Brother
    • 6.3 What’s with the Math Class?
    • 6.4 Dissecting the LaunchPad’s Brain
    • 6.5 Project 4: Controlling the LEDs the Hard Way!
    • 6.6 Diving Deep to the Register Level

  • Chapter 7. The Ins and Outs of Digital I/O
    • 7.1 Project 5: Reading a Button Input</LI


No. of pages:
© Newnes 2013
eBook ISBN:
Paperback ISBN:

About the Author

Adrian Fernandez

Adrian Fernandez is the manager of the Microcontroller Customer Experience team at Texas Instruments and holds a B.S.E.E from the University of Texas at Austin. In his role, he is responsible for defining the microcontroller development ecosystem and augmenting the ways developers interact and develop with TI microcontrollers. In recent years, Adrian has focused on the LaunchPad Evaluation Development Platform to create a low-cost, easy-to-use and friendly tool for enabling people of all experience levels to start making stuff with microcontrollers. Through developing the LaunchPad ecosystem, Adrian has had the pleasure of working and interacting with the online & maker community. Adrian lives in Dallas, TX with his better-half Ellen and pug Ollie.

Affiliations and Expertise

Texas Instruments, USA.

Dung Dang

Dung Dang is an applications engineer for Texas Instruments Microcontroller Group and holds an M.S.E.E from St. Mary’s University in San Antonio, Texas. Serving various roles in new product development, he is responsible for shaping new microcontroller definitions and using the products to realize and enable innovative applications. Dung has also defined and driven several microcontroller software solutions and development tools. Within the area of development tools, Dung started the work on the LaunchPad since its inception, created the very first BoosterPacks, and has since continued to develop and support the ecosystem surrounding this tool. Through this work, he has been privileged and fortunate to witness the excitement and the warm reception of the LaunchPad in the community. This inspires Dung to keep on making and contributing to this incredible and ever-growing community of makers. Dung lives in Dallas, TX with his wife Kacy, who lovingly puts up with his late nights, and Buck, a Border Collie who never fails to outsmart him.

Affiliations and Expertise

Texas Instruments, USA.