Digital clock with PIC series microcontroller (PART-2)

I. LAYOUT

        I make the PCB design for this clock, it's small enough and have size about 4.5 x 4.5 cm. For the display, I use a small type 7-segmen, so the device can be mounted in a small box.







Here is the PCB design for Pino's clock (Min_ClkP.pcb, Minimum_PIC_Clock_Layout.pdf, Minimum_PIC_Clock_Artwork.pdf)

J. PART LIST

        Here are part list for Pino's clock circuit :

   1. Resistors :
      R1 = 220 Ohm, 1/4W, 5% ..................................... 1 pcs
      R2 ~ R5 = 10k, 1/4W, 5% .................................... 4 pcs
      R6 = 4k7, 1/4W, 5% ......................................... 1 pcs
      R7 = 100 Ohm, 1/4W, 5% ..................................... 1 pcs
   2. Capasitors :
      C1 ~ C2 = 33 pF (for oscillator) ........................... 2 pcs
      C3 = 100 nF (for IC decoupling, used as necessary).......... 1 pcs
      C4 = 1000 uF/ 25 V ......................................... 1 pcs
   3. Semiconductors :
      IC1  = PIC16F84/A (PIC microcontroller) .................... 1 pcs
      IC1 optional = PIC16F628 (PIC microcontroller) alt ......... 1 pcs
      IC2 = 7805 (Voltage regulator) ............................. 1 pcs
      D2 = 1N914 (Silicon diode) ................................. 1 pcs
      D1, D3 = 1N4007 (Silicon diode) ............................ 2 pcs
      DS1 ~ DS4 = 7-segmen common anode (FJ3161 mini) ............ 4 pcs
      LED1 = 3mm, Red (For indicator) ............................ 1 pcs
   4. Others :
      X1 = 4 MHz (Clock Crystal oscillator) ...................... 1 pcs
      Optional IC socket for 18-pins (use 20-pins) ............... 1 pcs
      Optional terminal connector CON1 ~ CON2 = 2 pin (power) .... 2 pcs
      S1 ~ S2 = Miniature push button (Push on) .................. 2 pcs

K. FIRMWARE

        Original Pino's design included with hex file for PIC16F84/A or PIC16F628 type. Both file could be downloaded at his page (PIC16F84/A and PIC16F628). The firmware run well. I make my own firmware, by modified the above version. All is still the same except that the display now has it's own generated code BCD to 7-segmen driver. Note that the hex file is for PIC16F84/A type. for another type please change the proper lines.



Here is my own firmware to run Pino's digital clock (Clk_Min.asm, Clk_Min.hex).

L. PROTOTYPE

        Here are my prototype for Pino's clock design :










M. IMPLEMENTATION

        Pino's design more simple than mine. So this project end with the choose of his clock. Here is the implementation of my prototype, for the car's clock. The car power taken from the car's lighter. My design will be expanded to another purpose like desk clock for example. The alarm routine not develop yet. Much more we can do from that point, eg: snooze routine, song for the alarm chime, recurrent alarm, etc. May be for next project development. Happy programming!









N. FEEDBACK

        Some people build my PIC digital clock, but not satisfy with the result. Here are a few feedback from them ask to improved or modified some of the clock functional running;
  1. Make it run for only 12 hours clock (not 24 hours version). So here is the modified version.



  2. Make the first digit unseen while the hours still below 10 o'clock (only just 1 digit displayed). So here is the modified version.

  3. New version firmware for PIC digital clock, using Bresenham - 1 second algorithm base on Roman Black design. More precision now counting the clock.

  4. Unique clock design using pic digital clock firmware and universal I/O board from junk. I made a unique clock from this junk board, just to utilize the purpose. Now I have one useful device! First design using Atmel AT89S52, but a pity not successful, the refresh rate is too slow (blinking visual effect). Using PIC series much more smooth.

  5. Bill Sherman design (modified from minimum pic digital clock). He made a mayan clock system count, like the movie, predator self destructive device, very attractive and inspirative idea. What a piece of a code!

        Note that, I didn't test the firmware yet, so I leave it to you then. If you find some error, please give me a report!

No comments:

Post a Comment

Labels

PROJECTS 8086 PIN CONFIGURATION 80X86 PROCESSORS TRANSDUCERS 8086 – ARCHITECTURE Hall-Effect Transducers INTEL 8085 OPTICAL MATERIALS BIPOLAR TRANSISTORS INTEL 8255 Optoelectronic Devices Thermistors thevenin's theorem MAXIMUM MODE CONFIGURATION OF 8086 SYSTEM ASSEMBLY LANGUAGE PROGRAMME OF 80X86 PROCESSORS POWER PLANT ENGINEERING PRIME MOVERS 8279 with 8085 MINIMUM MODE CONFIGURATION OF 8086 SYSTEM MISCELLANEOUS DEVICES MODERN ENGINEERING MATERIALS 8085 Processor- Q and A-1 BASIC CONCEPTS OF FLUID MECHANICS OSCILLATORS 8085 Processor- Q and A-2 Features of 8086 PUMPS AND TURBINES 8031/8051 MICROCONTROLLER Chemfet Transducers DIODES FIRST LAW OF THERMODYNAMICS METHOD OF STATEMENTS 8279 with 8086 HIGH VOLTAGE ENGINEERING OVERVOLATGES AND INSULATION COORDINATION Thermocouples 8251A to 8086 ARCHITECTURE OF 8031/8051 Angle-Beam Transducers DATA TRANSFER INSTRUCTIONS IN 8051/8031 INSTRUCTION SET FOR 8051/8031 INTEL 8279 KEYBOARD AND DISPLAY INTERFACES USING 8279 LOGICAL INSTRUCTIONS FOR 8051/8031 Photonic Transducers TECHNOLOGICAL TIPS THREE POINT STARTER 8257 with 8085 ARITHMETIC INSTRUCTIONS IN 8051/8031 LIGHTNING PHENOMENA Photoelectric Detectors Physical Strain Gage Transducers 8259 PROCESSOR APPLICATIONS OF HALL EFFECT BRANCHING INSTRUCTIONS FOR 8051/8031 CPU OF 8031/8051 Capacitive Transducers DECODER Electromagnetic Transducer Hall voltage INTEL 8051 MICROCONTROLLER INTEL 8251A Insulation Resistance Test PINS AND SIGNALS OF 8031/8051 Physical Transducers Resistive Transducer STARTERS Thermocouple Vacuum Gages USART-INTEL 8251A APPLICATIONs OF 8085 MICROPROCESSOR CAPACITANCE Data Transfer Instructions In 8086 Processors EARTH FAULT RELAY ELECTRIC MOTORS ELECTRICAL AND ELECTRONIC INSTRUMENTS ELECTRICAL BREAKDOWN IN GASES FIELD EFFECT TRANSISTOR (FET) INTEL 8257 IONIZATION AND DECAY PROCESSES Inductive Transducers Microprocessor and Microcontroller OVER CURRENT RELAY OVER CURRENT RELAY TESTING METHODS PhotoConductive Detectors PhotoVoltaic Detectors Registers Of 8051/8031 Microcontroller Testing Methods ADC INTERFACE AMPLIFIERS APPLICATIONS OF 8259 EARTH ELECTRODE RESISTANCE MEASUREMENT TESTING METHODS EARTH FAULT RELAY TESTING METHODS Electricity Ferrodynamic Wattmeter Fiber-Optic Transducers IC TESTER IC TESTER part-2 INTERRUPTS Intravascular imaging transducer LIGHTNING ARRESTERS MEASUREMENT SYSTEM Mechanical imaging transducers Mesh Current-2 Millman's Theorem NEGATIVE FEEDBACK Norton's Polarity Test Potentiometric transducers Ratio Test SERIAL DATA COMMUNICATION SFR OF 8051/8031 SOLIDS AND LIQUIDS Speed Control System 8085 Stepper Motor Control System Winding Resistance Test 20 MVA 6-digits 6-digits 7-segment LEDs 7-segment A-to-D A/D ADC ADVANTAGES OF CORONA ALTERNATOR BY POTIER & ASA METHOD ANALOG TO DIGITAL CONVERTER AUXILIARY TRANSFORMER AUXILIARY TRANSFORMER TESTING AUXILIARY TRANSFORMER TESTING METHODS Analog Devices A–D BERNOULLI’S PRINCIPLE BUS BAR BUS BAR TESTING Basic measuring circuits Bernoulli's Equation Bit Manipulation Instruction Buchholz relay test CORONA POWER LOSS CURRENT TRANSFORMER CURRENT TRANSFORMER TESTING Contact resistance test Current to voltage converter DAC INTERFACE DESCRIBE MULTIPLY-EXCITED Digital Storage Oscilloscope Display Driver Circuit E PROMER ELPLUS NT-111 EPROM AND STATIC RAM EXCITED MAGNETIC FIELD Electrical Machines II- Exp NO.1 Energy Meters FACTORS AFFECTING CORONA FLIP FLOPS Fluid Dynamics and Bernoulli's Equation Fluorescence Chemical Transducers Foil Strain Gages HALL EFFECT HIGH VOLTAGE ENGG HV test HYSTERESIS MOTOR Hall co-efficient Hall voltage and Hall Co-efficient High Voltage Insulator Coating Hot-wire anemometer How to Read a Capacitor? IC TESTER part-1 INSTRUMENT TRANSFORMERS Importance of Hall Effect Insulation resistance check Insulator Coating Knee point Test LEDs LEDs Display Driver LEDs Display Driver Circuit LM35 LOGIC CONTROLLER LPT LPT PORT LPT PORT EXPANDER LPT PORT LPT PORT EXTENDER Life Gone? MAGNETIC FIELD MAGNETIC FIELD SYSTEMS METHOD OF STATEMENT FOR TRANSFORMER STABILITY TEST METHODS OF REDUCING CORONA EFFECT MULTIPLY-EXCITED MULTIPLY-EXCITED MAGNETIC FIELD SYSTEMS Mesh Current Mesh Current-1 Moving Iron Instruments Multiplexing Network Theorems Node Voltage Method On-No Load And On Load Condition PLC PORT EXTENDER POTIER & ASA METHOD POWER TRANSFORMER POWER TRANSFORMER TESTING POWER TRANSFORMER TESTING METHODS PROGRAMMABLE LOGIC PROGRAMMABLE LOGIC CONTROLLER Parallel Port EXPANDER Paschen's law Piezoelectric Wave-Propagation Transducers Potential Transformer RADIO INTERFERENCE RECTIFIERS REGULATION OF ALTERNATOR REGULATION OF THREE PHASE ALTERNATOR Read a Capacitor SINGLY-EXCITED SOLIDS AND LIQUIDS Classical gas laws Secondary effects Semiconductor strain gages Speaker Driver Strain Gages Streamer theory Superposition Superposition theorem Swinburne’s Test TMOD TRANSFORMER TESTING METHODS Tape Recorder Three-Phase Wattmeter Transformer Tap Changer Transformer Testing Vector group test Virus Activity Voltage Insulator Coating Voltage To Frequency Converter Voltage to current converter What is analog-to-digital conversion Windows work for Nokia capacitor labels excitation current test magnetic balance voltage to frequency converter wiki electronic frequency converter testing voltage with a multimeter 50 hz voltages voltmeter

Search More Posts

Followers