Admin مدير المنتدى
عدد المساهمات : 18996 التقييم : 35494 تاريخ التسجيل : 01/07/2009 الدولة : مصر العمل : مدير منتدى هندسة الإنتاج والتصميم الميكانيكى
| موضوع: كورس ميكرو كنترولر - Micro-Controller Course الإثنين 31 أغسطس 2020, 11:31 pm | |
|
أخوانى فى الله أحضرت لكم كتاب كورس ميكرو كنترولر Microcontroller Course By Eng Ahmed Sheimy Interfacing Hardware and Software
و المحتوى كما يلي :
Table Of Contents 2.1- INTRODUCTION . 8 2.2- ARCHITECTURE OF 8-BIT PIC MICROCONTROLLER . 9 2.2.1- CPU 11 2.2.2- REGISTER . 11 2.2.3- Special Function REGISTERS . 11 2.2.4- INPUT / OUTPUT PORTS . 12 2.2.5- MEMORY UNIT . 12 2.2.6- INTERRUPT . 13 2.2.7-SERIAL COMMUNICATION 13 2.2.8- I2C (INTER INTEGRATED CIRCUIT) . 14 2.2.9- SPI (SERIAL PERIPHERAL INTERFACE BUS) 14 2.2.10- UART (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER) . 15 2.2.11-OSCILLATOR 15 2.2.12- POWER SUPPLY CIRCUIT 15 2.2.13- TIMERS . 16 2.2.14- COUNTERS . 16 2.2.15- WATCHDOG TIMER 16 2.2.16- A/D CONVERTER 17 2.3-SUMMARY .18 3.1-HOW THE PROGRAMMING IS DONE 19 3.2-YOUR FIRST MIKROC PROJECT .20Microcontroller Course Interfacing Hardware and Software Eng Ahmed Sheimy Tel:+201114110781 2 3.2.1-Create new Project . 20 3.2.2-Cuircuit . 20 3.2.2.1-ISIS Simulation Circuit .20 3.2.2.2-Practical Circuit 20 3.2.2.3-MikroC code 21 .ERROR! BOOKMARK NOT DEFINED. 3.3-C PROGRAMMING ESSENTIAL 22 3.3.1-Keywords 22 3.3.2-Types in C language 22 3.3.2.1-Arithmetic Types .22 3.3.3-Variables . 23 3.3.4-Constant . 24 3.3.5- Different between Variable and Const . 24 3.3.6-Number Representation . 25 3.3.6.1-Decimal .25 3.3.6.2-Binary 26 3.3.6.3-HexDecimal .26 3.3.6.4-Conversion Code – Chart 27 3.3.7- Special Char Format . 27 3.3.8-Strings . 29 3.3.9-Enumeration . 29 3.3.10-Arrays . 29 3.3.10.1-One-Dimensional ARRAY .30 3.3.10.2- Two-Dimensional ARRAY 30 3.3.11- Arithmetic Operators . 31 3.3.12- Relational Operators 32 3.3.13- Bitwise Operators 32 3.3.13.1-Bitwise AND (&) truth table 33 3.3.13.2- Bitwise OR (|) truth table .33 3.3.13.3- Bitwise exclusive OR (XOR ^) truth table .33Microcontroller Course Interfacing Hardware and Software Eng Ahmed Sheimy Tel:+201114110781 3 3.3.13.3- Bitwise complement (~) truth table .33 3.3.13.4- Bitwise Shift left (<<) 33 3.3.13.5- Bitwise Shift Right (>>) .33 3.3.14-Logical Operators 33 3.3.14.1- logical AND .34 3.3.14.1- logical OR .34 3.3.14.1- logical negation 35 3.3.15- Different between Bitwise Operators and Logical Operators . 36 3.3.16- Conditional Operator ? : . 36 3.3.17- Assignment Operators (=) 36 3.3.18-the different between (=) and (==) 37 3.3.19 - Sizeof Operator . 37 3.3.20 – Good Expression for working with variable and operator . 37 3.3.21- Statements 38 3.3.21.1 -Labeled Statements .38 3.3.21.2- Selection Statements .38 3.3.21.3-Iteration Statements (Loops) 41 3.3.21.4- Jump Statements .44 3.3.22-Preprocessor . 47 3.3.22.1-File Inclusion .47 3.3.22.2-Preprocessor Operators 48 3.4- SUMMARY. Table of Figures FIGURE 1 MICROCONTROLLER .8 FIGURE 2 ARCHITECTURE OF 8-BIT PIC MICROCONTROLLER .10 FIGURE 3 CPU .11 FIGURE 4 REGISTER .11 FIGURE 5 SPECIAL FUNCTION REGISTERS 12 FIGURE 6 INPUT / OUTPUT PORTS .12 FIGURE 7 MEMORY UNIT .13 FIGURE 8 SERIAL COMMUNICATION 13 FIGURE 9 I2C .14 FIGURE 10 SPI .14 FIGURE 11 OSCILLATOR 15 FIGURE 12 TIMERS 16 FIGURE 13 WATCHDOG TIMER 17 FIGURE 14 A/D CONVERTER 17 FIGURE 1 ISIS SIMULATION CIRCUIT 20 FIGURE 2 PRACTICAL CIRCUIT + POWE CIRCUIT 21 FIGURE 3 DECIMAL NUMBER .25 FIGURE 4 DECIMAL CONVERSION 25 FIGURE 5 BINARY CONVERSION .26 FIGURE 6 HEX CONVERSION .27 FIGURE 7 CONVERSION CODE – CHART .27 FIGURE 8 USING DIRECTIVE CIRCUIT 49Microcontroller Course Interfacing Hardware and Software Eng Ahmed Sheimy Tel:+201114110781 5 Table OF Tables TABLE 1 C KEYWORDS 22 TABLE 2 INTEGRAL TYPES 23 TABLE 3 FLOATING-POINT TYPES 23 TABLE 4 DIFRRENT BETWEEN VARIABLE AND CONST 24 TABLE 5 SPECHIAL CHAR FORMAT . 28 TABLE 6 ARITHMETIC OPERATORS . 31 TABLE 7 RELATIONAL OPERATORS . 32 TABLE 8 RELATIONAL OPERATORS EXAMPLES 32 TABLE 9 BITWISE OPERATORS 32 TABLE 10 BITWISE AND TRUTH TABLE . 33 TABLE 11 BITWISE OR (&) TRUTH TABLE 33 TABLE 12 BITWISE EXCLUSIVE OR (XOR ^) TRUTH TABLE . 33 TABLE 13 BITWISE COMPLEMENT (~) TRUTH TABLE . 33 TABLE 14 LOGICAL OPERATORS 34 TABLE 15 LOGICAL AND TRUTH TABLE . 34 TABLE 16 OGICAL AND EXAMPLE . 34 TABLE 17 OGICAL OR TRUTH TABLE . 34 TABLE 18 LOGICAL OR EXAMPLE . 35 TABLE 19 LOGICAL NEGATION TRUTH TABLE . 35 TABLE 20 OGICAL NEGATION EXAMPLE . 35 TABLE 21 DIFFERENT BETWEEN (=) AND (==) 37Microcontroller Course Interfacing Hardware and Software Eng Ahmed Sheimy Tel:+201114110781 6 Table Of Codes CODE 1 :FIRST PROJECT 21 CODE 2: DEFINING VARIABLE 23 CODE 3: INITIALIZE VARIABLE .24 CODE 4: CONSTANT .24 CODE 5: COMMON PROGRAMMING ERROR 1 .24 CODE 6: DECIMAL 25 CODE 7: BINARY 26 CODE 8: HEX 26 CODE 9: CHAR 27 CODE 10: /N CODE .28 CODE 11 : COMMON PROGRAMMING ERROR 2 28 CODE 12: SOLUTION OF COMMON PROGRAMMING ERROR 2 .28 CODE 13 : AT COMMAND EXAMPE .29 CODE 14 : STRING .29 CODE 15 : STRING FORMAT .29 CODE 16 : ENUMERATION .29 CODE 17 : DEFINE ARRAY .30 CODE 18: ARRAY EXAMPLE 30 CODE 19 : INITIALIZE ELEMENT .30 CODE 20 : GET DATA FROM ADDRESS .30 CODE 21 : DEFINE TWO-DIMENSIONAL ARRAY 30 CODE 22 : TWO DIMENSION ARRAY EXAMPLE 30 CODE 23 :LOGICAL AND CODE EXAMPLE 34 CODE 24 : LOGICAL OR CODE EXAMPLE 35 CODE 25 : LOGICAL NEGATION CODE EXAMPLE .35 CODE 26 :CONDITIONAL OPERATOR ? : 36 CODE 27 :CONDITIONAL OPERATOR ? : EXAMPLE 36 CODE 28 :ASSIGNMENT OPERATOR .36 CODE 29: SIZEOF OPERATOR EXAMPLES 37 CODE 30 : MORE ONE WAY TO DEFINE VARIABLE 38 CODE 31 : LABELED STATEMENTS IDENTIFIRE 38 CODE 32 :LABELED STATEMENTS EXAMPLE .38 CODE 33 : IF STATEMENT IDENTIFIRE .38 CODE 34 : IF STATEMENT EXAMPLE 38 CODE 35 :IF-ELSE STATEMENT IDENTIFIER .39 CODE 36 :IF-ELSE STATEMENT EXAMPLE .39 CODE 37 : NESTED IF STATEMENTS .39 CODE 38 : SWITCH STATEMENT IDENTIFIER 40 CODE 39 :SWITCH STATEMENT EXAMPLE 40 CODE 40 :SWITCH STATEMENT GOOD EXAMPLE .41 CODE 41 :WHILE STATEMENT 41 CODE 42 : WHILE STATEMENT EXAMPLE 42Microcontroller Course Interfacing Hardware and Software Eng Ahmed Sheimy Tel:+201114110781 7 CODE 43 : DO-WHILE STATEMENT 42 CODE 44 : DO-WHILE STATEMENT EXAMPLE .42 CODE 45 : FOR STATEMENT .43 CODE 46 : ENDLESS LOOP USING FOR .43 CODE 47 : FOR LOOP EXAMPLE .44 CODE 48 : TWO INITIAL CONDITIONS WITH FOR .44 CODE 49 : BREAK STATEMENT EXAMPLE .45 CODE 50 : CONTINUE STATEMENT EXAMPLE .45 CODE 51 : CONTINUE WITH WHILE .45 CODE 52 : CONTINUE WITH DO-WHILE 46 CODE 53 : CONTINUE WITH FOR .46 CODE 54 : GOTO STATEMENT EXAMPLE .46 CODE 55 :RETURN STATEMENT 47 CODE 56 : FILE INCLUSION .47 CODE 57 : FILE INCLUSION EXAMPLE .47 CODE 58 : DEFINE EXAMPLE 48 CODE 59 : OPERATOR ## 48 CODE 60 :DIRECTIVES #IF 48 CODE 61 : USING DIRECTIVE CODE
كلمة سر فك الضغط : books-world.net The Unzip Password : books-world.net أتمنى أن تستفيدوا من محتوى الموضوع وأن ينال إعجابكم رابط من موقع عالم الكتب لتنزيل كورس ميكرو كنترولر - Micro-Controller Course رابط مباشر لتنزيل كورس ميكرو كنترولر - Micro-Controller Course
|
|