The OP
Published on 2024-7-18 11:37
Only look at the author
This post is from stm32/stm8
Latest reply
By adding delayed release, noise reduction is actually performed, which shows that there is no problem with the software. Try using an oscilloscope to display the waveform of GPIO:PA12.
Details
Published on 2024-9-30 14:37
| ||
Personal signatureچوآن شـين
|
||
2
Published on 2024-7-18 12:26
Only look at the author
This post is from stm32/stm8
Comments
Thank you very much! The method is OK. But the actual key operation is 8-12ms, which means that a 3ms interrupt to read GPIO is used and the reading is about 2-4 times. If the PCB area is not tight, I would rather choose a capacitor with a price of 0.01 and add a simple anti-shake software. In other words, for the "switch"
Details
Published on 2024-7-18 16:08
| ||
|
||
|
3
Published on 2024-7-18 13:46
Only look at the author
This post is from stm32/stm8
| ||
|
||
|
4
Published on 2024-7-18 14:15
Only look at the author
This post is from stm32/stm8
| ||
Personal signature
默认摸鱼,再摸鱼。2022、9、28 |
||
|
This post is from stm32/stm8
Comments
The keystrokes are usually not that fast. The fastest hand movement is a few tenths of a second, or a few hundred milliseconds. The fastest is 0.1 second. This is one. If the keystrokes are really fast and you are worried that you can't scan so many times at a time, you can set the timer interrupt to 1 millisecond or 2 milliseconds. You can also reduce the number of times to judge the N
Details
Published on 2024-7-18 16:15
| ||
Personal signatureچوآن شـين
|
||
|
6
Published on 2024-7-18 16:15
Only look at the author
This post is from stm32/stm8
Comments
This method is OK. If the resources are sufficient, software is definitely the best choice. I have measured that the fastest speed of my hand keys is 11ms, sometimes 9ms, and most people are above 16ms; general electronic micro switches are between 15-30 (fastest); intermediate relay electromechanical products
Details
Published on 2024-7-24 07:57
| ||
|
||
|
7
Published on 2024-7-18 17:05
Only look at the author
This post is from stm32/stm8
| ||
|
||
|
wangerxian
Currently offline
|
8
Published on 2024-7-18 17:12
Only look at the author
This post is from stm32/stm8
| |
|
||
|
This post is from stm32/stm8
| ||
Personal signatureچوآن شـين
|
||
|
This post is from stm32/stm8
| ||
Personal signatureچوآن شـين
|
||
|
11
Published on 2024-7-19 10:48
Only look at the author
This post is from stm32/stm8
| ||
|
||
|
lugl4313820
Currently offline
|
12
Published on 2024-7-20 06:16
Only look at the author
This post is from stm32/stm8
| |
|
||
|
13
Published on 2024-7-20 19:58
Only look at the author
| |
|
|
|
This post is from stm32/stm8
| ||
Personal signatureچوآن شـين
|
||
|
This post is from stm32/stm8
| ||
Personal signatureچوآن شـين
|
||
|
liangxinpaul
Currently offline
|
16
Published on 2024-9-30 14:37
Only look at the author
This post is from stm32/stm8
| |
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190