Giter Site home page Giter Site logo

cg2271-mini-project's Introduction

Hi there!👋

Hi, I'm Vishruti, PhD Student and GA at the National University of Singapore.✨

Find my LinkedIn here

  • 🔭 I'm currently working on Dust - an explicit control evaluator with low level memory for a subset of the programming language Rust.
  • 👯 I’m looking to collaborate on robotics/iot/embedded projects.
  • 💬 Ask me about anything here.
  • 😄 Pronouns: she/her

Github Stats:

Anurag's github stats

cg2271-mini-project's People

Contributors

kangmingtay avatar sevenseasofbri avatar wamikamalik avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cg2271-mini-project's Issues

Integrate Everything in RTOS Environment

RTOS Architecture Minimum Requirements:

  • The architecture should have a minimum of 4 tasks and 1 Interrupt
  • tBrain: Decode the data from the Serial Port and perform the necessary action
  • tMotorControl: Control the Action of the Motors #3
  • tLED: Control the LED’s #4
  • tAudio: Provide Audio Output #5
  • Serial_ISR: The Serial Data coming from the BT06 device. The serial data MUST be captured through the use of Interrupts. #2

Update App apk

Requirements for the app apk:

  • Control motors with buttons
  • Establish BT connectivity
  • Control curve turning using speed control
  • [Not confirmed] Control LED strip if needed

Set up Communications A-BT Connectvity

A. BT Connectivity
Requirements

  1. Develop a User Interface Button to establish BT connectivity with the Robot
  2. Robot must respond with TWO LED Flashes at the Front (Green LED’s) to indicate that the connection has been established.
  3. Robot must play any unique tone sequence to indicate that connection has been established.
    Refer to #1 for application requirements
    Done via UART Pins PORTE 22, 23 Might be an issue since interrupts can only be configured in Ports A and D of KL25Z

Set up Motor Control Commands B- Motor Control

B. Motor Control
Requirements

  1. The robot must be able to move in all FOUR directions, Forward, Left, Right and Back. [Refer to #1 ]
  2. The robot must be able to perform curved turns while moving.
  3. The robot must stop all movement if no command is being sent.

Currently motors controlled by PORTB 0,1,2,3. No issues so far. Create functions for:

  • Turn Left
  • Turn Right
  • Forward
  • Backward

We send in angles via the application interface to initiate different angled turns on spot? @kangmingtay @wamikamalik

RTOS Architecture Report

Each team is to submit a FOUR (Softcopy) Page report explaining the RTOS architecture and the usage of Global Variables. You should minimize the use of Global Variables as a means to transfer data between Tasks and ISR’s. Font Size should be 10 or more with minimum 1.5 line spacing. Any submission with more pages will get ZERO marks.

Please zip up only the files with your implementation. You do not need to submit the RTOS library files.

Please upload your report to LumiNUS Folder with the format ‘TEAM-XX.pdf’

Please upload your code to LumiNUS Folder with the format ‘TEAM-XX.zip’

Set up Audio D-AudioControl

D. Audio Control
Requirements
1.The robot must continuously play a Song tune from the start of the challenge run till the end. There should not be any break in the song even if the robot is not moving. [Alr set up, YAY]
2. When the robot completes the challenge run, the robot must play a unique tone to end the timing.
^
End timing means it must automatically play the last song tune? Or must add play end tune to application in #1

Project Video

Each team is to submit a 2-3 min video about their entire journey doing this project. Videos longer than 3 minutes will not be graded and will be given ZERO marks. The marks distribution for the video is as shown below.
Creativity – 8 marks
Technical Overview – 8 marks
Total = 16 marks
Please upload to LumiNUS Folder with the format ‘TEAM-XX.mp4’. Other video formats like .mov are also acceptable.

Set up LED Control C- Led Control

C. LED Control
Requirements

  1. The front 8-10 Green LED’s must be in a Running Mode (1 LED at a time) whenever the robot is moving (in any direction).
  2. The front 8-10 Green LED’s must all be lighted up continuously whenever the robot is stationery.
  3. The rear 8-10 Red LED’s must be flashing continuously at a rate of 500ms ON, 500ms OFF, while the robot is moving (in any direction).
  4. The rear 8-10 Red LED’s must be flashing continuously at a rate of 250ms ON, 250ms OFF, while the robot is stationery.

What needs to be done:

  • Circuit design and placement for both the LED strips
  • Code for running LEDs

NOT DECIDED Pins for controlling the LEDs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.