Difference between revisions of "Main Page"

From Mech
Jump to navigationJump to search
Line 50: Line 50:
*[[Debugging C on a PIC]]
*[[Debugging C on a PIC]]
<br>
<br>

<b>Interfacing and skeleton code for the PIC 18F4520</b><br>
<b>Interfacing and skeleton code for the PIC 18F4520</b><br>
<b>[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]</b>
<b>[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]</b>
Line 71: Line 70:
* [[C Example: Serial LCD|Text output to a serial LCD display]]
* [[C Example: Serial LCD|Text output to a serial LCD display]]
* [[C Example: Parallel Interfacing with LCDs|Text output to a parallel LCD display]]
* [[C Example: Parallel Interfacing with LCDs|Text output to a parallel LCD display]]
<br>


These will/should also have wiki pages for background and associated electronics:<br>
These will/should also have wiki pages for background and associated electronics:<br>
<b>[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]</b>
<b>[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]</b>
Line 89: Line 87:
* QuadratureHard - Quadrature decoder/counter in hardware for one arbitrarily fast encoder; Timers 0 and 1]
* QuadratureHard - Quadrature decoder/counter in hardware for one arbitrarily fast encoder; Timers 0 and 1]
<br>
<br>
Not fully available yet:<br>
<br>
Not fully available yet:
<b>[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]</b><br>
<b>[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]</b><br>
* AnalogOutputParallel - Analog output using 8 digital lines]
* AnalogOutputParallel - Analog output using 8 digital lines]
Line 104: Line 101:
* Capturing data to Matlab
* Capturing data to Matlab
* Running stepper motors
* Running stepper motors
<br>


<h3>PIC Microcontrollers</h3>
<h3>PIC Microcontrollers</h3>

Revision as of 15:00, 16 January 2008

The mechatronics design wiki provides reference material on the theory and applications of electronics, sensors, actuators, etc., for use in mechatronics-related research and projects. Practical applications often refer to equipment and supplies available in the Northwestern Mechatronics Design Lab.


Important: Please be sure to read the Rules for Using the Mechatronics Design Lab.




Design Competition 2008

Wiki pages on sensors, actuators, programming, and microcontrollers: start here
Electronics


Mechanical components


PIC 18F4520 prototyping board


Programming with CCS C


Interfacing and skeleton code for the PIC 18F4520
Link to all sample code here.


These will/should also have wiki pages for background and associated electronics:
Link to all sample code here.

  • DigitalIO - Digital input and output bit-by-bit or byte-by-byte]
  • AnalogInput - Reading up to twelve Analog Inputs]
  • Counter0 - Counting pulses with Timer0]
  • Counter1 - Counting pulses with Timer1]
  • MotorPWM - PWM outputs for torque control of one or two DC motors; Timer 2]
  • RS232com - Serial RS232 communication between PIC and a text window]
  • Interrupt0 - Periodic servo cycles using interrupt routines, 10mS & slower; Timer 0]
  • Interrupt2 - Periodic servo cycles using interrupt routines; 10mS & faster; Timer 2]
  • InterruptExternal - Interrupts generated by an external pulse]
  • RCservoSoft - PWM output in software for position control of up to five RC servos; Timer 3]
  • RCservoHard - PWM output in hardware for position control of up to two RC servos; Timer 2]
  • QuadratureSoft - Quadrature decoder/counter in software for arbitarily many encoders; 1KHz max]
  • QuadratureHard - Quadrature decoder/counter in hardware for one arbitrarily fast encoder; Timers 0 and 1]


Not fully available yet:
Link to all sample code here.

  • AnalogOutputParallel - Analog output using 8 digital lines]
  • AnalogOutputI2C - Analog output using I2C serial]
  • Printing to a serial LCD
  • Printing to a parallel LCD
  • PIC-to-PIC communication
  • Zigbee radio communication
  • Modulated IR communication
  • Strobing LEDs or IREDs for better range and immunity to background light
  • I2C communication
  • CAN bus
  • Capturing data to Matlab
  • Running stepper motors


PIC Microcontrollers


e-puck Mobile Robot


Basic Electronics


Analog and Digital chips


Sensors



Actuators


Mechanical Design

  • Mechanics of Materials
  • Failure Theories
    • Static Loading
    • Variable Loading and Fatigue
  • Fastening
    • Nuts and Bolts
    • Keys and Keyways
    • Press-fits
    • Set Screws
  • Support
  • Transmission
    • Rigid: Gears
    • Flexible: Belts, Chains
    • Motion Connection/Separation: Clutches, Brakes, Couplings
  • Linkages
    • Serial Chains
    • Parallel and Closed-Loop Chains
  • Other: springs/dampers, cams, etc.


The PC/104 Stack


xPC Target Real-Time Operating System


QNX Real-Time Operating System


Lab Supplies and Data Sheets


Vendors


Other Software


Other Lab Equipment


Course Material


Miscellaneous