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 4113 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.
  • DAB
    DAB over 12 years ago

    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 posts.

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • mhastings
    mhastings over 12 years ago in reply to DAB

    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 on using the built-in compare function in the SAR SEQ hardware.  By the way, the waveforms are being generated by the PSoC5LP using two WaveDAC8s.

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jesusantoniocar
    jesusantoniocar over 12 years ago in reply to mhastings

    Hello Mark.

    thanks for this project, so i see the update about the lcd project, right now i see the next error.

     

    best regards,

     

    Jesusimage

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

    Hi Jesus,

    I've uploaded another version, that contains the dependant GraphicsLCD Component as well (its the same one we've been using in all the other GLCD examples).

    As a result, the .zip file is slightly bigger (~4mb).

     

    Please download and try this version, see if that fixes your problem - P4Scope2.zip

     

    regards,

    -Gagan


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

    Hello Gagan.

    I debug the psoc creator project and compiled zero errors.

    thanks.

     

    Jesus Antonio.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jesusantoniocar
    jesusantoniocar over 12 years ago in reply to jesusantoniocar

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Hi,

    I need help with project #17.  I have the psoc 4 pioneer kit and an LCD shield (ElecFreaks V1.2).  I can't find a datasheet for this project describing the required pin connections.  I built the project and programmed the device but I don't see anything on the display after pressing the reset.

     

    Thanks,

    AB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jesusantoniocar
    jesusantoniocar over 12 years ago in reply to Former Member

    Hello AB.

    i have been working with this lcd, please dont forget  drive P3[4] high. please look at:

    http://www.element14.com/community/message/76334#76334/l/psoc-4-pioneer-kit-community-project09-graphics-lcd-display project 3009.

     

    regards,

     

    Jesus Antonio.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to jesusantoniocar

    Jesus,

    Thank you for your help.  The voltage on P3.4 is about 3.11V.  I may have to try project#9 first.

     

    AB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to jesusantoniocar

    Jesus,

    Again, thanks for your help.  The LCD shield is working now.

     

    AB

    • Cancel
    • Vote Up +1 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