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
      •  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#058 – An Introduction to Processing
  • 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 5 replies
  • Subscribers 27 subscribers
  • Views 814 views
  • Users 0 members are here
Related

PSoC 4 Pioneer Kit Community Project#058 – An Introduction to Processing

cy.wbz
cy.wbz over 12 years ago

Hello!

 

Today’s example talks about using the open source programming software called Processing. This open source development environment is widely used in the Arduino community to create simple computer GUI interfaces for end applications. In this example we will give you a demonstratation of the power and simplicity of Processing. We will generate an application that allows the user to draw  a user created image. We will incorporate Processing in a Pioneer kit example later this week.

 


image

 

Forum Post Attachments:

 

At the bottom of this post we are including the following items:

  • Zip File of Images

 

Components Used:

 

This is a software only example so the user will not use any components.

 

Firmware Description:

 

In this example we will use the programming environment called Processing. This open source coding environment allows the user to generate simple computer based applications. Users can create applciations that generating interfaces, displays, and outputs. The following image is the Processing development window. You will notice, if you have experience with Arduino, that it looks very similar to the Sketching environment for Arduino.

 


image

 

The Processing software is hardware agnostic and can be used to enhance embedded example projects. It also allows customers to rapidly develop custom user interfaces without the need for a C# development environment or compiler.

 

In our Processing example we will allow the user to draw an image using their mouse. The image will be drawn in the GUI created by the Processing code.

To generate a simple GUI that allows you to draw a shape please add the following code to your sketch:

 


image

 

Later in the week we will show you how to take a drawing or selected image and then display that on an LED matrix using your Pioneer kit. 

 

Hardware Connections:

 

This is a software only example. Later in the week we will show users how to interface Processing with the Pioneer kit.

 

Test Your Project:

 

Download and setup your Processing environment. Run the Sketch and begin drawing your example.

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
1832.Project Images.zip
  • Sign in to reply
  • Cancel
Parents
  • jesusantoniocar
    jesusantoniocar over 12 years ago

    Hello Matt.

    Great project.

    The two types of methods used for Image Processing are Analog and Digital Image Processing. Analog or visual techniques of image processing can be used for the hard copies like printouts and photographs. Image analysts use various fundamentals of interpretation while using these visual techniques. The image processing is not just confined to area that has to be studied but on knowledge of analyst. Association is another important tool in image processing through visual techniques. So analysts apply a combination of personal knowledge and collateral data to image processing.

     

    Thanks for this project and i  will tune with this.

     

    Regards,

     

    Jesus Antonio.

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

    J. Antonio,

     

    'Processing' in this case refers just to the sotware tool which describes itself as: (from http://processing.org/)

    "... a programming language, development environment, and online community.

    Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology. Initially created to serve as a software sketchbook and to teach computer programming fundamentals within a visual context, Processing evolved into a development tool for professionals. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production."

     

    It's free to download and use, so go ahead and try it out - you can try many cool examples with it under File > Examples

     

    Enjoy,

    Antonio

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

    J. Antonio,

     

    'Processing' in this case refers just to the sotware tool which describes itself as: (from http://processing.org/)

    "... a programming language, development environment, and online community.

    Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology. Initially created to serve as a software sketchbook and to teach computer programming fundamentals within a visual context, Processing evolved into a development tool for professionals. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production."

     

    It's free to download and use, so go ahead and try it out - you can try many cool examples with it under File > Examples

     

    Enjoy,

    Antonio

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

    Hello Antonio.

    Thanks for the clarification, i will read all informations.

     

    Thanks again.

     

    Jesus Antonio.

    • 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