Projects

MSP430 Embedded Labs: Timers, UART and a Sonar Scanner

C and assembly on a TI MSP430F5529: timers, PWM, UART, ADC, interrupts and an ultrasonic sonar scanner.

Type

Real hardware

Context

University of Alicante, Embedded Processors coursework

Period

2020-21

Stack

C · MSP430 assembly · MSP430F5529 · TimerA PWM · ADC12 · UART

Area

[Embedded & sensors]

Team project (labs 3 and 4).

Media

What was built

    Four lab sessions. First LED timing from measured cycle counts, then MSP430 assembly, then TimerA PWM servo control and UART output. The last is a sonar scanner with button interrupts and debouncing, ultrasonic ranging and the on-chip temperature sensor on ADC12. A state machine with off, sweep and alarm states sweeps a servo and raises an alarm below 15 cm.

    Facts

    ItemValue
    Alarm distance15 cm

    No public repository for this project.