Difference between revisions of "Enter name of article to create"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(8 years old gallery pictures are removed. The oldest news was cleaned (moved to older news).)
(Arduino Tutorial: 4x4 Matrix Membrane Keypad Module)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
 
<center>This site is an encyclopaedia on all things [[Amstrad|Amstrad]] [[CPC|CPC]] related. There are now '''[[Special:Allpages|{{NUMBEROFARTICLES}} articles]]''' about the CPC available.</center>
 
<center>[[Image:forum.png|300px|link=http://www.cpcwiki.eu/forum]]      [[Image:Vs.png|300px|link=http://www.cpcwiki.eu/index.php/Speccy_Port]]</center><br>
 
  
<div style="border: 1px solid rgb(255, 201, 201); margin: 0px 0px 5px; padding: 0.5em 1em; background-color: rgb(255, 243, 243);">
+
Experiment: 4x4 Keypad Module: Touch-Sensitive 4*4 Membrane Matrix Keyboard for External Expansion and Control of 16-Bit Microcontrollers
<center> '''CPC Related News''' </center>
+
'''Matrix Keyboard'''
 +
A matrix keyboard is an external device used with microcontrollers, featuring a grid layout that simplifies key identification. In this setup, columns are linked to the power supply and microcontroller outputs, while rows are inputs. This reduces the number of I/O ports needed. Large keyboards use a matrix arrangement to minimize I/O usage, with each key at the intersection of rows and columns. A single port can manage multiple keys in a matrix, increasing efficiency. For instance, a 4x4 matrix can handle 16 keys, which is more than direct connections. Adding more lines to the matrix increases the number of keys that can be handled exponentially, making it an efficient method for managing many keys.
 +
Membrane Keyboard
  
<!-- 8 last news only, see http://www.cpcwiki.eu/index.php/OldNews -->
+
A membrane keyboard, also known as a membrane switch, is a popular choice for its blend of aesthetics and functionality. It consists of four key components: the panel, upper circuit, isolation layer, and lower circuit. This type of keyboard is valued for its modern design, compactness, light weight, and good sealing properties. It is also resistant to moisture, dust, oil, acids, alkalis, and shock, making it durable. Due to these features, it is widely used in various industries such as medical, computer, digital machinery, electronic scales, telecommunications, appliances, and gaming.
 +
Advantages:
  
<div style="overflow:auto; border: 0px solid #FFC9C9">
+
Sleek and novel appearance.
 +
Compact size, thin thickness, lightweight, which is conducive to the trend of lightweight, thin, short, small, and highly intelligent notebook keyboard development.
 +
Moisture-proof, dust-proof, oil-resistant, and resistant to harmful gases, with strong sealing properties, acid and alkali resistance, and shock resistance.
 +
Long service life and resistance to bending and folding
 +
Key recognition method
  
[[File:Dez80_intro.png|thumb|256px|[http://www.cpcwiki.eu/index.php/DEZ80 Mastering Z80 Assembler Course]]]
+
In this way, when no key is pressed, all input lines are at a high logic level, indicating that no key is pressed. The output lines are at a low logic level. Once a key is pressed, the corresponding input line will be pulled down. By reading the status of the input lines, it can be determined whether a key is pressed.
  
*27/02/23: '''SOH Tactics GX''', a new GX4000/plus strategy game released [http://www.sohde.co.uk/SOHTacticsGX.html]
+
I. Row scanning method, also known as row (or column) scanning query method, is one of the most commonly used key recognition methods.
*21/12/22: '''[[Current_Sources_Of_Software]]''', now as a wiki page.
+
*09/12/22: '''Hyperdrive''', a new vertical scrolling SHMUP [https://www.usebox.net/jjm/hyperdrive/ has been released]
+
*04/11/22: '''[[UniDOS]]''' 1.50 has been released [https://unidos.cpcscene.net].
+
*30/10/22: '''''Ramiro el vampiro III''''' using [[the Mojon Twins]] engine [https://mojontwins.itch.io/ramiro-el-vampiro-iii is released].
+
*17/07/22: '''''Lala Prologue''''' using [[the Mojon Twins]] engine [https://www.indieretronews.com/2022/07/lala-prologue-stunning-platformer-by.html is released].
+
*09/03/22: '''[[FutureOS]]''' 2nd update 2022 [http://www.FutureOS.de is released].
+
*24/01/22: '''''[[SymAmp]] 4.0''''', with Amiga MOD support and more [http://www.symbos.org/appinfo.htm?00005 is released].
+
</div>
+
  
<div align=right>...[[OldNews|Older News]]...</div>
+
Determine if any keys are pressed: Set all row lines Y0-Y3 to a low logic level, then detect the status of the column lines. If any column line is at a low logic level, it indicates that a key on the keyboard has been pressed, and the closed key is located among the 4 keys where the low logic line intersects with the 4 row lines. If all column lines are at a high logic level, then no keys are pressed on the keyboard.
</div>
+
<!-- WEIRD TABLE START -->
+
{| width="100%" class="FCK__ShowTableBorders"
+
|- valign="top"
+
| <div style="border: 1px solid rgb(176, 176, 176); margin: 0px 0px 5px; padding: 0.5em 1em; background-color: rgb(238, 238, 238);">
+
  
=== CPCWiki related ===
+
Identifying the position of the pressed key involves determining which specific key is closed. The process is as follows: Set each row line to a low logic level one at a time, while keeping the other lines at a high logic level. Once you find a row line at a low logic level, examine the logic levels of each column line in sequence. If a column line is also at a low logic level, the key at the intersection of that column and the row set to low is the closed key.
*[[CPCWiki updates]]
+
*[[Donors]]
+
  
'''Become an Author!'''
+
II. High-low logic level flip method
<createbox>
+
default=Enter name of article to create
+
buttonlabel=Create article!
+
width=40
+
</createbox>
+
</div>
+
  
<div style="border: 1px solid rgb(176, 176, 176); margin: 0px 0px 5px; padding: 0.5em 1em; background-color: rgb(238, 238, 238);">
+
When a key is pressed, the high bits switch from 1 to 0, showing the row, and one of the low bits changes from 1 to 0, indicating the column. An OR operation combines these to determine the key's position. Keyboard and display processing can be intricate, primarily due to user habits and external factors, not the microcontroller. Organizing and logically representing the keyboard processing through algorithms before coding is crucial for creating efficient and effective programs.
 +
Flexible Membrane Keyboard
 +
A flexible membrane keyboard consists of soft film layers, including PET for its electrical properties and low-resistance conductive coatings for circuit patterns. This design allows the keyboard to adapt to flat and curved surfaces, with integrated lead-out wires providing bendable connections to the device's circuitry.
 +
Flat Three-Dimensional Membrane Keyboard
 +
This membrane keyboard has keys slightly raised, known as 3D key switches, which improve key recognition and tactile sensitivity, and add decorative appeal. Designing these keys involves precise positioning during mold pressing, and the height of the raised portion should not exceed twice the thickness of the substrate. Various designs can be applied to the protrusions for aesthetic purposes.
  
<div style="text-align: right;"><small>'''All [[Special:Wantedpages|wanted articles]]''' &#124; [[:Category:Stub|Extendable Stubs]] | '''[[Special:ContributionScores|List of most active contributors]]'''</small></div>
+
[https://www.unikeyic.com/search?keyword=Module '''Module  Parameters''']
 +
Contact resistance: 500 ohms
 +
Insulation resistance: 100 Megaohms
 +
Critical operating force: 150-200 Newtons
 +
Bounce time: 1 millisecond
 +
Lifespan: 100 million cycles
 +
Operating temperature: 60 degrees Celsius
  
| width="50%" style="vertical-align: top;" | <div style="border: 1px solid rgb(228, 222, 222); margin: 0px 0px 5px; padding: 0.5em 1em; background-color: rgb(249, 249, 249);">
 
  
=== Did you know?  ===
 
  
*When the 664 was being developed, Sugar was already looking (and hinting publicly!) at the 6128
 
*The [[472|CPC 472]] was a model released in Spain with an extra unaccessible 8 KB of RAM to circumvent a spanish tax that was charged on imported machines with up to 64 KB memory.
 
  
*With a possible total amount of '''832 × 288 pixel''' (576 interlaced) the [[CPC|CPC]] was the 8 bit homecomputer with the highest screen resolution ever.
+
1.Electrical Characteristics:
 +
Rated Current: 35V (DC), 100mA, 1W
 +
Contact Resistance: 10Ω~500Ω
 +
(varies with different wire lengths depending on materials used for wires)
 +
Insulation Resistance: 100MΩ 100V
 +
Dielectric Strength: 250VRms (50~60Hz 1min)
 +
Electric Shock Vibration: <5ms
 +
Lifetime: Touch Type: ≥1 million times
 +
2.Mechanical Performance:
 +
Operating Pressure: Touch: 170~397g (6~14oz)
 +
Switch Travel: Touch type: 0.6~1.5mm
  
*'''OpenOffice''' for Windows/Linux is a direct descendant of [[Star-Division|StarWriter]] for the CPC.  
+
3.Environmental Parameters:
*The transfer speed of the [[CPC Booster|CPC Booster +]] serial interface is faster than a standard '''DSL connection'''.
+
Operating Temperature: -40 to +80
 +
Storage Temperature: -40 to +80
 +
Temperature: From 40, 90% to 95%, 240 hours
 +
Vibration: 20G, maximum (10~200Hz, Mil-SLD-202 M204, Condition B)
 +
TAG:Keypad Module;electronic components; electronic product design
  
*[[SymbOS|SymbOS]] can handle more than '''50 times''' bigger hard discs than MS Windows 95A.
+
For reliable and high-quality electronic components to enhance your lighting projects, you might consider checking out [https://www.unikeyic.com/search?keyword=Module Unikeyic], a trusted brand for circuit solutions.
*[[FutureOS|FutureOS]] can load 178 KB in '''9 seconds''' from floppy disc and manages up to '''4 MB''' of RAM
+
</div>
+
</div>
+
 
+
 
+
|}
+

Latest revision as of 01:01, 25 November 2024

Experiment: 4x4 Keypad Module: Touch-Sensitive 4*4 Membrane Matrix Keyboard for External Expansion and Control of 16-Bit Microcontrollers Matrix Keyboard A matrix keyboard is an external device used with microcontrollers, featuring a grid layout that simplifies key identification. In this setup, columns are linked to the power supply and microcontroller outputs, while rows are inputs. This reduces the number of I/O ports needed. Large keyboards use a matrix arrangement to minimize I/O usage, with each key at the intersection of rows and columns. A single port can manage multiple keys in a matrix, increasing efficiency. For instance, a 4x4 matrix can handle 16 keys, which is more than direct connections. Adding more lines to the matrix increases the number of keys that can be handled exponentially, making it an efficient method for managing many keys. Membrane Keyboard

A membrane keyboard, also known as a membrane switch, is a popular choice for its blend of aesthetics and functionality. It consists of four key components: the panel, upper circuit, isolation layer, and lower circuit. This type of keyboard is valued for its modern design, compactness, light weight, and good sealing properties. It is also resistant to moisture, dust, oil, acids, alkalis, and shock, making it durable. Due to these features, it is widely used in various industries such as medical, computer, digital machinery, electronic scales, telecommunications, appliances, and gaming. Advantages:

Sleek and novel appearance. Compact size, thin thickness, lightweight, which is conducive to the trend of lightweight, thin, short, small, and highly intelligent notebook keyboard development. Moisture-proof, dust-proof, oil-resistant, and resistant to harmful gases, with strong sealing properties, acid and alkali resistance, and shock resistance. Long service life and resistance to bending and folding Key recognition method

In this way, when no key is pressed, all input lines are at a high logic level, indicating that no key is pressed. The output lines are at a low logic level. Once a key is pressed, the corresponding input line will be pulled down. By reading the status of the input lines, it can be determined whether a key is pressed.

I. Row scanning method, also known as row (or column) scanning query method, is one of the most commonly used key recognition methods.

Determine if any keys are pressed: Set all row lines Y0-Y3 to a low logic level, then detect the status of the column lines. If any column line is at a low logic level, it indicates that a key on the keyboard has been pressed, and the closed key is located among the 4 keys where the low logic line intersects with the 4 row lines. If all column lines are at a high logic level, then no keys are pressed on the keyboard.

Identifying the position of the pressed key involves determining which specific key is closed. The process is as follows: Set each row line to a low logic level one at a time, while keeping the other lines at a high logic level. Once you find a row line at a low logic level, examine the logic levels of each column line in sequence. If a column line is also at a low logic level, the key at the intersection of that column and the row set to low is the closed key.

II. High-low logic level flip method

When a key is pressed, the high bits switch from 1 to 0, showing the row, and one of the low bits changes from 1 to 0, indicating the column. An OR operation combines these to determine the key's position. Keyboard and display processing can be intricate, primarily due to user habits and external factors, not the microcontroller. Organizing and logically representing the keyboard processing through algorithms before coding is crucial for creating efficient and effective programs. Flexible Membrane Keyboard A flexible membrane keyboard consists of soft film layers, including PET for its electrical properties and low-resistance conductive coatings for circuit patterns. This design allows the keyboard to adapt to flat and curved surfaces, with integrated lead-out wires providing bendable connections to the device's circuitry. Flat Three-Dimensional Membrane Keyboard This membrane keyboard has keys slightly raised, known as 3D key switches, which improve key recognition and tactile sensitivity, and add decorative appeal. Designing these keys involves precise positioning during mold pressing, and the height of the raised portion should not exceed twice the thickness of the substrate. Various designs can be applied to the protrusions for aesthetic purposes.

Module Parameters Contact resistance: 500 ohms Insulation resistance: 100 Megaohms Critical operating force: 150-200 Newtons Bounce time: 1 millisecond Lifespan: 100 million cycles Operating temperature: 60 degrees Celsius



1.Electrical Characteristics: Rated Current: 35V (DC), 100mA, 1W Contact Resistance: 10Ω~500Ω (varies with different wire lengths depending on materials used for wires) Insulation Resistance: 100MΩ 100V Dielectric Strength: 250VRms (50~60Hz 1min) Electric Shock Vibration: <5ms Lifetime: Touch Type: ≥1 million times 2.Mechanical Performance: Operating Pressure: Touch: 170~397g (6~14oz) Switch Travel: Touch type: 0.6~1.5mm

3.Environmental Parameters: Operating Temperature: -40 to +80 Storage Temperature: -40 to +80 Temperature: From 40, 90% to 95%, 240 hours Vibration: 20G, maximum (10~200Hz, Mil-SLD-202 M204, Condition B) TAG:Keypad Module;electronic components; electronic product design

For reliable and high-quality electronic components to enhance your lighting projects, you might consider checking out Unikeyic, a trusted brand for circuit solutions.