Projects

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 […]

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 […]

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 […]

Mechanically scanned RS232 display with dynamic speed

Mechanically scanned RS232 display (with dynamic speed)

Introduction After I made the clock, the pong and tetris games I thought that it also would be cool to connect the game system to a standard rs232 port and scroll text comming from the port. When I thought about it, I found that there is a problem scrolling text comming from a RS232 port […]

Thoughts about Architectures

How to choose a MicroController using PIC16C84 microcontroller

How to choose a MicroController It used to be that the number of different microcontroller chips available to the hobbyist was pretty limited. You got to use whatever you could manage to buy from the mail-order chip dealer, and that narrowed down the choice to a small number of chips. But times have changed. Digikey […]

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 […]

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 […]

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 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 […]

DIAL ALARM 1 Schematic

DIAL ALARM-1

This is the lowest cost dialing alarm on the market and shows what can be done with an 8-pin microcontroller. The complete circuit is shown below. You cannot see all the features of this project by looking at the circuit – most of them are contained in the program. So, read on and see what we have […]