Android Oscilloscope
OBD2 Engine Rev Counter
OBD2 Diagnostic app
TFT Clock and Thermometer
WiFi, Ethernet
WiFi Thermometer
WiFi ESP8266
Doorbell with SD / EEPROM
SD FAT16/32 for .bmp
PETIT FAT bmp Display
TFT Timer, Thermometer
TFT Oscilloscope
SD Talking Clock
Android Talking Clock
SD Sound Recorder
SD FAT32 wav Player
SD Arduino Recorder
LED Thermometer
LED Timer
LCD Timer
TFT 10MHz Counter
100KHz Counter For PC
1MHz Counter For PC
8 Digits LED Counter
Scope Screen Counter
LCD Module Counter
LCD Arduino Counter
6MHz Android Counter
NIXIE Android Counter
Bluetooth Counters
USB Counter
USB TFT display BMP
USB DS18B20 Sensor
USB Thermometer
USB Meter
USB Oscilloscope
USB Input-Output
USB Input-Output Android
USB 16x2 LCD
Serial TFT Text
Serial Inputs Outputs
Serial Port LCD
MCP3201 on Serial Port
Serial Thermometer
Analogue Signal to Serial
Serial Thermostat
MCP3201 on LPT
Analogue Signal to LPT
LCD Display on LPT
Water Softener
HP Stream 7 docking
3.7V to 5V
Solar Charger
Infrared Decoder
PIC Music
Code Lock
Code Lock with LCD
HOME   Technical Tips

SERIAL PORT DRIVING LCD

The serial port drives and powers an LCD module of 16X2 characters. Included a VB6 software, PIC C code and a circuit diagram. The VB application transmit only the last input byte to avoid overflow of the receive register of the PIC16F628A.
The serial port can source about 4 mA which is enough to drive the pic and the LCD module. The serial port can't power LCD with LED back light.
You can read more about serial interface in http://www.beyondlogic.org/spp/serial.htm

VB6 code, PIC code and circuit diagram download (20KB). You are free to use the circuit diagram and the VB software with no limitations.

The VB6 application.

Circuit Description
See also Technical Tips

Pin 4 at the serial port is turned to +12V by the software enabling RTS. It is regulated to 5V by 78L05. The 5V is the supply to the microcontroller.
Pin 3 is used to drive RX input, BC337 reverse the signal phase.

LCD display and driver has 14 way connector, 10 connections are used, 4 bits data bus is selected. There is a big selection of LCD modules, and they are very similar in characteristics i.e. DM1601, ACM1601.
Vss - Supply GRD.
Vdd - Supply 5V
Vo - Contrast Adjust
RS - Register Select
R/W - Data Read/Write
E - Enable
D4-D7 - Data Bus Lines
LCD module is 20K pot is the LCD contrast, make sure it is set.



  



11.05.2015 - 15:43
Name: Moty
Comment: Click button Download Software.

11.05.2015 - 15:01
Name: N
Comment: |All right, but where is the program or hex file for pic ????

21.11.2014 - 06:51
Name: ekraj
Comment: sir, I need voltage and current monitoring program using vb 6 and avr atmega32 plz help me

20.07.2014 - 13:04
Name: valera
Comment: good

moty22.co.uk  2008-2020