EPN

MEK3300 Hardware programming Course description

Course name in Norwegian
Maskinnær programmering
Study programme
Bachelorstudium i ingeniørfag - elektronikk og informasjonsteknologi / Bachelorstudium i ingeniørfag - maskin
Weight
10.0 ECTS
Year of study
2024/2025
Schedule
Course history

Introduction

The course provides insight into how to program microcontrollers and how to write application-specific programs for these. This includes coding of control systems of analog and digital electrical circuits. This differs from previous programming courses in the study program, where programs have only been written for computers with an operating system. 

Among other things, the student learns to use typical microprocessor functions, such as power modes, interrupts, memory, analog to digital converters, GPIO and its various operating modes, submodules including different communication interfaces, and to be able to establish communication between sensors and other devices. This will also provide insight into the strengths and limitations of a given piece of hardware. 

Recommended preliminary courses

Builds upon MEK1300 Programming 1 and ELPE1300 Electric Circuits

Learning outcomes

After completing this course, the student has the following learning outcomes, defined as knowledge, skills and general competence:   

Knowledge 

The student 

  • has knowledge of prototyping with microcontrollers. 
  • have knowledge of the microPython programming language. 
  • has good knowledge of microcontrollers components. 
  • understands the concept of embedded systems. 

Skills 

The student 

  • can control electronics with signals from microcontroller. 
  • can receive and process signals from analogue and digital electronics, for example sensors. 
  • can set up communication between units. 
  • can write programs in microPython that make use of analog and digital electronics to send and receive signals., 

General competence 

The student 

  • has good insight into prototyping using electronics, programming and microcontrollers. 
  • can make use of embedded systems in problem solving of realistic scenario. 
  • can plan smaller projects both regarding efficient use of time and purchasing. 

Teaching and learning methods

The subject is mainly project-based. Teaching will take place in the form of guidance in the laboratory. 

Course requirements

None.

Assessment

Portfolio assessment subject to the following requirements:

  • 5 projects with report 3-5 pages per project og codes. The project will done in groups of 2-3.

The portfolio will be given one final grade. All parts of the portfolio must be evaluated to pass in order to pass the exam.

The exam result can be appealed.

 

In the event of resit and rescheduled exams, another exam form may also be used or a new assignment given with a new deadline. If oral exams are used, the result cannot be appealed.

Examiners

An internal sensor. External sensor is used regularly.