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 […]
Projects
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 […]
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 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
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.
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
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 […]
Embedded Linux Controller using pic microcontoller
An In-Circuit Debugger (ICD) is a very powerful and effective tool for real-time debugging of a microcontroller-based system at hardware level. It allows you to run, halt and single step the program while the target microcontroller is embedded in the actual circuit. Once halted, the program variables, Special Function Registers (SFRs), RAM and EEPROM locations can be examined and modified […]
Virtual Game System – A game console with a mechanically scanned display.
Introduction If you move a bright light fast by the eyes, it will leave a line behind because the human brain and eyes are slow to interpret fast changes in light intensity, leaving an afterglow. If a row of LED’s is moved sideways while the LED’s intensity is changed, an image will shortly visualize in […]
PBUS – an RS485-like multi-drop bus with half duplex serial protocol
overview There are three PIC source versions: PB12 is for 12-bit slave devices without interrupt PBUS is for slave devices with an interrupt, software UART implementation PB628 is for slave devices with an intterupt and a free hardware UART PBUS assigns a unique device ID in the range 1-f for every controller on the bus. […]