100 likes | 247 Views
Preliminary Design Review Week 7. THE DUKES OF HAZARD CAMILLE LEGAULT, NEIL KENNEDY, OMAR ROJAS, FERNANDO QUIJANO, AND JIMMY BUFFI February 28, 2008. Previous Week Action Items. Work on Engineering Feasibility Studies Using models and experiments Using information from research.
E N D
Preliminary Design ReviewWeek 7 THE DUKES OF HAZARD CAMILLE LEGAULT, NEIL KENNEDY, OMAR ROJAS, FERNANDO QUIJANO, AND JIMMY BUFFI February 28, 2008
Previous Week Action Items • Work on Engineering Feasibility Studies • Using models and experiments • Using information from research
Previous Week Ctd. • Initialize interfacing tasks • Write program to fully interact with RC car. • Develop a circuit board that will allow interfacing between microprocessor and RC vehicle.
Logic of Program • Program designed to output three PWM signals using a single timer that interrupts at 0. • Main Program • Initialize output bits. • Turn on interrupts. • Clear interrupt flag. • Turn on counter. • Set signal low. • Set values for speed, wheel angle, and arm angle. • Assign longest value as c • Assign second as b. • Assign shortest as a. Interrupt when counter reaches 0. Were all outputs low? Set all outputs signals high and load counter with a. Was counter = -a? Drop shortest signal, load counter with –(b – a). Was counter = -(b – a)? Drop middle output signal, load counter with –(c – b). Drop longest signal, load counter with –(total – c).
Next Weeks Action Items • SPRING BREAK!!!
Next Week Ctd. • Ordering parts and materials • Based on result from trade studies • Test GPS system for accuracy • Comparing a known path to path generated by GPS