PC Based Oscilloscope Using Arduino
PC Based Oscilloscope Using Arduino
USING ARDUINO
GROUP MEMBERS:
ATMAKURI S V N ANJANEYA SESHASAI (20B81A0414)
AVALA SUNEEL (20B81A0415)
CHOKKAPU MANOJ KUMAR (20B81A0440)
CHOPPALLI SUNIL KUMAR (20B81A0441)
DONKANA PRAVEEN KUMAR (20B81A0448)
Abstract:
The aim of this project is making a pc based oscilloscope using
arduino.This arduino kit is interfaced or connected to the laptop. We
can get the input from the arduino kit. The oscilloscope is a device
or an instrument which is used for so many purpose as like
frequency and peak voltage measurement .for measuring the
analogue quantity the oscilloscope is used. While converting the
analogue quantity into a digital the sampling and data acquisition
process is used .the microcontroller is used for the programming .it
is low cost device and also portable. This system will operate up to 5
kHz frequency and it operated on 230 A.C.
INTRODUCTION
OSCILLOSCOPE IS A VERY IMPORTANT AND INTEGRATED DIGITAL DEVICES FOR SIGNAL
CONDITIONING, ACQUISITION AND ANALYSIS. INCREASING MODERN ELECTRONIC SYSTEM
THE VARIOUS TYPES OF OSCILLOSCOPE IS USE FOR COMPLETING THE TASK. OSCILLOSCOPE
IS THE ONE OF THE MOST INTELLIGENT PROGRAMMABLE COMPUTER. THIS ELECTRONIC
INSTRUMENT IS USED FOR SO MANY PURPOSE IN DAY TO DAY LIFE THAT IS IN LABS,
COLLAGES ETC. THAT’S ALLOW OBSERVATION OF VARIOUS TYPES SIGNAL. WE HAD AN IDEA
TO DEVELOP THE OSCILLOSCOPE IN LOW COST AND EASY TO UNDERSTAND AS COMPARE
TO MARKET DEVICE. THE DIGITAL OSCILLOSCOPE HAS VERY USEFUL FOR SOLVE THIS
PROBLEM OF SIMPLE CRO. THE OSCILLOSCOPE WORKING ON ANALOGUE SIGNAL
CONDITIONING, ADC UNIT AS WELL AS DATA ACQUISITION SYSTEM. FOR DIGITALISING
ANALOGUE SIGNAL AND TRANSFER DATA ARE TRANSFER VIA USB PORT, THIS PORT IS
CONNECTED TO THE PC OR LAPTOP FOR DISPLAY THE WAVEFORM. THE OSCILLOSCOPE ARE
ALSO USE FOR MEASURING THE MAXIMUM PEAK VOLTAGE,RISE TIME OF THE
WAVEFORM.THIS OSCILLOSCOPE DESIGN IS IN TERMS OF HARDWARE AND SOFTWARE.
Oscilloscopes are an essential tool for electronics hobbyists and professionals to verify that their
designs would work as expected. PC based Oscilloscope score over standalone oscilloscopes due to
their compact size, low cost and ability to do offline analysis.Here we describe how you can make
your own oscilloscope at a very low cost using your PC and an Arduino board as the hardware for
signal acquisition. You can use this oscilloscope to capture frequency signals up to 5kHz. The
Arduino board, the heart of the oscilloscope, reads the values from its inbuilt analogue-to-digital
converter (ADC) and pushes these to the PC via USB port. We have provided here an Arduino
sketch, which you can compile and load directly to the Arduino. You also need to install an
executable file or application in your Windows PC. This application works as the front-end to plot
input signals as waveforms on your computer screen.The Arduino board consists of Atmel’s AVR
microcontroller, which can be 8-, 16- or 32-bit based on the type of the board. For this project, you
can use any variant of the Arduino as hardware. The AVR microcontroller has an inbuilt ADC. In
the project, we use pin A0 to capture the input signal. The captured input signal is fed to UART via
UART-USB converter in the Arduino to the PC. A virtual COM port is created by Windows
whenever the Arduino connects to the PC. A Windows-based application developed using NI
LabWindows opens up the virtual COM port and starts plotting signals visually using Graph
libraries. The sampling speed of the oscilloscope is limited by the baud rate of the UART. The
Arduino sketch is coded to read the ADC using ISR, and the UART baud rate is configured at
115200, which sends data at 85µs intervals. This gives an effective sampling rate of 12kSa/s.
OVERVIEW OF OSCILLOSCOPE
This system is divide into two part in the first part analogue signal is taken as
input signal for the calibration circuit after the calibration the signal are send to
the microcontroller AT mega16 328.This Microcontroller are used for analogue
to digital operation or conversion. During this analogue signal is converted into
analogue into digital signal.Microcontroller is generating up to 5khz sampling
frequency.This digital data is transfer via USB to the pc. In which the c
language is use for the programming to achieve the programming. This section
present the detail literature review of the waveform measurement and
presentation on the
oscilloscope. This idea of waveform sixteen century for technological growth,
scientific study is necessary. Observation of the system include making
measurement of a system parameter and is output from various kind of input
signal. In suchcases study can be greatly simplified this since electrical signal
are readily measured using analogue to digital converter.
Construction
The PC scope set-up is quite simple and straightforward as shown in Fig. 1. The Arduino
board connects to your laptop or PC via the USB cable. Any external power supply for the
board is not required as the board is powered by the USB only. Connect switching diodes
(D1 and D2) as input protection circuit to pin A0 of the Arduino’s ADC. You need Arduino
sketch (pcscope.ino) and PC software or executable file (PCScope.exe) in order to use this
circuit.
Fig. 2: Message on the screen when the PC-based scope is run for the first time
Testing
After installing the PC scope application, click ‘Connect’ button on your PC
screen to connect to the Arduino board (Fig. 2). When the board gets connected
to your PC, you will get a confirmation message for three seconds as shown in
Fig. 3.
You can find out the frequency that the flashlight is blinking using a
LDR and a resistor (see the picture)
CONCLUSION
A low cost, portable, plug-in-type PC oscilloscope is based on the
communication features of the PC parallel port has been developed. Here by
we conclude that Arduino can be used as Oscilloscope for displaying
waveforms Arduino Oscilloscope also has the ability to perform various
operation on the applied inputs such as addition, subtraction etc. This makes
analysis simpler and overcomes the drawbacks of the conventional CRO’s. We
built hardware interface circuit to make the functioning of a oscilloscope much
easier with few affordable electronics components so as for the conversion and
processing of the analog signal into the digital form. We used Arduino
software (IDE) which is easily available on the Arduino website and it is free
of cost. The software has been developed to manage the acquisition, to
represent the signals and post processing of the signal. The only drawback is it
cannot take negative inputs or voltage above 5 volts. We can also use the
potential divider circuit so as to protect the Arduino from over voltages or
from getting damaged.