Projects

Central Heating Programmer

Enhanced 5/2-day Central Heating Programmer with serial computer interface using PIC16F628A

Overview This project has come about from my desire to control my home heating from work.  As I have a VPN between work and home a straightforward relay controlled from a PC would seem the easiest solution.  However I also wanted a control unit that I could operate in the house without resorting to the […]

Enhanced 5/2-day Central Heating Programmer with serial computer interface using PIC16F628A Read More »

PIC10F200 based dice

PIC10F200 based dice

This page describes a PIC10F200-based electronic dice. The reason I made this was that I got a small corner left over when ordering a panel with a couple of other PCBs and thought I would rather use the corner for something fun than leave it unused, so I made a dice. The PCB is quite

PIC10F200 based dice Read More »

Sensirion’s SHT1x

Humidity and temperature measurements with Sensirion’s SHT1x/SHT7x sensors using PIC18F2550 (Part 1)

Temperature and relative humidity are two very important ambient parameters that are directly related to human comfort. Monitoring these factors becomes even more crucial in various applications such as environmental control systems and indoor climate management. Integrating sensors like the Sensirion SHT1x/SHT7x can provide precise measurements, ensuring optimal conditions for occupants while also enabling efficient

Humidity and temperature measurements with Sensirion’s SHT1x/SHT7x sensors using PIC18F2550 (Part 1) Read More »

Solar Recorder

Solar Recorder

The device used for measuring daily insolation has been developed. The device was built with a PIC18F458 and the 128MB Multimedia Memory Card, MMC. The solar radiation is measured by a calculator solar cell. The PIC chip interfaces the MMC using SPI mode. The interval between samples is set to one minute. The firmware detects

Solar Recorder Read More »

Serial Clock

MikroElektronika’s “Ready for PIC” board talks to “Processing” using PIC16F887

“Ready for PIC“ is one of MikroElektronika‘s compact prototyping boards for 28 and 40 pin PIC microcontrollers. The board comes with PIC16F887 microcontroller which is preprogrammed with an UART bootloader firmware and thus eliminates the need of an external programmer. The on-board USB-UART module allows the serial data transfer between the PIC and a PC

MikroElektronika’s “Ready for PIC” board talks to “Processing” using PIC16F887 Read More »

PIC16F84A LCD interfacing

PIC16F84A LCD interfacing code (using 3 pins only) + Proteus simulation

This post provides the LCD[1] interfacing code using only 3 pins of PIC16F84A microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at the bottom of this page. It is assumed that you know how to make an LED blink with PIC16F84A microcontroller. If you

PIC16F84A LCD interfacing code (using 3 pins only) + Proteus simulation Read More »

Virtual Tetris

Virtual Tetris

Introduction Tetris is a very simple, but elegant game. Blocks of four bricks each are falling down in a play field, and the player can rotate and move the block sideways. When the block hits ground or another block below, it stays there. If one line of bricks is full, then that line is removed.

Virtual Tetris Read More »

Virtual Pong.

Virtual Pong.

Introduction The game Pong was the world’s first video game in the early 70’s, it is a tennis lookalike game where a ball is played with two rackets, which are moved up and down by each player. The ball can bounce at the floor and the ceiling. This version is implemented with the virtual game

Virtual Pong. Read More »