This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| electronic:boards:shield:xc4454 [2026/10/15 22:17] – created tony | electronic:boards:shield:xc4454 [2026/11/11 07:18] (current) – tony | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| < | < | ||
| - | < | + | < |
| \\ | \\ | ||
| - | {{ :electronic: | + | {{ electronic: |
| ^ Shield Description | ^ Shield Description | ||
| ^Model|**XC4454**| | ^Model|**XC4454**| | ||
| ^Manufacturer|made in China| | ^Manufacturer|made in China| | ||
| ^Brand|Duinotech| | ^Brand|Duinotech| | ||
| - | ^Clone of|| | + | ^Clone of|{{https:// |
| + | ^Other designations|DFR0009| | ||
| ^Arduino compatibility|Uno| /* Uno, Uno R3, Mega, Mega2560 etc */ | ^Arduino compatibility|Uno| /* Uno, Uno R3, Mega, Mega2560 etc */ | ||
| ^Type|LCD with keypad| | ^Type|LCD with keypad| | ||
| ^Voltage|5V| | ^Voltage|5V| | ||
| - | ^Current|| | + | ^Software| | |
| - | ^Software|| | + | |
| + | {{ electronic: | ||
| + | ^Arduino pin usage|| | ||
| + | ^Pin^Label^Shield function^ | ||
| + | ^A0|A0|Button inputs| | ||
| + | ^D4|DB4|LCD D4| | ||
| + | ^D5|DB5|LCD D5| | ||
| + | ^D6|DB6|LCD D6| | ||
| + | ^D7|DB7|LCD D7| | ||
| + | ^D8|RS|LCD Register select data/ | ||
| + | ^D9|E|LCD enable| | ||
| + | ^D10|DB10|LCD Back-light| | ||
| ===== Overview ===== | ===== Overview ===== | ||
| + | |||
| + | A standard alphanumeric LCD with 2 rows of 16 characters, which can be driven by the standard Arduino 4bit display drivers. | ||
| + | |||
| + | It also has a keypad of six push-buttons. | ||
| + | |||
| + | As it uses a parallel input LCD it needs to use a lot of Arduino pins (eight), although it has minimised this by only using one for the 5 push-button inputs. | ||
| ===== Features ===== | ===== Features ===== | ||
| - | * | + | * 16 Columns x 2 rows of text display |
| + | * Blue backlight | ||
| + | * 6 Push button keypad (labeled " | ||
| + | * Contrast control | ||
| + | * Display uses standard 4bit LCD library | ||
| + | |||
| + | ===== Design Flaws ===== | ||
| + | Andy Gock mentions on his library page a flaw in the design of the backlight control : "when pin 10 is set to output, and set high, it could cause the IO pin of the MCU (the main Atmel chip) to deliver too much current (over the datasheet’s maximum rating)" | ||
| + | |||
| + | To turn the backlight on, set pin 10 as input. | ||
| + | To turn the backlight off, set pin 10 as output, and immediately set output low (never high!) | ||
| + | |||
| + | From the published schematic I can see that the Arduino D10 drives the base of a transistor directly (with no current | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ^An illustration of two different suggestions to remedy this fault :^ | ||
| + | {{electronic: | ||
| + | |||
| + | On forum.arduino.cc bperrybap says "The best way to test for an issue is to actually measure the current on the D10 pin when it is being driven high. To do this, wire up the shield as described above but then measure the current between the D10 pin and VCC. Set your meter for current with + probe going to VCC and - probe going to the D10 pin on the shield. | ||
| + | |||
| + | I can't confirm the exact wiring of my example of this shield, but I get a current of about 38mA through my meter if I use it to short pin D10 to VCC (D10 set to input mode for it's own safety). | ||
| \\ | \\ | ||
| ---- | ---- | ||
| ===== Schematics ===== | ===== Schematics ===== | ||
| + | {{electronic: | ||
| \\ | \\ | ||
| ---- | ---- | ||
| ===== Examples ===== | ===== Examples ===== | ||
| - | {{electronic: | + | {{electronic: |
| + | {{electronic: | ||
| + | {{electronic: | ||
| ====== References and Additional Resources ====== | ====== References and Additional Resources ====== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * {{https:// | ||
| + | * {{https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| < | < | ||