Electronics II (MATR335) – Spring 2024

Page updated 15.4.2024

Electronics II (MATR335), 10 ECTS, spring 2024

Lecturer: Prof. Edward Hæggström, edward.haeggstrom (at) helsinki.fi

Assistants:

Julius Korsimaa – julius.korsimaa (at) helsinki.fi

Petteri Salminen – petteri.salminen (at) helsinki.fi

Henri Österberg – henri.osterberg (at) helsinki.fi

Send weekly reports, final project submissions and exercise submissions to Petteri.

For general messages or help, contact both Julius and Petteri.

News

  • Remember to send your time usage logs to Petteri every Friday before 16:00 (even if you have not done anything for the week).
  • Slides from the presentation  “Numbers in digital systems– calculation and representation”​ have been uploaded to the supplementary material section in the lecture material tab.
  • Demo rehearsal date fixed
  • Exercise classroom updated
  • Fixed links in exercise 4 handout
    • NB: Arduino forums recently retired some advanced instructions. If you find broken links directing to the Arduino forums, it might be worth a try to add “retired” in the link.
    • Example: https://docs.arduino.cc/retired/hacking/software/PortManipulation/
  • Exercise 8 Task 1 instructions clarified
  • Lecture on Wed 13.3. cancelled
  • Demo session room changed. Should be visible in Sisu calendar.
  • Lecture 27.3. starts 15 minutes late
  • Lecture on Wed 10.4. cancelled
  • Lectures have ended. Good luck with the final project!
  • Demo rehearsal details updated

Final project

During the course you need to keep track of your time usage on the final project and send your time usage log weekly to Petteri every Friday before 16:00 (even if you have not done anything for the week). Missing report deadlines will incur a penalty on the course grade (see instructions).

Submit your log via email and put “Electronics 2 log week X, your name” as the subject and send them to petteri.salminen@helsinki.fi. The log should contain at least actions taken and time used. For example: “Discussed project plan, 2 hours”. Remember to send a log even if nothing of importance was done.

In the final project you are to create your own IoT design. The project consists of three parts: planning, demo and documentation.

Final project instructions

Deadlines

Task Date Time
Log Every Fri 1600
Preliminary plan + components 8.3. 2359
Version 0 29.3. 2359
Version 1 12.4. 2359
Demo rehearsal 24.4. 1215
Final presentation materials 10.5. 2359
Demo 13.5. 1000
Final documentation 31.5. 2359

Demo rehearsal in lecture time slot (Physicum D116 at 12:15).

The final demos are to be presented on 13.5.2024 at 10:00 o’clock in Physicum E204 (second floor auditorium).

NB: Demo rehearsal starting time was corrected on 24.1.2024

Course info

Course grading: 50% of course grade comes from exercise points. See the getting started guide for exercise details. The other 50% of the grade comes from the final project. See final project instructions for grading details. The course cannot be passed without presenting a working demo.

Duration: 3. and 4. period

Timing in studies: Advanced studies

Prerequisites: Electronics I, Measurement methods in Physics

Recommended: Basic programming skills

Course description: The aim of the course is to learn to use digital components and microprocessors as well as to learn the basics of the latest microelectronics opportunities offered for information technology and signal processing.

Scope: 10 credits

Literature:

– Tocci: Digital Systems, 12th ed (2017)

– Floyd: Digital Fundamentals, 11th ed (2015)

– Horowitz & Hill: The Art of Electronics, 3rd ed (2015)

The internet is also your good friend:

Arduino Language Reference – The documentation of the Arduino language
Arduino Registers control 1 // Arduino Register control 2 (alternative source)
Arduino Timer interrupts

Electronics Tutorials – Well written tutorials
Falstad circuit simulator – Capable electronics simulator with great visualizations
https://simulator.io/board/AWZpw7Fy3I/2 – Enlightening simulation of a CPU

Lectures

Mon 10:15-12:00, Physicum D116

Wed 12:15-14:00, Physicum D116

Lecture material

Exercises

Wed 14:15-16:00, Physicum D115

31.1.2024 and onwards: Exactum C322

Exercise 0

Exercise 1

Exercise 2

Exercise 3

Exercise 4 (Links fixed 2024-02-08)

Exercise 5

Exercise 6

Exercise 7

Exercise 8 (Instructions clarified 2024-02-27)


About the kits:

Please store the components in their anti-static bags. This minimizes the chance of ESD or mechanical damage. (Also don’t connect the motor directly to the Arduino board.)

Download the documentation (V2.0)

Google Drive download recommended.

The quality of the instructions there isn’t great so don’t depend your life on them. When using a component it’s strongly encouraged to skim through its datasheet. This way you will not only learn the specs of the component but you will also develop skills for reading datasheets in general.

Exercise submission

  • Come to the exercise session and show a working setup.
  • If you cannot attend the exercise session, send us well documented code and picture/video of the setup by email. Be mindful of the file sizes.
  • If submitted via email put “Electronics 2 exercise week X, YOUR NAME” as the subject and send them to petteri.salminen@helsinki.fi. The exercises should be returned as whole sets.
  • The deadlines can be found on the exercises themselves.
  • You will need access to a computer (preferably a laptop) and Arduino IDE (or equivalent) to complete the exercises.