element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sci-Pi Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Sci-Pi Design Challenge
  • More
  • Cancel
Sci-Pi Design Challenge
Blog Raspberry Pi Electronic Lab #3 - Oscilloscope + Logic analyzer
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sci-Pi Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: maxpowerr
  • Date Created: 11 Jun 2023 11:34 PM Date Created
  • Views 2841 views
  • Likes 11 likes
  • Comments 2 comments
  • Logic Analizer
  • OpenHantek
  • oscilloscope
  • raspberry pi
  • Hantek
  • sigrok
Related
Recommended

Raspberry Pi Electronic Lab #3 - Oscilloscope + Logic analyzer

maxpowerr
maxpowerr
11 Jun 2023

Oscilloscope

For my project, I decided to use a cheap Hantek 6022BE oscilloscope. This is a two-channel oscilloscope with a bandwidth of up to 20 MHz. The device is used in conjunction with a laptop computer and is connected via a USB 2.0 port. The same port is used to power the device. The device can analyze, measure and save parameters to a file for various types of periodic signals. The vertical resolution of the device is 8 bits. Maximum input voltage up to 35 volts. To measure higher voltages, various voltage divider probes are used. The brain is the Cypress cy7c68013a-100axc microcontroller. Microcontroller based on 8051 core with High-speed USB interface. In principle, an understandable choice. High speed from the processor is not needed, because all processing takes place on the computer side, but fast USB is needed. Although this oscilloscope is not as powerful, with a little programming it is capable of doing interesting things. User -johoe on reddit was able to use this library and scope to launch a successful side-channel attack on his TREZOR bitcoin device, and extract the device's private keys.

{gallery}Oscilloscope

image

image

image

Logic analyzer

I have a cheap 8-channel 24 MHz logic analyzer for a long time, one of the clones of Saleae Logic. This logic analyzer allows you to analyze digital signals from 0 to 5.5V, the threshold voltage is 1.5V. For most digital signals, this is sufficient. The logic analyzer is made on the CY7C68013 chip, next to it is EEPROM, with the controller settings. Still noticeable are 24 MHz quartz and a buffer element with strapping.

{gallery}Logic analyzer
image
image

Software installation

Both of these devices are interesting in that each time they are turned on, they download the program from the computer via USB into their RAM. And, in fact, you can do anything from them, without flashing in the usual sense of the word, when other microcontrollers need a programmer or a special add-on. The program that comes with the oscilloscope is not of the best quality, and besides, it comes only for Windows. But fortunately there is an open source program OpenHantek available under Linux, and for the logic analyzer I will use Sigrok PulseView is a project aimed at creating a portable cross-platform free / free / open source signal analysis software package that supports various types of devices (for example , logic analyzers, oscilloscopes and many others). Both of these programs are in the Raspberry Pi repository and you don’t have to build and compile anything from source.

{gallery}Software
image
image
image
image
image

image

  • Sign in to reply
  • DAB
    DAB over 2 years ago

    Back in the 1980's, a logic analyzer was our goto device to track embedded software execution.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 2 years ago

    Amazing how popular that chip CY7C68013A became! I have wanted to learn how to use it for ages, but never got around to spending any quality time with it, every few years installing the tools and then not having the time to work with it. Later Cypress released newer products and the documentation got a bit hard to follow for that older part.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube