ME430 MECHATRONICS -- Fall 2010-2011


Lab Topic
1 PIC and LED
2 Transistors, H-Bridges, and Motors
   Datasheets
3 Using PICs with the PICDEM 2 board using 18F4520 (datasheet)
    Part A)  Variable Manipulation
    Part B)  Light Countdown
    Part C)  Playing music on the buzzer
4 Using PICs with the PICDEM 2 board using 18F4520 (datasheet)
    Part A)  Internal Oscillator changes
    Part B)  Using the pushbuttons to control LEDs
    Part C)  Using the pushbuttons to control LEDs
    Part D)  LCD main source file
                       LCD source file
                       LCD header file
If you get stuck trying to read the LCD header file, here is an example of using the LCD module (try reading the LCD header file comments first):
    Example LCD Usage source file
ADC Library functions, moving off the PICDEM board, and Stepper Motors
    Part A) Learning to use the ADC
    Part B) Using Interrupts with the LCD age program
    Part C) Stepper motor code to modify
5 Preparing for the line following robot
6 Line following robot
   Demo video
7/8 UART Communication
   UART LCD Messages.c
   openSerial.m
   openSerialWithHandles.m
   picdemGUI.pdf
9 PLC projects