element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Arduino Projects
  • Products
  • Arduino
  • Arduino Projects
  • More
  • Cancel
Arduino Projects
Blog A simple DIY Oscilloscope with Arduino Uno and Mega
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Arduino Projects requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 26 Dec 2014 11:05 AM Date Created
  • Views 14509 views
  • Likes 20 likes
  • Comments 78 comments
  • mega
  • ardbeginner
  • tft
  • oscilloscope
  • uno
  • arduino
Related
Recommended

A simple DIY Oscilloscope with Arduino Uno and Mega

Former Member
Former Member
26 Dec 2014

My DIY Oscilloscope, how i got my signal image

 

Content :

- Description

- Screenshots

- Video

- Credits and links

 

Descriptions

 

I am experimenting with RF and IR signals in various frequencies and had some trouble with the receivers and needed to see what kind of signal i was receiving.

I cannot afford a real oscilloscope but i knew about the older Arduino oscilloscopes.

 

After trying many different versions of code and tutorials, I was unable to get a single one to work, and all the tutorials and guides around was 2-3 years old.
Not sure if it is the IDE or the actual hardware that has changed in such a way that it didn't work anymore.

 

I finally found a working oscilloscope from a Japanese website, (linked below) and a working TFT screen library,

meaning i could read the various signals received.

 

Clearly the limitations are 0-5v but that is fine, what i needed to know is either wave type and frequency, and this is sufficient.
It also gives me an indication of the amplitude which is just a nice bonus.

 

But what I'm most happy with, is the two channel feature, i often use the second channel as a reference point to be able to

differentiate the main channel on the screen.

 

 

Some screenshots..

This is the .96" OLD test, single wave test imageimage

 

 

 

imageimageimage

2.4" TFT screen on the Uno,    two right images same screen on a Mega.

 

 

A youTube vidoe i made on the experience.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

 

Credits and Links :

 

My compilation of the Oscilloscope and TFT library  ( what you see on the video and images ) :

https://dl.dropboxusercontent.com/u/19761809/arduino/Vaupell-Oscilloscope.zip

 

 

Original Oscilloscope link (code by : Noriaki Mitsunaga ) :

http://n.mtng.org/ele/arduino/oscillo-j.html

 

 

Original TFT display link ( TFT shield library source ) :

http://www.smokeandwires.co.nz/blog/a-2-4-tft-touchscreen-shield-for-arduino/

 

TFT library :

Library : https://github.com/Smoke-And-Wires/TFT-Shield-Example-Code

Attachments:
Vaupell-Oscilloscope.zip
  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 7 years ago in reply to 4ringfan +2
    True, I highly recomened if using ribbon cable, buy a roll, and add the ends yourself, much much cheaper. I usually buy them home in 10 meters at a time. But, I try to use cable as little as possible,…
  • 4ringfan
    4ringfan over 7 years ago +1
    I just received a LCD TFT shield that I had ordered for no particular reason. Now I'm going to have to play with it. Thanks for the incentive!
  • Former Member
    Former Member over 7 years ago in reply to Former Member +1
    Nope just one of them. The problem was the Screen it took up all my pins on the arduino uno. You could do a messy workaround, either by soldering something onto the SD pins (since were not using them anyway…
  • colporteur
    colporteur over 4 years ago

    Your post definitely reflects a motivation when it comes to constructing an oscilloscope. How about making an investment and getting on in return. I seem to recall a RoadTest  PICOSCOPE 5444D MSO -  USB Oscilloscope that I would encourage you to consider applying for.

     

    Sean

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • carlosmach
    carlosmach over 4 years ago

    I need to try this. Awesome job but can you fix the broken link please ?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • prabhat_01
    prabhat_01 over 4 years ago

    The link given for spfd5408 is broken. Someone please send the ino sketch for the spfd5408 screen.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • chico1987
    chico1987 over 6 years ago

    can somone please tell me how to measure the frequency of my signal?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 6 years ago

    Can u please give circuit diagram to how to connect 2.4TFT to ARDUINO MEGA 2560. We connected it as u showed like shield but it shows only white screen and not display was seen. When i tested it in ARDUINO UNO then it worked well but problem is only with ARDUINO MEGA(i even added that #include mega_2560 in swift.cpp .). Please give me the circuit diagram to connect tft 2.4 to ARDUINO MEGA.

    • 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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube