Labs
All labs are subject to the lab policy. (Read This First)
Lab TAs:
Section 03 (Tuesday 3:30 PM - 6:20 PM): Peter Loux <prl83@msstate.edu>and Nitish Patil <nbp88@msstate.edu>
Section 04 (Wednesday 3:30 PM - 6:20 PM): Peter Loux <prl83@msstate.edu>and Kishor Joshi <kj1377@msstate.edu>
Section 05 (Thursday 3:30 PM - 6:20 PM): Kishor Joshi <kj1377@msstate.edu> and Nitish Patil <nbp88@msstate.edu>
Section 06 (Thursday 6:30 PM - 9:20 PM): Peter Loux <prl83@msstate.edu>and Tyler May <tcm313@msstate.edu>
Section 07 (Tuesday 6:30 PM - 9:20 PM): Kishor Joshi <kj1377@msstate.edu>
Electronic Lab Submission
All lab reports must be submitted electronically via Canvas by attaching a PDF file. Other formats (docx, zip, etc.) will not be accepted. You must also submit your source code as separate files - see the reporting requirements of each lab for details.
Labs - Spring 2024
Lab 0: Software Installation - Jan 23-25. No lab report.
Lab 1: Number Sequencing Computer - Jan 30 - Feb 1. Reports due Feb 6-8.
Lab 2: MPLAB Introduction - Feb 6-8. Reports due Feb 13-15.
Lab 3: 8/16 Bit Assembly Language Programming - Feb 13-15. Reports due Feb 20-22.
Lab 4: 16/32-Bit, Signed Numbers Assembly Language Programming - Feb 20-22. Reports due Feb 27-29.
Lab 5: Pointers, Subroutines - Feb 27-29. Reports due Mar 19-21.
Lab 6: PIC24 System Startup - Mar 19-21. Reports due Mar 26-28.
Lab 7: LED/Switch I/O - Mar 26-28. Reports due Apr 2-4.
Lab 8: Interrupts and Timers - Apr 2-4. Reports due Apr 9-11.
Lab 9: Async IO and I2C - Apr 9-11. Reports due Apr 23-25.
Lab Practicum - April 16-18. No lab report.
Lab 10: ADC, DAC experiments - April 23-25. Reports due Apr 30 - May2
Troubleshooting
This link will contain common problems seen in labs as an aid for debugging.
During this lab, you will build up a single board microprocessor system based on the dsPIC33EP128GP502. The first hardware experiment is #6; in addition to the parts kit supplied as a part of this course, you will need to purchase or reuse the protoboard that you used in Digital Devices (ECE 3714). This protoboard will be needed on a continuing basis starting with Experiment #6, with the circuit remaining on the protoboard between experiments. If you are taking another lab course that requires a protoboard, then you will need to purchase a second protoboard.
You may purchase a used part kit from a previous semester from a student, but it is your responsibility to ensure that it is complete and the parts functioning. However, you may not use a pre-assembled protoboard. If you show up for the first hardware lab with more connections than needed for that lab, you will be asked by the TA to remove those connections. Part of the learning experience of this lab is to bring a microprocessor system to life from scratch, and using a pre-assembled protoboard from a previous semester defeats this purpose.
Computer
You must have a computer that meets the requirements of the Bagley College of Engineering.
Breadboard
The parts kit does not contain a breadboard; you will need an unpowered breadboard that has at least two rows on it, power/ground strips, and a baseplate with power posts.. The first one is what you want. The second one is too little.
Multimeter
Your meter should be able to measure voltage, current, and resistance. Capacitance measurement capability is helpful to check parts. Alligator clip or gripper type leads are also helpful.
Wire
#22 gauge solid wire, or you can use precut lengths like these:
Wire cutter / wire stripper
Recommended Parts (all students)
Small pair of needlenose pliers
Jumper wires
IC Chip Extractor
Distance Students Only
PIC programmer
Before the PIC can be used for labs, it needs to be programmed with the serial bootloader firmware. This is done during Lab 6 by a TA. However, online students will need to purchase a PICkit3 programmer as shown below.
Make sure it comes with a USB cable and a ribbon cable. The socket (lower left) is not necessary.
Parts Kits
On-campus students receive a parts kit during Lab 5, which contains the following items:
Spring 2024
Distance Students will need to purchase their parts individually. Below are explanations of each item from the above list. Links are not endorsements, nor are they necessarily the cheapest source of each part - they are used for illustrative purposes only. Some possible online sources for parts include Amazon, eBay, Mouser, Digikey, Jameco, and Electronix Express. Be sure to purchase through-hole parts that will fit on a breadboard (as opposed to surface mount).
LM2937ET-3.3
Voltage Regulator
https://www.digikey.com/en/products/detail/texas-instruments/LM2937ET-3-3-NOPB/363870
MAX548ACP
8 pin IC DAC
https://www.digikey.com/en/products/detail/analog-devices-inc-maxim-integrated/MAX548ACPA/1089597
LEDs
https://www.amazon.com/DiCUNO-450pcs-Colors-Emitting-Assorted/dp/B073QMYKDM/
24FC512 Serial EEPROM
https://www.mouser.com/c/semiconductors/memory-ics/eeprom/?package%20%2F%20case=DIP-8
dsPIC33EP128GP502
"The PIC." 28 pin IC. Recommend to purchase 2-3.
https://www.digikey.com/en/products/detail/microchip-technology/DSPIC33EP128GP502-I-SP/3671401
LM60
Temperature Sensor
https://www.mouser.com/ProductDetail/Texas-Instruments/LM60BIZ-NOPB?qs=QbsRYf82W3E2dWe17jzJDg%3D%3D
Resistors
https://www.amazon.com/BOJACK-Resistor-Ohm-5-6M-Resistors-Assortment/dp/B07P3MFG5D/
10 K Potentiometer
https://www.circuitspecialists.com/10k-ohm-cermet-potentiometer
0.1 uF - 10 uF Ceramic Capacitors
https://www.amazon.com/EEEEE-Multilayer-Monolithic-assortment-Individual/dp/B094HRK8QX/
47 uF 50V Electrolytic Capacitor
https://www.amazon.com/Projects-Radial-Electrolytic-Capacitor-47uF/dp/B07YDYBR2W/
Pushbuttons Momentary ON
https://www.elexp.com/products/switch-mom-pushbtn-on?variant=43266201911524
Slide Switches
https://www.elexp.com/products/17sldh251switch-slide-spdt-breadboard
PTC Fuse 500 mA
Recommend to buy 2-3 of these as well
https://www.digikey.com/en/products/detail/littelfuse-inc/RXEF025/5015987
Wall Transformer
5 V, 500 mA, not required (PIC can be powered via USB).
Power Connector
To convey power from the wall transformer to the breadboard. Not required.
6 Position Right Angle Header 0.1"/2.54 mm pitch
https://shop.evilmadscientist.com/productsmenu/partsmenu/292
Can buy longer header if it's breakable into smaller sections. Can also use straight header if necessary