SlideShare a Scribd company logo
1 of 3
Download to read offline
IJRET: International Journal of Research in Engineering and Technology ISSN: 2319-1163
__________________________________________________________________________________________
Volume: 02 Issue: 04 | Apr-2013, Available @ http://www.ijret.org 563
DESIGN OF A USB-BASED DATA ACQUISITION SYSTEM
Samiran Maiti
Asst. Professor, Department of Electronics & Communication Engineering, Birbhum Institute of Engineering &
Technology, Suri, Birbhum, West Bengal Pin – 731101, samiran.cemk@gmail.com
Abstract
Development of a multi-channel compact data – acquisition board, which collects real world analog (0-5 Volt dc) and digital data,
delivers them to a personal computer using a USB communication link. The DAQ board is based on microchip PIC microcontroller
(PIC18F2550). A GUI is developed on Visual Basic which displays the instantaneous analog and digital data. It can also be used for
generating the control action signal (manual) which could be delivered to the actuator through a DAC through the microcontroller.
Keywords: PIC Microcontroller, data acquisition, USB.
---------------------------------------------------------------------***------------------------------------------------------------------------
1. DAS
Data acquisition system, as the name implies, are products
and/or processes used to collect information to document or
analyze some phenomenon. Data acquisition is the sampling
the real world to generate data that can be manipulated by a
computer. Sometime abbreviated DAQ or DAS, data
acquisition typically involves acquisition of signal waveforms
and processing the signal to obtain desired information. the
components of data acquisition system include appropriate
sensors that convert any measurement parameter to an
electrical signal , which is acquired by data acquisition
hardware. Data acquisition begins with the physical
phenomenon or physical property of an object (under
investigation) to be measured. The physical property or
phenomenon could be temperature change of a room, the
intensity change of a light source, the pressure of a chamber,
the force applied to an object or many other things. An
effective data acquisition system can measure all of these
properties or phenomenas.
2. USB-BASED DATA ACQUISITION SYSTEM
2.1 Introduction
With the introduction of low-power, fast performing,
miniature embedded circuits in Instrumentation; data
acquisition devices have become more compact, versatile and
easy to use. Added with this, the computational power of
digital computer is ever increasing, which has resulted data
acquisition, presentation, processing and control operations to
become more PC - centric. Small, compact DAQ devices,
popularly known as DAS cards are very popular as frontend
data collection units in all PC-based instrumentation systems.
Primarily these cards offer analog conditioning functions (like
filtering, isolation, excitation, amplification etc), followed by
digitization of the signal. Finally, high-end microcontroller
converts the digitized samples to a formatted data conforming
a (serial) protocol for delivery to a desktop, laptop or even
PDA device. Universal Serial Bus (USB) has emerged as a
very popular, inexpensive and easy-to-use short range (5m)
communication media for data transfer with a PC (host),
where the communication device acts as a client. The USB
was originally designed to connect PC with its peripherals
(keyboard, mouse etc.). However, it has proven useful for
many other applications, including measurement and
automation. Use of Graphical User Interface (GUI) in
Windows compatible application software have become an
integral part of the software and are given equal importance
with the algorithm development. GUI based system employ
the use of graphical widgets like menu, edit box, pushbuttons,
charts, displays etc to create an user friendly interface so that
an inexperienced user can become quickly conversant with a
complex applications.
The work is focused on the following objectives:
(i) To develop a PIC microcontroller based data acquisition
card for collecting field data
(ii) To develop a USB communication link for bidirectional
data and command transfer between a PC and the card
(iii) To develop a GUI, which acts as the user-end front panel
to control entire operation of the system?
2.2 Block Diagram:
IJRET: International Journal of Research in Engineering and Technology ISSN: 2319-1163
__________________________________________________________________________________________
Volume: 02 Issue: 04 | Apr-2013, Available @ http://www.ijret.org 564
2.3 Working
There are two analog i/p channels and 2 digital i/p channels.
Pin no. 2 & 3 of PIC (18F2550) Microcontroller are used for
analog i/p & pin no.11 & 12 are used for digital i/p. The
analog i/p range is from 0-5v. Microcontroller’s operating
voltage, VDD=5v is given from the PC’s USB port. The PIC
(18F2550) Microcontroller has an inbuilt ADC of 10 bits. And
the sampling frequency has been set at 50 ms.
The first step is to write the program (firmware) for the PIC
microcontroller. The program (firmware) is written in
PicBasicPro language. The programming configures the USB
descriptor so that the device is set under HID class. One of the
benefits of a well-defined specification (like the USB HID
class) is the availability of device drivers available in most
modern operating systems.
The program is written in notepad (a software which is found
in the accessories part of Windows XP) and is saved in .pbp
format.
The program is compiled and converted it to HEX code before
loading the program into the microcontroller’s EPROM.
Microcode Studio (front end) & PicBasicPro header files
(compilation engine) is used in this project for compiling the
program (firmware). After compilation a HEX file is
generated
This HEX file is burnt into the PIC microcontroller using
WinPic800 software & JDM programmer. This programmer
(JDM) is a high voltage programmer, since low voltage
programmers are not suitable for USB programming. The
Winpic800 configuration bit settings needs to be configured
properly. The proper configuration bit setting diagram is
included.
The PIC18F2550 microcontroller can be connected to PC
through USB port. As the device belongs to HID class so
when it is connected to PC the operating software recognizes
it as a HID device. One can check the properties of the device
through USB View (a free tool from Microsoft Corporation)
or Control Panel® Device Manager.
The GUI is developed using VB6 (Visual Basic 6) software.
The GUI recognizes the USB device by its VID and PID when
it is connected to a USB port. After the device is detected the
user program can communicate with it. The flowcharts
represent the program which have been written to create the
GUI are included.
2.4 Flow Chart
The flowchart of the firmware which has been loaded
into the PIC18F2550
Flowchart of VB program to receive analog and
digital channel values
IJRET: International Journal of Research in Engineering and Technology ISSN: 2319-1163
__________________________________________________________________________________________
Volume: 02 Issue: 04 | Apr-2013, Available @ http://www.ijret.org 565
Flowchart of VB program for control action
generation
CONCLUSIONS
This device scans the analog and digital channels at every
50ms interval. No external power is necessary to run this
device. As the device is of HID class it needs no device
specific driver, even if the PC Operating system is Windows
98SE. PIC 18F2550 Microcontroller itself have analog-to-
digital converter (ADC), digital-to-analog converter (DAC),
timers and counters, serials ports, memory, input/output ports
many more functional blocks on chip. So there is not required
external analog-to-digital converter (ADC) and digital-to-
analog converter (DAC). The system is reliable with the
sensors. The system can be used as commercial product for
temperature measurements and light intensity measurements.
However, the existing system can be upgraded to a PC based
data acquisition and control system, where, set-points along
with controller tuning parameters can be provided using
keyboard in the front panel GUI. In such a s case, the DAQ
board shall include a DAC to deliver the control action signal
(generated by the control algorithm developed either by
microcontroller or at PC level) to the field.
The developed DAQ board accepts signal in 0-5Vdc level. For
multi-channel and multi-sensor level acquisition, a separate
sensor-specific analog conditioning board can be developed.
Or, the same can be developed on the card itself, comprising
with the small size modified board.
REFERENCES
[1] A. K. Sawhney, “A course in Electrical and Electronic
Measurements and Instrumentation” Dhanpat Rai & c.o.
[2] “USB Connectivity for Microcontrollers” Instrumentation
Viewpoint, Sarti News Bulletin
[3] MPLAB IDE: www.microchip.com
[4] 2nd generation JDM PIC programmer and WinPic800
V3.6 foxdelta.com,
[5] USB Implementers Forum: USB 2.0 Specification:
www.usb.org/developers/docs
[6] Data sheet PIC18F2550 Microcontroller.

More Related Content

What's hot

IoT and connected devices
IoT and connected devicesIoT and connected devices
IoT and connected devicesPascal Bodin
 
Future Trends of Embedded Systems - Technical Paper Presentation
Future Trends of Embedded Systems - Technical Paper PresentationFuture Trends of Embedded Systems - Technical Paper Presentation
Future Trends of Embedded Systems - Technical Paper PresentationKaushik Gupta
 
Application of embedded system
Application of embedded systemApplication of embedded system
Application of embedded systemDikshant Ghimire
 
REP.01 PROJ-FX01 Smart Home RP-v2
REP.01 PROJ-FX01 Smart Home RP-v2REP.01 PROJ-FX01 Smart Home RP-v2
REP.01 PROJ-FX01 Smart Home RP-v2Ricardo Pereira
 
Ppt on six month training on embedded system & IOT
Ppt on six month training on embedded system & IOTPpt on six month training on embedded system & IOT
Ppt on six month training on embedded system & IOTpreetigill309
 
Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...
Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...
Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...IOSR Journals
 
Computing for Engineering - Lecture 01
Computing for Engineering - Lecture 01Computing for Engineering - Lecture 01
Computing for Engineering - Lecture 01Sarchia Khursheed
 
Embedded system design with microcontrollers in waayoo.com
Embedded system design with microcontrollers in waayoo.comEmbedded system design with microcontrollers in waayoo.com
Embedded system design with microcontrollers in waayoo.comPraveen Pandey
 
REP.01 NETW3205 Network Management
REP.01 NETW3205 Network ManagementREP.01 NETW3205 Network Management
REP.01 NETW3205 Network ManagementRicardo Pereira
 
Trends and innovations in Embedded System Education
Trends and innovations in Embedded System EducationTrends and innovations in Embedded System Education
Trends and innovations in Embedded System EducationSantosh Verma
 
IoT and connected devices: an overview
IoT and connected devices: an overviewIoT and connected devices: an overview
IoT and connected devices: an overviewPascal Bodin
 
Embedded systems The Past Present and the Future
Embedded systems The Past Present and the FutureEmbedded systems The Past Present and the Future
Embedded systems The Past Present and the FutureSrikanth KS
 
Esd notes iae
Esd notes iaeEsd notes iae
Esd notes iaeMuru Gan
 

What's hot (19)

IoT and connected devices
IoT and connected devicesIoT and connected devices
IoT and connected devices
 
Future Trends of Embedded Systems - Technical Paper Presentation
Future Trends of Embedded Systems - Technical Paper PresentationFuture Trends of Embedded Systems - Technical Paper Presentation
Future Trends of Embedded Systems - Technical Paper Presentation
 
Application of embedded system
Application of embedded systemApplication of embedded system
Application of embedded system
 
Vinod ppt on es31 08 15
Vinod ppt on es31 08 15Vinod ppt on es31 08 15
Vinod ppt on es31 08 15
 
Ppt embedded systems
Ppt embedded systemsPpt embedded systems
Ppt embedded systems
 
REP.01 PROJ-FX01 Smart Home RP-v2
REP.01 PROJ-FX01 Smart Home RP-v2REP.01 PROJ-FX01 Smart Home RP-v2
REP.01 PROJ-FX01 Smart Home RP-v2
 
Ppt on six month training on embedded system & IOT
Ppt on six month training on embedded system & IOTPpt on six month training on embedded system & IOT
Ppt on six month training on embedded system & IOT
 
Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...
Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...
Design And Development of A Plug-In Type Wireless Data Logger for Energy Meas...
 
Computing for Engineering - Lecture 01
Computing for Engineering - Lecture 01Computing for Engineering - Lecture 01
Computing for Engineering - Lecture 01
 
Embedded system design with microcontrollers in waayoo.com
Embedded system design with microcontrollers in waayoo.comEmbedded system design with microcontrollers in waayoo.com
Embedded system design with microcontrollers in waayoo.com
 
Beagle board
Beagle boardBeagle board
Beagle board
 
REP.01 NETW3205 Network Management
REP.01 NETW3205 Network ManagementREP.01 NETW3205 Network Management
REP.01 NETW3205 Network Management
 
Trends and innovations in Embedded System Education
Trends and innovations in Embedded System EducationTrends and innovations in Embedded System Education
Trends and innovations in Embedded System Education
 
IoT and connected devices: an overview
IoT and connected devices: an overviewIoT and connected devices: an overview
IoT and connected devices: an overview
 
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)
 
Embedded systems The Past Present and the Future
Embedded systems The Past Present and the FutureEmbedded systems The Past Present and the Future
Embedded systems The Past Present and the Future
 
GOWTHAM REPORT
GOWTHAM REPORTGOWTHAM REPORT
GOWTHAM REPORT
 
Esd notes iae
Esd notes iaeEsd notes iae
Esd notes iae
 
1.techie nest embedded systems
1.techie nest embedded systems1.techie nest embedded systems
1.techie nest embedded systems
 

Viewers also liked

Addressing the cloud computing security menace
Addressing the cloud computing security menaceAddressing the cloud computing security menace
Addressing the cloud computing security menaceeSAT Publishing House
 
Effect of corrosion inhibitor on properties of concrete
Effect of corrosion inhibitor on properties of concreteEffect of corrosion inhibitor on properties of concrete
Effect of corrosion inhibitor on properties of concreteeSAT Publishing House
 
NBPC 1613 San Diego, CA Proposed 2014 bylaws draft_july_24_unanimous_consensu...
NBPC 1613 San Diego, CA Proposed 2014 bylaws draft_july_24_unanimous_consensu...NBPC 1613 San Diego, CA Proposed 2014 bylaws draft_july_24_unanimous_consensu...
NBPC 1613 San Diego, CA Proposed 2014 bylaws draft_july_24_unanimous_consensu...NBPCSanDiego
 
Effect of machining parameters on surface roughness for 6063 al tic (5 & 10 %...
Effect of machining parameters on surface roughness for 6063 al tic (5 & 10 %...Effect of machining parameters on surface roughness for 6063 al tic (5 & 10 %...
Effect of machining parameters on surface roughness for 6063 al tic (5 & 10 %...eSAT Publishing House
 
Alternative Funding For Game Devs - GDC2015 - Pollen VC
Alternative Funding For Game Devs - GDC2015 - Pollen VCAlternative Funding For Game Devs - GDC2015 - Pollen VC
Alternative Funding For Game Devs - GDC2015 - Pollen VCMartin Macmillan
 
Andrea paola duran 11- 03 trabajo
Andrea paola duran 11- 03 trabajoAndrea paola duran 11- 03 trabajo
Andrea paola duran 11- 03 trabajoAndrea Duran ʚïɞ
 
Implementation of delay measurement technique using signature register for sm...
Implementation of delay measurement technique using signature register for sm...Implementation of delay measurement technique using signature register for sm...
Implementation of delay measurement technique using signature register for sm...eSAT Publishing House
 
Jonanthan Leopard's Visual Resume
Jonanthan Leopard's Visual ResumeJonanthan Leopard's Visual Resume
Jonanthan Leopard's Visual Resumejonleopard
 
Stone Reuling- PPP
Stone Reuling- PPPStone Reuling- PPP
Stone Reuling- PPPStoneReuling
 
和食って何?
和食って何?和食って何?
和食って何?Maho Isono
 
Granularity of efficient energy saving in wireless sensor networks
Granularity of efficient energy saving in wireless sensor networksGranularity of efficient energy saving in wireless sensor networks
Granularity of efficient energy saving in wireless sensor networkseSAT Publishing House
 
Looking for user friendly and comprehensive beginner guitar lessons
Looking for user friendly and comprehensive beginner guitar lessonsLooking for user friendly and comprehensive beginner guitar lessons
Looking for user friendly and comprehensive beginner guitar lessonsWayneDaniels1
 

Viewers also liked (20)

Compute System
Compute System Compute System
Compute System
 
Ar
ArAr
Ar
 
Normativas de una buena
Normativas de una buenaNormativas de una buena
Normativas de una buena
 
Addressing the cloud computing security menace
Addressing the cloud computing security menaceAddressing the cloud computing security menace
Addressing the cloud computing security menace
 
Effect of corrosion inhibitor on properties of concrete
Effect of corrosion inhibitor on properties of concreteEffect of corrosion inhibitor on properties of concrete
Effect of corrosion inhibitor on properties of concrete
 
NBPC 1613 San Diego, CA Proposed 2014 bylaws draft_july_24_unanimous_consensu...
NBPC 1613 San Diego, CA Proposed 2014 bylaws draft_july_24_unanimous_consensu...NBPC 1613 San Diego, CA Proposed 2014 bylaws draft_july_24_unanimous_consensu...
NBPC 1613 San Diego, CA Proposed 2014 bylaws draft_july_24_unanimous_consensu...
 
Effect of machining parameters on surface roughness for 6063 al tic (5 & 10 %...
Effect of machining parameters on surface roughness for 6063 al tic (5 & 10 %...Effect of machining parameters on surface roughness for 6063 al tic (5 & 10 %...
Effect of machining parameters on surface roughness for 6063 al tic (5 & 10 %...
 
Alternative Funding For Game Devs - GDC2015 - Pollen VC
Alternative Funding For Game Devs - GDC2015 - Pollen VCAlternative Funding For Game Devs - GDC2015 - Pollen VC
Alternative Funding For Game Devs - GDC2015 - Pollen VC
 
Andrea paola duran 11- 03 trabajo
Andrea paola duran 11- 03 trabajoAndrea paola duran 11- 03 trabajo
Andrea paola duran 11- 03 trabajo
 
Implementation of delay measurement technique using signature register for sm...
Implementation of delay measurement technique using signature register for sm...Implementation of delay measurement technique using signature register for sm...
Implementation of delay measurement technique using signature register for sm...
 
Jonanthan Leopard's Visual Resume
Jonanthan Leopard's Visual ResumeJonanthan Leopard's Visual Resume
Jonanthan Leopard's Visual Resume
 
Stone Reuling- PPP
Stone Reuling- PPPStone Reuling- PPP
Stone Reuling- PPP
 
和食って何?
和食って何?和食って何?
和食って何?
 
Granularity of efficient energy saving in wireless sensor networks
Granularity of efficient energy saving in wireless sensor networksGranularity of efficient energy saving in wireless sensor networks
Granularity of efficient energy saving in wireless sensor networks
 
Hydraulic cylinder trubleshoting
Hydraulic cylinder trubleshotingHydraulic cylinder trubleshoting
Hydraulic cylinder trubleshoting
 
Banana project 602
Banana project 602Banana project 602
Banana project 602
 
ESTRUCTURAS ANIDADAS
ESTRUCTURAS ANIDADASESTRUCTURAS ANIDADAS
ESTRUCTURAS ANIDADAS
 
Computer Network
Computer NetworkComputer Network
Computer Network
 
Looking for user friendly and comprehensive beginner guitar lessons
Looking for user friendly and comprehensive beginner guitar lessonsLooking for user friendly and comprehensive beginner guitar lessons
Looking for user friendly and comprehensive beginner guitar lessons
 
Hydraulic oil
Hydraulic oilHydraulic oil
Hydraulic oil
 

Similar to Design of a usb based data acquisition system

Data Acquisition and Control System for Real Time Applications
Data Acquisition and Control System for Real Time ApplicationsData Acquisition and Control System for Real Time Applications
Data Acquisition and Control System for Real Time Applicationsijsrd.com
 
Controlling Home Appliances by using Universal Remote Control System (IoT and...
Controlling Home Appliances by using Universal Remote Control System (IoT and...Controlling Home Appliances by using Universal Remote Control System (IoT and...
Controlling Home Appliances by using Universal Remote Control System (IoT and...IRJET Journal
 
IRJET- Smart Power Optimization with IoT
IRJET-  	  Smart Power Optimization with IoTIRJET-  	  Smart Power Optimization with IoT
IRJET- Smart Power Optimization with IoTIRJET Journal
 
Standalone_USB_Transfer_Device_ijariie2074.pdf
Standalone_USB_Transfer_Device_ijariie2074.pdfStandalone_USB_Transfer_Device_ijariie2074.pdf
Standalone_USB_Transfer_Device_ijariie2074.pdfShashank Jadhav
 
Decibel meter using IoT with notice board
Decibel meter using IoT with notice boardDecibel meter using IoT with notice board
Decibel meter using IoT with notice boardIRJET Journal
 
Development of Software for Estimation of Structural Dynamic Characteristics ...
Development of Software for Estimation of Structural Dynamic Characteristics ...Development of Software for Estimation of Structural Dynamic Characteristics ...
Development of Software for Estimation of Structural Dynamic Characteristics ...IRJET Journal
 
PICDriverResearch
PICDriverResearchPICDriverResearch
PICDriverResearchJohn Dunbar
 
B03504008012
B03504008012B03504008012
B03504008012theijes
 
IJSRED-V2I2P57
IJSRED-V2I2P57IJSRED-V2I2P57
IJSRED-V2I2P57IJSRED
 
An Internet Based Interactive Data Acquisition System
An Internet Based Interactive Data Acquisition System An Internet Based Interactive Data Acquisition System
An Internet Based Interactive Data Acquisition System Saptarshi Nag
 
Industrial monitoring and control system using android application
Industrial monitoring and control system using android applicationIndustrial monitoring and control system using android application
Industrial monitoring and control system using android applicationAvinash Vemula
 
IRJET- Navigation Camp – Bot
IRJET-  	  Navigation Camp – BotIRJET-  	  Navigation Camp – Bot
IRJET- Navigation Camp – BotIRJET Journal
 
Electronic Nameplate System
Electronic Nameplate SystemElectronic Nameplate System
Electronic Nameplate SystemIRJET Journal
 
IRJET- Passenger Indicator for Driver
IRJET- Passenger Indicator for DriverIRJET- Passenger Indicator for Driver
IRJET- Passenger Indicator for DriverIRJET Journal
 
A Microcontroller Framework For PC Based Electrical Appliance Control System
A Microcontroller Framework For PC Based Electrical Appliance Control SystemA Microcontroller Framework For PC Based Electrical Appliance Control System
A Microcontroller Framework For PC Based Electrical Appliance Control SystemStephen Faucher
 
IRJET- Smart Energy Meter Billing, Monitoring and Controlling System
IRJET-  	  Smart Energy Meter Billing, Monitoring and Controlling SystemIRJET-  	  Smart Energy Meter Billing, Monitoring and Controlling System
IRJET- Smart Energy Meter Billing, Monitoring and Controlling SystemIRJET Journal
 
IRJET - Automatic Toll E-Tickting System for Transportation and Finding o...
IRJET -  	  Automatic Toll E-Tickting System for Transportation and Finding o...IRJET -  	  Automatic Toll E-Tickting System for Transportation and Finding o...
IRJET - Automatic Toll E-Tickting System for Transportation and Finding o...IRJET Journal
 

Similar to Design of a usb based data acquisition system (20)

Data Acquisition and Control System for Real Time Applications
Data Acquisition and Control System for Real Time ApplicationsData Acquisition and Control System for Real Time Applications
Data Acquisition and Control System for Real Time Applications
 
Controlling Home Appliances by using Universal Remote Control System (IoT and...
Controlling Home Appliances by using Universal Remote Control System (IoT and...Controlling Home Appliances by using Universal Remote Control System (IoT and...
Controlling Home Appliances by using Universal Remote Control System (IoT and...
 
IRJET- Smart Power Optimization with IoT
IRJET-  	  Smart Power Optimization with IoTIRJET-  	  Smart Power Optimization with IoT
IRJET- Smart Power Optimization with IoT
 
Standalone_USB_Transfer_Device_ijariie2074.pdf
Standalone_USB_Transfer_Device_ijariie2074.pdfStandalone_USB_Transfer_Device_ijariie2074.pdf
Standalone_USB_Transfer_Device_ijariie2074.pdf
 
Decibel meter using IoT with notice board
Decibel meter using IoT with notice boardDecibel meter using IoT with notice board
Decibel meter using IoT with notice board
 
Development of Software for Estimation of Structural Dynamic Characteristics ...
Development of Software for Estimation of Structural Dynamic Characteristics ...Development of Software for Estimation of Structural Dynamic Characteristics ...
Development of Software for Estimation of Structural Dynamic Characteristics ...
 
PICDriverResearch
PICDriverResearchPICDriverResearch
PICDriverResearch
 
B03504008012
B03504008012B03504008012
B03504008012
 
IJSRED-V2I2P57
IJSRED-V2I2P57IJSRED-V2I2P57
IJSRED-V2I2P57
 
An Internet Based Interactive Data Acquisition System
An Internet Based Interactive Data Acquisition System An Internet Based Interactive Data Acquisition System
An Internet Based Interactive Data Acquisition System
 
Industrial monitoring and control system using android application
Industrial monitoring and control system using android applicationIndustrial monitoring and control system using android application
Industrial monitoring and control system using android application
 
IRJET- Navigation Camp – Bot
IRJET-  	  Navigation Camp – BotIRJET-  	  Navigation Camp – Bot
IRJET- Navigation Camp – Bot
 
Electronic Nameplate System
Electronic Nameplate SystemElectronic Nameplate System
Electronic Nameplate System
 
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGSA STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
 
IRJET- Passenger Indicator for Driver
IRJET- Passenger Indicator for DriverIRJET- Passenger Indicator for Driver
IRJET- Passenger Indicator for Driver
 
A Microcontroller Framework For PC Based Electrical Appliance Control System
A Microcontroller Framework For PC Based Electrical Appliance Control SystemA Microcontroller Framework For PC Based Electrical Appliance Control System
A Microcontroller Framework For PC Based Electrical Appliance Control System
 
IRJET- Smart Energy Meter Billing, Monitoring and Controlling System
IRJET-  	  Smart Energy Meter Billing, Monitoring and Controlling SystemIRJET-  	  Smart Energy Meter Billing, Monitoring and Controlling System
IRJET- Smart Energy Meter Billing, Monitoring and Controlling System
 
CEAZA mega board: an open-source data logger for scientists
CEAZA mega board: an open-source data logger for scientistsCEAZA mega board: an open-source data logger for scientists
CEAZA mega board: an open-source data logger for scientists
 
IRJET - Automatic Toll E-Tickting System for Transportation and Finding o...
IRJET -  	  Automatic Toll E-Tickting System for Transportation and Finding o...IRJET -  	  Automatic Toll E-Tickting System for Transportation and Finding o...
IRJET - Automatic Toll E-Tickting System for Transportation and Finding o...
 
Resume_Pratik
Resume_PratikResume_Pratik
Resume_Pratik
 

More from eSAT Publishing House

Likely impacts of hudhud on the environment of visakhapatnam
Likely impacts of hudhud on the environment of visakhapatnamLikely impacts of hudhud on the environment of visakhapatnam
Likely impacts of hudhud on the environment of visakhapatnameSAT Publishing House
 
Impact of flood disaster in a drought prone area – case study of alampur vill...
Impact of flood disaster in a drought prone area – case study of alampur vill...Impact of flood disaster in a drought prone area – case study of alampur vill...
Impact of flood disaster in a drought prone area – case study of alampur vill...eSAT Publishing House
 
Hudhud cyclone – a severe disaster in visakhapatnam
Hudhud cyclone – a severe disaster in visakhapatnamHudhud cyclone – a severe disaster in visakhapatnam
Hudhud cyclone – a severe disaster in visakhapatnameSAT Publishing House
 
Groundwater investigation using geophysical methods a case study of pydibhim...
Groundwater investigation using geophysical methods  a case study of pydibhim...Groundwater investigation using geophysical methods  a case study of pydibhim...
Groundwater investigation using geophysical methods a case study of pydibhim...eSAT Publishing House
 
Flood related disasters concerned to urban flooding in bangalore, india
Flood related disasters concerned to urban flooding in bangalore, indiaFlood related disasters concerned to urban flooding in bangalore, india
Flood related disasters concerned to urban flooding in bangalore, indiaeSAT Publishing House
 
Enhancing post disaster recovery by optimal infrastructure capacity building
Enhancing post disaster recovery by optimal infrastructure capacity buildingEnhancing post disaster recovery by optimal infrastructure capacity building
Enhancing post disaster recovery by optimal infrastructure capacity buildingeSAT Publishing House
 
Effect of lintel and lintel band on the global performance of reinforced conc...
Effect of lintel and lintel band on the global performance of reinforced conc...Effect of lintel and lintel band on the global performance of reinforced conc...
Effect of lintel and lintel band on the global performance of reinforced conc...eSAT Publishing House
 
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...eSAT Publishing House
 
Wind damage to buildings, infrastrucuture and landscape elements along the be...
Wind damage to buildings, infrastrucuture and landscape elements along the be...Wind damage to buildings, infrastrucuture and landscape elements along the be...
Wind damage to buildings, infrastrucuture and landscape elements along the be...eSAT Publishing House
 
Shear strength of rc deep beam panels – a review
Shear strength of rc deep beam panels – a reviewShear strength of rc deep beam panels – a review
Shear strength of rc deep beam panels – a revieweSAT Publishing House
 
Role of voluntary teams of professional engineers in dissater management – ex...
Role of voluntary teams of professional engineers in dissater management – ex...Role of voluntary teams of professional engineers in dissater management – ex...
Role of voluntary teams of professional engineers in dissater management – ex...eSAT Publishing House
 
Risk analysis and environmental hazard management
Risk analysis and environmental hazard managementRisk analysis and environmental hazard management
Risk analysis and environmental hazard managementeSAT Publishing House
 
Review study on performance of seismically tested repaired shear walls
Review study on performance of seismically tested repaired shear wallsReview study on performance of seismically tested repaired shear walls
Review study on performance of seismically tested repaired shear wallseSAT Publishing House
 
Monitoring and assessment of air quality with reference to dust particles (pm...
Monitoring and assessment of air quality with reference to dust particles (pm...Monitoring and assessment of air quality with reference to dust particles (pm...
Monitoring and assessment of air quality with reference to dust particles (pm...eSAT Publishing House
 
Low cost wireless sensor networks and smartphone applications for disaster ma...
Low cost wireless sensor networks and smartphone applications for disaster ma...Low cost wireless sensor networks and smartphone applications for disaster ma...
Low cost wireless sensor networks and smartphone applications for disaster ma...eSAT Publishing House
 
Coastal zones – seismic vulnerability an analysis from east coast of india
Coastal zones – seismic vulnerability an analysis from east coast of indiaCoastal zones – seismic vulnerability an analysis from east coast of india
Coastal zones – seismic vulnerability an analysis from east coast of indiaeSAT Publishing House
 
Can fracture mechanics predict damage due disaster of structures
Can fracture mechanics predict damage due disaster of structuresCan fracture mechanics predict damage due disaster of structures
Can fracture mechanics predict damage due disaster of structureseSAT Publishing House
 
Assessment of seismic susceptibility of rc buildings
Assessment of seismic susceptibility of rc buildingsAssessment of seismic susceptibility of rc buildings
Assessment of seismic susceptibility of rc buildingseSAT Publishing House
 
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...eSAT Publishing House
 
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...eSAT Publishing House
 

More from eSAT Publishing House (20)

Likely impacts of hudhud on the environment of visakhapatnam
Likely impacts of hudhud on the environment of visakhapatnamLikely impacts of hudhud on the environment of visakhapatnam
Likely impacts of hudhud on the environment of visakhapatnam
 
Impact of flood disaster in a drought prone area – case study of alampur vill...
Impact of flood disaster in a drought prone area – case study of alampur vill...Impact of flood disaster in a drought prone area – case study of alampur vill...
Impact of flood disaster in a drought prone area – case study of alampur vill...
 
Hudhud cyclone – a severe disaster in visakhapatnam
Hudhud cyclone – a severe disaster in visakhapatnamHudhud cyclone – a severe disaster in visakhapatnam
Hudhud cyclone – a severe disaster in visakhapatnam
 
Groundwater investigation using geophysical methods a case study of pydibhim...
Groundwater investigation using geophysical methods  a case study of pydibhim...Groundwater investigation using geophysical methods  a case study of pydibhim...
Groundwater investigation using geophysical methods a case study of pydibhim...
 
Flood related disasters concerned to urban flooding in bangalore, india
Flood related disasters concerned to urban flooding in bangalore, indiaFlood related disasters concerned to urban flooding in bangalore, india
Flood related disasters concerned to urban flooding in bangalore, india
 
Enhancing post disaster recovery by optimal infrastructure capacity building
Enhancing post disaster recovery by optimal infrastructure capacity buildingEnhancing post disaster recovery by optimal infrastructure capacity building
Enhancing post disaster recovery by optimal infrastructure capacity building
 
Effect of lintel and lintel band on the global performance of reinforced conc...
Effect of lintel and lintel band on the global performance of reinforced conc...Effect of lintel and lintel band on the global performance of reinforced conc...
Effect of lintel and lintel band on the global performance of reinforced conc...
 
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
 
Wind damage to buildings, infrastrucuture and landscape elements along the be...
Wind damage to buildings, infrastrucuture and landscape elements along the be...Wind damage to buildings, infrastrucuture and landscape elements along the be...
Wind damage to buildings, infrastrucuture and landscape elements along the be...
 
Shear strength of rc deep beam panels – a review
Shear strength of rc deep beam panels – a reviewShear strength of rc deep beam panels – a review
Shear strength of rc deep beam panels – a review
 
Role of voluntary teams of professional engineers in dissater management – ex...
Role of voluntary teams of professional engineers in dissater management – ex...Role of voluntary teams of professional engineers in dissater management – ex...
Role of voluntary teams of professional engineers in dissater management – ex...
 
Risk analysis and environmental hazard management
Risk analysis and environmental hazard managementRisk analysis and environmental hazard management
Risk analysis and environmental hazard management
 
Review study on performance of seismically tested repaired shear walls
Review study on performance of seismically tested repaired shear wallsReview study on performance of seismically tested repaired shear walls
Review study on performance of seismically tested repaired shear walls
 
Monitoring and assessment of air quality with reference to dust particles (pm...
Monitoring and assessment of air quality with reference to dust particles (pm...Monitoring and assessment of air quality with reference to dust particles (pm...
Monitoring and assessment of air quality with reference to dust particles (pm...
 
Low cost wireless sensor networks and smartphone applications for disaster ma...
Low cost wireless sensor networks and smartphone applications for disaster ma...Low cost wireless sensor networks and smartphone applications for disaster ma...
Low cost wireless sensor networks and smartphone applications for disaster ma...
 
Coastal zones – seismic vulnerability an analysis from east coast of india
Coastal zones – seismic vulnerability an analysis from east coast of indiaCoastal zones – seismic vulnerability an analysis from east coast of india
Coastal zones – seismic vulnerability an analysis from east coast of india
 
Can fracture mechanics predict damage due disaster of structures
Can fracture mechanics predict damage due disaster of structuresCan fracture mechanics predict damage due disaster of structures
Can fracture mechanics predict damage due disaster of structures
 
Assessment of seismic susceptibility of rc buildings
Assessment of seismic susceptibility of rc buildingsAssessment of seismic susceptibility of rc buildings
Assessment of seismic susceptibility of rc buildings
 
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
 
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
 

Recently uploaded

Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxsomshekarkn64
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 

Recently uploaded (20)

young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptx
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 

Design of a usb based data acquisition system

  • 1. IJRET: International Journal of Research in Engineering and Technology ISSN: 2319-1163 __________________________________________________________________________________________ Volume: 02 Issue: 04 | Apr-2013, Available @ http://www.ijret.org 563 DESIGN OF A USB-BASED DATA ACQUISITION SYSTEM Samiran Maiti Asst. Professor, Department of Electronics & Communication Engineering, Birbhum Institute of Engineering & Technology, Suri, Birbhum, West Bengal Pin – 731101, samiran.cemk@gmail.com Abstract Development of a multi-channel compact data – acquisition board, which collects real world analog (0-5 Volt dc) and digital data, delivers them to a personal computer using a USB communication link. The DAQ board is based on microchip PIC microcontroller (PIC18F2550). A GUI is developed on Visual Basic which displays the instantaneous analog and digital data. It can also be used for generating the control action signal (manual) which could be delivered to the actuator through a DAC through the microcontroller. Keywords: PIC Microcontroller, data acquisition, USB. ---------------------------------------------------------------------***------------------------------------------------------------------------ 1. DAS Data acquisition system, as the name implies, are products and/or processes used to collect information to document or analyze some phenomenon. Data acquisition is the sampling the real world to generate data that can be manipulated by a computer. Sometime abbreviated DAQ or DAS, data acquisition typically involves acquisition of signal waveforms and processing the signal to obtain desired information. the components of data acquisition system include appropriate sensors that convert any measurement parameter to an electrical signal , which is acquired by data acquisition hardware. Data acquisition begins with the physical phenomenon or physical property of an object (under investigation) to be measured. The physical property or phenomenon could be temperature change of a room, the intensity change of a light source, the pressure of a chamber, the force applied to an object or many other things. An effective data acquisition system can measure all of these properties or phenomenas. 2. USB-BASED DATA ACQUISITION SYSTEM 2.1 Introduction With the introduction of low-power, fast performing, miniature embedded circuits in Instrumentation; data acquisition devices have become more compact, versatile and easy to use. Added with this, the computational power of digital computer is ever increasing, which has resulted data acquisition, presentation, processing and control operations to become more PC - centric. Small, compact DAQ devices, popularly known as DAS cards are very popular as frontend data collection units in all PC-based instrumentation systems. Primarily these cards offer analog conditioning functions (like filtering, isolation, excitation, amplification etc), followed by digitization of the signal. Finally, high-end microcontroller converts the digitized samples to a formatted data conforming a (serial) protocol for delivery to a desktop, laptop or even PDA device. Universal Serial Bus (USB) has emerged as a very popular, inexpensive and easy-to-use short range (5m) communication media for data transfer with a PC (host), where the communication device acts as a client. The USB was originally designed to connect PC with its peripherals (keyboard, mouse etc.). However, it has proven useful for many other applications, including measurement and automation. Use of Graphical User Interface (GUI) in Windows compatible application software have become an integral part of the software and are given equal importance with the algorithm development. GUI based system employ the use of graphical widgets like menu, edit box, pushbuttons, charts, displays etc to create an user friendly interface so that an inexperienced user can become quickly conversant with a complex applications. The work is focused on the following objectives: (i) To develop a PIC microcontroller based data acquisition card for collecting field data (ii) To develop a USB communication link for bidirectional data and command transfer between a PC and the card (iii) To develop a GUI, which acts as the user-end front panel to control entire operation of the system? 2.2 Block Diagram:
  • 2. IJRET: International Journal of Research in Engineering and Technology ISSN: 2319-1163 __________________________________________________________________________________________ Volume: 02 Issue: 04 | Apr-2013, Available @ http://www.ijret.org 564 2.3 Working There are two analog i/p channels and 2 digital i/p channels. Pin no. 2 & 3 of PIC (18F2550) Microcontroller are used for analog i/p & pin no.11 & 12 are used for digital i/p. The analog i/p range is from 0-5v. Microcontroller’s operating voltage, VDD=5v is given from the PC’s USB port. The PIC (18F2550) Microcontroller has an inbuilt ADC of 10 bits. And the sampling frequency has been set at 50 ms. The first step is to write the program (firmware) for the PIC microcontroller. The program (firmware) is written in PicBasicPro language. The programming configures the USB descriptor so that the device is set under HID class. One of the benefits of a well-defined specification (like the USB HID class) is the availability of device drivers available in most modern operating systems. The program is written in notepad (a software which is found in the accessories part of Windows XP) and is saved in .pbp format. The program is compiled and converted it to HEX code before loading the program into the microcontroller’s EPROM. Microcode Studio (front end) & PicBasicPro header files (compilation engine) is used in this project for compiling the program (firmware). After compilation a HEX file is generated This HEX file is burnt into the PIC microcontroller using WinPic800 software & JDM programmer. This programmer (JDM) is a high voltage programmer, since low voltage programmers are not suitable for USB programming. The Winpic800 configuration bit settings needs to be configured properly. The proper configuration bit setting diagram is included. The PIC18F2550 microcontroller can be connected to PC through USB port. As the device belongs to HID class so when it is connected to PC the operating software recognizes it as a HID device. One can check the properties of the device through USB View (a free tool from Microsoft Corporation) or Control Panel® Device Manager. The GUI is developed using VB6 (Visual Basic 6) software. The GUI recognizes the USB device by its VID and PID when it is connected to a USB port. After the device is detected the user program can communicate with it. The flowcharts represent the program which have been written to create the GUI are included. 2.4 Flow Chart The flowchart of the firmware which has been loaded into the PIC18F2550 Flowchart of VB program to receive analog and digital channel values
  • 3. IJRET: International Journal of Research in Engineering and Technology ISSN: 2319-1163 __________________________________________________________________________________________ Volume: 02 Issue: 04 | Apr-2013, Available @ http://www.ijret.org 565 Flowchart of VB program for control action generation CONCLUSIONS This device scans the analog and digital channels at every 50ms interval. No external power is necessary to run this device. As the device is of HID class it needs no device specific driver, even if the PC Operating system is Windows 98SE. PIC 18F2550 Microcontroller itself have analog-to- digital converter (ADC), digital-to-analog converter (DAC), timers and counters, serials ports, memory, input/output ports many more functional blocks on chip. So there is not required external analog-to-digital converter (ADC) and digital-to- analog converter (DAC). The system is reliable with the sensors. The system can be used as commercial product for temperature measurements and light intensity measurements. However, the existing system can be upgraded to a PC based data acquisition and control system, where, set-points along with controller tuning parameters can be provided using keyboard in the front panel GUI. In such a s case, the DAQ board shall include a DAC to deliver the control action signal (generated by the control algorithm developed either by microcontroller or at PC level) to the field. The developed DAQ board accepts signal in 0-5Vdc level. For multi-channel and multi-sensor level acquisition, a separate sensor-specific analog conditioning board can be developed. Or, the same can be developed on the card itself, comprising with the small size modified board. REFERENCES [1] A. K. Sawhney, “A course in Electrical and Electronic Measurements and Instrumentation” Dhanpat Rai & c.o. [2] “USB Connectivity for Microcontrollers” Instrumentation Viewpoint, Sarti News Bulletin [3] MPLAB IDE: www.microchip.com [4] 2nd generation JDM PIC programmer and WinPic800 V3.6 foxdelta.com, [5] USB Implementers Forum: USB 2.0 Specification: www.usb.org/developers/docs [6] Data sheet PIC18F2550 Microcontroller.