Button Stuck Problem in Capsense

Trackpads, buttons, sliders, or touch screens PSoC can do them all. This is the forum for CapSense.

Moderator: TedTsui

Button Stuck Problem in Capsense

Postby soon_808 on Mon Nov 20, 2006 9:14 am

Currently I'm doing a development of 18 button Capsense using CY8C21534. I face problem when one of the button is pressed then release..the CSR still keep detect the button is pressed. When other button is pressed, no response from the CSR. Any suggestion and solution? I already Calibrate the DacCurrent and the ScanSpeed but the problem still remain. :cry: :cry: :cry:
soon_808
Newbie
Newbie
 
Posts: 4
Joined: Mon Nov 20, 2006 9:07 am

Postby lovell on Mon Nov 20, 2006 9:24 am

Please post the code. Sounds like the you are making a single pass at the buttons.
Bill Lovell
User avatar
lovell
The Big Cheese
The Big Cheese
 
Posts: 665
Joined: Sat Dec 20, 2003 6:15 am
Location: Maine, USA

Postby soon_808 on Mon Nov 20, 2006 9:18 pm

Attached is my source code. ..Please comment.

Currently I'm only have PSOC MiniProg. How can I calculate and set the Baseline value, finger threshold and noise threshold for the board?

Thanks :D
soon_808
Newbie
Newbie
 
Posts: 4
Joined: Mon Nov 20, 2006 9:07 am

Postby soon_808 on Mon Nov 20, 2006 9:23 pm

Sorry..reattach the source code... :o
Attachments
source.zip
(2.96 KiB) Downloaded 254 times
soon_808
Newbie
Newbie
 
Posts: 4
Joined: Mon Nov 20, 2006 9:07 am

Postby soon_808 on Wed Nov 22, 2006 12:54 am

any idea for the problem??
soon_808
Newbie
Newbie
 
Posts: 4
Joined: Mon Nov 20, 2006 9:07 am

Postby lovell on Wed Nov 22, 2006 5:21 am

Try finger=100, baseline & noise =40

Sorry wading through the txt document of the code. It captures all the visual formatting.

did you define DATA[0]
Bill Lovell
User avatar
lovell
The Big Cheese
The Big Cheese
 
Posts: 665
Joined: Sat Dec 20, 2003 6:15 am
Location: Maine, USA

Postby vikas_psocdeveloper on Sat Nov 25, 2006 9:25 am

soon_808 wrote:any idea for the problem??


Have u tried sample code of two switches?

If that code is working then made changes as per your 18 switches.
User avatar
vikas_psocdeveloper
Cheese Cube
Cheese Cube
 
Posts: 29
Joined: Sat Oct 14, 2006 2:17 am

Postby lovell on Sat Nov 25, 2006 9:30 am

Zip the whole project and post it so I can test it
Bill Lovell
User avatar
lovell
The Big Cheese
The Big Cheese
 
Posts: 665
Joined: Sat Dec 20, 2003 6:15 am
Location: Maine, USA


Return to CapSense

Who is online

Users browsing this forum: No registered users and 1 guest

cron