Microcontrollers misis 2017. Applications презентация

Applications

Слайд 1INTRODUCTION TO THE WORLD OF MICROCONTROLLERS
Lecture 1
MICROCONTROLLERS

MISiS 2017

Слайд 2Applications








Слайд 3Microcontroller =
CPU + ADC + RAM + ROM + OSC

+ DAC + EEPROM + SPI + I2C + UART + Vregulator

Microcontroller ≠ Microprocessor


Слайд 4NUMBERS


Слайд 5AND Gate

OR GATE NOT GATE EXCLUSIVE OR

Operators Gate

Binary multiplication Binary addition Binary inverted EXCLUSIVE OR



Слайд 6Operators C++


Слайд 7The block diagram
of the PIC16 microcontroller


Слайд 8HARVARD ARCHITECTURE


Слайд 9Pin numbers PIC16F877and functions


Слайд 10OSCILLATOR


Слайд 11Watch Dog Timer


Слайд 12A/D CONVERTER (12bit)


Слайд 13Hardware and firmware


Слайд 14Example 1
Read port and write port (GPIO) LEDs and buttons

Steps

Looking for MK, read PDF.
Make up the schematic circuit diagram
Do the device under the scheme
Draw the block diagram of the program
Write the code on the block diagram
Programmable


Слайд 15Make up the schematic circuit diagram


Слайд 16Do the device under the scheme


Слайд 17Draw the block diagram of the program


Слайд 18Write the code on the block diagram
#include // plug-in headers

(libraries and files) __CONFIG(0x03F72); // configurable MK
void main(void) //Start program
{
TRISА<1>=1; // select bit port input
// оr so: TRISA=0b111111; //выход-0 вход-1
TRISB=0; //select bit port output
PORTB=0; //source data entry in the registers of the port
// оr so: RB0 = 0; // source data entry in the registers of the port

while(1) // infinite loop
{
 
if (RA1==1)
RB0=1; //Yes
else RB0=0; //No
}
}


Обратная связь

Если не удалось найти и скачать презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое ThePresentation.ru?

Это сайт презентаций, докладов, проектов, шаблонов в формате PowerPoint. Мы помогаем школьникам, студентам, учителям, преподавателям хранить и обмениваться учебными материалами с другими пользователями.


Для правообладателей

Яндекс.Метрика