This content was implemented under the following project:
Consortium Partners
Erasmus+ Disclaimer
This project has been co-funded by the European Union.
Views and opinions expressed are, however, those of the author or authors only and do not necessarily reflect those of the European Union or the Foundation for the Development of the Education System. Neither the European Union nor the entity providing the grant can be held responsible for them.
Copyright Notice
This content was created by the MultiASM Consortium 2023–2026.
The content is copyrighted and distributed under CC BY-NC Creative Commons Licence and is free for non-commercial use.
In case of commercial use, please get in touch with MultiASM Consortium representative.
This manual is intended to help students bootstrap into assembler programming across a variety of applications. It presents practical exercises in a hands-on lab format, often also covering toolchain configuration. Some sections present details for hardware, such as remote IoT and remote ARM laboratories. Others assume the student owns or has access to the PC and can install software.
ARM processors are omnipresent, ranging from simple IoT devices to laptops, notebooks, and workstations.
For this reason, we had to select one technology to use for a practical introduction and experimentation.
To present both hardware interfacing and programming, the obvious choice is the Raspberry Pi. The following chapters present laboratory details and scenarios.
Follow the links below to the lab descriptions and scenarios:
Assembler programming for embedded systems uses an integrated solution for IoT laboratories, namely VREL NextGen Software.
Users connect to the system using a web browser and develop software in the browser, compile it and inject it into the microcontroller, all remotely. Next, they use a web camera to observe the results.
The following chapters present more data on how to use the VREL NextGen remote labs system.
Each laboratory node is equipped with an Arduino Uno R3 development board, based on the ATmega328P MCU. It also has two extension boards:
There are 8 laboratory nodes. They can be used independently, but to present collaboration, nodes are interconnected symmetrically with GPIOs presented in a hardware reference section below
The table 1 lists all hardware components and details. Note that some elements are accessible, but their use is not supported via the remote lab, e.g., buttons and a buzzer.
The node is depicted in the figure 2.
| Component ID | Component | Hardware Details (controller) | Control method | GPIOs (as mapped to the Arduno Uno) | Remarks |
|---|---|---|---|---|---|
Devices (laboratory nodes) are interconnected in pairs, so it is possible to work in groups and implement scenarios involving more than one device:
Interconnections are symmetrical, so that device 1 can send data to device 2 and vice versa (similar to serial communication). Note that analogue inputs are also involved in the interconnection interface. See image 3 for details.
The in-series resistors protect the outputs of the Arduino boards from excessive current when both pins are set as outputs with opposite logical states.
The capacitors on the analogue lines filter the PWM signal, providing a stable voltage for measurement by the analogue-to-digital converter.
| Arduino Uno pin name | AVR pin name | Alternate function | Comment |
|---|---|---|---|
| D2 | PD2 | INT0 | Interrupt input |
| D5 | PD5 | T1 | Timer/counter input |
| D6 | PD6 | OC0A | PWM output to generate analogue voltage |
| D9 | PB1 | OC1A | Digital output / Timer output |
| D10 | PB2 | OC1B | Digital output / Timer output |
| A5 | PC5 | ADC5 | Analogue input |
Such a connection makes it possible to implement a variety of scenarios: