Download presentation
Presentation is loading. Please wait.
1
01/21/2004Campo and Fournier1 Pedal Mania -a pedal power generation system- Melanie Campo and Mandi Fournier
2
01/21/2004Campo and Fournier2 Background Around the world pedal power is used for: Transportation – of goods and people Pumping Water – to crops or animals Grinding Grains or Metals Sewing Machines Power Generation
3
01/21/2004Campo and Fournier3 Problem To develop a portable educational tool that allows first hand experience of power production to operate standard AC and DC devices.
4
01/21/2004Campo and Fournier4 Solution Using: A Bike - for power generation Generator - for electrical generation Microprocessor – to make displays work Displays – to educate the users and observers A cart – to make this system portable
5
01/21/2004Campo and Fournier5 Software Overview
6
01/21/2004Campo and Fournier6 Software Check voltage being produced (A/D) Light up display for different levels Off L1 L2 L3 L4 L5
7
01/21/2004Campo and Fournier7 C and Assembly Programming C Programming -use case statements -check of the 6 possibilities Assembly Programming -configure the ports of the HC08 -enable timers and other elements
8
01/21/2004Campo and Fournier8 Program Based on a template used in a lab C and Assembly programming Base on the programming used for state machines in Control Systems.
9
01/21/2004Campo and Fournier9 Example of Case Statement case 0://Level 1 reached LED1on();// LED1 on LED2off();//all other LEDs off LED3off(); LED4off(); LED5off(); break;
10
01/21/2004Campo and Fournier10 Assembly function called from C XDEF ConfigurePorts XDEF ConfigureTimer XDEF ConfigureIRQ XDEF LED1on XDEF LED1off
11
01/21/2004Campo and Fournier11 How a Port will be Set LED1on: bset0,PORTA rts; LED1off: bclr0,PORTA rts
12
01/21/2004Campo and Fournier12 Questions
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.