30.01.2015 Views

PFR - Aerospace Engineering Sciences Senior Design Projects ...

PFR - Aerospace Engineering Sciences Senior Design Projects ...

PFR - Aerospace Engineering Sciences Senior Design Projects ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Project Final Report – CUDBF April 30 th , 2009<br />

ASEN 4028: <strong>Aerospace</strong> <strong>Senior</strong> <strong>Projects</strong><br />

The board features a PIC18F2553 microcontroller, which has one compare, capture, and PWM<br />

(CCP) pin. The CCP pin is used to read in the PWM signal from the receiver. Due to the fact<br />

that the board only had one CCP pin, only one signal could be read from the transmitter, thus the<br />

board was used for proof-of concept. In order to read all of the required incoming signals, a<br />

multiplexer chip was implemented. On the board there are digital input/output pins that can be<br />

set high or low in software and the state of these pins can be read into the multiplexer chip with<br />

the corresponding signal from the transmitter. In other words, each signal (rudder, elevator,<br />

aileron, and switch) will be one of the inputs into the multiplexer and the digital I/O pins will be<br />

the other input. The output of the multiplexing chip is then connected to the CCP pin and<br />

depending what the PWM signal is the desired servo will be controlled. Table 22 illustrates how<br />

the output of the multiplexer is determined and Figure 83 illustrates how everything is wired.<br />

Table 22: Determination of output from multiplexer<br />

A (I/O Pin) B (I/O Pin) Switch Aileron Elevator Rudder Output<br />

L L L X X X L<br />

L L H X X X H<br />

L H X L X X L<br />

L H X H X X H<br />

H L X X L X L<br />

H L X X H X H<br />

H H X X X L L<br />

H H X X X H H<br />

Figure 83: Wiring Diagram<br />

The power distribution board on the diagram illustrates that the PWM signal outputted by the<br />

microcontroller cannot power the servos; a 5 V battery must be used to provide power to the<br />

106

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!