Skip to content

ACM-NITK/Robotics-Sub-SIG-Tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Robotics-Sub-SIG

Introductory Tasks

Introduction

Hello Everyone! This is the introductory task for our Robotics Sub Sig. Embedded Systems play a vital role in robotics. They control the various systems of the bot, they constitute the brain of your robot, having all your algorithms and intelligence at one spot. Hence it is important for roboticists, or wannabe robotists (please identify yourselves here ;)), to understand how to work with them.

Lets Get Into It!

Most of you have heard and worked with the Arduino Uno. But as an engineer you need to work at optimising code and improving speed of execution, while lowering memory requirements. This is where Embedded C comes in. The following video series will give you an understanding of how to program your Arduino using AVR C:

AVR C Tutorials Average video size is around 15 mins. (Not your boring hour-long class videos)

Questions

Please go through these lectures and try to solve the following questions to be incorporated into the Robotics Sig:-

  1. Design and code an Arduino Uno based circuit that reads input from a push button and sets an LED bulb’s value accordingly (LED is on if button is pushed and vice versa). This circuit also blink’s another LED at an interval of 1 sec. Both these tasks are to be run simultaneously and independently.
    Hint: You may want to look up digital input and timer based interrupts in the video lectures.

  2. Design and code an Arduino Uno based circuit that reads Analog Input from two potentiometers and controls an LED pin according to them.

    • Potentiometer 1’s input will decide if the LED gets switched on (Value> 3V switches the LED on, off otherwise)
    • Potentiometer 2’s input will control the brightness of the LED.
      Hint: You will need to know how to read ADC input from the lectures, but two read two different inputs, you need to switch between two pins (find out which commands decide which pins are being read). You will need to understand PWM to put up analog value to an LED.

Resources

You may use:

TinkerCAD Circuits for simulating your circuits.

This repository has source codes from the video lectures:-
Source Codes for simulating your circuits.

Submission Instructions:

  • Make a branch with your name.
  • Make a folder for each task in your branch.
  • In each task, add your source code and a readme file.
  • Put up links to the simulation video of your circuit along with a short description in the readme file.

Mentors

Himanshu Dubara - +91 94454 70844
Shrvan Warke - +91 99873 37686

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published