What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Lab7: Introduction to Arduino
ARDUINO FRAMEWORK.
Intermediate Electronics and Lilypad Where Electronics Meet Textiles Workshop with Lynne Bruning and Troy Robert Nachtigall Sponsored by Spark Fun and.
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
How to use Arduino By: Andrew Hoffmaster.
Embedded Sumo 1T4 – 1T5 UTRA.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Timers and Interrupts Shivendu Bhushan Sonu Agarwal.
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Practical Electronics & Programming
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Introduction to the Arduino
Khaled A. Al-Utaibi  The Push Button  Interfacing Push Buttons to Arduino  Programming Digital Inputs  Working with “Bouncy”
Advanced uC Session Speaker : Chiraag Juvekar Jan 13, 2011 Speaker : Chiraag Juvekar Jan 13, 2011.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Samuel John Vinod Kumar CG Ganesh Raam K. Introduction  The need for health consciousness has increased in the recent past and so is the need to monitor.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
Guide Presented by Mr.M Cheenya V.Abhinav Kumar 11E31A0422 Asst.Professor K.Shiva Kumar 11E31A0423 K.Rajashekhar 11E31A0424 K.Chaithanya Sree 11E31A0428.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Microcontroller basics Embedded systems for mortals.
Electronic instrumentation Digitization of Analog Signal in TD
Pulse-Width Modulation: Simulating variable DC output
TRANSMISSION LINE MULTIPLE FAULT DETECTION AND INDICATION TO EB
1 Lab 4: D/A Converter Lab 4: D/A Converter This is a simple resistive network for a D/A converter Port 1, Port 0 are digital inputs ==> 00 (minimum),
TITLE: 555 Timer OM INSTITUTE OF TECHNOLOGY Subject: Analog Electronics ( ) Semester: 03 Prepared By:
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
Arduino.
IF I ONLY HAD A BRAIN THE MICROCONTROLLER
Digital Control CSE 421.
Scrolling LCD using Arduino.
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
ULTRASONIC DISTANCE METER USING 8051
Microcontroller basics
DIGITAL CALCULATOR USING 8051
Arduino Part 1 Topics: Microcontrollers Programming Basics
Project guide B. SUBBULAKSHMI M. E Assistant Professor C. A. R
‘SONAR’ using Arduino & ultrasonic distance sensor
Introduction to Arduinos
Digital Acquisition of Analog Signals – A Practical Guide
Lecture 3 - Instruction Set - Al
Chapter 1 Introduction of Arduino
Arduino : Introduction & Programming
8051 Micro Controller.
Manual Robotics ..
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Arduino Board.
Arduino म्हणजे काय?.
Introduction to Arduinos
Introduction to arduino
Presented By,  Mamata Yadav (BE Elex & Comm.) Vice R&D Coordinator(HW), PCRT  Payal Shah (BE Elex & Comm.)  Ananta Das (BE Elex & Comm.) R&D Team,PCRT.
Pulse-Width Modulation: Simulating variable DC output
Presentation transcript:

What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)  USB connection with serial communication  Open source programs available  Built in ADC  Easy to use platform with most of the functions provided on board

Introduction to Arduino ATMEL 168 RESET SWITCH POWER PORT ADC PINS ON BOARD CRYSTAL 8 BIT DIGITAL PORT WITH COMMUNICATION PINS 8 BIT DIGITAL PORT WITH PWM PINS USB CONNECTOR FOR COMPUTER INTERFACING EXTERNAL SUPPLY – 6V DC

Why Arduino?  Arduino has multiple inbuilt features and acts as a combination of 10 bit analog to digital converter(ADC), storage and microprocessor.  Arduino comes up with its own software for analyzing, processing and calculation of unknown parameters.  It provides a facility to write programs, compile them and program the microcontroller all by itself.  It can take 6 analog inputs and a time and process all of them without any difficulty.  There are 2 digital 8 pin ports available and they can be used for interfacing with LCD, LEDs, to drive an other circuit and so on.

Sample programs ADC – Analog to Digital Converter  Takes analogue input from Potentiometer  Converts 0-5V analog signal to Digital values  Displays it on screen using serial communication  Displays it on 16x 8 LCD

Analog to Digital Converter CODE : void setup() { Serial.begin(9600); //begin serial communication with computer } //void loop runs continuously on µc void loop() { int sensorValue = analogRead(A0); //reads analogue pin A0 Serial.println(sensorValue, DEC); //prints it on serial monitor }

LCD Interfacing

CODE: LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() { lcd.begin(16, 2); // set up the LCD's number of columns and rows: lcd.print("hello, world!"); // Print a message to the LCD. } void loop() { // set the cursor to column 0, line 1 // (note: line 1 is the second row, since counting begins with 0): lcd.setCursor(0, 1); lcd.print(millis()/1000); // print the number of seconds since reset: }

LCD Output

Hardware is reduced Microprocessor Brain of the system ADC 10 bit built in Storage 4kb memory connected Input – Output ports ARDUINO KIT Analog signal 16 x 8 LCD display Usb port of computer

Frequency calculation for square wave  Firstly, a square wave is generated using a 555(timer circuit).  The values of R,C are adjusted such that the frequency of output is close to 60Hz.  This square wave signal is given to one of the analog pins of Arduino.  Code for the frequency calculation is written, verified and programmed using the Arduino software.  The calculated frequency is displayed in the serial monitor of the software or using an LCD.

Frequency calculation for square wave ARDUINO KIT SERIAL MONITOR LCD

Measurement of live Power System Frequency Taking samples from actual 230V AC Supply

The Problem POWER SUPPLY 230 V AC SIGNAL ARDUINO KIT 0-5 V DC SIGNAL TRANSFORMER TO 2.5 V & DC OFFSET OF 2.5 V DC

Live frequency estimation by Arduino  The live power signal of 230V magnitude is stepped down by a transformer to 3V.  This AC signal of 3V is then fed to one of the analog pins of Arduino.  Arduino microcontroller is able to read the input only during its positive half cycle.  A set of 250 samples of this sinusoidal wave is taken by the kit which has a sampling time interval of.112ms.  As per the traditional zero cross-over method, the frequency of the live signal is calculated.

Live frequency estimation by Arduino 230V/3V Transformer ARDUINO KIT SERIAL MONITOR LCD Live AC signal

Taking all samples of the live signal  Since, the Arduino cannot be fed with an AC signal of high magnitude, the signal is first brought to an AC wave of 6V magnitude using a step down transformer.  This wave is given to the inverting pin of 741 Op-Amp IC using a variable resistor such that the output due to this signal alone is 2V.  A dc voltage is fed to the non inverting pin of 741 so that the output due to this signal alone is 3V.  This sinusoidal non AC signal varies from 0V to 5V.  This signal is finally given to one of the analog pins of the Arduino.  Analog-serial-input code is programmed into Arduino and samples of the signal can be seen in the serial monitor every 1 ms.

Taking all samples of the live signal ARDUINO KIT Serial Monitor

Limitations of Arduino  Calculations of very high frequency signals is not possible using Arduino as the sampling rate of ADC is low.  The input signal must be non AC and must posses a magnitude of less than 5V.  Heavy mathematical functions like inverse trigonometry, modulus operation, complex equations cannot be performed by the Arduino software.

Thank you