Microprocessor-Lab 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

American International University-Bangladesh (AIUB)

FACULTY OF ENGINEERING
Laboratory Report Cover Sheet

Laboratory Title:
Familiarization with an STM32, the study of blink test and implementation of a light-
controlling system using microcontrollers.
Experiment Number: 02
Submission Date: 05/02/2023

Course Name: MICROPROCESSOR AND EMBEDDED SYSTEMS


Course Instructor: RICHARD VICTOR BISWAS
Subject Code: EEE 4103
Semester: Spring 2022-2023

Section: P
Degree Program: BSc. EEE

Submitted by
MASUD RAIHAN LEEON

ID:20-42023-1, Dept of EEE


Abstract:
In this experiment, we became Familiar with microcontroller (Arduino Uno), Then we’ve studied
the blink test and made implementation of a traffic control system using microcontrollers. Arduino
uno is a platform for programmable electronics. Arduino is a free and open platform for developing
interactive electronic creations. The Arduino board is made up of a programmable microcontroller
and software for creating computer code. Using a USB cable, we can upload fresh and new code
to the Arduino Uno.

Introduction:
The objective of this experiment is
1. To get familiarized with Microcontroller.
2. Learning to make the LED blink using ST32.
3. Implementation of a light control system using STM32.

Theory and Methodology:


STM32CubeIDE is an advanced C/C++ development platform with
peripheral configuration, code generation, code compilation, and debug features for STM32
microcontrollers and microprocessors. STM32CubeIDE includes build and stack analyzers that provide
the user with useful information about project status and memory requirements.STM32CubeIDE also
includes standard and advanced debugging features including views of CPU core registers, memories,
and peripheral registers, as well as a live variable watch, Serial Wire Viewer interface, or fault analyzer.
Pin Configuration: Pin Configuration from STM32 Cube IDE:

Apparatus:
1) STM32 Cube IDE (1.0.1 or any recent version)
2) STM32 Cube IDE board
3) LED lights (RED, GREEN, or YELLOW) and three 200 ohms resistors and jumper wires
Simulation:
Experimental Result:
Fig: Hardware output of the Traffic Control system
Discussion:
In this experiment, A STM32 board was trained. A traffic management system was implemented
on an STM32 board. We implemented the code of the traffic control system with an STM32
board. We used Proteus 8 Professional for the virtual design and implementation. The whole
process was instructed by our course teacher who helped us to successfully run this code.

Reference:
1) AIUB Lab Manuals
2) https://www.st.com/en/evaluation-tools/nucleo-f401re.html for STM32F401RE, datasheet
3) • www.st.com
4) • https://www.st.com/resource/en/user_manual/dm00105879-description-of-stm32f4-hal-and-ll-
drivers-stmicroelectronics.pdf
5) • www.st.com/en/development-tools/stm32cubeide.html

You might also like