Microcontrollers

General

Educational goals

The purpose of the course is to acquire an ability in the develpment of applications with the use of microcontollers, in particular with the use of the microcontoler PIC18F4550. The programming language used is the Assembly and a development board is used to test the programmes. Also the simulation program Proteus is used.

  • To import and export data with the use of the microcontroller parallel ports
  • To move data between different positions of the data memory
  • To write delay routines in Assembly language with the repetition of commands
  • To write External Interrupt Service routines (INT0, INT1, INT2, Rb)
  • To create applications with Timers Interrupt Service Routines (Timer0, Timer1, Timer2, Timer3)
  • To write delay routines using Timer Interrupt Service Routines
  • To develop applications using the timer modules, e,g. the PWM module
  • To drive seven segment displays by using multiplexing
  • To drive several types of LCD displays
  • To develop routines that read several types of keypads, e.g. 4x4 keypad
  • To write routines that are used in driving step and servo motors
  • To use the internal EEPROM and to expand the memory by connecting external EEPROM
  • To connect exernal ICs in order to expand the inputs and outputs of the microcontroller
  • To use look up tables
  • To connect the microcontroller to several peripherals using serial protocols, like I2C, SPI, one wire e.t.c.
  • To use the PIC development tools for writng programmes and debugging in Assembly language
  • To use the USB port in order to connect with other modules
  • To compare different types of data transfer
  • To measure the speed of different data transfers
  • To simulate with the Proteus simulation programme applications with microcontrollers
  • To design systems involving many microcontrollers
  • Evaluate different microcontroller systems
General Skills
  • Analysis and synthesis of information
  • Decision making
  • Autonomus work
  • Group work
  • Critic and self critic
  • Free creative thinking
  • Evaluation of microcontrollers in industrial applications

Course Contents

Intoducton to microcontrollers and to Assembly language.
Internal structure of PIC18F4550 microcontroller.
Memory organization of PIC18F4550 microcontroller.
Arithmetic and logic functions.
Internal and external Interrupts.
Timer systems.
Seven segment display driving.
LCD driving.
Keypad control.
Step motor driving.
Use of internal and external EEPROM.
Use of data tables.

Teaching Methods - Evaluation

Teaching Method
  • Face to face theoritical teaching
Use of ICT means
  • Teaching in a classroom, Power point, Internet.
Teaching Organization
Activity Semester workload
Lectures100
Writing and presenting compulsory work
Individual study and analysis of literature80
Total 180
Students evaluation

One final exam.

Recommended Bibliography

Recommended Bibliography through "Eudoxus"
  1. Αλατσαθιανός Σ., Εισαγωγή στους Μικροελεγκτές PICmicro, ΤΣΟΤΡΑΣ ΑΝ ΑΘΑΝΑΣΙΟΣ, 2η/2017, 978-618-5309-16-9, 68405485
  2. Μπουλταδάκης Στυλιανός, Πατουλίδης Γεώργιος, Κωνσταντινίδης Ευδόκιμος, Ασημόπουλος Νικόλαος, Προγραμματισμός Μικροελεγκτών για Μηχανικούς, ΕΚΔΟΣΕΙΣ Α. ΤΖΙΟΛΑ & ΥΙΟΙ Α.Ε., 1η /2010, 978-960-418-291-6, 18548844
  3. Πεκμεστζή Κιαμάλ, Συστήματα Μικροϋπολογιστών, ΤΟΜΟΣ ΙΙ: Μικροελεγκτές AVR και PIC, Σ.ΑΘΑΝΑΣΟΠΟΥΛΟΣ & ΣΙΑ Ο.Ε., 1η έκδ./2009, 978-960-266-269-4, 45471
  4. ΝΙΚΟΛΑΪΔΗΣ ΝΙΚΟΛΑΟΣ, Μικροελεγκτές, ΑΦΟΙ ΚΥΡΙΑΚΙΔΗ ΕΚΔΟΣΕΙΣ Α.Ε., 1η/2018, 978-960-602-217-3, 77119034
  5. ΦΩΤΙΑΔΗΣ ΔΗΜΗΤΡΙΟΣ, ΜΙΚΡΟΕΠΕΞΕΡΓΑΣΤΕΣ – ΜΙΚΡΟΕΛΕΓΚΤΕΣ, ΔΕΜΕΡΝΤΖΗΣ ΠΑΝΤΕΛΗΣ, 1/2010, 978-960-93-1790-0, 68399734
  6. Παπάζογλου Παναγιώτης, Μικροεπεξεργαστές, Α. ΤΖΙΟΛΑ & ΥΙΟΙ Α.Ε., 1η/2015, 978-960-418-508-5, 50656010
Complementary international bibliography
  1. • Tim Wilmshurst Designing EmbeddedSystems with PIC Microcontrollers. Elsevier ISBN-13: 978-0-7506-6755-5
  2. • Fernando E. Valdes-Perez RamonPallas-Areny. MICROCONTROLLERS Fundamentals and Applications with PIC. CRCPress ISBN 978 1 4200 7767 4
  3. • Martin Bates Interfacing PICMicrocontrollers. Elsevier . ISBN-13: 978-0-7506-8028-8
  4. • D. W. Smith PIC in Practice.Elsevier . ISBN 13: 978-0 75-066826-2
  5. • Martin P. Bates Lucio Di JasioChuck Hellebuyck Dogan Ibrahim John Morton D.W. Smith Jack Smith PICMicrocontrollers Newnes Know It All Series Elsevier ISBN-13: 978-0-7506-8615-0
  6. . Stuart Ball Analog Interfacing toEmbedded Microprocessors Newnes ISBN 0-7506-733
  7. . Keith Curtis EmbeddedMultitasking Newnes ISBN-13: 978-0-7506-7918-3
  8. . Myke Predko, 123 PIC Microcontroller Experiments for the Evil Genius, ISBN:0071451420 9780071451420
  9. . Dogan Ibrahim, Advanced PIC Microcontroller Projects in C From USB to RTOS with the PIC 18F Series, ISBN-13: 978-0080999241
  10. ISBN-10: 0080999247
  11. . Stuart Ball, Analog Interfacing to Embedded Microprocessor Systems, ISBN-13: 978-0750677233 ISBN-10: 0750677236
  12. . Richard H. Barnett Sarah Cox Larry O'Cull , Embedded C Programming and the Microchip PIC, ISBN-13: 978-1401837488
  13. ISBN-10: 1401837484
  14. . Robert B. Reese, From Assembly Language to C Using the PIC18Fxx2, ISBN; 1-58450-378-5 elSBN; 1-58450-645-8
  15. . Fred Eady, Implementing 802.11 with Microcontrollers: Wireless Networking for Embedded Systems Designers, ISBN: 9780080457284
  16. ISBN: 9780750678650
  17. . Creed Huddleston, Intelligent Sensor Design Using the Microchip dsPIC, ISBN: 9780080491578 ISBN: 9780750677554
  18. . Bohdan Borowik, Interfacing PIC Microcontrollers to Peripherial Devices, ISBN 978-94-007-1118-1 ISBN 978-94-007-1119-8
  19. . Dogan Ibrahim, Microcontroller Based Applied Digital Control, ISBN 0470863358, ISBN 9780470863350
  20. . M. Rafiquzzaman, Microcontroller Theory and Applications with the PIC18F, ISBN 1119448441, ISBN 9781119448440
  21. . Fred Eady, Networking and Internetworking with Microcontrollers, ISBN 0750676981, ISBN 9780750676984
  22. . David W Smith, A Project-based Approach, ISBN 008046498X, ISBN 9780080464985
  23. . Tim Wilmshurst, Designing Embedded Systems with PIC Microcontrollers: Principles and Applications, ISBN 0080468144, ISBN 780080468143
  24. . Michael J. Pont, Programming Embedded Systems II, ISBN 0201331381, ISBN 9780201331387
  25. . Drew Gislason, Zigbee Wireless Networking, ISBN 0080558623, ISBN 9780080558622
  26. . Sid Katzen, The Essential PIC18® Microcontroller, ISBN 1849962294, ISBN 9781849962292
Scientific journals
  1. • Solid state circuits, IEEE
  2. • Circuits and Systems I: Regular papers, IEEE Transactions on
  3. • Circuits and Systems Magazine, IEEE