Skip to content

GigaMatt/msp430-blinky-buzzy-toy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 2: Blinky-Buzzy on MSP430 Microcontroller

Overview

The objective for this second lab is to use the MSP430 Microcontroller and our creativity to design a toy. Each MSP430 board is equipped with buttons, LED's, a speaker, and an LED screen. Utilizing these features and your knowledge of I/O, develop a program to turn the board into a toy.

Woman-Yelling-At-Cat

This toy will:

  1. Generate sounds.
  2. Dynamically change the LEDs that are illuminated, both brighly and dimmly.
  3. Implement a state machine to maintain the state of the toy.
  4. Use the four buttons on the expansion board (P2.0-3) to transition the state machine.

How To Compile/Run

  1. Using the SystemsVM Virtual Machine,
    a. Navigate to /project/timerLib/
    b. Enter the command make
    c. Navigate to /project/src/
    d. Connect the MSP430 Microcontroller to your computer
    e. Enter the command make load
  2. Feel free to mess around with the switches to hear different noises & trigger various LEDs.

Dependancies

  1. The 2019 version of the SystemsVM Virtual Machine provided by UTEP CS 3432
  2. MSP-EXP430G2ET Hardware