
Arduino serial port & ADC sampling
Nikola Jović, Arduino serial port and ADC sampling, mini video lecture (open educational resource in a form of one-minute experiment), within RELAB repository at website https://relab.kg.ac.rs, 2023.
Abstract
The video explains how to read signal from the Arduino’s A/D converter an how to write data to the Arduino’s D/A converter. It explains concepts of the sampling theory using RC circuit as an example. Paired with oscilloscope, it shows phenomenons such as Shannon’s sampling theorem, signal aliasing, A/D bandwidth and ways how to choose appropriate sampling frequency.
Nikola Jović, Ivan Grego, Faculty of Engineering at University of Kragujevac
E-mail: nikolajovic@live.com
Literature
1. https://www.elektronika.ftn.uns.ac.rs..., 2022.
2. Massimo Banzi, Michael Shiloh, Make: Getting started with Arduino, 4th edition, O‘Reilly, 2022
3. Milica Janković, Marko Barjaktarović, Marija Novičić, Petar Atanasijević, Praktikum iz merno-akvizicionih sistema, Univerzitet u Beogradu – Elektrotehnički fakultet, 2019.
4. Katsuhiko Ogata, Modern Control Engineering, 5th edition Prentice Hall, new York, ISBN 13: 978-0-13-615673-4, 2009.
5. M.Matijević, G.Jakupović, J.Car, Computer Aided Measurement and Control, 2nd edition, University of Kragujevac, Kragujevac, 2009.
Area(s) / Narrow area(s) / Course(s)
Control Engineering / Real-time systems / Automatic Control, Embedded Systems; Computer Controlled Systems.
Subject of „One-minute experiment“: Implementation of real-time systems
Objective:
Demonstration of methods for signal digitization using analog-to-digital converters. Explains Nyquist frequency, signal aliasing and spectral properties of the sampled signal. Reduction of the level of abstraction in relation to descriptions from textbook literature.
Purpose:
The abstract terminology of the teaching/learning area should be understood through the demonstration of a concrete example.
Outcome:
Students understand real-time programming principles and basic terminology concerning with real-time systems implementation.
Students can use A/D and D/A converters provided on the Arduino board. Students can choose appropriate sampling frequency based on the frequency of the signal they are measuring. They can overcome aliasing problems, and can understand why it occurs based on the spectral domain illustrations.
Students have a clear connection between the real system characteristics and their interpretation in the textbook literature.
Users:
Students of engineering disciplines within subjects dealing with real-time systems.
コメント