Skip to content

gateway240/embedded-system-uef

Repository files navigation

Embedded Systems UEF - Spring 2026

This repository contains the code for the Embedded Systems course at UEF

Exercise 1 - Introduction

Steps

Setup Arduino IDE for Nano Sense Every

  1. Install the Arduino IDE:
  2. Plug the board into your computer with the provided USB Micro B cable
  3. Configure the IDE for Nano Every

Troubleshooting

Exercise 2 - Accelerometer & Screen

Configure the accelerometer & OLED Screen

Steps

  1. Install Adafruit SSD1306 by Adafruit in the Arduino IDE and optionally U8g2 by oliver for a second OLED driver library option (it handles fonts better). Also install the STM32duino LIS2DW12 by SRA library for the accelerometer.
  2. Wire the OLED and accelerometer to the SCL and SDA ports of the board. DO NOT use external pullup resistors with the OLED display. It won't work. Wire the 3.3V power output to the VCC line. DO NOT wire 5V to the accelerometer or it will kill the sensor.

For Reference

Exercise 3 - Gyroscope

Add the gyroscope sensor

Steps

  1. Install Adafruit MPU6050 by Adafruit and MPU6050 by Electronic Cats in the Arduino IDE.
  2. Wire the OLED, accelerometer, and gyroscope to the SCL and SDA ports of the board. Follow the same precautions as before and ensure you use 3.3V power.

Troubleshooting

For Reference

Exercise 4 - Magnetometer

For Reference

Oscilloscope Tutorial

See the oscilloscope_tutorial folder for code samples to run. The tutorial is adapted from Six Oscilloscope Measurements with Arduino and more detailed information can be found there.

To complete the challenge follow these steps:

  1. Check Auto-RESET on Arduino Nano Every. Locate the correct resistor via the datasheet and PCB diagram and probe it.
  2. Check the TX/RX decode behavior. Run both the 2_uart_... scripts. What is the difference between them?
  3. Measured the 3.3V DC Voltage rail. Also measure the 5V voltage rail
  4. See probe loading in action. Test a ceramic capacitor on the board and notice a difference!
  5. PWM Duty Cycle testing with sound!
  6. digitalWrite and port manipulation
  7. Tone generation with register programming

This tutorial also uses concepts from the following:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •