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, architecture)/
2/11
2/16
  • Continue with PIC instrucitons.
 
2/18
2/23
  • In class (ICL-2) : Save CheckCarry code into your project directory - Find its errors (if any) and compile it.
  • Make sure you have completed ICL-1
2/25  
3/2
  • Package Types
  • Lab5 Discussion
  • Chapter 6 - See notes
3/4
  • Understanding software time delay - Getting your Demo Board to work!
 
3/9  
3/11 Midterm Up to ?? (no Tables) Midterm
  • Midterm Up to ????
  • Start Lab 5 - Getting your Demo Board to work!
  • Install Mouser Software!
3/16-18 Spring Break No Class  
3/23  
  • Submit and demostrate Lab 5
  • In class: Do the program in the slides. Answer the questions.
3/25
  • Chapter 9 - I/O Ports, Display devices, Input Devices
  • Simple LED blinking using a switch (SW.asm)
  • Sensors devices and actuators (analog and digital)
 
  • Article is due - submit through Piazza
  • In class: Read Program Example 9.5; Modify your LED Blinking program such that it stops blinking when the SW is pressed! ignore Lab 6 for now!
3/30 See the links below about C-Programing
  • Quiz - In class program
4/1
  • C- Programing - Continue
  • Chapter 9 - I/O Ports, Display devices, Input Devices - continue
YouTube: How to use the Stimulus in MPLAB X
  • In class: Write a C program to blink number 1 on your 7 segment.
  • Submit Lab 7 - Must demonstrate in class.
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
4/13     Submit Lab 8 - C Programing
4/15 Chapter 13 ( USART Interface. See your notes) / A practical guide to USART    
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.
  • Submit Lab 9 - ADC and Random Number Generation
4/22 Chapter 11 / WDT/Clocks / Reset    
4/27 Chapter 11 - Continue  
4/29  

  • Article is due - submit through Piazza
5/4     Final Lab is due....
**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