School of Electronics Engineering (SENSE)
B. Tech – Electronics & Computer Engineering
BECE403E – EMBEDDED SYSTEM DESIGN
LAB RECORD
(lab slot L+L)
Submitted By
Reg.No - Name
Submitted To
Dr. S.Muthulakshmi
DATE: xx/01/2024
[Reg.No] BECE403E- Embedded Systems Design Lab Page No: 1
Slot: L9+L10
Date:
LAB – 01: <<Experiment Name >>
AIM:
<<Aim of the experiment should be given here>>.
Example:
To understand the working of Nucleo64-STM32L152RE Board and to perform the following
tasks:
Lab Task-1: Blinking of LED on Board
Lab Task-2: Blinking of LEDs alternatively in pairs
Lab Task-3: Blinking one LED at a time serially
Software Required: ARM Keil Studio (Mbed Online Compiler)
Hardware Required: Micro USB cable, NUCLEO64-STM32L152 Board, LEDs, Jumper Wires (M-F and M-
M), Breadboard
Procedure:
1. Go to ARM Keil Studio (https://studio.keil.arm.com) and log in
2. Select File → New → Mbed Project
3. Click the Example project drop-down list and select “mbed2-example-blinky”
4. In Project name field, provide the name of the new project and click Add project
5. Double click on the “main.cpp” file from the newly created project folder
6. Modify the code in the editor window as per the logic of your application
7. Check for any errors in the program under the “Problems” tab of the panels window
8. If no errors, connect the Nucleo Board to the computer using Micro USB Cable
9. Click Play icon (Run project) to upload and start the code execution on the board.
PROGRAM:
Lab Task 1: Blinking of onboard LED
<<Type the Program here. It should be in the editable format. Don’t use the screen shot or photo taken from
your mobile phone.>>
Example:
[Reg.No] BECE403E- Embedded Systems Design Lab Page No: 2
#include "mbed.h"
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
wait(0.5);
myled = 0;
wait(0.5);
}
}
Output:
<<Take the photo of the output you have got in the Nucleo Board. If needed take more than one
photo and paste it here. With explanation>>
Example:
Fig.1: Blinking the LED on the Board
Output Verification:
<< Take the photo of the verification signature which you got in the notebook and paste it here>>
INFERENCE:
(Understanding from the obtained output)
Similarly repeat Program, output, output verification and inference for the remaining Lab Tasks
RESULT:
(Thus the …)
[Reg.No] BECE403E- Embedded Systems Design Lab Page No: 3