Presentation is loading. Please wait.

Presentation is loading. Please wait.

16-08-111 Microprocessors A practical approach.. 16-08-112 Subjects Goals for this module Results Subjects of the module Plans Questions.

Similar presentations


Presentation on theme: "16-08-111 Microprocessors A practical approach.. 16-08-112 Subjects Goals for this module Results Subjects of the module Plans Questions."— Presentation transcript:

1 16-08-111 Microprocessors A practical approach.

2 16-08-112 Subjects Goals for this module Results Subjects of the module Plans Questions

3 16-08-113 Goals Students are able to build, program and document a little microcontroller system. microcontrollers sensors /actuators

4 16-08-114 The practice is obligatory Attending the practical lessons is obligatory. Not possible to attend the practice? contact dhr Stokkink Failing to attend more then 2 practical lessons, there will be no grade! During the practical lessons the logbook will be assessed

5 16-08-115 Assessment The logbook will be looked at as an assessment Home-orders will be assessed sufficient or insufficient. All home-orders must be sufficient in the end.

6 16-08-116 Responsibilities The student is responsible for the hard-en software, there are more groups who must use it. Defects must be reported immediately.

7 16-08-117 Subjects. Architecture PIC16F690 Hardware /software practical Delays / Flash led / Digital input /counters Analogue input/ analogue sensors PWM/ motorcontrol Other processes

8 16-08-118 Subjects week 1 Architecture. PIC16F690 and PIC family Features Pin out Device overview Memory organisation Clock sources Digital Output

9 16-08-119 Pic Family 8 /16 bits microcontrollers Flash OTP ROM/Romless 0.5k – 256k memory size 6-100 pins PIC 10, PIC 12, PIC 16, PIC18, PIC24, PIC32 families RfPic en Dspic30 DSPIC33 families Info: www.microchip.comwww.microchip.com

10 16-08-1110

11 16-08-1111 PIC16 F690 35 instructions Single-cycle DC-20 Mhz clock Dc-200ns instruction cycle 8 –level deep stack Direct indirect relative addressing

12 16-08-1112 PIC16F690 Peripheral Features 17 I/O pins Analogue comparators 10 bit ADC / 12 channels 3 timers 8/16 bits 10 bit PWM max 20kHz Serial Port SPI and I2C USART module (RS232 RS485) 4k Flash words Program memory 256 bytes SRAM / 256 bytes EEPROM

13 16-08-11 13 Pinout PIC16F690

14 16-08-1114 Device overview

15 16-08-1115 Memory organisation Program

16 16-08-1116 Memory organisation Data

17 16-08-1117 Clock sources Study microchip technical training:Oscillators

18 16-08-11 18 Digital input/output

19 16-08-1119 Digital pin configuration and on/off void DS1(void) { PORTC=0; //reset PORTC latches TRISC=0b11110000; //RC0-RC3 //output else High impedance PORTC.0=1; //RC0 High }

20 16-08-1120 Practical Each week an introductory assignment At the beginning of the week the home assignment must be shown on the test board. Is must be through a flowchart and the program in your logbook. Software is free at www.microchip.com enwww.microchip.com http://www.bknd.com/cc5x/ Download datasheets and bring them to the lessons. Assignments can be found at http://lesmateriaal.saxion.nl/stk http://lesmateriaal.saxion.nl/stk

21 16-08-1121 Assignment 1 Install MPLAB Installing CC5x c-compiler Questions, assignments Example program Simulation Test

22 16-08-1122 MPLAB IDE

23 16-08-1123 Home assignment 1 Connect a LED and resistor to RC4- RC7 and test each LED with a program Make a program and simulate, that has a function to give a value 0-255 to the LED’s


Download ppt "16-08-111 Microprocessors A practical approach.. 16-08-112 Subjects Goals for this module Results Subjects of the module Plans Questions."

Similar presentations


Ads by Google