4.4.1 Application
4.4.1 Application
A Microcontroller is used to process the raw data obtained from the Load Cell and the Accelerometer. An algorithm is created to process the data being input and produce the desired information to be transmitted via the wireless receiver to another microcontroller on the operator end. The other microcontroller is used to process the received data where an algorithm for displaying a light show to exaggerate the ride motion, to warn the operator if the rider is not seated and to display the processed data to the LCD display is produced. The main purpose of a microcontroller is to be able to control a process using many different sensors quickly and accurately. An electronic sensor is a device that measures a physical quantity and converts it into an electrical signal that can be processed or read by another electronic instrument.Component Selection
The Microprocessor used for this design is the PIC24FJ128GA010 microcontroller from Microchip. This type of microcontroller is very versatile with 86 I/O pins and a CPU speed of 16 MIPS. The PIC microcontrollers are the industry standard and are inexpensive, low voltage and robust solutions to complicated algorithms and heavy processing.Figure 4.4.1
This particular model has 16 channels of 10-bit analog to digital converters with five 16-bit timers and 5 Input and 5 output captures all with dedicated timers. This processor is chosen because it's very versatile and has the flexibility to be a perfect prototyping tool. A final model of this design would not require such a powerful microcontroller. Table 4.4.1 is a further break down of its specifications.
Table 4.4. 1
Architecture
|
16-Bit
|
CPU SPEED (MIPS)
|
16
|
Memory Type
|
Flash
|
Program Mem.
|
128 KB
|
RAM Bytes
|
8,192
|
Temperature Rating 0C
|
-40 to 85
|
Operating Voltage Range
|
2-3.6V
|
I/O Pins
|
85
|
Pin Count
|
100
|
System Management
|
BOR
|
POR
|
Yes
|
WDT
|
Yes
|
Internal Oscillator
|
8MHz, 32kHz
|
Codec Interface
|
NO
|
Digital Comm. Peripherals
|
2- UART
2-SPI
2-I2C
|
Analog Peripherals
|
1-A/D 16x10-bit (500 ksps)
|
OP-Amp
|
NO
|
Comparators
|
2
|
Capture/Compare/PWM
|
5/5
|
PWM Resolution
|
16 bits
|
Timers
|
5x16-bit
|
Parallel Port
|
PMP
|
Hardware RTCC
|
Yes
|
Nanowatt Features
|
Fast Wake / Fast Control
|
0 comments:
Post a Comment