CH341 USB TO I2C/SPI/EPP
Waveform Generator
AHT21, MAX6675 Thermometer
USB to I2C OLED
USB to LCD
USB Input Output
SD CARD
CH376 USB Picture Frame
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
AD9833 Waveform Generator
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 RPM meter PIC16F876A
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
Cuckoo 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  

OLED THERMOCOUPLE THERMOMETER 1023 °C

OLED display, 128x64, 0.96", SSD1306, I2C with PIC12F1822 and MAX6675 K type thermocouple module. MAX6675 is driven by software (bit banging) SPI. The MAX6675 SPI sends 2 bytes of data.
Temperature range is 0-1023 centigrade with resolution of 1/4 degree.
MAX6675 can be bought from eBay: https://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2332490.m570.l1313&_nkw=max6675&_sacat=0

usb 629thermo

line

AHT21B OLED TEMPERATUE HUMIDITY

OLED display, 128x64, 0.96", SSD1306, I2C with PIC12F1822 and temperature / humidity sensor AHT21b ranging -40 to 120. The sensor and display share the I2C connection to the PIC. The PIC sends measurement trigger and sensor sends back 1 byte of state, 5 bytes of data for temperatue and humidity and 1 byte CRC. Sensor accuracy is 1% for humidity and 2 degrees for temperature.
For using 0.91", 128x32 Oled 3 changes are needed in the code: change definition of yt to 0, yh to 2 and in void oled_init() change command(0x12) to command(0x22).
Ebay: https://www.ebay.co.uk

usb 629thermo

line

OLED THERMOMETER PIC12F629

OLED display, 128x64, 0.96", SSD1306, I2C with PIC12F629 and DS18B20 sensor. Oled is driven by software (bit banging) I2C.
Code includes functions for reading the sensor.
For using 0.91", 128x32 Oled 2 changes are needed in the code: change definition of ty to 0 and in void oled_init() change command(0x12) to command(0x22).
Temperature range is -55 to 100 centigrade.
470 ohm resistors are for attenuating 5V output of the pic to 3.3V input of the OLED.

thermo 629

line

OLED ROOM THERMOSTAT

OLED display, 128x64, 0.96", SSD1306, I2C. PIC16F628A Oled is driven by software (bit banging) I2C.
PIC12F1822 uses hardware I2C. Setting the room temperature by 2 buttons.
Output transistor is to drive a relay or directly 24VDC input to a central heating boiler. Hysteresis is 0.5 degree.
Reading the temperature is every second.

1822thermo thermo

Circuit Description
See also Technical Tips

Pushbuttons are momentary N.O.
DS18B20 can be any type of casing.
OLED module is I2C interface, 4 pins connector. Driver SSD1306. From ebay: https://www.ebay.co.uk/itm/0-96-I2C-IIC-Serial-128X64-White-OLED-LCD-LED-Display-Module-for-Arduino-UK/192294699203?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649

line

OLED THERMOMETER USING DS18B20 DIGITAL SENSOR

Thermometer based on PIC16F876A and DS18B20 digital sensor. Included C code and circuit diagram. Displays -55 to 125 centigrade. The temperature is read every 1 second. The math is using integers to calculate the degrees and the tenths of degrees are calculated separately.
Output at pin 3 can be used for driving a relay that is on when temperature is higher than alarm setting. It can be used as a thermostat or an alarm for over temperature. To set the alarm press SET for 2 seconds, then press DEGREE to set the alarm, then press SET again. 
The OLED module is a 0.96" 128 X 64 pixel driven by I2C interface and using SSD1306 driver IC. The OLED display uses low power LEDs and suitable for battery operated. Power can be reduced farther by reducing contrast.

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

oledoled

Circuit Description
See also Technical Tips

OLED Thermometer
Pushbuttons are NO
DS18B20 can be any type.
OLED module can be bought from ebay: https://www.ebay.co.uk/itm/0-96-I2C-IIC-Serial-128X64-White-OLED-LCD-LED-Display-Module-for-Arduino-UK/192294699203?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649



Name:

Comments and questions

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


Be the first to add a comment.

iconFlag Countermoty22.co.uk  2008-2024