Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Accelerometer with PSoC 3 FirstTouch Starter kit

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Accelerometer with PSoC 3 FirstTouch Starter kit
Moderator:
RKRM

Post Reply
Follow this topic



Accelerometer with PSoC 3 FirstTouch Starter kit

arpeggio posted on 04 Apr 2012 6:25 PM PST
Member
5 Forum Posts

A friend of mine gave me this board to try the accelerometer on it but i don't have the kit related to the accelerometer. I am using PSoC creator 2.0, someone would like to give me a project exemple with the accelerometer?

 

thank you




Re: Accelerometer with PSoC 3 FirstTouch Starter kit

U2 posted on 04 Apr 2012 09:19 PM PST
Cypress Employee
589 Forum Posts

I am assuming that you are referring to this kit here, http://www.cypress.com/?rID=38235 . If yes, then you can download the installer for this kit, which will install the User Guide. Follow the user  guide and you should be able to find the example code that demonstrates the use of accelerometer on this kit. 

If you intend to interface any other standard accelerometer, let us know.



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

arpeggio posted on 05 Apr 2012 05:34 AM PST
Member
5 Forum Posts

4.1.1 of the starter kit guide

This is exactly what i am missing, the code examples. When i open up psoc creator, the kit content is blank. Are they available from a custom installation because i`ve installed the software with typical settings.

 

 



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

arpeggio posted on 05 Apr 2012 05:35 AM PST
Member
5 Forum Posts

Is this download the content of the CD ? CY8CKIT-003 PSoC 3 FTK Kit Only (Kit Design Files, Documentation, Examples) ?

 

 



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

Gautam Das posted on 05 Apr 2012 09:17 AM PST
Cypress Employee
742 Forum Posts

Hi arpeggio,

 

Please download and install from the "CY8CKIT-003 PSoC 3 FTK Kit Only" file which you have mentioned in the previous comment.

The 5 example projects associated with the FTK (First Touch Kit) will be installed. You can then program the project onto your FTK.



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

arpeggio posted on 05 Apr 2012 02:56 PM PST
Member
5 Forum Posts

I've downloaded the program and loaded the bubble level example successfully!    Now how do you tell the X-axis, when i tilt the board on my the left the rightmost led turns on, when i tilt it to my right, the leftmost led lits on , so the x-axis is paralle to the leds?

 



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

Gautam Das posted on 07 Apr 2012 10:00 AM PST
Cypress Employee
742 Forum Posts

Arpeggio,


 


The FTK has a triple axis accelerometer KXSC7-2050. The specs of this accelerometer can be found in its datasheet.


In the "Bubble Level" project, the X-axis of the accelerometer is utilized. It continuously reads the X-axis and converts it to a digital value using Delsig ADC. The value read is an indication of the tilt of the board along X axis.


The tilt value is offset and scaled to update the LED display.


You can refer to the example project and read the comments to understand its working.



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

sachinbvp posted on 07 Apr 2012 11:35 AM PST
Top Contributor
139 Forum Posts

 Update your psoc creator or install latest version of psoc creator from cypress websit. Connect your kit to computer and launch psoc creator and in right side go to sample project there you find program with schematic and code on accelerometer .



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

sachinbvp posted on 07 Apr 2012 12:00 PM PST
Top Contributor
139 Forum Posts

If u want screenshot of psoc example project I'll send u that also.



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

sachinbvp posted on 07 Apr 2012 09:09 PM PST
Top Contributor
139 Forum Posts

 For first touch start kit by cypress go to link given below

http://www.cypress.com/?rID=38235

 



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

sachinbvp posted on 07 Apr 2012 09:11 PM PST
Top Contributor
139 Forum Posts

 First touch starter kit user guide which contain all information about the kit and about sample projects 

Go to link:

http://www.cypress.com/?docID=29790

It will give sample projects schematic and codes.



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

arpeggio posted on 13 Apr 2012 06:27 AM PST
Member
5 Forum Posts

So i got the bubble level program up and running and it works fine! I`ve also tried to change the calibration values but where i live it is fine with the default values.

 

Another little application with the same code:

 

Put the board as much parallel to your desk and give it an acceleration on one side, the LED on the other side of the array should light up. Hope this helps understand the accelerometer.



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

Gautam Das posted on 16 Apr 2012 10:18 PM PST
Cypress Employee
742 Forum Posts

arpeggio,

 

The accelerometer responds to both static (acceleration due to gravity) and Dynamic acceleration (due to movement). If you move the board with an acceleration / deceleration without changing its orientation, then the change in the output of the accelerometer will be purely based on the acceleration due to movement alone.



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

sachinbvp posted on 30 May 2012 08:28 PM PST
Top Contributor
139 Forum Posts

 Burn the psoc rock program and check the board accelerometer 



Re: Accelerometer with PSoC 3 FirstTouch Starter kit

sachinbvp posted on 30 May 2012 08:31 PM PST
Top Contributor
139 Forum Posts

 Psoc accelerometer program gives you best intuitive idea of accelerometer use in psoc board






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20