cover photo

COURSEWORK

Bhuvan's EV-RE-001 course work. Lv 3

Bhuvan KAUTHORACTIVE

MARVEL EV-RE-001 LEVEL 2 REPORT

13 / 9 / 2023


Task 2/6: SPI Communication\nAim: To Understand and perform SPI communication between\ntwo Arduino boards.\n\nComponents used: Two Arduino UN wo 5mm LED wo\nPush buttons, Two 220 ohm resistors, Two 10k ohm resistors\ onnecting Wires, Breadboard.\n\nCircuit Diagram referenced:\n\n \n\nTheory:\n\n1.Communication between electronic devices is like\ncommunication between humans. Both sides need to speak\nthe same language. In electronics, these languages are\ncalled communication protocols.\n\n2.SPI communication is ideal between microcontrollors and\nbetween microcontrollors and sensors.\n\n3.Any number of bits can be sent or received in a continuous\nstream.\n\n4.Devices communicating via SPI are in a master-slave\nrelationship. The master is the controlling device, while the\nslave takes instruction from the master. The simplest\nconfiguration of SPI is a single master, single slave syste nbut one master can control more than one slave.\n\nReferring the below resource:\n\nhttps://www.circuitbasics.com/basics-of-the-spicommunication-\nprotocol/\n\nProblem faced:\n\n1.Was not able to implement it in tinkerCad.\n\n2.Got confused with the order of connections of wire for SPI\ncommunication.\n\n## Task 3 - I2C Control\n\nAim: To Understand and perform I2C communication between\ntwo Arduino boards.\n\nComponents used:\nArduino Uno (2-Nos 6X2 LCD display\nmodul 0K Potentiometer (4-Nos readboar onnecting\nWires.\n\nCircuit Diagram referred:\n\n \n\nTheory :\n\n1.If there are more than one microcontroller in a project that\nneed to be masters then I2C is used. I2C communication is\ngenerally used to communicate with Gyroscope, acceleromete nbarometric pressure sensors, LED displays etc.\n\n2.I2C is a synchronous communication protocol meaning, both\nthe devices that are sharing the information must share a\ncommon clock signal.\n\n3.I2C communication is used only for short distance\ncommunication.\n\nProblem faced: In the new versions of arduino uno there is a\nseparate pins for I2C protocols.\n\n## Task 1: Build Chassis\n\nAim: to design a complete chassis of an RC car with dimensions compatible to be printed on the 3D printer available in MARVEL\n\nPrinted Chassis:\n\n \n\n\n## Task 5: Speed Control of BLDC\n\nAim: To control the speed of BLDC motor\n\nComponents Required: \nBrushless Motor ,ESC 30A, Li-Po battery, Arduino Board, Potentiomete nBreadboard and Jump Wires \n\nCircuit Referenced:\n\n \n\nTheory:\n\nThe motor has a KV rating that determines its maximum RPM based on the voltage of the LiPo battery. The ESC has a Battery Eliminator Circuit that can power the Arduino and uses a 50Hz PWM signal to control the motor speed. A potentiometer is used to vary the PWM signal from the Arduino.\n\nProblems Faced:\n\n1.use li-po battery with appropriate voltage and current rating \n2.verify the polarities and connections before connecting the battery\n\n## Task 8 - Working with multiple sensors\n Aim: to Use the chasis from the first task to make a fully equipped RC control car.\n\nComponents used: arduino uno, chassis, li-ion battery, DHT sensor, ultrosonic sensor, bluetooth module, l298n motor driver, bo motors, etc\n\nresource reffered: \nhttps://youtu.be/HBQIH98wmHs?si=Qo-vnFOp6ZMeB8WE\n\n\n### Respective Videos and arduino code of all executed tasks are in the given drive link below\nhttps://drive.google.com/drive/folders/1S9Kuxy6Pm7a74kbxTyXh7KtAa3b_P0Za \n

UVCE,
K. R Circle,
Bengaluru 01