Online Virtual Oscilloscope

栏目: IT技术 · 发布时间: 5年前

内容简介:An oscilloscope is a useful tool for anyone working with electrical signals because it provides a visual representation of the signal's shape, or waveform. This allows you to measure properties of the wave, such as amplitude or frequency.The initial signal

An oscilloscope is a useful tool for anyone working with electrical signals because it provides a visual representation of the signal's shape, or waveform. This allows you to measure properties of the wave, such as amplitude or frequency.

The initial signal above is a 200Hz sine wave, which has an amplitude of 5 volts. The frequency of this wave can be adjusted by using the "Input Wave Frequency" slider. (You can also choose to display a square wave.)

If you are browsing using the latest version of Google Chrome, the input dropdown box allows you to select "live input". This will take data from any microphone connected to your computer and display the live audio data. (Different microphones send different voltages to the computer, so for consistency we have normalised the input so the raw input signal will always be limited to somewhere between -5 and +5 volts.)

Since waveforms come in a wide variety of shapes, amplitudes and frequencies, oscilloscopes need to have a number of controls to adjust the display of the waveform so it can comfortably fit inside the viewport.

Freeze live input

This tickbox freezes the input allowing you to effectively take a snapshot of what is displayed on the oscilloscope at a given instant in time. This is especially useful because you can still adjust the time base and volts per division setting. Try whistling and freezing the input. Adjust the timebase to a convenient scale allows you to calculate the frequency of your whistle by counting the period of one complete waveform.

Oscilloscope gain

This is a number that the incoming signal is multiplied by. A gain of 1 will have no effect, a gain of less than 1 will make the signal smaller and a gain of more than 1 will make it larger.

seconds / div

This control allows you to adjust the length of time that each square of the grid represents. When the oscilloscope is first loaded, this setting is set at 1ms, and shows one complete waveform over 4 squares. This means that the period of the wave is 4ms, or 0.004s, giving a frequency of (1/0.004) = 250Hz. If you change the timebase to 500µs (half of what it started at), you should see the waveform now takes 8 squares to complete one full oscillation. The period (and hence the frequency) remain constant because 8 times 500µs still equals 0.004s.

volts / div

This setting is very similar to the timebase setting described above, but instead of stretching the wave along the x-axis, it involves stretching it along the y-axis. The sine wave has an amplitude of 5V, meaning when volts/div is set to 5, the waveform just reaches the top of the first square. If you were to change the setting to 10 volts/div, the waveform now only reaches up half of a square.

Horizontal and Vertical Offsets

These two sliders allow you to adjust the position of the oscilloscope's trace on the grid. They are particularly useful for lining up parts of the waveform with the gridlines (this can make it easier for you to count the squares when determining wavelength, for example).

If you would like to embed the oscilloscope on your own website, please copy and paste the following html onto your web page.

<iframe src="https://academo.org/demos/virtual-oscilloscope/?embedded=true" width="800" height="380"></iframe>

以上所述就是小编给大家介绍的《Online Virtual Oscilloscope》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

程序员代码面试指南:IT名企算法与数据结构题目最优解

程序员代码面试指南:IT名企算法与数据结构题目最优解

左程云 / 电子工业出版社 / 2015-9 / 79.00元

这是一本程序员面试宝典!书中对IT名企代码面试各类题目的最优解进行了总结,并提供了相关代码实现。针对当前程序员面试缺乏权威题目汇总这一痛点,本书选取将近200道真实出现过的经典代码面试题,帮助广大程序员的面试准备做到万无一失。“刷”完本书后,你就是“题王”!__eol__本书采用题目+解答的方式组织内容,并把面试题类型相近或者解法相近的题目尽量放在一起,读者在学习本书时很容易看出面试题解法之间的联......一起来看看 《程序员代码面试指南:IT名企算法与数据结构题目最优解》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具