Circuit Sword button bouncing
-
- Posts: 226
- Joined: Tue Jan 31, 2017 11:06 am
- Location: Tianjin / China
- Has thanked: 25 times
- Been thanked: 53 times
Circuit Sword button bouncing
Dear circuit sword uses,
on my CS build I recognize regular button bounces (unwanted multiple button presses). Can you please give your experience about this on your builds?
If helpfully for everybody maybe KITE can add a slight bounce feature to the Arduino script for update.
on my CS build I recognize regular button bounces (unwanted multiple button presses). Can you please give your experience about this on your builds?
If helpfully for everybody maybe KITE can add a slight bounce feature to the Arduino script for update.
- Hellweaver666
- Posts: 62
- Joined: Sun Aug 12, 2018 1:37 am
- Has thanked: 16 times
- Been thanked: 13 times
Re: Circuit Sword button bouncing
I saw someone complaining about bouncy buttons on start/select so maybe there could be a need for a little software tuning there!
Re: Circuit Sword button bouncing
i have the same problem with my d-pad and start button.. i got the newest version of kites cm3 board. i use buttons and rubber membranes from retromodding. contact pads on the board and rubbber membranes have been cleaned without any improvement. i even used 2 different membranes from a cheap chinese vendor. no change
when i press the start button, it recognizes 2-3 button pushes in a split second. the dpad not so much
when i press the start button, it recognizes 2-3 button pushes in a split second. the dpad not so much
- kite
- Posts: 972
- Joined: Thu May 12, 2016 4:30 am
- Location: UK
- Has thanked: 246 times
- Been thanked: 361 times
- Contact:
Re: Circuit Sword button bouncing
Just replied to Killars post, perhaps i need to implement de-bouncing sooner then..
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
-
- Posts: 5
- Joined: Thu Dec 14, 2017 1:02 pm
Re: Circuit Sword button bouncing
Noticed the same thing as well,
As my day job is problem management I thought I would just let you know what I am seeing so you can gauge how many people are seeing this and give what info I can.
Super easy to spot in Tetris as a single push will spin the blocks several times.
Is the Arduino running like a refresh on the buttons looking for presses or is is binary on/off?
Not that I am much of an expert but it seems like it’s recognizing the same push over and over as opposed to a single press.
Anyway I’m sure Kite or even another user on these boards knows what the deal is and can fix it.
As my day job is problem management I thought I would just let you know what I am seeing so you can gauge how many people are seeing this and give what info I can.
Super easy to spot in Tetris as a single push will spin the blocks several times.
Is the Arduino running like a refresh on the buttons looking for presses or is is binary on/off?
Not that I am much of an expert but it seems like it’s recognizing the same push over and over as opposed to a single press.
Anyway I’m sure Kite or even another user on these boards knows what the deal is and can fix it.
-
- Posts: 226
- Joined: Tue Jan 31, 2017 11:06 am
- Location: Tianjin / China
- Has thanked: 25 times
- Been thanked: 53 times
Re: Circuit Sword button bouncing
See here:
http://www.sudomod.com/forum/viewtopic. ... lit=Bounce especially the explanation from Moosepr.
It is possible to integrate this function into the arduino script.
It would be quite convenient for us if Kite add this to the script on the server and we only need to update
The only theoretical disadvantage if your button with this debounce enabled: your affected button will be "blocked" for maybe 100ms before a second press will be recogniced. So the debounce time value should be not chosen too high.
http://www.sudomod.com/forum/viewtopic. ... lit=Bounce especially the explanation from Moosepr.
It is possible to integrate this function into the arduino script.
It would be quite convenient for us if Kite add this to the script on the server and we only need to update
The only theoretical disadvantage if your button with this debounce enabled: your affected button will be "blocked" for maybe 100ms before a second press will be recogniced. So the debounce time value should be not chosen too high.
Re: Circuit Sword button bouncing
That's exactly what I was thinking... If the solution is some sort of low-frequency-pass filtering, it may end limiting games in which you have to push repeatedly and/or very quickly some buttons (fighting arcades, etc.)McGyver wrote: ↑Wed Oct 17, 2018 8:20 pmSee here:
http://www.sudomod.com/forum/viewtopic. ... lit=Bounce
The only theoretical disadvantage if your button with this debounce enabled: your affected button will be "blocked" for maybe 100ms before a second press will be recogniced. So the debounce time value should be not chosen too high.
- kite
- Posts: 972
- Joined: Thu May 12, 2016 4:30 am
- Location: UK
- Has thanked: 246 times
- Been thanked: 361 times
- Contact:
Re: Circuit Sword button bouncing
Thanks for the feedback guys. The arduino code polls the buttons at about 60hz and transmits any changes in the same period. I can look in to adding some de-bounce logic but if someone does happen to make changes they can submit a pull request or even email me what they have done and I can integrate it.
Obviously I want to make sure it's still responsive, especially for timing critical things. But even if i limited the debounce to technically only allow 20 button changes per second, that should at least have everything covered.. also, going forward I'm going to change the PCBs to be ENIG finished (gold) which should mean a quicker change and less bouncing in the first place..
Obviously I want to make sure it's still responsive, especially for timing critical things. But even if i limited the debounce to technically only allow 20 button changes per second, that should at least have everything covered.. also, going forward I'm going to change the PCBs to be ENIG finished (gold) which should mean a quicker change and less bouncing in the first place..
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
-
- Posts: 5
- Joined: Thu Dec 14, 2017 1:02 pm
Re: Circuit Sword button bouncing
Has anyone come up with a solution to this yet? I’ve fiddled with and cleaned my connections, replaced all the pads and still have pretty frequent bouncing issues.
Thanks!
Thanks!
Who is online
Users browsing this forum: No registered users and 1 guest