Test Jig - LCD 16x2 and LCD 20x4

This is the link to our product :

LCD 16x2 : http://nadieleczonesolutions.blogspot.my/2015/01/lcd-16x2.html
LCD 20x4 : http://nadieleczonesolutions.blogspot.my/2015/01/lcd-20x4.html

LCD 16x2
LCD 20x4

As already known, Nadi Eleczone Solutions sell LCD soldered with male header.

The development of test jig is to test every single LCD is functioning well before we handle it over to customer.

 Test Jig without LCD

Test Jig with LCD

Above picture is our test jig. The LCD is first soldered with male header by our operator and then the LCD is plug in into this test jig to test it functionality.

This test jig is able to:
+ Power up the LCD
+ Blinking the Backlight
+ Initialize the LCD
+ Enter command mode
+ Write something on the LCD
+ Automatic adjust the contrast from maximum to minimum

Below is the video how the LCD is test:

If you like to know how this test jig is develop or how is the wiring and circuit diagram, feel free to leave comment below and we will elaborated more on this blog.

Pin Hookup:


Code:

#include <LiquidCrystal.h> LiquidCrystal lcd(8, 9, A0, A1, A2, A3); void setup() { } void loop() { lcd.begin(16, 2); for(int i = 0; i<10;i++) { analogWrite(10, 0); delay(100); analogWrite(10, 100); delay(100); } lcd.clear(); lcd.home(); lcd.print("Nadi Eleczone"); for(int i=0; i<255 ; i++) { analogWrite(11, i); delay(10); } for(int i = 0; i<10;i++) { analogWrite(10, 0); delay(100); analogWrite(10, 100); delay(100); } lcd.clear(); lcd.home(); lcd.print("LCD TESTING"); for(int i=0; i<255 ; i++) { analogWrite(11, i); delay(10); } for(int i = 0; i<10;i++) { analogWrite(10, 0); delay(100); analogWrite(10, 100); delay(100); } lcd.clear(); lcd.home(); lcd.print("OK !!!"); for(int i=0; i<255 ; i++) { analogWrite(11, i); delay(10); } }

No comments:

Post a Comment