Programming Lab III Assignments

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Microprocessors Typical microprocessor controlled devices: Camera, mobile phone, stereo, mp3 player, electronic toys… High-level microprocessor controlled.
嵌入式微處理機 Embedded Processors 國立中興大學 電機工程學系 微控實驗室 蔡智強.
Systems Programming Course Gustavo Rodriguez-Rivera.
ASPPRATECH.
Asst. Prof. Dr. Alper ŞİŞMAN
COMPONENTS OF THE SYSTEM UNIT
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
How Computers Work. A computer is a machine f or the storage and processing of information. Computers consist of hardware (what you can touch) and software.
RemoteDrive. OVERVIEW OVERVIEW The RemoteDrive is a special software running on Windows TM and controlling the devices manufactured by Elettronica Santerno.
LabVIEW an Introduction
Objectives How Microcontroller works
A Company Selling Technology and not just a Product.
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
RM2D Let’s write our FIRST basic SPIN program!. The Labs that follow in this Module are designed to teach the following; Turn an LED on – assigning I/O.
What is system software and what are its parts? Programs that control operation of computer Two parts are operating systems utility programs.
SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:
BBBK Programming Notes Rudra Dutta CSC , Fall, 2013.
INTERFACING WEB SERVER WITH A ROBOT
Analog Discovery Arbitrary Function Generator for Windows 7 by Mr
1 uClinux course Day 4 of 5. 2 Author: D L Johnson CPU Architectures.
ECS642U Embedded Systems Digital I/O William Marsh.
Simulation of Distributed Application and Protocols using TOSSIM Valliappan Annamalai.
Part A Presentation Implementation of DSP Algorithm on SoC Student : Einat Tevel Supervisor : Isaschar Walter Accompanying engineer : Emilia Burlak The.
Parts of the computer.
The Picaxe Microprocessor What is it???. Well, first a large company called Microchip Technology inc. created a Programmable Interface Controller (PIC).
James Crosetto BS (Computer Science and Computer Engineering) Jeremy Ellison BS (Computer Science and Computer Engineering) Seth Schwiethale BS (Computer.
Over-view of Lab. 1 See the Lab. 1 web-site and the lecture notes for more details.
1M. Ellis - 17th May 2007 SciFi Decoding (Everything you never wanted to know but couldn’t avoid going over and over)  VLSB Data (unpacking to AFE, MCM,
Unit - V. Debugging GNU Debugger helps you in getting information about the following: 1.If a core dump happened, then what statement or expression did.
Lecture 7: Overview Microprocessors / microcontrollers.
Fundamentals of Programming Languages-II
Introduction to LabVIEW
Linux Boot Process on the Raspberry Pi 2 1 David Ferry, Chris Gill CSE 522S - Advanced Operating Systems Washington University in St. Louis St. Louis,
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
Microcontroller based Traffic signal Umer Butt Amna Rashid Izza Rabbani Rozab Naveed Ramesha Akram.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Raspberry PI 2 Installation & Demo App By Wayne Keadle.
Lecture 01: Computer Architecture overview. Our Goals ● Have a better understanding of computer architecture – Write better (more efficient) programs.
Embedded Software Design Week III Processor Basics Raspberry Pi -> Blinking LEDs & pushing buttons.
NFV Compute Acceleration APIs and Evaluation
Implementation of Embedded OS
Lab 1: Using NIOS II processor for code execution on FPGA
The first change to your project files that is needed is to change the device to the correct FPGA. This is done by going to the Assignments tab on the.
SE-3910 Real-time Systems Week 10, Class 3 Loop jamming
Chapter A - The Raspberry Pi Computer
Slides developed in part by Mark Brehob & Prabal Dutta
HTTP Server Protocol Module :
Components of Computer
PC Mouse operated Electrical Load Control Using VB Application
DSC - fundamente MPU MCU DSP DSC Alternative Freescale
Discovering Computers 2011: Living in a Digital World Chapter 4
COMP211 Computer Logic Design Introduction to the DE2 Board
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
ARM Cortex-M4 Combines DSP and microcontroller features
Computer Basics.
McCrometer Nano Board Test Procedure
The 8051 Microcontroller and Embedded Systems
Lab 1. Introduction to the DE2 Board
Workshop GPIO I2C SPI Panic1 woensdag 10 april 2019.
Single Board Computers and Dev Boards
Lecture 4. Introduction to the DE2 Board
Introduction to Single Board Computer
SE-3910 Real-time Systems Week 4, Class 1 Quick-Quiz (Ungraded!)
Computer Architecture
2019 Investing Now Summer Program
Presentation transcript:

Programming Lab III Assignments By Prof. G.R.Shinde

SPPU Prescription 310254 Programming Laboratory-III Teaching Scheme: Examination Scheme: Practical: 4 Hrs/Week Practical: 50 Marks Oral: 50 Marks

FDP Objectives: To learn basics of Embedded Operating Systems Programming Conceptual understanding of Beagle Bone black (BBB)development board Programming on BBB

Assignments Group A (Mandatory) I. Develop an application using BeagleBone Black/ARM Cortex A5 development board to simulate the operations of LIFT. II. Develop an application using Beeglebone Black/ ARM Cortex A5 development board to simulate the working of signal lights.

Assignments Group B Any Six Assignments, All assignments to be covered in the Batch I. Write an application to and demonstrate the change in BeagleBoard/ARM Cortex A5 /Microprocessor /CPU frequency or square wave of programmable frequency. II. Develop a network based application by setting IP address on BeagleBoard/ARM Cortex A5. II. Implement a Parallel Quick Sort algorithm using NVIDIA GPU or equivalent ARM board. III. Implement a Parallel ODD-Even Sort algorithm using GPU or ARM equivalent.

Assignment Group C Advance Technology Assignments (Any One) I. Develop Robotics(stepper motor) Application using Beagle Board.

Beagle Bone Black(BBB) Development Board Produced by Texas Instruments in association with DigiKey and Newark element14 The BeagleBone is a development board with a Sitara ARM Cortex-A8 processor The processor clock to 1 GHz, and it adds HDMI and 4 GB of eMMC flash memory RAM 512 MB Supported OS: Linux, Android, Debian, windows Embedded CE, Threadx, QNX

Beagle Bone Black(BBB) Development Board contd..

Beagle Bone Black(BBB) Development Board Contd..

AM3358

Expansion Headers The expansion headers on the beagleBone Black are comprised of two 46 pin connectors. P8 and P9 All signals on the expansion headers are 3.3V

Expansion Headers and GPIO

GPIO Programming The pins on the expansion header have multiple functions You have to identify the pin number which you would like to use as a GPIO Any GPIO you come across would be referenced as GPIOM_N. Identify M,N. Use the formula below to find the corresponding reference number in the kernel: Reference number = M * 32 + N

GPIO Programming contd.. For example, if you would like to use pin 23 on P8 expansion header Pin 23 is GPIO1_4 Reference number = M * 32 + N Hence, pin 23 would be referenced num RN= 1 *32 + 4 gpio 36 in the kernel.

Light up the LED Connect Gnd and VCC to the external board Gnd: Pin 1,2 of GPIO P9 Pin 25 VCC: Pin 5 of GPIO p9 Pin 26

Light up the LED contd.. Minicom : interfacing text-based modem control and terminal emulation program Export the pin echo 36 > /sys/class/gpio/export we need to configure it in the output mode. Write the following commands in your terminal echo out > /sys/class/gpio/gpio36/direction Now, let us toggle the LED by typing the following commands in terminal (First one is for turning ON and latter for OFF): echo 1 > /sys/class/gpio/gpio36/value echo 0 > /sys/class/gpio/gpio36/value

Assignment 1 Develop an application using BeagleBone Black/ARM Cortex A5 development board to simulate the operations of LIFT

Assignment 1 Contd.. Program is written in ‘CPP’ Every GPIO pin is considered as a file Simple file operations used fopen, fread, fwrite, fflush, fclose… Compile the code using g++ The code will execute showing current position of the lift Pressing a button ‘external’ OR ‘internal’ to the lift will take the lift to respective floor Current position will be displayed inside / outside the lift

Assignment 1 Contd..

Assignment 1:GPIO Pins Configuration

Assignment 1 contd..

Assignment 2 Develop an application using BeagleBone Black/ ARM Cortex A5 development board to simulate the working of signal lights.

Assignment 2 contd.. Program is written in ‘C’ Every GPIO pin is considered as a file Simple file operations used fopen, fread, fwrite, fflush, fclose… Compile the code using gcc The code will execute showing current position of the Traffic allowed e.g. side 2 & 4 with ‘left’ allowed (Green) After the preset time is elapsed ‘Yellow’ will flicker The sides will be changed

Assignment 2:GPIO Pins Configuration

Assignment 2 contd..

Assignment 3 Develop Robotics(stepper motor) Application using Beagle Board.

Assignment 3 contd..

Assignment 3 contd..

Assignment 3:GPIO Pins Configuration echo 30 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio30/direction echo 60 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio60/direction echo 31 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio31/direction echo 50 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio50/direction

Assignment 3 contd.. Program is written in ‘C’ Every GPIO pin is considered as a file Simple file operations used fopen, fread, fwrite, fflush, fclose… Compile the code using gcc The code will execute showing stepper motor revolution in anticlockwise or clockwise direction. Stepper motor executing in full step mode

Assignment 3 contd..

Thank you for your kind attention !!