cover photo

COURSEWORK

Yuvaraj's EV-RE-001 course work. Lv 1

Yuvaraj KaniyarAUTHORACTIVE
This Report is yet to be approved by a Coordinator.

9 / 1 / 2024


##COMMON TASK REPORT

1)Task: Get familiar with the command line on ubuntu and do the following subtasks

I was \pro noob" in knowing about UBANTU and about its command lines. After this course work I know the basics of it and simple use cases of Ubantu command lines.

Here I used ls to list the files and folders.

To create folders i used mkdir command and created folder named 'test'.

Then i used cd test to get into that folder.

To create files I used touch command and created yuva.txt file.

And I finally used echo command to add text in files and cat command to display the file in it.

UBSNTU i DF FF

2) Tinker cad

Before getting into Marvel's coursework I was already knew Tinker cad and its basic functions by my friends. It was easy task to me and completed with so much passion.

I have to build a circuit of aurdino uno board and ultrasound sensor with display attached to it which measures the distance at which object is placed Infront of ultrasonic sensor. I am copied the resource code and completed the circuit diagram and uploaded code to board. I knew basic function of it hence it was easy job to do. asd as

3) LED toggle using ESP32

Here I had to build a web server which can interact with ESP32. Using that connection, I had to control LEDs which was given. In initial time I wasn't able to do this work but after sometimes with the help of coordinators i learnt it. img im1g img2

4) Soldering

Learnt basic soldering with perf board by soldering LED to it. Understood the use of flux soldering lead, Sandpaper, and stand used in it. imgg imgg

5) Working with GitHub

I knew about GitHub before but didn't knew how to use it. By completing this task with help of my friend and coordinators I got to know how it works and its use case in real-world. I knew basic of C programming, and I was able to understand C++ basics. Here I needed to correct Python code which was very simple, but I dint knew python. But by understanding the logic I was able to solve it. in in

6) Article using markdown

https://www.kaggle.com/code/yuvarajkaniyar/notebooke74827885b This is the link of markdown article created by me and which was uploaded to kaggle website. This article is also published on marvel website. I learnt this to understand writing article here.

#heading1 ##heading2 and etc.. ` here these are used for headings. And

[image name](link of image)

This is used to insert image in article.

To write bold letters we use bold And to write italic we use italic

in in

7)K map and deriving logic circuit

sis In this task i had create a logic circuit using kmap which functions like a bugler's alarm. The alarm must turn when door will open and switch is closed. here is the excecution of this function. in in in

8) Design a Astable multi Vibrator

In this task we needed to generate signals for given value of frequency and for desired structure. here we used IC555 which is combination of SR flipflop, a op-amp and transistor. To give input fixed voltage of 5v we used aurdino board. in in in

9) Active Participation:

Participated in inter college level competition impertus 23 conducted by UVCE. Here participated in Hack a maze competition where built maze solving robot.

10) API

In this task I learnt the importance and method of using Api keys in simple applications like whether app. here i am not totally successful but i did my best to get the output which was needed actually. ik ik

11)Portfolio Website

In this task i have created a portfolio website using html language. Here i am mentioned the basic details of me. gf

##LEVEL 1 TASKS REPORT

Task 1 ULTRASONIC SENSOR

The Ultrasonic sensor is the sensor which measures distance between the object and sensors using ultrasound signals. Arduino board attached to sensor will analyze the time taken to transmit and receive signal back and give distance as output. To get distance as output we can use different library files attached to code. I used Ultrasonic.h library file because it was more convenient to use. gf1

Task 2 TEMPERATURE DETECTION

LM35 is the temperature detecting sensor which will give voltage output proportional to the Temperature. Using arduino board with simple library we can calculate the Temperature around BJT (sensor). We can calculate temperature from -55'c to +155'c. gf gf2

Task 3 TEMPERATURE AND HUMIDITY DETECTION

DH11 is the sensor with 3 terminals ( VCC Gnd and Data) with will measure surrounding temperate and humidity. Here I wrote a simple code to measure temperature and humidity. Accuracy is higher than analog sensor. gf3 gf4

Task 4 BATTERY CHARGING

This one was the simple task in which I needed to charge lithium polymer batteries using solar panel. For that I used Li ion battery charging module which will regulate the power supply to the battery and keep it safe. I used voltage step-up boost module to get constant output power of 5VA to change my mobile. gf5 gf6

Task 5 UNDERSTANDING 555 TIMER AND LDR

In this task I have built a basic Headlight Circuit which turns on when there is no light in the surrounding. For that I used IC555 timed and LDR sensor which will detect the amount of light in surrounding. whenever there is no light in surrounding LED will start lighting up. Since there was no 47ohm sensor in my kit I used 4 220 ohms resistors and connected in parallel to get approx 47 ohms resistance. gf gf

Task 5 SPEED CONTROL OF DC MOTOR

gf7 gf8

###Task 6 DIRECTION CONTROL OF DC MOTOR gf gf

7 Task 7 POINT TURN OF A VEHICLE

gf gf

"

LEVEL 3 TASK

1) Task: Chassis Design

In this task, I designed a chassis for the RC car using Fusion 360 and Tinkercad, ensuring that the design would be compatible with the 3D printer available at MARVEL. Initially, I had limited experience with CAD software, but through practice, I developed a strong understanding of how to create a stable and efficient chassis. The design process involved balancing weight distribution to optimize the car’s performance during operation. I also learned how to anticipate potential issues such as stress points and how to reinforce the structure accordingly.

Chassis Design Chassis Design1

Key Learnings:

  • Mastered basic and advanced CAD design techniques.
  • Understood the importance of weight distribution in vehicle stability.
  • Gained hands-on experience with 3D printing, from design to physical realization.

2) Task: SPI Communication

This task required setting up SPI communication between two microcontrollers, an arduino uno as the master and an another arduino as the slave. Initially, I had only a theoretical understanding of SPI, but this task allowed me to delve into the practical aspects. I learned how SPI enables simultaneous data transmission and reception (full-duplex), and how to manage the clock signal for synchronization. Troubleshooting communication errors also helped me understand the importance of correct wiring and timing.

SPI Communication Setup SPI Communication Setup2 SPI Communication Setup2

Key Learnings:

  • Developed practical skills in setting up and configuring SPI communication.
  • Learned to handle clock synchronization and data integrity.
  • Gained experience in debugging and resolving communication issues.

3) Task: I2C Control

In this task, I implemented I2C communication to control multiple sensors connected to a single master microcontroller. I2C is more versatile than SPI because it allows multiple devices to share the same communication bus. Through this task, I learned to manage the bus addressing and understood the challenges of handling multiple slave devices. I also explored the advantages of I2C in reducing the number of pins required for communication, making it ideal for projects with limited GPIO availability.

I2C Control Diagram I2C Control Diagram

Key Learnings:

  • Gained a deep understanding of I2C protocol and its applications.
  • Learned to manage bus addressing and data flow in a multi-device setup.
  • Improved my ability to design and implement communication systems in microcontroller projects.

4) Task: Speed Control of BLDC Motor

This task involved controlling the speed of a Brushless DC (BLDC) motor using a Proportional-Integral (PI) controller. BLDC motors are known for their efficiency and precision, which are critical in applications such as electric vehicles. I learned how to use a PI controller to regulate the motor's speed, providing a balance between responsiveness and stability. Observing the motor's performance on a CRO helped me understand how different control parameters affect the motor's behavior.

BLDC Motor Control BLDC Motor Control

Key Learnings:

  • Gained practical experience in motor control using PI controllers.
  • Learned about the advantages of BLDC motors in high-performance applications.
  • Enhanced my understanding of control systems and their implementation in hardware.

5) Task: Integration of Multiple Sensors

The final task was to integrate multiple sensors into the RC car, utilizing the chassis designed in Task 1. This task required combining the knowledge and skills gained from the previous tasks, including SPI, I2C, and motor control. I selected three sensors to provide critical data, such as distance measurement in different angles. The integration process taught me how to manage complex systems where multiple communication protocols are involved, ensuring that the sensors worked together seamlessly to enhance the car's functionality.

RC Car with Sensors RC Car with Sensors1 RC Car with Sensors1

Key Learnings:

  • Learned to integrate multiple sensors into a cohesive system.
  • Developed skills in managing and troubleshooting complex hardware setups.
  • Gained insight into the challenges of multi-protocol communication and how to overcome them.

UVCE,
K. R Circle,
Bengaluru 01