MPS CAN Lab Exercise Controller Area Network Student's name & ID (1): ___________________________________________________ Partner's na
Using LabVIEW 2011 Overview LabVIEW has two main views, the block diagram and the front panel. The front panel can be thought of as the graphical
that makes the most sense to display the given data must be chosen. Again, choices can be made based on the data dictionary. Figure 8 shows the block
Hardware Setup (PARTS II & III) The following is a detailed description of device hardware setup. Please follow steps in order to ensure proper de
Figure 11: NI USB Connection with CAN MCU 4) The 8051 development boards need to be plugged into the control and meter box modules to ensure the
speed. This example uses P3 but users may choose to use a different port. The 10 pin connector (on P3) reads in values as follows (all are active low
1. Not Used (UART0 TX) (P0.0) 2. Not Used (UART0 RX) (P0.1) 3. Temperature (PWM signal) (P0.2) 4. Not Used (P0.3) 5. Turn left signal
8) After All Modules have been connected properly, place the large plastic cover over the inner parts of the car. The plastic cover should ideally b
APPENDIX A: CAN Addresses Full documentation is available on the web at: http://www.rpi.edu/dept/ecse/mps/mps_handouts.html The CAN interface on the
Table 1: Car Controller Command Functions (& specifications for potentiometers outputs) Function Message ID Data Headlights 0x01 2 bytes: 0=Off 1
APPENDIX B: Module Pin-outs & Signal Scaling The C8051F040 development boards need to be plugged into the Control and Meter Modules to correctly
Controller Area Network This lab manual will detail the initial hardware setup for Lab 7. The following is a step by step processes needed to successf
APPENDIX C: Pseudo-Programming Example /* * Note that these examples do not include everything necessary for fully * working CAN. It is necessary t
APPENDIX D: RC Car CAN Arbitration IDs, Functions, and Value Ranges !"#$%"&'()"*+,%-.,/0'&1!21/&&&&
o NI-Tutorial-9759-en.pdf, NI-Tutorial-2862-en.pdf, NI-CAN Channel and Frame API - National Instruments.pdf, Which NI-CAN Frame API Functions
!!The final system configuration for this exercise will have two C8051F040 processor cards connected to the common CAN bus of the Car M
the NI_User_Manual file on the MPS web page for details on the procedure to install LabVIEW on your laptop. The studio desktops have the software inst
Figure 4: The CAN-viewer-MPS.vi front panel for monitoring and displaying CAN bus information. After becoming familiar with both of these VIs and th
Figure 5: A typical student-developed front panel for monitoring and displaying all CAN bus information from the RC car. Important Notes on the RC Ca
PART III - C Programming: Separate Control Module and Meter Module In this portion of the lab, write a simple program which will turn on
The C8051F040 still has a UART0 serial port for printing output or debugging information on a terminal. As in all MPS labs the port must be configure
Comments to this Manuals