1 / 1

Statement of Purpose:

Statement of Purpose: To program an incremental counter using the PSoC Designer 5.0, Imagecraft, the programming language C, the PSoCEval USB CY3214 circuit board, and the LCD screen of the board. Project Goals & Guideline:

eli
Download Presentation

Statement of Purpose:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Statement of Purpose: To program an incremental counter using the PSoC Designer 5.0, Imagecraft, the programming language C, the PSoCEval USB CY3214 circuit board, and the LCD screen of the board. Project Goals & Guideline: The goals of the project are to incorporate skills learned through COSMOS Cluster 1 about embedded computer systems to create a programmable code of an incremental counter that can be downloaded to the Cypress board CY3214. The final result is the values of the counter printed on the LCD screen of the Cypress circuit board. Source Code //-------------------------------------------------------- // // COSMOS UCSD 2008 CLUSTER 1: ADVENTURES IN EMBEDDED // COMPUTER SYSTEMS // // Name: Incremental Counter // Device: PSOC3214 (CY8C24894-24LFXI) // AUTHOR: Azucena Robles and Adrian Jara // // Function: This program makes use of an LCD and a eight-// bit timer. The timer counts by seconds incrementally. // The values are displayed on the LCD screen for each // second incremented. Once the second reaches sixty, it // increments the minute value. This is a continuous // cycle. Once the minute increments to sixty minutes, the // hour value rises as well. Once the hour value arrives // at twelve hours, the whole cycle resets automatically. // Pushing the S3 button on the board will automatically // reset the counter value to zero. //-------------------------------------------------------- [Source Code to long to fit] • Procedures • Open PSoC Designer 5.0. • Create new project on chip level known as Incremental Counter. • Select Part CY8C24894-24LFXI through the View Catalog section, and click OK. • Add an LCD through User Modules as well as an 8 bit timer. (These were added by clicking on the User Module Catalog, expanding the Misc Digital, and right click on LCD and select place; the timer could be found under Timers in the User Module. • The LCD is then given Port 4 by right clicking on it in the Workspace explorer, and then properties is selected. Through properties, there is a drop down window that is called LCDPort, and Port_4 is selected. • After the port is assigned to the LCD, the source code was inserted to the project. • The source code was tested continuously and modified several times until the end result was satisfactory; the end result being the incremental counter. • The project was built after every modification. To build each modification, click on the pull down window Build and select Generate/ Build All Projects.) • Afterwards, the pull down window Program is chosen and PSoC Programmer is chosen as well in that window. • MiniProg is then connected to the Computer and to the CY3214 circuit board. • Once MiniProg is connected, click on the pull down window Port, and click on MINIProg1/8714ECCA2707. Then, make sure it is connected by pressing connect. • Then, press file load to load your file. • After that, program the circuit board by pressing program. • Once the programming is finished, toggle with the power device to test it out. • The end results should show now.

More Related