Specifications
82
Composer is based off a very popular, open-source development environment
called Eclipse. Computer Science courses at the University of Central Florida
make heavy use of Eclipse in their classes, as it is widely considered one of the
most versatile software development environments available today. That being
so, the look and feel of the software was very familiar, and made development
more comfortable.
Figure 3.2.3-2 shows an example of the Code Composer Studio development
environment with a small section of the initialization code for the Voog Handheld
Breathalyzer. Based upon developer familiarity, the C programming language
has been chosen for the full software implementation of the hand held unit and
automobile control box. Where necessary, inline assembly instructions can be
used to conduct certain mathematical and system operations, however this will
be kept to a minimum where possible.
Figure 3.2.3-2 Code Composer Studio v4. with example C-code
3.2.4 Analog Sensing
Integrated into the MSP430 microcontroller is a 10-bit analog-to-digital
conversion unit, which will convert a time-continuous analog voltage signal into a
discrete digital value. The 10-bit value is a description of the ADC resolution,
which is an indication of how many discrete levels of measurement can be
produced. An N-bit resolution ADC can output 2
N
discrete levels of digital voltage,
which can be described as a signed integer between (–2
N
/2) to (2
N
/2) -1, or an
unsigned integer between 0 and 2
N
. The range of voltage that the ADC can










