16f628 Help Me And My Pupils!!!!!!!


Closed Thread
Results 1 to 10 of 10
  1. #1
    Mr. Wakefield's Avatar
    Mr. Wakefield Guest

    Unhappy 16f628 Help Me And My Pupils!!!!!!!

    3 pupils in my Year 11 GCSE electronic Products class have designed a snooker score board. We tested their projects on a breadbaord and they worked fine. As soon as we transfered them to the PCB they didnt.

    The pupils have used 3 4026 7seg display drivers linked together. These circuits work well and count up to 999 as they should. When I link the PIC board to the clock on Pin 1 on IC 1 the number display does not stop it continues counting and there is no input. I have tied the clock down to 0 and tried holding the output to 0V through a resistor but there is no joy.

    Can anybody advise? PLEASE!!!!!

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Posting a Circuit Diagram is a good start...

    Are you telling us that even grounding the inputs to the 4026 they still count?

    You've tried the obvious... like ensuring your PCB is a true copy of the breadboard? And you've sprinkled 100nF Capacitors liberally around the PCB's 5v rail (usually one at each chip) to decouple noise... And your PSU is rock steady...

  3. #3
    Mr. Wakefield's Avatar
    Mr. Wakefield Guest


    Did you find this post helpful? Yes | No

    Unhappy Some success

    I have managed to get the PIC board using the 16F627 to work. When the input goes high ouput 7 producess a number of pulses pending which input is used. This works successfully.

    However, when I attach the fly lead to the clock on the 4026 it dies not count up when a button is pressed. I have added a pull down resistor and diode.

    Furthur more. A poulse is seen to be recieved when a multi meter was placed on the pin. Very strange.

    any suggestions

  4. #4
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Can we have the schematic and code please

    Dear Mr. Wakefield,

    A look at the schematic with the associated code may help forum members to track down your problem. Otherwise only blind guesses.
    Regards

    Sougata

  5. #5
    Mr. Wakefield's Avatar
    Mr. Wakefield Guest


    Did you find this post helpful? Yes | No

    Red face

    I will post one up Monday when back at work. Thank you for your time.

  6. #6
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Make sure the PIC and the 4026B use the same +5V and same GND.

    See page 20 and 21 of this PDF.
    http://www.rev-ed.co.uk/docs/PIC_electronics.pdf

    Best regards,

    Luciano

  7. #7
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Luciano, thats a great document. Any others that might be usefull?

  8. #8
    Mr. Wakefield's Avatar
    Mr. Wakefield Guest


    Did you find this post helpful? Yes | No

    Default Some more success!!!

    The PIC worked on the breadboard today and when linked to the standard PCB it worked. However, when I placed the PIC in the same PCB and power supply the circuit stopped working. I have attached a PCB copy of the circuit
    Attached Files Attached Files

  9. #9
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Any schematic?
    Any Filtering problem?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  10. #10
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Try sticking a large Cap across the power supply. To insure good filterization. Another thing... the MCLR pin...is it held high at one place and not the other? Or is it floating? If so, program it in the Define to stay high.

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts