Changes

Jump to: navigation, search

Enter name of article to create

2,184 bytes added, 06:01
Arduino Tutorial: 4x4 Matrix Membrane Keypad Module
__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="borderExperiment: 1px solid rgb(255, 201, 201); margin4x4 Keypad Module: 0px 0px 5px; padding: 0.5em 1em; backgroundTouch-color: rgb(255, 243, 243);">Sensitive 4*4 Membrane Matrix Keyboard for External Expansion and Control of 16-Bit Microcontrollers<center> '''CPC Related NewsMatrix 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/center>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 onlyA membrane keyboard, see httpalso known as a membrane switch, is a popular choice for its blend of aesthetics and functionality. It consists of four key components://wwwthe panel, upper circuit, isolation layer, and lower circuit.cpcwikiThis type of keyboard is valued for its modern design, compactness, light weight, and good sealing properties.eu/indexIt is also resistant to moisture, dust, oil, acids, alkalis, and shock, making it durable.php/OldNews -->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 foldingKey recognition method
[[File:Dez80_introIn this way, when no key is pressed, all input lines are at a high logic level, indicating that no key is pressed.png|thumb|256px|[http://wwwThe output lines are at a low logic level.cpcwikiOnce a key is pressed, the corresponding input line will be pulled down.eu/indexBy reading the status of the input lines, it can be determined whether a key is pressed.php/DEZ80 Mastering Z80 Assembler Course]]]
*27/02/23: '''SOH Tactics GX''', a new GX4000/plus strategy game released [http://wwwI.sohde.co.uk/SOHTacticsGX.html]*21/12/22: '''[[Current_Sources_Of_Software]]'''Row scanning method, now also known as a wiki page.*09/12/22: '''Hyperdrive'''row (or column) scanning query method, 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 [[one of 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]most commonly used key recognition methods.
</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 align=right>Identifying the position of the pressed key involves determining which specific key is closed...[[OldNews|Older News]]...</div></div><!-- WEIRD TABLE START -->{| width="100%" class="FCK__ShowTableBorders" |- valign="top" | <div style="borderThe process is as follows: 1px solid rgb(176Set each row line to a low logic level one at a time, 176while keeping the other lines at a high logic level. Once you find a row line at a low logic level, 176); margin: 0px 0px 5px; padding: 0examine the logic levels of each column line in sequence.5em 1em; background-color: rgb(238If a column line is also at a low logic level, 238, 238);">the key at the intersection of that column and the row set to low is the closed key.
=== CPCWiki related ===*[[CPCWiki updates]]*[[Donors]]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'''Become an Author!'''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.<createbox> Flexible Membrane Keyboarddefault=Enter name A flexible membrane keyboard consists of article soft film layers, including PET for its electrical properties and low-resistance conductive coatings for circuit patterns. This design allows the keyboard to create adapt to flat and curved surfaces, with integrated lead-out wires providing bendable connections to the device's circuitry.buttonlabel=Create article! Flat Three-Dimensional Membrane Keyboardwidth=40 </createbox></div> 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[https://www.unikeyic.com/search?keyword="borderModule '''Module Parameters''']Contact resistance: 1px solid rgb(176, 176, 176); margin500 ohmsInsulation resistance: 0px 0px 5px; padding100 MegaohmsCritical operating force: 0.5em 1em; background150-color200 NewtonsBounce time: 1 millisecondLifespan: 100 million cyclesOperating temperature: rgb(238, 238, 238);">60 degrees Celsius
<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>
| 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 1.Electrical Characteristics:Rated Current: 35V (and hinting publicly!DC) at the 6128 , 100mA, 1W*The [[472|CPC 472]] was a model released in Spain Contact Resistance: 10Ω~500Ω(varies with an extra unaccessible 8 KB of RAM to circumvent a spanish tax that was charged different wire lengths depending on imported machines with up to 64 KB memorymaterials used for wires)Insulation Resistance: 100MΩ 100VDielectric Strength: 250VRms (50~60Hz 1min)Electric Shock Vibration: <5msLifetime: Touch Type: ≥1 million times2.Mechanical Performance:Operating Pressure: Touch: 170~397g (6~14oz)Switch Travel: Touch type: 0.6~1.5mm
*With a possible total amount of '''832 × 288 pixel''' 3.Environmental Parameters:Operating Temperature: -40 to +80Storage Temperature: -40 to +80Temperature: From 40, 90% to 95%, 240 hoursVibration: 20G, maximum (576 interlaced10~200Hz, Mil-SLD-202 M204, Condition B) the [[CPC|CPC]] was the 8 bit homecomputer with the highest screen resolution ever.TAG:Keypad Module;electronic components; electronic product design
*'''OpenOffice''' for WindowsFor reliable and high-quality electronic components to enhance your lighting projects, you might consider checking out [https:/Linux is a direct descendant of [[Star-Division|StarWriter]] for the CPC/www. *The transfer speed of the [[CPC Booster|CPC Booster +unikeyic.com/search?keyword=Module Unikeyic]] serial interface is faster than , a standard '''DSL connection'''trusted brand for circuit solutions*[[SymbOS|SymbOS]] can handle more than '''50 times''' bigger hard discs than MS Windows 95A. *[[FutureOS|FutureOS]] can load 178 KB in '''9 seconds''' from floppy disc and manages up to '''4 MB''' of RAM </div> </div>  |}
1
edit