Circuit Book

PIC microcontroller based Mars Clock

PIC microcontroller based Mars Clock

What do you do if you have a spare LCD module with backlight, a weird 16 button keyboard, and a PIC16F877A microcontroller gathering dust? A monster Martian Clock immediately springs to mind.

You are probably thinking “There are hundreds of PIC clocks on the Net - do we need yet another one?

This clock is quite different than all other PIC clocks I’ve seen in this that it has multiple timers that can work with different speeds (for example, you can have one showing your local time, another working on Mars day time, another showing the moon phase, etc.)

PIC16F84A Nixie Clock

PIC16F84A Nixie Clock

A very compact nixie clock based on PIC16F84A and 74141 driver IC and MPSA92 high voltage transistors.

Digital Clock with PIC16F84A

Digital Clock with PIC16F84A

This is a small ajustable clock, It’s made based on PIC16F84A microchip.The hardware part is very simple because it only uses 74hct238 demultiplexer, 4×7 segments, and some rezistors. The software part is programmed through a device connected to serial port with icprog and made/debuged with MPlab.

Arduino Sound Part 3. Playing a Melody

Arduino Sound Part 3. Playing a Melody

This is the third in a series of articles about generating sound with an Arduino. In this article we bit-bang our way through Jingle Bells . It’s almost Christmas so why not make a festive microcontroller project? If your not up to speed on making sound with the Arduino read the first two articles in this series. Arduino Sound Part 1 - Sound Generation Methods Arduino Sound Part 2 - Hello World

Real Time Clock Module

Real Time Clock Module

This a custom designed module for the DS1307 Real Time Clock. The module comes fully assembled and pre-programmed with the current time (ok, so it’s our current time - MST). The included Lithium coin cell battery (CR1225 41mAh) will run the module for a minimum of 9 years (17 years typical) without external 5V power. The DS1307 is accessed via the I2C protocol. We’ve written a test-bed to program the modules. This test-bed code should give you some insight on how to interface the module to any mircocontroller using our example software I2C and BCD routines.

A DCF77 Clock with RS232 Interface

A DCF77 Clock with RS232 Interface

The clock is synchronised via the German time signal DCF77. It has a display with automatic brightness control and a RS232 computer interface.

The clock is built around a PIC16F84 microcontroller from Microchip. I chose this microcontroller since its FLASH memory is easy to program and assembler and programmer software is freely available for GNU/Linux. It has 13 general input/output pins which is just enough to implement all the feature I wanted.

Multifunctional alarm clock with internet connectivity

Multifunctional alarm clock with internet connectivity

We continue to go through circuitcellar 2007 16-bit PIC design contest. Next project (second place winner), developed by DJ Delorie, is a cool multifunctional alarm clock that is connected to internet.

Along with cool look of this clock it also has several nice features like automatic time setting on power up, can play streaming MP3 music and of course clock can be remotely managed from personal computer that is connected to internet. Alarm clock runs on PIC24FJ64 microcontroller. Internet connectivity is made through ENC28J60 IC. Clock also is equipped with graphical display, volume control and seven buttons for local control. Full project files are here.

DIY Tengu on a breadboard

DIY Tengu on a breadboard

When I first saw Crispin Jones Tengu, I was sure, I must have one. If you don’t know tengu and don’t want to follow the link, it’s a small face, made of LEDs, that reacts to music and sound. It did not take long until I decided to clone this funny little device. All it needs is a microcontroller, an LED matrix and a sound sensor.

 

 


Categories

 
 
 


CircuitBook.com (C) 2009
Any logo, trademark and project represented here are property of their respective owner