Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact
  • PIC Microcontroller Note blog

    Owner: PIC Microcontroller Note
    URL: http://picnote.blogspot.com
    Join Date: Tue, 25 Nov 2008 21:08:27 -0600
    Rating:0
    Site Description:
    Addicted to electronics, microcontroller, LED Dot Matrix, Led 7-Segment, PIC Digital Clock, Digital Watch, Led Dot Matrix Clock, Led Dot Matrix Watch, GPS and other DIY projects. Short notes about my PIC Microcontroller experiments sometimes it's jus
    Site statistics: Click here



Small Nixie Tube
2008-11-22 10:48:00
I have a plan to build a Nixie Clock so I search for its information and blog it here for further reference.IN-16 may be not the smallest nixie tube but it's small enough to make a nice desk top nixie clock. The character height is about 13mm. I will use IN-16 for my upcoming nixie clock. There are some nixie clock kits that use IN-16 nixie tube so I am thinking about buying a kit or building it f
Read more: Small

PCB for 7-Segment PIC Digital Clock
2008-11-19 01:29:00
I have designed a single-sided PCB for the PIC Digital Clock . Because the autorouter is not good for routing single-sided PCB so I have to route by hand. It was my first hand routed PCB design and it was a time consuming task. I haven't tested the PCB yet. Use it by your own risk. I will produce this PCB and test it later.As I don't have server to upload the Eagle file, please contact me if you wa
Read more: Digital Clock , Segment

7-Segment PIC Digital Clock : The photographs
2008-11-15 23:12:00
The prototype of the 7-Segment PIC Digital Clock . Check out 7-Segment Digital Clock for the schematic and source code.
Read more: photographs

Using 11.2896 MHz with TMR1 (timer1 module)
2008-11-14 20:57:00
A precision clock is my ultimate goal of making clocks. I know that cesium oscillator is to most precise clock on earth. However, a cesium clock is too expensive to play with. My option is using Rubidium oscillator which is the second most accurate oscillator after the cesium (I don't have reference about this) and its cost is more accessible. Searching on eBay about Rubidium Frequency Oscillator


Making a Digital Clock (Updated)
2008-11-12 22:40:00
My fist Microcontroller project, PIC Digital Clock , is shown below. I have updated the above PIC Digital Clock with time setting feature to make it to be a usable clock. More features will be added in the future.There is no fast or slow time setting as in normal/simple digital clocks. In this clock, each digit of the clock display can be set one by one via 2 setting buttons.Features1. Bright Led 7


10-Second Counter
2008-11-06 05:45:00
I have made a 10-Second Counter by using a PIC16F627a and a CD4543 BCD to 7-Segment decoder. This circuit and source code are just a demonstration of using MCU to drive an LED 7-Segment Display via CD4543. The 7-Segment displays from 0 to 9 and the number will roll over to 0 again. The interval between change is 1 second. So, this circuit counts 10 seconds between the roll over. I use TIMER1 modul


Battery backup for Microcontroller projects
2008-10-31 00:36:00
My favorite PIC Microcontroller projects are clock projects. All of my clocks are powered by 5V DC wall wart adaptors. In case of power failure, the clocks stop and I have to set time when the electric power is restored. This problem will not happen with the clocks using DS1307 RTC as it provides battery backup capability. However, the clocks without DS1307 or any other RTCs will suffer from power


MikroC "Hello World!" LCD example
2008-10-22 10:31:00
Just an example of using MikroC to make a simple "Hello World !" PIC Microcontroller LCD project. The MCU is PIC16F877A (of course, it can be PIC16F887). The LCD display word "Hellow World!" on the first line and counting number on the second line. The image above is a screen capture of a simulation. I use the Proteus 7 VSM simulator to simulate my programs. The source code in MikroC//Test LCDchar


MikroC for PIC Microcontroller Programming
2008-10-21 10:53:00
As a beginner in PIC Microcontroller , MikroC is my favorite compiler for my Microcontroller projects. I know 'C' already so it's very easy to use MikroC no complex settings involved. MikroC provides a lot of useful and handy libraries for example, LCD interface , UART, I2C, SD card access and many more. Good new, there is a free lite version that can compile code upto 2Kbyte which is enough for be
Read more: Programming

Laco Black Pilot Watch Limited 50 pcs.
2008-10-20 16:36:00
This post is not related to Microcontroller but it is about what I am up to :)My watch shop has collaborated with Laco.de (a long history German watch brand) to produce limited edition watches that really limited. It not limited to 1000 or 100 pieces but there are only 50 pieces in the world !! There are only 50 persons in the world that own this watch. If you have this watch, it might be the onl
Read more: Black , Pilot

ICSP: In-Circuit Serial Programming is great
2008-10-19 01:34:00
At the beginning of my PIC journey, when I want to program *.hex file to my PIC microcontroller, I have to remove the PIC from the circuit board and place it on my PIC programmer to program the *.hex file to it and then I remove it from the programmer and put the PIC back to the circuit board. If I want to re-program the PIC, I have to repeat the process again. This process is very painful and it
Read more: Circuit , Programming , Serial

Open-Drain RA4 pin on PIC Microcontroller
2008-10-16 11:55:00
I had a problem with RA4 pin which I cound not send '1' nor output 'high' to this pin. After some searches, I have found that RA4 pin (pin 3 for PIC16F627a) is "Open-Drain" type output pin. That means it cannot source current and it will be high impedance when assigned logic '1' to it. I cannot set this pin as an output pin by using 'TRISA=0x00'. The solution is attaching a pull up resistor (10K)
Read more: Microcontroller

Schematic of 8x8 Led Dot Matrix Clock using PIC16F627A
2008-10-14 20:36:00
The above schematic is 8x8 Led Dot Matrix clock using PIC16F627A (or PIC16F628 which is more expensive but larger memory) and a shift register 74HC595. The PIC is running with 4MHz internal oscillator so pin 15 (RA6) and 16 (RA7) are free. Therefore, the PIC16F627a can drive the 8x8 Led Drive matrix with these 2 free pins (RA6, RA7) and RB0-5, . The Timer1 (TMR1) external clock is generated by the
Read more: Clock

8x8 Led Dot Matrix Clock using PIC16F627A
2008-10-11 04:44:00
Actually, I have made this long before the 5x7 led dot matrix clock. The clock utilizes a PIC16F627A and a 74HC595 to drive a small 8x8 Led Dot Matrix display (20x20mm). My dream is transforming these clocks to watches that I can ware on my wrist.
Read more: Clock

Where to buy DS1307 RTC
2008-10-06 23:03:00
The DS1307 Real Time Clock chip is not so easy to get.To my knowledge, you can buy the DS1307 from DonTronics


Big 5x7 Led Dot Matrix Clock with new font
2008-10-06 09:54:00
Now, I'm so crazy about led dot matrix clocks and led dot matrix watches. Just recently, I have upgraded my small 5x7 Led Dot Matrix Clock with a bigger green 5x7 led dot matrix display and a new font.For the images below, the time 21:44:37 was displaying on the clock. The clock display is big comparing to a 44mm Panerai (PAM 4).The code for the new font is showing below:const unsigned char char2[


Led Dot Matrix Scrolling Sign
2008-09-28 08:44:00
Starting from the 5x7 led dot matrix clock, now, the Led Dot Matrix is one of my favorite topics for my projects. I have some led dot matrix projects in progress. They are all watch/clock related projects. Now, I am thinking that using led dot matrix to display only numbers is just a waste. A scrolling sign would be a nice project to utilize all of the power of led dot matrix. The above photo is
Read more: Scrolling

Source Code for one chip 5x7 led dot matrix clock
2008-09-26 10:51:00
As promised, listed below is the source code in MikroC for the 5x7 Led Dot Matrix Clock. The free demo version of MikroC can compile this code without any problem. Of course, the code is just for educational purpose only and use it with your own risk. The explanation about the source code will come later. Setting time- Press and hold MODE button until the digits blink - The blinking digits are the
Read more: Source , Source Code

Schematic of the 5x7 Led Dot Matrix Clock
2008-09-16 00:34:00
The above image is the schematic of the 5x7 led dot matrix digital clock. It includes a custom made component, small 5x7 led dot matrix. However, this schematic is also working for any size of the 5x7 led dot matrix.I will post the detail about the firmware later.
Read more: Clock , Matrix

Just came back from Phuket
2008-09-07 05:39:00
I arrived at my home about 24:04 last night, very tried.Tonight, I have to work on an e-Marketplace report. I will be very busy in the next couple weeks so the detail about PIC projects will be posted after that.


Going to Phuket
2008-08-29 23:26:00
I am going to Phuket tomorrow and will post some nice photos.
Read more: Going

Just another 99 Minute Electronics Timer
2008-08-29 23:17:00
I have designed 99 Minute Electronics Timer using PIC16F627a. I will post the detail later (again).


5x7 Led Dot Matrix Clock using only one chip
2008-08-18 00:15:00
I use a microcontroller, pic16f887, as the brain of this clock. The time displays on a small 5x7 led dot matrix in lanscape mode. The chip is running with the internal oscillator at 4.0 MHz. External frequency 32.768KHz for time base is getting from DS32KHz. The accuracy is not that impressive, ~2 sec/day. The schematic and source code in MikroC will be posted here. Please stay tuned!!--- Update
Read more: Clock , Matrix

Cool Clock with HDSP-2111 Display
2008-08-13 11:08:00
Just a picture of my clock using PIC16f877a microcontroller (the project was done before I discovered PIC16f887). The HDSP-2111 (or HDSP-211x) display is a very cool led dot matrix. The interface is very easy. The quick and dirty code (no time setting function)is here.//PIC16f877a PIC Microcontroller, 20MHz #define Address PORTA#define Data PORTB#define WR PORTC.F5#define A3 PORTC.F4#define RST PO
Read more: Clock , Display

6 Digits 7-Segment LED Multiplexing using a Shift Register
2008-12-31 10:59:00
Multiplexing technique can reduce number of needed I/O pins of the MCU as I have explained in 'LED 7-Segment Multiplexing' and '6 Digits LED 7-Segment Multiplexing'. In those posts, I used 13 I/O pins for driving 6 digits LED 7-Segment. However, the PIC16F627A and PIC16F628 have only 15 usable I/O pins that include 2 pins for external 32.768KHz oscillator. So, there is no pin left for time setting
Read more: Shift , Register

Trojan Attack : Trojan.vundo
2008-12-27 05:20:00
In last couple days, I have been getting headache with Trojan attack on my computer. The symptoms were a lot of Antispyware 2009 ads and other annoying popups (Browser Hijack). I started the task manager and found that iexplore.exe was running even I didn't use IE. I found some strange files in windows/system32 such as- sakalimo.dll- fodituva.dll- yidaziwi.dll- dobafigi.dll- juvilisi.dll- igifabod


6 Digits LED 7-Segment Multiplexing
2008-12-21 05:08:00
In the post 'LED 7-Segment Multiplexing', I have explained about the concept and benefits of multiplexing. Multiplexing implementation is very similar to driving Led Dot Matrix. I use Timer0 interrupt for switching through each digit. Timer0 or TMR0 is an 8-bit timer which overflows every 256 (0xFF) counts. It's known that the refresh rate above 50Hz would be enough for human's eyes to see the dis


Page 1 of 2 « < 1 2 > »
eXTReMe Tracker