element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Cypress Kits
  • Products
  • Dev Tools
  • Cypress Kits
  • More
  • Cancel
Cypress Kits
Forum PSoC 4 Pioneer Kit Community Project#17 - 2-Channel OScope with GraphicsLCD
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Cypress Kits to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 15 replies
  • Subscribers 30 subscribers
  • Views 4114 views
  • Users 0 members are here
  • graphics
  • sar
  • lcd
  • 100projects
  • oscilloscope
  • adc
  • arduino
  • 4
  • psoc
Related

PSoC 4 Pioneer Kit Community Project#17 - 2-Channel OScope with GraphicsLCD

cy.gul
cy.gul over 12 years ago

Hello folks!

 

Today we're posting another Oscilloscope project that uses the Color Graphics LCD Shield. This project is a little dual channel scope using the PSoC 4 Pioneer board and the SparkFun Arduino color graphics shield or equivalent.

 

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

 

The user input is via SW2 on the Pioneer board (none of the switches on the display are used). Tap the button to cycle through the options highlighted with a white box drawn around it. Hold the button for a second or more until the box moves to another parameter.

 

*      Trigger Channel:  "TRG 1" or "TRG 2"

*      Trigger Level:    From 100mV to 5000mV

*      Input Range:      5000mV, 2500mV, 1250mV, 625mV, 312mV

*      Samples per Second:  SPS  10k, 20k, 50k, 100k, 200k, 400k

 

image

 

Components used:

* Graphics LCD Component (over SPI)

* SAR ADC Component

* a few instances of the Pin Component

 

Software:

Inside the PSoC Creator project, you'll notice 2 Sources Files -

* main.c - this implements the main firmware for the project's user interface

* scope.c - this implements all of the oscilloscope functions

 

Hardware Required:

* PSoC 4 Pioneer Kit

* Sparkfun or equivalent Nokia 6100 based Color Graphics LCD Arduino Shield

 

Attachments:

PSoC Creator Project .zip file

Attachments:
P4Scope2.zip
  • Sign in to reply
  • Cancel

Top Replies

  • DAB
    DAB over 12 years ago +1
    Another fun project. I am curious about the way the two signals walked through each other. Is that due to the sampling or due to them being generated by different generators/time base? Keep up the fun…
  • mhastings
    mhastings over 12 years ago in reply to DAB +1
    DAB, I purposely made the two waveforms at a slightly different frequency so I could tell if I could sync to one or the other. The project lets you select the channel and the voltage level that you trigger…
  • jesusantoniocar
    jesusantoniocar over 12 years ago in reply to cy.gul +1
    Hello Gagan. I debug the psoc creator project and compiled zero errors. thanks. Jesus Antonio.
  • elimathew
    elimathew over 11 years ago

    Sir i would like to ask whether this would work with negative voltages?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mhastings
    mhastings over 11 years ago in reply to elimathew

    You must keep the input voltages to the PSoC4, within the supply rails.  What you can do, is create a virtual ground at VDD/2 and keep the scope and source power suppply isolated.  Then signals can swing below the source Vss, but will only swing negative in respect to your virtual ground, but still stay within VSS and VDD.

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • elimathew
    elimathew over 11 years ago in reply to mhastings

    thank you sir , i have one more doubt would this shield  work as the above  is it pin compatible

     

    http://www.rhydolabz.com/index.php?main_page=product_info&products_id=600

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cy.gul
    cy.gul over 11 years ago in reply to elimathew

    Jason,

    I haven't used it, but the LCD sheild in your link looks very similar. It should have the same pin-outs.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • elimathew
    elimathew over 11 years ago

    hey guys in this project how do we measure the parameters like the peal value of the signal

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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