Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Nishant mittal
Published © GPL3+

CapSense Gesture Recognition Using PSoC and WS2812

This project is designed to interface WS2812 LED ring with PSoC Cap Sense for gesture recognition of clockwise/counterclockwise movement.

IntermediateFull instructions provided2 hours2,076
CapSense Gesture Recognition Using PSoC and WS2812

Things used in this project

Story

Read more

Schematics

Connection Diagram

This is the connection diagram using which one is expected to connect in order to plug and program and play the project

UART Window of Tera term

This is the UART window of tera term. Here the LED position can be seen as it changes. Since the delay given in the code is very less one would not able to see all the numbers. In order to see numbers one would have to increase the delay between the LEDs

Code

Code

C/C++
Extract the file in your PSoC Creator folder. Full creator project is included in this file. Then Open FunWithLED file. Program your PSoC device and check the output. Incase any error comes first check if CapSense gesture.c, LED_Control.c, main.c, CapSense_gesture.h, LED_Control.h and main.h are present in the project. If not present then manually add the files from the unzipped folder. then Run the program. If again it shows error then you may have to update the component libraries and add the port names. You can use any other Cypress Boards for this project but in tat case you will have to change the port number from the cydwr file.
No preview (download only).

Credits

Nishant mittal
1 project • 4 followers
Like to work on new technology, play with electronics and make new designs. Like to write and discover new things in life
Contact

Comments

Please log in or sign up to comment.