Dr. Farid Farahmand: Sonoma State University

ES 310: Microprocessors and System Design
Instructor: Dr. Farid Farahmand
Spring 2015

    Lecture/Lab: Mon. & Wed. 2:00-4:30 pm
    Office Hours: click here
    Office: Salazar 2010
    Phone: (707) 664-3491
    Email: farid dot farahmand at sonoma dot edu

Course Description: The primary goal of this course is to give you the fundamental skills needed to understand, use, and design microcontroller-based systems. This includes the following: (1) What is a microcontroller? (2) What can it do (and not do)? (3) How does one design (and program) a microcontroller-based system? The course focuses on 8-bit PIC architecture. You will be using PIC18F46J50 chip.

 

Lecture Topics and Schedule
Day Lecture Reading Material Assignment/Activity Due
1/21 Read the syllabus carefully Start Reading Chapter 1;  
1/26

Sign up for ES 310 Download Piazza - Piazza app is available for smartphone / Bring a folder with your name on it! / Make sure you order the Textbooks / Submit Statement of Ethics / Review the web page!

Make sure you have the following:

  1. A writable CD
  2. A Folder for all the assignments.
  3. Arrange to have your own LAPTOP; Apple owners may experience extra challanges!
1/28
2/2
  • Chapter 2 / Architecture, Opcodes, Memory Structure, ALU, Stack and Pointers, PIC Controllers, IDE Simulator
2/4  
  • Read Appendix F - Complete up to F.1.5 - Must show blinking LED!
  • Quiz ( Basic material: Engineering Notations, Chapter 1, architecture, Eng. Notations, Microcontrollers)/
2/9
  • Quiz (addition or 2's complement, number conversions, Chapter 2)/
  • Lab 1 - Learn about PIC - Learning about PIC architecture and the simulator.
2/11
  • In class: Start Practice Lab A & B Practicing pointer values and registers.
  • Article is due - submit through Piazza
2/10
2/12

 

In Direct Addressing Examples, Memory Management
  • In class: Save CheckCarry code into your project directory - Find its errors (if any) and compile it.
2/16
2/18    
2/23 More on loops and assembly commands (chapter 5)  
  • Quiz /
  • Submit Lab 4 (Parts III) / Use the check list
2/25 Understanding software time delay - Getting your Demo Board to work!  
  • Article is due - submit through Piazza
  • Start Lab 5 - Getting your Demo Board to work!
**3/2 Midterm Up to chapter 8 (no Tables) Midterm Midterm Up to chapter 8 (no Table
3/4
  • Package Types
  • Lab5 Discussion
  • Chapter 6 - See notes
  • Quiz /
  • Complete Lab 5 - Submit the lab; make sure you answer all the Pre-Lab questions.
  • In class: Finding the Max.
3/9   In class: Taking the Average
3/11   Nothing due!
3/16-18 Spring Break No Class No Class
3/23
  • Chapter 9 - I/O Ports, Display devices, Input Devices
  • Sensors devices and actuators (analog and digital)
 
  • Submit Lab 6 - Must demonstrate in class!
  • In class: Read Program Example 9.5; Modify your LED Blinking program such that it stops blinking when the SW is pressed!
3/25 See the links below about C-Programing
  • Article is due - submit through Piazza
3/30      
4/1 C- Programing - Continue YouTube: How to use the Stimulus in MPLAB X
  • Submit Lab 7 - Must demonstrate in class.
  • Start Lab 8 - C Programing
4/6 Chapter 10 - Interrupts in PIC
Summary of Interrupt Registers in PIC  
4/8 Chapter 12 - Analog to Digital Converters / Opamps / Digital to Analog converters/ Quiz / Submit Lab 8 - C Programing
4/13 NO CLASS NO CLASS NO CLASS
4/15 Chapter 13 ( USART Interface. See your notes) / A practical guide to USART   Submit Lab 9 - ADC and Random Number Generation
4/20

Chapter 13 ( SPI and I2C Interfaces. See your notes) /SPI & I2C Interface

  Submit an abstract for your project Read Course Syllabus for more information about the abstract for final project.
4/22 Chapter 11 / WDT/Clocks / Reset   Quiz / Submit Lab 10 - C Programing
4/27 Chapter 11 - Continue   Review your CD - make sure you have everything!
4/29  

  • Article is due - submit through Piazza
5/4      
**5/6 Project Presentation - Review/ Read the Course Syllabus Carefully for Project Guidelines POST your slides on (something like) a tri-folding board. You can buy a hard board and turn it into a tri-folding board (buy one from Dollar Store for $1  
**5/11 Final Exam / Submit class evaluation form / / Submit your final CD / No late submisison is allowed.   In order to be able to take the final exam you are required to bring a snapshot of your Moodle indicating that you have completed the class evaluations.


Support Documents, Resources, and Links
Lecture Related ((supplementary material):) General

Chapter 1:

Chapter 2------------------------

C- Programing ------------------------

 

Tools & Software:

Important Background Information

 

Link to previous versions of this class (ABET):

  1. Spring 2015 - Using PIC DEMO Board / MPLAB & C18 Compiler / PicKit2 / Chip Kit / More advanced sensros were used
  2. Spring 2014 - Using PIC DEMO Board / MPLAB & C18 Compiler / PicKit2 / Chip Kit
  3. Spring 2012 - Using PIC DEMO Board / MPLAB & C18 Compiler / PicKit2
  4. Spring 2010 - Using PIC DEMO Board / MPLAB & C18 Compiler / PicKit2
  5. Spring 2009 - Using PIC DEMO Board / MPLAB & C18 Compiler ()/ PicKit2