CH341 USB TO I2C/SPI/EPP
USB to I2C OLED
USB to LCD
USB Input Output
SD CARD
SD FAT32 Player PIC12F1822
W25Q64 Flash Recorder
Picture Frame PIC16F690
Color OLED Picture Frame
SD FAT32 TFT Display
Doorbell with SD/EEPROM
SD Talking Clock
SD Sound Recorder
SD FAT32 wav Player
SD Arduino Recorder
Arduino Picture Frame
FREQUENCY COUNTER
Chrome Browser Counter
Arduino LED MAX7219 Counter
LCD Accurate Counter
OLED Accurate Counter
MilliHertz Counter
PIC Counter For Android
MAX7219 LED Counter
WiFi Frequency Counter
Frequency Generator
OLED Counter PIC12F629
Talking Frequency Counter
TFT Counter PIC16F628A
SSD1306 Counter PIC16F628A
SSD1331 Counter PIC16F628A
Arduino Counter for PC
OLED Arduino Counter
OLED Frequency Counter
TFT 10MHz Counter
PC Counter
LED Counter
Scope Screen Counter
LCD 16 x 2 Counter
LCD Arduino Counter
6MHz Android Counter
NIXIE Android Counter
Bluetooth Counters
USB Counter
OBD2
OBD2 Engine Rev Counter
OBD2 Diagnostic app
OSCILLOSCOPE
Logic Analyzer
PIC12F1822 Scope for PC
Arduino Oscilloscope for PC
Arduino OLED Oscilloscope
Android Oscilloscope
TFT Oscilloscope
USB Oscilloscope
THERMOMETER
Thermocouple 1023 Deg
Thermometer For Browser
OLED Thermometer PIC12F629
OLED Room Thermostat
TFT Clock and Thermometer
LED Thermometer
USB Thermometer
Serial Thermometer
Serial Thermostat
USB DS18B20 Sensor
TIMER / CLOCK
Real Time Clock DS3231
LED TM1637 Timer
OLED Timer Thermometer
TFT Timer Thermometer
LED Timer
LCD Timer
Clock Thermometer
Talking Clock PIC16F628A
Android Talking Clock
WiFi
WiFi, Ethernet
WiFi Thermometer
WiFi ESP8266
USB
IO for Chrome Browser
USB 16x2 LCD
USB TFT display BMP
USB Meter
USB Input-Output
USB Input-Output Android
DATA ACQUISITION
Analogue to USB (CH341)
MCP3201 on Serial Port
PC Analog Input (USB-UART)
SERIAL PORT
Serial TFT Text
Serial Inputs Outputs
Serial Port LCD
Analogue Signal to Serial
OTHERS
HC-SR04 Sensor
OLED Amp Meter
PC digital I/O (no coding)
Analogue Signal to LPT
LCD Display on LPT
Water Softener
3.7V to 5V
Solar Charger
PIC Music
Code Lock
SMALL PROJECTS  
  Technical Tips  

TFT EGG TIMER + THERMOMETER

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.
Timer based on PIC16F876A 1.8" LCD TFT Module. Included C code, and circuit diagram. Time span is 1 second to 99 minutes. Setting the time is by Min and the Sec pushbuttons. To reset the time press Sec and Min simultaneously. Pressing start/stop starts the countdown. When the time reaches zero the buzzer sounds in low volume and then the volume increases.
DS18B20 TERMOMETER
DS18B20 digital sensor has temperature reading of -55 to 99.99 centigrade. The sensor doesn't require calibration. The software updates the reading every 10 seconds.
LCD  modules vary depending on the drive IC. The TFT module in the project has the driver ST7735 . I bought this module directly from China because the price was more sensible.

egg egg

Circuit Description
See also Technical Tips

DS18B20 is a digital temperature sensor.
The buzzer is driven by a frequency of 2KHz, a piezo buzzer for that frequency will give optimal output.
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 CCP2 driving TMR1 and CCP1 to give timebase of 1 sec.
Pushbuttons can be any type. Pressing the Sec and Min together resets the time.
The TFT module has the driver ic ST7735, The inputs of the ic tolerate 5V, one source is: https://www.ebay.co.uk/itm/1-8-inch-1-8-TFT-LCD-Display-module-ST7735S-128x160-51-AVR-STM32-ARM-8-16-bit/191786659555?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649

line

TFT EGG TIMER WITH TOUCH SCREEN

Timer based on PIC16F690 and 2.4" TOUCH TFT Module. Included C code, and circuit diagram. Time span is 1 to 99 minutes. Setting the time, start and reset is by 4 touch buttons on the screen. To stop touch the screen anywhere. When the time reaches zero the buzzer sounds for 20 seconds.
OPTINAL DS18B20 TERMOMETER
An option to add DS18B20 digital sensor to the circuit and have temperature reading of -55 to 99.99 centigrade. The sensor doesn't require calibration. The software updates the reading every minute.
TFT module uses driver IC ILI9341.

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, it's an optional component.
The buzzer is driven by a frequency of 2KHz, a piezo buzzer for that frequency will give optimal output.
The crystal is 32768 Hz, refer to the data sheet for the recommended capacitors. Most crystals use 22pF.
3V Vdd supply to the pic16f690 is connected to the 3V regulator on the TFT module.
The diodes drop the 5V to about 3.4V supply to the LED screen illumination.
I bought this module from here: http://www.ebay.co.uk/itm/3-3V-240x320-2-4-SPI-TFT-LCD-Touch-Panel-Serial-Port-Module-PBC-ILI9341-/191654806614?hash=item2c9f844456:g:8RYAAOSwd0BVwu2u



Name:

Comments and questions

Copy the number from the picture It stops net-robots from adding comments.



21.06.2021 - 20:16
Name: Moty
Comment: Hi Andy, The digital inputs of the TFT are 3.3V and cannot tolerate 5V, that is why the pic is supplied with 3.3V. There is no output of 3V on the TFT module, you need to find the 3V regulator on the board and solder a wire to the output pin. Alternatively you can connect Vdd pin 1 of the PIC to pin LED of the TFT, the two diodes from the 5V reduce the voltage to 3.3V.

21.06.2021 - 16:20
Name:
Comment: Hello Moty, I am planning to use your design as an aid to learning how to use a TFT screen with a PIC. I have a display which seems like yours but it has no output pin for 3.3v. I note you have used the 3.3v supply from the TFT to power the PIC. Is there any particular reason for this? Could the PIC not be powered from the 5v rail used for the TFT? Thanks, Andy

21.06.2021 - 16:20
Name:
Comment: Hello Moty, I am planning to use your design as an aid to learning how to use a TFT screen with a PIC. I have a display which seems like yours but it has no output pin for 3.3v. I note you have used the 3.3v supply from the TFT to power the PIC. Is there any particular reason for this? Could the PIC not be powered from the 5v rail used for the TFT? Thanks, Andy

01.05.2016 - 09:47
Name: Peter
Comment: Could you please modify the program so that the set time stored in the internal memory and is retained even after disconnection from the power supply? Thank you.

iconFlag Countermoty22.co.uk  2008-2023