Automotive Module

Note: this Module requires a specific license in addition to the basic HScope license.

What You Can Do

The Automotive Module provide a set of tools specifically made for Automotive diagnostic. It allow you to:

1. Continuous Long-Time Recording

The Automotive Module allows lengthy and continuous real-time acquisition at lower sampling rates. Although this acquisition method is usually used for car diagnostics, it can be used in several other applications. Max sampling rate varies by oscilloscope.

2. Labels Tool

This tool is useful to perform the relative compression test. You can set any number of cylinder and their firing order and compute power.

3. 360-720° Tool

This tool allow to add the overlay of 720 degrees of crankshaft rotation in pressure waveforms. A middle cursor is moveable to allow relative measure of the angle. An option button allow to use different visualizations.

Change Log

Known Issues

  • General workaround for issues: delete and reinstall the app.
  • License Activation problems found for some phones.
    Workaround: remove/close the app from Android tasks list and restart the app. Restart the phone and keep internet on the first time to let Google Play to sync the account.
  • Wifi oscilloscope disconnect randomly, also during logging.
    Workaround: disable bluetooth since when some paired device is nearby the Android system stops all the apps, including HScope.

TODO List

  • Advice for low sampling rate respect signal frequency.
  • Reference signal cannot enabled when HS101 connected by Bluetooth.
  • Add legend to cylinders timing overlay.
  • Enable CH-0 move on Automotive Module
  • Statistics hide away when the signal change –> keep on the screen
  • AUTO option in Rate (change according zoom level)
  • On saved file add information on enabled digital channels

2.4.5 (485 Beta) Mar, 2025

Current issues

  • When WiFi is enabled in HScope and no device is connected the file opening crash. Workaround: connect an oscilloscope or disable WiFi in HScope settings.

Improvements

  • New Leak Detector feature (experimental)
  • HS402 WiFi can connect directly with IP (experimental)

Fixed bugs

  • Crash on Bluetooth connection for some device
  • WIT Accelerometer won’t connect in some case (do not need to pair)

2.4.5 (483) Mar, 2025

Current issues

Improvements

  • Added fast button to scroll up the list of waveforms
  • CAN Decoder supports J1939 Layer decoding and Decimal/HEX format, report export in Excel format (Update 2025)
  • Improved LIN Decoder, skip frames between pages, better report, Decimal/HEX format (Update 2025)
  • Added Korean language

Fixed bugs

  • Fast mode switch cause blank screen.
  • Fixed issues on CAN decoder
  • Crash caused by WIT driver for some version of Android
  • Second horizontal cursors could not be moved if taken on the right side
  • Screen gesture freeze in some case

2.4.5 (471) Jan, 2025

Improvements

  • It is possible to see more pictures from the Cloud Waveforms
  • Waveform can be cleared in the Automotive Module
  • Improved Master panel in Automotive Module
  • Higher graphic resolution for control panel in Automotive Module – dark theme
  • Can add spaces and other characters to the waveform name
  • Waveform name and notes are cleaned from special characters for Cloud Library upload
  • Infinite mode for labels tool (Automotive tool) (update 2024)
  • Added confirmation box when clean automotive capture
  • Added confirmation box for saving new waveform before opening another file
  • Automotive data reset do not reset also channel names to allow same kind of recordings
  • Improved LIN Decoder, now with Export data function (update 2024)
  • Logger graph have 2 working modes: existing 1 channel mode + 2 channels V/A mix mode (update 2024)
  • Improved Blind Mode vs Color settings
  • Cloud Waveforms can be save in Favourites folder
  • CAN decoder revision preview (added stats and data export – update 2025)
  • Added rates for OWON 1022 oscilloscope

Fixed bugs

  • Cloud waveform loading not showing progress in Automotive Module
  • HS5x2 give wrong data under 38KSa/s when switch channel from DC to AC or AC to DC
  • Logger exported file had the time in 12h format. Changed to 24h format.
  • Automotive flag button don’t allow audio volume regulation for Audio Module.

2.4.4 (458) Sept, 2024

Improvements

  • Waveforms can save additional data (preview)
  • Updated Fire Order label tool
  • Folders Management
  • Spanish translations updated (Credits to Javier)
  • Label tool is repeated along the waveform
  • Waveform details can be copied from last saved settings
  • Improved login process
  • Added additional waveform information in the PDF report
  • Added Ohm unit
  • Cloud Waveform Library (preview)
  • Supported new HS512 Max oscilloscope
  • Improved PDF reports

Fixed bugs

  • Hantek 6022BE not recognized
  • User Logout need to reconfigure the file folder to see the waveforms
  • PDF Report has graphic issue when generate while moving the waveform
  • Crash on add photos from Camera to waveform (if Camera permission not enabled)
  • Calibration halt for HS502 in some case
  • 360/720deg graph buttons disappear too soon
  • Report wrongly generated in Automotive module when background is dark
  • Waveform thumbnail wrongly generated in Automotive module when background is white

2.4.4 (438) May, 2024

Improvements

  • Better zoom and scroll function
  • Improved THD function (Audio Module)
  • Improved Notes with better text on multiline management
  • Improved waveform save speed
  • WAV files can be imported also in Automotive Module up to 4 channels
  • Improved Flags (can create flags manually and numbers are recomputed after moving or adding flags) (Update 2024)
  • Cursors lock function (Update 2024)
  • Optional buttons in Tools disappear after longer time
  • New keyboard for custom probe settings
  • Waveforms can be sorted (Update 2024)
  • New device: Phone Internal Accelerometer

Fixed bugs

  • Notes position not correct in Oscilloscope mode, after loading
  • Cut waveform in Automotive mode did not move correctly Notes and Flags
  • Wrong XML formatting in some case for the HXML files
  • Crash on reset HS502 calibration data
  • Crash on WAV files import

2.4.3 (429) Apr, 2024

Improvements

  • New device supported: WitMotion WT9011
  • Added velocity stat for Accelerometers (in mm/s)
  • Upgraded RS232 UART decoder (digital module – update 2024)
  • New RS485 MODBUS decoder (digital module – update 2024)
  • New LIN decoder (digital module – update 2024)
  • Better labels for vertical cursors (update 2024)
  • Report supports longer file names
  • Improved CAN decoder
  • Channel 1 can be moved in Automotive Mode
  • Higher resolution design for bigger screens
  • Upgraded digital module management (major upgrade)
  • Added modules and settings button in Automotive Module
  • New Share via Cloud V2.0
  • UART decoded signal can be Exported in .CSV

Fixed bugs

  • HS101 Bluetooth oscilloscope did not work on latest Android versions (> O version)
  • HS-ACCEL DIY version could not connect
  • Issue in scaling Math Channel in Automotive module
  • Fixed driver for Hantek 6074
  • Could not enable bluetooth in Android 14
  • Crash due to Bluetooth in some device
  • Crash in report creation in Automotive mode
  • Bluetooth authorization not recognized for devices without GPS
  • Fire Order Overlay could not move well in some case

2.4.2 (408) Dec, 2023

Implemented enhancements

  • Added inH2O unit for probes
  • Optimized CC-80 Current Probe settings (need to download again the probe configurations)
  • Added Zoom behaviour option among XY or only Y (Update 2023)
  • Removed auto zoom and time set on acquisition start (the screen keep last zoom level and position)
  • Added Amplitude Zoom on mouse wheel scroll
  • Automotive Pages for high rates (Update 2023)
  • Improved Zero Offset function in Automotive Module (at acquisition start)
  • Improved vertical cursors (can enable/disable labels)
  • Improved Automotive view management
  • Can set/load/save Report Title for each waveform (Update 2023)
  • Automotive module don’t hide scroller during recording
  • FFT data can be exported to CSV (Update 2023)
  • Digital channel can be used in Automotive Module
  • Flag button trigger also Automotive Manual Start
  • Improved messages for Bluetooth Trigger Button

Fixed bugs

  • Wrong voltage values for FOSC53B
  • Automotive waveform disappear in some case (ie. if inverted)
  • Update 2023 button did not appear in some case
  • HS502 multiplier could not be calibrated (now need to use stabilized 5V source)
  • Stats wrong for channel > 1 (Automotive Module)
  • HS-ACCEL (DIY edition) has wrong units (V instead of G)
  • Automotive Zero Level has wrong values
  • Math module bug in Automotive Module
  • Empty visualization on loaded file in Automotive Module
  • Oscilloscope mode could not load files first time without oscilloscope connected or Demo mode
  • Menu UI fixed for Android 13
  • Crash in Android 14
  • Cloud service don’t work
  • HS402 wrong values on start for V/A device
  • App restart when Bluetooth device get connected or disconnected
  • HS502 freeze on voltage change + roll-mode + trigger
  • Automotive mode auto-size waveform function (3) did not work

2.4.2 (389) Sep, 2023

Implemented enhancements

  • Some design detail improved
  • Updated Google and Huawei libraries at latest versions
  • Duty Cycle Math function (update 2023)
  • Support for new Fosc53C WiFi oscilloscope
  • Support for new HS512
  • Added Time/Div control in Automotive Module (update 2023)

Fixed bugs

  • HS502 block in some case
  • Wrong pin for custom AC/DC mod on Hantek 6022BL
  • Automotive Module not enabled for HS502 in case the user has no other licenses
  • Wrong calibration data for latest LOTO OSC-H02

2.4.2 (380 Beta) Mar, 2023

Implemented enhancements

  • HS402 supports new hardware variation (V/A Logger)
  • System Settings show also Data and Cache size and allow to clear the cache (Update 2022/2023)
  • Improved file manager performances (need to clear the cache first time after update)
  • New Histogram stats function (Update 2022/2023)
  • Probes Management keep always x1 probe

Fixed bugs

  • HS402 rate error when enable/disable channel
  • Math Module issues in Oscilloscope Mode
  • Digital module did not show the list of available analog channels
  • HS502 Licensing
  • Crash on Math Channel statistics

2.4.1 (375) Feb, 2023

Implemented enhancements

  • HS502 can run on any android device without app store
  • Better colors for Horizontal Cursors on White Background
  • File Explorer show the presence on the Digital Channels in the waveform
  • Better visualization for Calibration Data
  • Better Fire Order Overlay design (Automotive Module)
  • Filters introduce zero-phase shift
  • Improved WAV exporter
  • Improved Math Demodulation function
  • Can apply filters to the result of Math operation (Update 2022/2023)
  • Improved Logger UI
  • Added support for Fosc53B

Fixed bugs

  • HS402 fast switch of rates caused halt
  • HS502 asked license for some new feature
  • Automotive module could not save waveform in some case
  • Horizontal cursors did not work in some case
  • Automotive module wrongly show Digital Channels in some case
  • HT 1008 fixed data error if started with 4 channels
  • Logger CSV import crash
  • Logger channels not updated according selected probe
  • Signal Invert Filter issue (button don’t reflect the actual status)
  • Filters not working is some condition in Automotive Module
  • WAV exporter crash in some case, data could be corrupted
  • Report didn’t show Math channel info in Automotive Module
  • Solved bugs on Logger

Audio Module Intro

Before You Start

This Module license is in addition to the basic HScope license for the supported oscilloscope model.

What You Can Do

The Audio Output Module allow to:

1. Import WAV Files

WAV Files can be imported, analysed, processed and exported in HScope.

2. Hear on the Phone the Signal from the Oscilloscope

The oscilloscope signal can be sent to the phone speaker through real-time data streaming. While hearing the signal you can still analyse the signal with the other functions. Since the oscilloscope can acquire low voltages this function is useful to check low signals in initial amplifier stages.

Note: this function is not supported by all the oscilloscopes. Check your model under the oscilloscopes list.

3. Compute the Output Power of an Audio Amplifier

The Audio Module can compute the output Power (RMS Power) of a Audio Amplifier by connecting the probe to the speaker connections and by selecting the impedance of the speaker in HScope. The maximum power is indicated in the Audio module panel and depends from the oscilloscope maximum input voltage. For increasing it, set a higher oscilloscope input voltage or use a x10 / x20 / x100 probe. The result is shown in real-time on the graph under the RMS value. For this measure you should input a sine wave in the amplifier. This signal could be produced by a portable MP3 player or by another phone App.

Pay attention: the sound generator cannot be the same phone running HScope since it cannot share the same GND of the oscilloscope.

Pay attention: the output of an audio amplifier could have high voltages. The GND of the probe should be connected to the GND of the amplifier or to the speaker wire connected to the GND. If both speaker wires are floating (neither one on GND), then the oscilloscope GND and phone box could be at a dangerous voltage. In this case you may look to some insulation solution like to use capacitors in series both to the probe tip and to the probe GND. (see EEVBLOG)

4. Compute the THD of the Signal

For pure sinusoidal signals you can compute the Total Harmonic Distortion.

5. Input data from Microphone

You can acquire data from microphone input. Available only on phones with at least Android 6.0.

Resources

Automotive Waveforms

Here some sample of automotive waveform captured by users.

Automotive Module

This module is not supported by all the oscilloscopes and it is not supported in the same way. Check more under each oscilloscope page.

The Automotive Module allows lengthy and continuous real-time acquisition at lower sampling rates. Although this acquisition method is usually used for car diagnostics, it can be used in several other applications. Max sampling rate varies by oscilloscope.

Before You Start

The Automotive Module license is in addition to the basic HScope license for the supported oscilloscope model.

The minimum requirement for this module is a device with 4GB RAM or more.

1. Start Recording

Rate and channel parameters to be configured prior to a recording start.

Maximum recording time is sample rate dependent and displayed under the recording button.

Recording automatically starts when a significant change in the input signal is detected.

After the recording start the parameters cannot be changed unless you run a new recording.

2. Analyze The Data

Recorded data can be zoomed and scrolled with fingers. Cursors appears as you click with 1 or 2 fingers on the horizontal axis.

Labels Tool

This tool is useful to perform the relative compression test. You can set any number of cylinder and their firing order. Example below:

720° Tool

This tool allow to add the overlay of 720 degrees of crankshaft rotation in pressure waveforms. Pink cursor is moveable (on bottom part). By clicking on the gray labels is possible to show or hide the text.

Annotations

Coming soon

Cylinder Timing Overlay

This overlay allow to visualize the cylinder status at a certain time. More info in the following demo.

3. Import / Export

This module allow export and import of waveform in an efficient open format. Waveforms are saved in .zip format in the following phone folder: /Download/HScope/Automotive
Users can share the saved waveforms just by copying from and to this folder. Filenames can be changed with Android file explorer. Waveform preview is available to remember the waveform before importing.

Import / Export Tool

Other

Hardware Limitations

This functionality is not commonly found in commercial oscilloscopes which are mostly ‘memory based’ and not ‘data streaming based’. Continuous Data Acquisition capability and speed depends strongly on hardware architecture of each oscilloscope model and the ability to ‘overclock’ its drivers.

For example the Hantek 1008 allows a maximum rate of 2KSa/s with this module, sufficient for crank position sensor diagnostics. HS10X DIY Oscilloscope Series allow up to 100KSa/s. FX2 Chipset based oscilloscopes allow a maximum continuous sampling rate up to 125KSa/s.

Resources

Audio Module

Note: this Module requires a specific license in addition to the basic HScope license.

What You Can Do

The Audio Output Module allow you to:

1. Import WAV Files

WAV Files can be imported, analysed, processed and exported in HScope.

2. Hear the input signal from Channel-1 on phone

The oscilloscope signal can be sent to the phone speaker through real-time data streaming. While hearing the signal you can still navigate in the Oscilloscope graph or switch to the FFT graph. It works at sampling rates 25KSa/s and 50KSa/s. Since the oscilloscope can acquire low voltages this function is useful to check low signals in initial amplifier stages.

Note: this function is not supported by all the os

3. Compute the Output Power of an Audio Amplifier

The Audio Module can compute the output Power (RMS Power) of a Audio Amplifier by connecting the probe to the speaker connections and by selecting the impedance of the speaker in HScope. The maximum power is indicated in the Audio module panel and depends from the oscilloscope maximum input voltage. For increasing it, set a higher oscilloscope input voltage or use a x10 / x20 / x100 probe. The result is shown in real-time on the graph under the RMS value. For this measure you should input a sine wave in the amplifier. This signal could be produced by a portable MP3 player or by another phone App.

Pay attention: the sound generator cannot be the same phone running HScope since it cannot share the same GND of the oscilloscope.

Pay attention: the output of an audio amplifier could have high voltages. The GND of the probe should be connected to the GND of the amplifier or to the speaker wire connected to the GND. If both speaker wires are floating (neither one on GND), then the oscilloscope GND and phone box could be at a dangerous voltage. In this case you may look to some insulation solution like to use capacitors in series both to the probe tip and to the probe GND. (see EEVBLOG)

4. Compute the Audio Distortion (THD+N)

The primary job of any audio device is to faithfully reproduce or transmit the audio signal that is input to it. An ideal, linear audio device will produce an output signal that is an identical scaled version of its input signal. Anything that alters the input signal in any way, other than changing its magnitude, is known as distortion.

A classic means of detecting audio signal distortion is to stimulate a device under test (DUT) with a pure sine wave and then conduct a spectral analysis of the DUT output. Sine waves are used because a pure sine signal has the unique property that all its energy is concentrated at a single point in the frequency spectrum. This makes it easy to analyze the output from the DUT for unwanted distortion components. When a single sine wave is used as the stimulus, nonlinearities in the DUT cause harmonic distortion, wherein distortion components occur at harmonics (integer multiples of the sine signal’s frequency, or fundamental frequency).

Total Harmonic Distortion Plus Noise (THD+N)

The THD+N technique is the most common method of measuring harmonic distortion. In its basic form, it is implemented with a sharp notch filter tuned to the fundamental sine frequency, a bandwidth limiting filter, and an rms level meter. The notch filter removes the fundamental sine signal, leaving a residual signal which consists of the harmonics and noise. The THD+N Ratio is calculated as the bandwidth limited rms level of the residual divided by the rms level of the entire signal.

Samples for testing

If you want to test the THD processor you can import WAV files with known distortion. For example the file you can find at this link.

Resources

PWM Module

This module is available just for few oscilloscopes as:

  • Loto Oscilloscopes (OSC 482, OSC 802, OSC A02)
  • Hantek 6022 (BE & BL)
  • HS10X & H40X DIY Oscilloscopes
  • HS502

It allow to use the output calibration pin (generally set to 1KHz square wave) to generate a PWM output signal. Max frequency and duty cycle range depends on the device (detail are in each oscilloscope page).

Example of usage as this video.

XY Plot

You can use this module only when the first 2 channels are active.
Channel-1 → plotted on X axis
Channel-2 → plotted on Y axis

Features

  • Real-time processing
  • Fading graphic effect
  • Big graph space

On the left you can see 5 periods of both channel signals with the information about amplitude and frequency.

On the right there is the XY Plot with comparison information of the two signals. The phase shift is calculated with the Lissajous method and it is valid just for Sinusoidal Waveforms with same frequency.

Calculation of Time Delay

If you want to calculate the time delay for an arbitrary signal from 2 points of a circuit under analysis, just press the yellow/blue text and you will see this value obtained from the Cross-Correlation of the two signals.

Invert the Signals

If you want to invert one or both the signals, just Invert it in the Filter panel available for each channel.

Proof of Concept

The following video show the real-time capacity of this module.

Screenshots

Comparison test between HS-402 and Tektronix-465 oscilloscopes with PNP and NPN transistors.

FFT

Clicking on FFT button is possible to see the rapresentation of the signal in the Frequency Domain only for the first Channel. The range of visible frequencies on screen can be selecting zooming-in or out with the fingers on the screen.

Activating the STATS button is possible to see the top 3 frequencies in the selected frequencies range. These values are corresponding to the computed FFT values and not to the real values that can be checked better with the ruler.

FFT Windows

It is possible to select between standard windows and Flat Top windows for the FFT. Flat Top windows (HFT90D and HFT248D) are used when is required to determine the exact amplitude of a sinusoidal component in the input signal. They have bandwidths W3dB of about 3 . . . 5 bins, roughly twice as wide as non-flat-top windows with comparable sidelobe suppression, but very low maximum amplitude error emax.

WINDOWS SUMMARY
BartlettW3dB = 1.2736 bins
emax = −1.8242 dB = −18.9430 %
HanningW3dB = 1.4382 bins
emax = −1.4236 dB = −15.1174 %
HFT90DW3dB = 3.8320 bins
emax = −0.0039 dB = 0.0450 %
HFT248DW3dB = 5.5567 bins
emax = 0.0009 dB = 0.0104 %
Sample FFT Windows

Harmonic Cursor

When you use one single Vertical Cursor in the FFT module, it will show also the Harmonics of the selected frequency, up to the 10th harmonic.

Math Channel

To add a math channel, just click select MATH in the modules and you will see the Math configuration panel. You can quickly select one of the built-in functions, such as inversion or addition. All the standard arithmetic functions are supported along with more complex functions like demodulation and instant frequency of the signal.

With HScope currently you have available only 1 math channel.

List of functions

Basic functions:– A (invert)
A + B (sum)
A – B
(difference)
A x B
(multiply)
A : B
(divide)
Advanced functions:demod (demodulation)
freq
(instant frequency)

Amplitude Demodulation

For some signals (for example from vibrations sensors), the information is carried by the amplitude (or envelope) of the signal. The demod() function allow to do this operation. Following is the equivalent circuit of this operation.

Envelope Detector

Instant Frequency

Visualize the instant frequency variation of the signal along time. The freq() function is useful for signal where frequency variation bring the useful information.

Sample application of this function to detect missfire with Automotive Module (detected 1 missfire event during long period recording):

Credits

  • freq() function (or Instant Frequency) has been developed with the support of: Denis, Ravindra

Introduction – Oscilloscope Modules

Click on the “red cube” button to access the additional modules for the Oscilloscope.

  1. Math Module: allow to compute Math operations among the first 2 channels.
  2. FFT: allow to compute the FFT operation.
  3. XY Plot: for comparing signals and compute phase shift.
  4. Audio Module: for listening the input signal with the phone speaker and compute Amplifiers Power. Instructions here.
  5. Digital Module: for analize digital signals.
  6. PWM Module: if available in the oscilloscope hardware it control the PWM output.

HScope on Raspberry Pi

HScope can run on Rasperry Pi with Android system installed on. Following are the example of implementations provided by the users.

HScope on Pi3

By Denis.

HScope on Pi4

By Dave D.

This setup has been made with a Raspberry Pi 4B inside a Argon ONE case. Attached are several pictures of a HS101 BLT, HS101 and HS402 all in action. The PI 4B has built in Bluetooth so it is possible to connect up the HS101 BLT.

Install Android 11 on Pi4

Here is the link to the Lineage OS 18.1 which is android version 11.

Here is link to google play store that will need to be installed. Dave found it easier to put the file on a USB drive and recommend putting this file on a separate USB drive for use later in the installation.

Tips

  1. Install Android to microSD or to external SSD that uses USB. I tried a USB stick and android kept locking up.
  2. Put the Google Play store file on a USB stick. I had significant issues trying to download the play store onto the Raspberry. Using a PC to download Google Play store and having it on the USB stick allowed installation per leepspvideo.
  3. I tried separate USB mouse and keyboard. Mouse wouldn’t work. I had to use a logitech K400+ integrated touchpad and keyboard.
  4. There is no pinch zooming. Its android thing. I mention this because you can double left click on the oscilloscope trace and HScope will zoom right in. But you have no way to zoom back out. What I learned to do was to toggle through “Auto/Norm/Single” selection. Then hit the play button. Then the trend zooms back out.
Martinloren