Skip to content

hritobroto/Robocon_Summer-20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUMMER TASK CSE

A code to demonstrate the following on Arduino and STM_NUCLEO_F410RE board:

  • Working of servo
  • I2C communication
  • Running L298 motor driver
  • Performing serial communication.

OpenCV

To create a module to detect a line made of black tape on a court using python OpenCV. For testing purposes use your webcam, plain page with line drawn with sketch pen or marker. The line once detected should be enclosed in a red box. Mention in the report the steps used and create a process workflow diagram for the same. Also mention the required changes in the code that have to be made if we use a pi-cam or any other camera module.

Socket Programming

Your goal is to learn socket programming in C++ and python (both).

  • Create a simple python server and client program to exchange information using sockets. Input text from the terminal in the client program.The server on receiving text from the client, will store it in a file named data_log.txt and will send an acknowledgement to the client
  • Create a client-server program using sockets to represent a calculator. The client is given a set of options (Addition, Subtraction, Multiplication, Division, Etc). Once the choice is made the server requests the client for the numbers required for 3 the operation, collects it, performs the operation and returns the result to the client.

PID

Study PID thoroughly. Given bot has a MPU6050 sensor, 2 L298 motor driver and 4 omni wheels which will go in a square path without any deviation (use pid for error correction).

  • Below is the frame given for the bot.
  • The bot is not allowed to rotate.
  • The size of the square is not of importance. It is significantly bigger than the bot. Code a solution for the same which has to be demonstrated at the end of vacation.

MQTT

MQTT is a communication protocol which is extremely powerful and versatile implemented in Python. Document the following:

  • Implementation
  • Working
Bonus Task

Implement the aforementioned Calculator program using MQTT. Note: This task carries bonus points for solving it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors