Amaan's Level 2 Report
10 / 3 / 2026
Task 1 - Build Chassis
Objective: To design a custom RC car chassis in CAD software with proper weight distribution for stability and sensor mounting. Ensure compatibility with MARVEL's 3D printer specifications.
My Outcome:

- I designed the chassis using Fusion 360 software and made sure it's balanced so the car won't tip over.
- Made the design modular so I can easily attach sensors and other parts later.
Task 2 - SPI Communication
Objective: Implement SPI communication between Arduino and a peripheral device like an SD card module, OLED, or another microcontroller. Learn about MOSI, MISO, SCK, and SS signals and full-duplex data transfer.
Learnings

MOSI (Master Output/Slave Input) – Line for the master to send data to the slave
MISO (Master Input/Slave Output) – Line for the slave to send data to the master
SCLK (Clock) – Line for the clock signal
SS/CS (Slave Select/Chip Select) – Line for the master to select which slave to send data to.


- Learned how Arduino talks to other devices using SPI.
- Managed to send and recieve data correctly between Arduino and the module.
Task 3 - I2C Control
Objective: Interface multiple I2C devices (LCD,MPU6050,EEPROM) on the same bus. Learn address management and master-slave data protocols.
Learnings

SDA (Serial Data) – The line for the master and slave to send and receive data.
SCL (Serial Clock) – The line that carries the clock signal.

- Understood how multiple devices can share the same I2C bus.
- Successfully read data from sensors.
Task 8 - Interfacing STM32 Nucleo with L298N Motor Driver (Embedded)
Learnings
- The L298N is a dual H-Bridge motor driver IC that allows controlling the direction and speed of two DC motors
- Successfully interfaced the STM32 Nucleo board with the L298N motor driver module to control a DC motor
- Understood the concept of PWM (Pulse Width Modulation) and how duty cycle affects the speed of a motor
- Verified motor direction reversal and smooth speed control in real-time through program control.

Task 9 - Interfacing STM32 Nucleo with Servo Motor (Embedded)
Learnings
- A servo motor is an actuator that allows precise control of angular position, velocity, and acceleration. It operates using a feedback control mechanism where the output shaft position is compared to the input control signal
- Achieved precise angular control of the servo motor using STM32-generated PWM signals
- Observed smooth and accurate position changes with minimal jitter or delay

Task 10 - Configuring ADC in STM32 Nucleo Board (Embedded - 3star)
Learnings
- An ADC stands for Analog-to-Digital Converter. It's an electronic circuit that converts a continuous analog signal (like voltage or current) into a discrete digital number that a computer or microcontroller can process.
- The ADC is programmed to read analog sensor
- I have used a LDR (Light Dependent Resistor) to measure the light intensity
- Successfully configured the STM32 internal ADC for analog voltage measurement
