SlideShare a Scribd company logo
ARDUINO & PCB design
(basics)
What is a Microcontroller
• A small computer on a single chip containing a processor, memory,
and input/output
• Typically "embedded" inside some device that they control
• A microcontroller is often small and low cost
The Arduino Development Board
The Arduino Microcontroller: Atmel ARV
Atmega 8
What is the Arduino
Our First Program
Interfacing
 PROGRAMMING CONCEPTS:
 Embedded C language implementation, programming,& debugging
 Memory Models
 Library reference
 Functions, Parameter passing and return types
 ON-CHIP PERIPHERALS PROGRAMMING, AND APPLICATION:
 Ports: Input/output
 Timers & Counters
 UART (Programming of Serial ports)
 EXTERNAL INTERFACES STUDY, PROGRAMMING AND APPLICATIONS:
 Implementation(single LED) with C programming
 LED array connections (multiple LED’s)
 Dancing LED’s with C programming
 Positive logic implementation and negative logic
 Basic circuit implementation/pin configuration
 ON/OFF controlling AC and DC devices with C programming
Interfacing (contd.)
 LCD
 16×2 LCD hardware connections
 Displaying own text on 16×2 LCD with C programming
 LCD interfacing with push buttons in C program
 Custom Character Generation
 Combining LCD and switch for a password system
 FLAME SENSOR RECEIVER MODULE
 Application in fire alarm systems
 GAS SENSOR
 Air Quality Gas Sensor MQ-135
 Can be used in alcohol sensor systems
 BLUETOOTH
 HC-06 Bluetooth Module Serial port Bluetooth
 Easy to use as it is based on Rx-Tx model
 Can be connected easily to smartphones and used even with voice control
FLAME SENSOR 16X2 LCD
MQ135 GAS SENSOR
Interfacing (contd.)
 RFID
 RFID module RDM-630
 Can be used in any kind of identification system
 Passive tags used to interact with module
 Doesn’t require line of sight like bar code reader
 Easy to use as it is based on Rx-Tx model
 Short range RFID used in industrial data collection
 ULTRASONIC MODULE
 HC-SR04 Ultrasonic Module
 You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the
module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo. The Echo is a
distance object that is pulse width and the range in proportion .You can calculate the range
through the time interval between sending trigger signal and receiving echo signal.
Interfacing (contd.)
 RF RX-TX MODULES
 RF transmitter FS1000A
 3 pin 433MHz RF transmitter
 2 arduino UNO boards to be used to catch the data through RF module
 RF receiver PCR2A is a 4-pin receiver module
 If receiver is receiving the signals from transmitter , then LED on both the boards must blink
simultaneously.
 Can be used with HT12E/D encoder-decoder pair
 HT12E converts parallel data from switches to serial form
 HT12D converts serially received data from transmitter to parallel output
 Parallel output is displayed using LEDs
RFID HC-SR04
Interfacing (contd.)
 RELAY & DC MOTOR
 Relays are simple switches operated electrically and mechanically.
 Used when low power signal is used to control a circuit
 Used when one signal is used to control many circuits
 Basically of 4 types :- 1) SPST 2) SPDT 3) DPST 4) DPDT
 For standard unidirectional motor we use SPDT type
Interfacing (contd.)
 H-BRIDGE CONTROL FOR DC-MOTOR
 Electronic circuit that allows voltage to be applied across a load in either direction
 Used in motor control
 H-bridge can be realized using semiconductor devices or using relay or can be purchased in the
form of an IC
 The dc motor can be run in both the directions unlike the unidirectional motion as seen in SPDT
model
Interfacing (contd.)
 DPDT RELAY FOR MOTOR
 DPDT relay is an 8-terminal device and stands for dual POLE dual THROW
Interfacing (contd.)
 H-BRIDGE IC FOR DC-MOTOR
 H-bridge can be implemented by an IC-L293D
 A 16-pin IC and can control 2 sets of DC motors simultaneously in any direction
Interfacing(contd.)
 GPS MODULE
 GPS module NEO-6M
 Arduino code used read the info like, date, time, location in view from NMEA data streams
 The most common string $GPRMC was decoded
 $GPRMC string contains following data :- time stamp , current latitude & longitude, speed
over ground in knots, date of fix
 GSM MODULE
 GSM module called SIM900
 Supports communication in 900MHz band
 Works on a 12V input
 Once, connection is established status LED will blink continuously every 3 seconds
 Instruction set for GSM
ata =(attend call) ath=(reject call)
AT+CMGF=1 (sets GSM in text mode)
AT+CGMR=1 (displays first text message in memory)
AT+ CGMD=2 (delete 2nd message frrom memory)
GPS SIM900(GSM)
Interfacing(contd.)
 MPU-6050
 InvenSense MPU-6050 sensor contains a MEMS accelerometer and a MEMS gyro in a single
chip.
 It is very accurate, as it contains 16-bits analog to digital conversion hardware for each channel.
 it captures the x, y, and z channel at the same time. The sensor uses the I2C-bus to interface with
the Arduino.
 It always acts as a slave with the SDA & SCL pins connected to I2C bus.
 KEYPAD
 4X4 matrix keypad used
 Princple to detect the key press & decoding logic for key pressed is same as keyboard for
microprocessor
 Same logic of grounding the rows and checking columns and debounce
MPU-6050 KEYPAD
Introduction to Or CAD for Board
Design
Using Capture and Layout
Before We Start
What is a schematic ?
--The board schematic is the logical representation of physical
implementation.
Create a project in Capture
Project Navigator
 The .opjfile is the
Capture project File
 The .dsnfile is the
schematics
 The .olbfile is the
Capture library file
Drawing Parts & Capture
Name
 – Use Part Number with package information
Ref Designators
– Ufor IC, R for Resistor, C for Capacitor, L for inductor,
X forOscillator, J for Connector, JP for Jumper, etc.
Packages
 – PCB Footprint can be linked to Layout
Multiple Part
 – Homogenous
 – Heterogeneous
Pins
 – Polarity
 – Number or letter
 – Symbol
Our Capture
 Our capture was for the arduino reference board used
 Here just the Atmega 8 microcontroller capture is shown just to give an idea
 To check the design use DRC tab on the toolbar
Layouts & Footprints
 Create library of all footprints in your design
 OrCADlayout library file extension is .llb . For each footprint check for the 3
properties of layout
 Go back to Capture and link parts to footprints
Component tool & DRC are ON &TOP shows layer of layout. Two layers were used only
TOP & BOTTOM
Layouts & Footprints(contd.)
 You can assign footprint to an existing or a new component to complete layout
Final Layout
Final PCB

More Related Content

What's hot

Analog I/O in PIC16F877A
Analog I/O in PIC16F877AAnalog I/O in PIC16F877A
Analog I/O in PIC16F877A
Mohamed Bedair
 
Atmel and pic microcontroller
Atmel and pic microcontrollerAtmel and pic microcontroller
Atmel and pic microcontrollerTearsome Llantada
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
OsaMa Hasan
 
Presentation
PresentationPresentation
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
Dr.YNM
 
how to generate sms
how to generate smshow to generate sms
how to generate smssumant reddy
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
Abdullah Saghir Ahmad
 
analog to digital converter seminar
analog to digital converter seminaranalog to digital converter seminar
analog to digital converter seminar
gayatrigayu1
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
Vinit Vyas
 
Programming pic microcontrollers
Programming pic microcontrollersProgramming pic microcontrollers
Programming pic microcontrollers
MAIYO JOSPHAT
 
Getting started with pic microcontrollers
Getting started with pic microcontrollersGetting started with pic microcontrollers
Getting started with pic microcontrollers
Pantech ProLabs India Pvt Ltd
 
Pic full note
Pic full notePic full note
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
Premier Farnell
 
Microcontroller
MicrocontrollerMicrocontroller
MicrocontrollerSpitiq
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
THANDAIAH PRABU
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
Gaurav Verma
 
digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
Arcanjo Salazaku
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
GauravRaikar3
 
Prerequriment of microcontroller
Prerequriment of microcontrollerPrerequriment of microcontroller
Prerequriment of microcontroller
Kshitij Wagle
 

What's hot (20)

Analog I/O in PIC16F877A
Analog I/O in PIC16F877AAnalog I/O in PIC16F877A
Analog I/O in PIC16F877A
 
Atmel and pic microcontroller
Atmel and pic microcontrollerAtmel and pic microcontroller
Atmel and pic microcontroller
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
 
Presentation
PresentationPresentation
Presentation
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
 
how to generate sms
how to generate smshow to generate sms
how to generate sms
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
 
analog to digital converter seminar
analog to digital converter seminaranalog to digital converter seminar
analog to digital converter seminar
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
 
Programming pic microcontrollers
Programming pic microcontrollersProgramming pic microcontrollers
Programming pic microcontrollers
 
Getting started with pic microcontrollers
Getting started with pic microcontrollersGetting started with pic microcontrollers
Getting started with pic microcontrollers
 
Pic full note
Pic full notePic full note
Pic full note
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
 
Prerequriment of microcontroller
Prerequriment of microcontrollerPrerequriment of microcontroller
Prerequriment of microcontroller
 

Similar to Embedded & pcb design

Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
 
Electronics Microcontrollers for IoT applications
Electronics Microcontrollers for IoT applicationsElectronics Microcontrollers for IoT applications
Electronics Microcontrollers for IoT applications
Leopoldo Armesto
 
Embedded system
Embedded  systemEmbedded  system
Embedded system
ANSHUL GUPTA
 
Embedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptxEmbedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptx
satheeshKumar750
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
Amr Rashed
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeSunil Kumar R
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
Santosh Verma
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
Electric&elctronics&engineeering
 
Study of Data sheet of 56824 DSP processors
Study of Data sheet of 56824 DSP processorsStudy of Data sheet of 56824 DSP processors
Study of Data sheet of 56824 DSP processors
Er. Ashish Pandey
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
Srivignessh Pss
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
aravind Guru
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
Md. Nahidul Islam
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
Imran Sheikh
 
ARINC-429-DATA-MANAGEMENT-ENGINE
ARINC-429-DATA-MANAGEMENT-ENGINEARINC-429-DATA-MANAGEMENT-ENGINE
ARINC-429-DATA-MANAGEMENT-ENGINE
Massimo Talia
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
Dhananjay Chauhan
 

Similar to Embedded & pcb design (20)

Assignment
AssignmentAssignment
Assignment
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Electronics Microcontrollers for IoT applications
Electronics Microcontrollers for IoT applicationsElectronics Microcontrollers for IoT applications
Electronics Microcontrollers for IoT applications
 
Embedded system
Embedded  systemEmbedded  system
Embedded system
 
Embedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptxEmbedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptx
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL Code
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
 
Study of Data sheet of 56824 DSP processors
Study of Data sheet of 56824 DSP processorsStudy of Data sheet of 56824 DSP processors
Study of Data sheet of 56824 DSP processors
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
An hemmanur
An hemmanurAn hemmanur
An hemmanur
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
Badal sharma
Badal sharmaBadal sharma
Badal sharma
 
ARINC-429-DATA-MANAGEMENT-ENGINE
ARINC-429-DATA-MANAGEMENT-ENGINEARINC-429-DATA-MANAGEMENT-ENGINE
ARINC-429-DATA-MANAGEMENT-ENGINE
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
 

Recently uploaded

weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 

Recently uploaded (20)

weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 

Embedded & pcb design

  • 1. ARDUINO & PCB design (basics)
  • 2. What is a Microcontroller • A small computer on a single chip containing a processor, memory, and input/output • Typically "embedded" inside some device that they control • A microcontroller is often small and low cost
  • 4. The Arduino Microcontroller: Atmel ARV Atmega 8
  • 5. What is the Arduino
  • 7. Interfacing  PROGRAMMING CONCEPTS:  Embedded C language implementation, programming,& debugging  Memory Models  Library reference  Functions, Parameter passing and return types  ON-CHIP PERIPHERALS PROGRAMMING, AND APPLICATION:  Ports: Input/output  Timers & Counters  UART (Programming of Serial ports)  EXTERNAL INTERFACES STUDY, PROGRAMMING AND APPLICATIONS:  Implementation(single LED) with C programming  LED array connections (multiple LED’s)  Dancing LED’s with C programming  Positive logic implementation and negative logic  Basic circuit implementation/pin configuration  ON/OFF controlling AC and DC devices with C programming
  • 8. Interfacing (contd.)  LCD  16×2 LCD hardware connections  Displaying own text on 16×2 LCD with C programming  LCD interfacing with push buttons in C program  Custom Character Generation  Combining LCD and switch for a password system  FLAME SENSOR RECEIVER MODULE  Application in fire alarm systems  GAS SENSOR  Air Quality Gas Sensor MQ-135  Can be used in alcohol sensor systems  BLUETOOTH  HC-06 Bluetooth Module Serial port Bluetooth  Easy to use as it is based on Rx-Tx model  Can be connected easily to smartphones and used even with voice control
  • 9. FLAME SENSOR 16X2 LCD MQ135 GAS SENSOR
  • 10. Interfacing (contd.)  RFID  RFID module RDM-630  Can be used in any kind of identification system  Passive tags used to interact with module  Doesn’t require line of sight like bar code reader  Easy to use as it is based on Rx-Tx model  Short range RFID used in industrial data collection  ULTRASONIC MODULE  HC-SR04 Ultrasonic Module  You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo. The Echo is a distance object that is pulse width and the range in proportion .You can calculate the range through the time interval between sending trigger signal and receiving echo signal.
  • 11. Interfacing (contd.)  RF RX-TX MODULES  RF transmitter FS1000A  3 pin 433MHz RF transmitter  2 arduino UNO boards to be used to catch the data through RF module  RF receiver PCR2A is a 4-pin receiver module  If receiver is receiving the signals from transmitter , then LED on both the boards must blink simultaneously.  Can be used with HT12E/D encoder-decoder pair  HT12E converts parallel data from switches to serial form  HT12D converts serially received data from transmitter to parallel output  Parallel output is displayed using LEDs
  • 13. Interfacing (contd.)  RELAY & DC MOTOR  Relays are simple switches operated electrically and mechanically.  Used when low power signal is used to control a circuit  Used when one signal is used to control many circuits  Basically of 4 types :- 1) SPST 2) SPDT 3) DPST 4) DPDT  For standard unidirectional motor we use SPDT type
  • 14. Interfacing (contd.)  H-BRIDGE CONTROL FOR DC-MOTOR  Electronic circuit that allows voltage to be applied across a load in either direction  Used in motor control  H-bridge can be realized using semiconductor devices or using relay or can be purchased in the form of an IC  The dc motor can be run in both the directions unlike the unidirectional motion as seen in SPDT model
  • 15. Interfacing (contd.)  DPDT RELAY FOR MOTOR  DPDT relay is an 8-terminal device and stands for dual POLE dual THROW
  • 16. Interfacing (contd.)  H-BRIDGE IC FOR DC-MOTOR  H-bridge can be implemented by an IC-L293D  A 16-pin IC and can control 2 sets of DC motors simultaneously in any direction
  • 17. Interfacing(contd.)  GPS MODULE  GPS module NEO-6M  Arduino code used read the info like, date, time, location in view from NMEA data streams  The most common string $GPRMC was decoded  $GPRMC string contains following data :- time stamp , current latitude & longitude, speed over ground in knots, date of fix  GSM MODULE  GSM module called SIM900  Supports communication in 900MHz band  Works on a 12V input  Once, connection is established status LED will blink continuously every 3 seconds  Instruction set for GSM ata =(attend call) ath=(reject call) AT+CMGF=1 (sets GSM in text mode) AT+CGMR=1 (displays first text message in memory) AT+ CGMD=2 (delete 2nd message frrom memory)
  • 19. Interfacing(contd.)  MPU-6050  InvenSense MPU-6050 sensor contains a MEMS accelerometer and a MEMS gyro in a single chip.  It is very accurate, as it contains 16-bits analog to digital conversion hardware for each channel.  it captures the x, y, and z channel at the same time. The sensor uses the I2C-bus to interface with the Arduino.  It always acts as a slave with the SDA & SCL pins connected to I2C bus.  KEYPAD  4X4 matrix keypad used  Princple to detect the key press & decoding logic for key pressed is same as keyboard for microprocessor  Same logic of grounding the rows and checking columns and debounce
  • 21. Introduction to Or CAD for Board Design Using Capture and Layout
  • 22. Before We Start What is a schematic ? --The board schematic is the logical representation of physical implementation. Create a project in Capture
  • 23. Project Navigator  The .opjfile is the Capture project File  The .dsnfile is the schematics  The .olbfile is the Capture library file
  • 24. Drawing Parts & Capture Name  – Use Part Number with package information Ref Designators – Ufor IC, R for Resistor, C for Capacitor, L for inductor, X forOscillator, J for Connector, JP for Jumper, etc. Packages  – PCB Footprint can be linked to Layout Multiple Part  – Homogenous  – Heterogeneous Pins  – Polarity  – Number or letter  – Symbol
  • 25. Our Capture  Our capture was for the arduino reference board used  Here just the Atmega 8 microcontroller capture is shown just to give an idea  To check the design use DRC tab on the toolbar
  • 26. Layouts & Footprints  Create library of all footprints in your design  OrCADlayout library file extension is .llb . For each footprint check for the 3 properties of layout  Go back to Capture and link parts to footprints Component tool & DRC are ON &TOP shows layer of layout. Two layers were used only TOP & BOTTOM
  • 27. Layouts & Footprints(contd.)  You can assign footprint to an existing or a new component to complete layout