Announcements
Community Announcement : Welcome to the NEW Cypress Developer Community.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

ORDERED A PIONEER KIT 042 BLE kit.. 

   

I am completely new. Trying to create a keypad that send type "characters" to laptop. My keypad will consists of 5 capacitive buttons and 1 resistive/analog resistive switch.

   

I want capactiive button 1 to send "a" to screen on laptop (or microsoft wordpad)

   

capacitive button 2 to send "b"

   

capacitive button 3 to send "c"

   

capacitive button 4 to send "d"

   

capacitive button 5 to send the keyboard equivalent of "space"

   

and the resistive analog membrane to send "e"

   

.......... how do i use PSoC Creator to do this... 

   

1. what components do i need to move to CREATOR

   

2. what elese needed.

   

3. firmware.. ANYHELP never done it.  

0 Likes
1 Solution
Anonymous
Not applicable

@homer,

   

One other way to handle this is to create a BLE to USB-HID bridge, something that the BLE Dongle does in CY5672 BLE remote RDK project. In this implementation, you will send your CapSense Touch related data over BLE to your BLE Dongle connected to the PC. The BLE device on the Dongle will receive the data, send it over UART to onboard PSoC 5LP, which will package it as an HID keyboard report and send it over USB-HID interface.

   

This way, your project can work across all the laptops as USB-HID is present in all.

   

Check the CY5672 project at http://www.cypress.com/documentation/development-kitsboards/cy5672-proc-ble-remote-control-reference... 

   

 

   

You may also check application note AN57473:

   

http://www.cypress.com/documentation/application-notes/an57473-usb-hid-basics-psoc-3-and-psoc-5lp?so... 

View solution in original post

0 Likes
12 Replies
ETRO_SSN583
Esteemed Contributor

Take a look at these -

   

 

   

http://www.cypress.com/documentation/application-notes/an64846-getting-started-capsense

http://www.cypress.com/video-library/PSoC-Software/psoc-creator-101-cy8ckit-049-prototyping-kit-caps...
 

   

There are other videos, 101 series, you can look at for general Creator

   

introduction.

   

 

   

http://www.cypress.com/video-library

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Thanks Dana... I got  capacitive buttons to work and print out to TERA TERM/a hypertext thing on the laptop.  How can i get it to a program like Notepad in Windows 7 or 8?

0 Likes
Anonymous
Not applicable

Thanks Dana... I got  capacitive buttons to work and print out to TERA TERM/a hypertext thing on the laptop.  How can i get it to a program like Notepad in Windows 7 or 8?

0 Likes
ETRO_SSN583
Esteemed Contributor

You would have to do that on the PC side with something like Python.

   

 

   

This may be of interest http://www.selmaware.com/stampplot/

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

@homer,

   

One other way to handle this is to create a BLE to USB-HID bridge, something that the BLE Dongle does in CY5672 BLE remote RDK project. In this implementation, you will send your CapSense Touch related data over BLE to your BLE Dongle connected to the PC. The BLE device on the Dongle will receive the data, send it over UART to onboard PSoC 5LP, which will package it as an HID keyboard report and send it over USB-HID interface.

   

This way, your project can work across all the laptops as USB-HID is present in all.

   

Check the CY5672 project at http://www.cypress.com/documentation/development-kitsboards/cy5672-proc-ble-remote-control-reference... 

   

 

   

You may also check application note AN57473:

   

http://www.cypress.com/documentation/application-notes/an57473-usb-hid-basics-psoc-3-and-psoc-5lp?so... 

View solution in original post

0 Likes
Anonymous
Not applicable

Hi Roit,

   

I tried to do what you suggested and it didn't work, there seems to be more to it. For some reason key presses were not going through.

0 Likes
Anonymous
Not applicable

Hi Marco,

   

Did you look at the project that I posted in the other thread?

   

Also, Marco and homer, what OS are you using? If you have Bluetooth 4 capable dongle and Win8 or higher, Linux(?) or android 4.4 or higher then the BLE Keyboard example can connect directly to the PC.

   

 

   

Riot, the cy5672 bridge is very set in it's ways. It expects the first hid report to be a mouse, and second to be keyboard, else it will connect to the device but not bridge any data.

0 Likes
Anonymous
Not applicable

Hi Errol,

   

I just did and I replied, very appreciated for the answer.

   

Thank you,

   

Marco

0 Likes
Anonymous
Not applicable

Marco,

   

Agreed. The CY5672 requires the reports in a particular order. Sorry if I was not clear on this.

0 Likes
Anonymous
Not applicable

I get it now. Is this documented somewhere and I missed it?

   

Thank you,

   

Marco

0 Likes
Anonymous
Not applicable

BTW, I have created a project(not quite complete) that creates a 8 button capsense keypad that sends keypresses to the PC. It is a bit of a nasty hack, but it might be useful to someone.

   

The capsense must be reviewed as it is currently set up to connect to 30cm X 30cm pads.

Anonymous
Not applicable

Hi Marco,

   

There is no document that I am aware of. I found this out by looking at the code of the remote control and the code of the dongle.

0 Likes