- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this download the content of the CD ? CY8CKIT-003 PSoC 3 FTK Kit Only (Kit Design Files, Documentation, Examples) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If u want screenshot of psoc example project I'll send u that also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Burn the psoc rock program and check the board accelerometer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Psoc accelerometer program gives you best intuitive idea of accelerometer use in psoc board