My Projects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
electronic:boards:shield:xc4454 [2026/10/16 07:12] – tonyelectronic:boards:shield:xc4454 [2026/11/11 07:18] (current) – tony
Line 1: Line 1:
 <html><p style="text-align:right;">Published 15 Oct 2026</p></html> <html><p style="text-align:right;">Published 15 Oct 2026</p></html>
-<html><p style="text-align:center;"><b><font size="6">Xc4454 LCD Keypad Shield</font></b></p></html>+<html><p style="text-align:center;"><b><font size="6">XC4454 LCD Keypad Shield</font></b></p></html>
 \\ \\
  
-{{ :electronic:boards:shield:.jpg?200|XC4454 overview}}+{{ electronic:boards:shield:pa184369a.jpg?200|XC4454 overview}}
 ^  Shield Description  || ^  Shield Description  ||
 ^Model|**XC4454**| ^Model|**XC4454**|
Line 9: Line 9:
 ^Brand|Duinotech| ^Brand|Duinotech|
 ^Clone of|{{https://dfimg.dfrobot.com/enshop/image/data/PDF/Manual/DFR0009_Manual__10_cn.pdf|DFRobot LCD Keypad Shield (2009)}}| ^Clone of|{{https://dfimg.dfrobot.com/enshop/image/data/PDF/Manual/DFR0009_Manual__10_cn.pdf|DFRobot LCD Keypad Shield (2009)}}|
 +^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:boards:shield:xc4454.png?200|XC4454 icon}} 
 +^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/control| 
 +^D9|E|LCD enable| 
 +^D10|DB10|LCD Back-light|
  
 ===== Overview ===== ===== Overview =====
-{{electronic:boards:shield:xc4454.png?800|Overview}}+ 
 +A standard alphanumeric LCD with 2 rows of 16  characters, which can be driven by the standard Arduino 4bit display drivers.  The LCD has a blue backlight, that can be turned on and off (default on), but see notes below about a design flaw. 
 + 
 +It also has a keypad of six push-buttons.  One is to reset the display and attached Arduino, the other five are programmable inputs. 
 + 
 +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 "select", "up", "down", "left", "right" and reset){{ electronic:boards:shield:pa184368a.jpg?256|XC4454 keypad}} 
 +  * Contrast control 
 +  * Display uses standard 4bit LCD library
  
 ===== Design Flaws ===== ===== Design Flaws =====
Line 26: Line 48:
     To turn the backlight off, set pin 10 as output, and immediately set output low (never high!)     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 transitor directly (with no current  limit resistor), this may be the problem he describes.+From the published schematic I can see that the Arduino D10 drives the base of a transistor directly (with no current  limit resistor), this may be the problem he describes. 
 + 
 +  * [[https://forum.arduino.cc/t/warning-to-users-of-some-vendors-lcd-keypad-shields/94673|Fault description]] /*https://web.archive.org/web/20260304005043/https://forum.arduino.cc/t/warning-to-users-of-some-vendors-lcd-keypad-shields/94673*/ 
 +  * [[https://web.archive.org/web/20121101083518/http://arduino.cc/forum/index.php/topic,96747.0.html|Follow up discussion]] 
 +  * [[https://www.stubmandrel.co.uk/16-electronics/236-dfrobot-lcd-keypad-shield-backlight-fix|Suggested fix using a resistor, and light level control code.]] /*https://web.archive.org/web/20260415122823/https://www.stubmandrel.co.uk/16-electronics/236-dfrobot-lcd-keypad-shield-backlight-fix*/ 
 +  * [[https://www.instructables.com/Arduino-LCD-Backlight-Fix|Suggested fix using a diode.]] /*https://web.archive.org/web/20250914033301/https://www.instructables.com/Arduino-LCD-Backlight-Fix/*/ 
 + 
 +^An illustration of two different suggestions to remedy this fault :^ 
 +{{electronic:boards:shield:xc4454_bl_fix.png?600|XC4454 back-light fix options}}\\ 
 + 
 +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.  If you measure more than about 30ma, the backlight circuit has the issue." 
 + 
 +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).   I presume this is all going through the base-emitter of the driver transistor, and is approximately what the Arduino would be sourcing from pin D10 if I set D10 HIGH.  The absolute maximum output per pin on the original Uno is 40mA, so my example has the fault as described above.
  
-[[https://www.stubmandrel.co.uk/16-electronics/236-dfrobot-lcd-keypad-shield-backlight-fix|Suggested fix and light level control.]] 
-https://www.instructables.com/Arduino-LCD-Backlight-Fix/ 
 \\ \\
 ---- ----
 ===== Schematics ===== ===== Schematics =====
-{{electronic:boards:shield:xc4454_sch_red.png?800:XX4454 schematic}}+{{electronic:boards:shield:xc4454_sch_red.png?800:XC4454 schematic}}
 \\ \\
 ---- ----
 ===== Examples ===== ===== Examples =====
-{{electronic:boards:shield:.jpg?800|XC4454 overview}}+{{electronic:boards:shield:pa184369a.jpg?800|XC4454 overview}} 
 +{{electronic:boards:shield:pa184365a.jpg?800|XC4454 top view}} 
 +{{electronic:boards:shield:pa184367a.jpg?800|XC4454 PCB bottom}}
  
 ====== References and Additional Resources ====== ====== References and Additional Resources ======
-  * {{https://web.archive.org/web/20110925063452/http://www.dfrobot.com/wiki/index.php?title=Arduino_LCD%26KeyPad_Shield_(SKU:_DFR0009)|RFRobot LCD Keypad Wiki}} +  * [[https://web.archive.org/web/20211212063715/https://www.jaycar.com.au/arduino-compatible-2-x-16-lcd-controller-module/p/XC4454|Old Jaycar description page]] 
-  * {{https://gock.net/blog/2013/arduino-library-for-df-robot-16x2-lcd-keypad-shield|Arduino Library for DF Robot 16×2 LCD Keypad Shield (Andy Gock)}}+  * [[https://katoombaelectronics.com.au/product_details/XC4454|Jaycar agent product page]] 
 +  * {{https://katoombaelectronics.com.au/product/catalog/4177|XC4454 pdf datasheet}}{{electronic:boards:shield:xc4454-datasheetmain.pdf|.}} 
 +  * {{https://dfimg.dfrobot.com/enshop/image/data/PDF/Manual/DFR0009_Manual__10_cn.pdf|DFRobot LCD Keypad Shield (2009)}} 
 +  * [[https://web.archive.org/web/20110925063452/http://www.dfrobot.com/wiki/index.php?title=Arduino_LCD%26KeyPad_Shield_(SKU:_DFR0009)|DFRobot LCD Keypad Shield Wiki]] 
 +  * [[https://gock.net/blog/2013/arduino-library-for-df-robot-16x2-lcd-keypad-shield|Arduino Library for DF Robot 16×2 LCD Keypad Shield (Andy Gock)]]
  
 <html><small><p>If any referenced page no longer exists, try looking for its URL on <a href="http://archive.org">http://archive.org</a>.</p></small></html> <html><small><p>If any referenced page no longer exists, try looking for its URL on <a href="http://archive.org">http://archive.org</a>.</p></small></html>