A modular robot for use in the RoboSumo lab

Slides:



Advertisements
Similar presentations
Why Keliang’s code maybe did (or maybe didn’t) work … or High (impedance) Anxiety.
Advertisements

Lab 1 I/O, timers, interrupts on the eZ430-RF2500 Thomas Watteyne EE290Q – Spring 2010
Chung-Ta King National Tsing Hua University
Chung-Ta King National Tsing Hua University
Potentiometer Electric circuit Cell or Battery Resistor Switch Bulb Earth/Ground LED.
Photos and Sensor Instructions
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
Embedded Programming and Robotics
KEG-012 A.K.A. EMMA AND DAVE’S GROUPS Design Projects.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
BYU CS 124Lab 0 - Warm-up Lab1 Lab 0 – Warm-up Lab 1.Acquire a Texas Instruments MSP430 LaunchPad Development Tool. 2.Setup a CS user account. 3.Install.
MOBILE OPERATING ROBOT ON EMBEDDED SYSTEM
Lecture 11: TI MSP430 Timers Compare Modes
Lecturers: Professor John Devlin Mr Robert Ross
Printer Port * 0= * 1= * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Photos and Sensor Instructions
ECE Lecture 1 1 L15 –I/O Part II Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
Oregon Robotics Tournament and Outreach Program RCX Basics.
MAKE: AN ELECTRONICS WORKSHOP
Dual Sparkle Circuit Green connections are wires – they can be any colour. Make sure all + and - connections match up. Make sure the larger battery terminal.
Electricity Notes 6 - Circuits Electric Circuit – _______________________________________ All electrical circuits have 4 parts: 1.____________________________________________________.
Intro. Interfacing & Electronics 1 Interfacing Introduction.
Microcontrollers JULES CALELLA. Microcontrollers vs Microprocessors  Microprocessors – do not contain RAM, ROM, I/O  Microcontrollers – The whole package.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
UNIT 2. CPUXV2 20-bit addressing User-definable Boot Strap Loader RAM starts at 0x1C00 Beginning of MAIN flash moves according to RAM Vector table starts.
ECE 382 Lesson 32 Lesson Outline Lab 6 Introduction Pulse Width Modulation Capture / Compare Example Lab 6 Tips Admin Lab#6 “prelab” due BOC lesson 33.
Application Case Study Christmas Lights Controller
Having fun with code, using Arduino in a middle school CS classroom
RASPBERRY PI WORKSHOP.
Logic Gates Binary Day 3 PEOPLE 2016.
CS4101 嵌入式系統概論 General Purpose IO
Lecture 8: TI MSP430 Interrupts, ISRs
INTERMEDIATE PROGRAMMING LESSON
CS4101 Introduction to Embedded Systems Lab 6: Low-Power Optimization
CS4101 Introduction to Embedded Systems Lab 1: MSP430 LaunchPad IDE
Chapter 6 General Purpose Input/Output
CS4101 Introduction to Embedded Systems Lab 1: General Purpose IO
Lesson Outline Peripherals Memory-Mapped IO Ports GPIO Multiplexing
Lab02 :Logic Gate Fundamentals:
Prof. Chung-Ta King Department of Computer Science
CS4101 嵌入式系統概論 General Purpose IO
INC 161 , CPE 100 Computer Programming
LAB #1 Introduction Combinational Logic Design
Programming Part 2 Mod Kit
Blinking an LED Using MSP430ware to Control GPIO
Chapter 2 Push button and Potentiometer
What is Arduino? By James Tedder.
Servos and Stepper Motors
INTERMEDIATE PROGRAMMING LESSON
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
CS-4540 Robotics - Lab 05 Switch inputs to the Arduino Uno
Batteries: the Chemistry
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Photos and Sensor Instructions
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Arduino Motor Lab Inspired by NYU ITP project
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Electricity and Circuits
CS4101 Introduction to Embedded Systems Lab 2: Basic IO and Timer
Passive Infrared Sensor
Prof. Chung-Ta King Department of Computer Science
Oregon Robotics Tournament and Outreach Program
ECE 3567 Microcontrollers Lab
Robot and Crickit HAT © Copyright 2019 by Dr. Elizabeth I. Horvath and Dr. Eva A. Horvath 1.
Presentation transcript:

A modular robot for use in the RoboSumo lab SampleBot 1.0 A modular robot for use in the RoboSumo lab

P2.4 P2.5 P2.6 P2.7 Left motor = P2.0, P2.1 Right motor = P2.2, P2.3 This controls the power from the battery pack. The LED should light when power is connected to the circuit. This should be OFF for programming. Left motor = P2.0, P2.1 Right motor = P2.2, P2.3 P2.4 P2.5 P2.6 P2.7

This is the power rail for the sensor blocks provided. +ve = 3.3 V = ORANGE -ve = GND = BLACK Access to Port 1, pins connected in increasing order from 1.0 to 1.7. These should generally be connected to BLUE wires from sensor blocks provided.

This switch selects the mode of operation This switch selects the mode of operation. Operation for running code, programming for connecting to the LaunchPad. Connection to LaunchPad, the following pins MUST be connected to Vcc, GND, TST and RST on the LaunchPad. Please ensure that the SampleBot is OFF and Programming is selected.

Programming // // SampleBot for MSP430G2553 or MSP430G2452 // Written by Emma Robinson last modifed 27/1/2016 // See http://robosumo.wordpress.com/msp430/ #include <msp430.h>   int main( void ) { WDTCTL = WDTPW + WDTHOLD; // Disable watchdog timer // Set all pins as inputs or outputs P1DIR = 0b00000000; // P1 inputs P2DIR = 0b11111111; // P2 outputs P2SEL &= ~BIT6; // P2.6 allow as GPIO P2SEL &= ~BIT7; // P2.7 allow as GPIO }