Level 2
1 / 1 / 2025
Task-1: Build Chassis
The objective of this task was to design a complete chassis for an RC car with dimensions compatible for 3D printing using the printer available in MARVEL. The chassis design required precise calculations to ensure proper weight distribution, which is critical for optimal performance depending on the application of the RC car. I used a simple CAD software like TinkerCAD to design my chasis.
Task-2: SPI Communication
This task aimed to understand and implement SPI (Serial Peripheral Interface) communication, a protocol widely used for short-distance communication between microcontrollers and peripheral devices.
SPI is a synchronous serial communication protocol that uses four main lines for data transfer:
MOSI (Master Out Slave In): Used to send data from the master to the slave. MISO (Master In Slave Out): Used to send data from the slave to the master. SCLK (Serial Clock): Generated by the master to synchronize data transfer. SS (Slave Select): Enables communication with a specific slave device.
SPI operates in full-duplex mode, allowing simultaneous data transmission and reception. It is favored for its simplicity and high-speed data transfer capability. Pin 13 is the serial clock, Pin 12 is the MISO pin, 11 is the MOSI pin anf 10 is the slave select Code link here