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


LCD TFT is digital display at its best, it displays versatile clear picture. The picture is built by entering the address and the color of a pixel or rectangle, so it's simple to use too.
Clock based on PIC16F876A 1.8" LCD TFT Module. Included C code, makefile for MPLAB X, hex file and circuit diagram. Fonts are 5 bytes long each they are stored in the flash memory of the PIC.
Seconds timebase for the clock is a division of the 16MHz crystal using CCP1, CCP2, TMR1 and TMR2. A link of pins 11 and 12 connects the output of CCP2 to TMR1 input.
2xDS18B20 digital sensors are for measuring temperatures inside and outside the house. The temperature range is -55 to 99.9 centigrade. The sensor doesn't require calibration. The software updates the reading every 30 seconds.
LCD TFT module
has the driver ST7735 size is 1.8" 160x128 pixels. . Inputs of the driver tolerate 5V, the board has 3.3V regulator for the driver.

You are free to use the circuit diagram and the software with no limitations.


Circuit Description
See also Technical Tips

DS18B20 is a digital temperature sensor, any case type can be used.
The crystal is 16 MHz, refer to the data sheet for the recommended capacitors. Most crystals use 22pF.
Link between pins 11 and 12 connects 5 KHz generated by CCP2 driving TMR1 and CCP1 to give timebase of 1 sec.
The TFT module in the project has the driver ic ST7735 . LED input is connected directly to the led's, the 47 ohm resistor is selected to give max brightness, the resistance can be increased to reduce the light.
HOUR and MINUTE pushbuttons can be any type of NO switch.