Free Project - 245 LED Display - Page 3


Closed Thread
Page 3 of 6 FirstFirst 123456 LastLast
Results 81 to 120 of 222
  1. #81
    Join Date
    Apr 2007
    Posts
    11


    Did you find this post helpful? Yes | No

    Default

    How about re-doing the scheme and posting it again, in the first post, if that is possible... , so that anyone trying to build it doesn't face the same problem; maybe they don't read the whole 3 pages of posts to see that there is a problem with it!

  2. #82
    Join Date
    Apr 2007
    Posts
    11


    Did you find this post helpful? Yes | No

    Default True...

    But you can see clearly that the pdf is a print from OrCad or something that the circuit was made, so it has to be the one that the pcb was made of!

  3. #83
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    next step luciano?

  4. #84
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Smile Luciano is correct again!

    That's right. I normally start off with something roughly hand drawn, sometimes nothing on paper at all - working directly off the top of my head, build a prototype then proceed to document it.

  5. #85
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    For now use the seven 180 ohm resistors while testing.
    You will replace these resistors with the original 18 ohm
    resistors when the system works.

    While testing with the 180 ohm resistors:

    Once the LEDs are driven by the PIC it might be that, in order
    to see the LEDs, you will have to reduce the light in the room
    where you are testing. This will not be necessary once you replace
    the 180 ohm resistors with the original 18 ohm resistors.

    * * *

    Modify your PCB, connect the pin 15 of IC3 to the
    pin 10 of IC7 via the 100k series resistor which is already
    present on the schematic.

    Place a 100nF capacitor close to each IC present on the circuit.
    This capacitor is connected to the pins VDD and GND of the IC.
    This capacitor must be close to the ICs. (Max. 10mm).

    Program the microcontroller with the HEX file posted by Trent in
    the first post of this thread.

    Plug all the ICs in their sockets. Follow the instructions posted
    by Trent. Power on the board and the circuit should work.


    Best regards,

    Luciano
    Last edited by Luciano; - 17th June 2007 at 11:11.

  6. #86
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Luciano View Post
    Hi Magu,

    For now use the seven 180 ohm resistors while testing.
    You will replace these resistors with the original 18 ohm
    resistors when the system works.

    While testing with the 180 ohm resistors:

    Once the LEDs are driven by the PIC it might be that, in order
    to see the LEDs, you will have to reduce the light in the room
    where you are testing. This will not be necessary once you replace
    the 180 ohm resistors with the original 18 ohm resistors.

    * * *

    Modify your PCB, connect the pin 15 of IC3 to the
    pin 10 of IC7 via the 100k series resistor which is already
    present on the schematic.

    Place a 100nF capacitor close to each IC present on the circuit.
    This capacitor is connected to the pins VDD and GND of the IC.
    This capacitor must be close to the ICs. (Max. 10mm).

    Program the microcontroller with the HEX file posted by Trent in
    the first post of this thread.

    Plug all the ICs in their sockets. Follow the instructions posted
    by Trent. Power on the board and the circuit should work.


    Best regards,

    Luciano
    it dosen`t work. i program the pic with ICPROG (plug the programer in serial port, open hex file, -> PRogram all)
    . these is a picture of the board with all the components included the caps. http://www.zamfirelu.org/led/board.jpg

  7. #87
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    Remove the jumper "program". Do not use a jumper, use a push button.

    Best regards,

    Luciano

  8. #88
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Luciano View Post
    Hi Magu,

    Remove the jumper "program". Do not use a jumper, use a push button.

    Best regards,

    Luciano
    i remove the jumper i i use a push button but doesen`t work. when i push the button the led light but doesen`t remain lighting.

  9. #89
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    What config fuses do you have set?

  10. #90
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    What config fuses do you have set?

    OSCILATOR : XT , FUses: wdt, pwrt, mclr, boden.

  11. #91
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    Disconnect the serial cable from the board.

    The RX LED1 must stay ON after you release the push button "Program".
    If the LED1 does not stay ON after you release the push button "Program",
    then the program is not running in the PIC.

    Note that when the serial cable is connected to the board, and you press
    the "Program" push button, the LED will stay ON until the first 4 bytes are
    received. (Until you press the button "Program Message To The Display EEPROM"
    in the VB Application). After that the first 4 bytes are received, the LED is
    toggled and will be toggled again after the next 4 bytes are received continuing
    in the same way until the last byte of the message is received. So the LED is
    blinking while receiving the data from the PC.

    Again, with the serial cable disconnected, the RX LED1 must stay ON after you
    release the push button "Program". If not, then the program is not running in the PIC.

    Trent, can you please confirm my last sentence?

    Best regards,

    Luciano

  12. #92
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Luciano View Post
    Hi Magu,

    Disconnect the serial cable from the board.

    The RX LED1 must stay ON after you release the push button "Program".
    If the LED1 does not stay ON after you release the push button "Program",
    then the program is not running in the PIC.

    Note that when the serial cable is connected to the board, and you press
    the "Program" push button, the LED will stay ON until the first 4 bytes are
    received. (Until you press the button "Program Message To The Display EEPROM"
    in the VB Application). After that the first 4 bytes are received, the LED is
    toggled and will be toggled again after the next 4 bytes are received continuing
    in the same way until the last byte of the message is received. So the LED is
    blinking while receiving the data from the PC.

    Again, with the serial cable disconnected, the RX LED1 must stay ON after you
    release the push button "Program". If not, then the program is not running in the PIC.

    Trent, can you please confirm my last sentence?

    Best regards,

    Luciano

    what should i do in this situation, that the led doesen`t stay lit.?

  13. #93
    Join Date
    Apr 2007
    Posts
    11


    Did you find this post helpful? Yes | No

    Thumbs up Important!!!

    maybe i am wrong, but when i load the .hex file in icprog, the oscilator is set to XT, but the datasheet from http://ww1.microchip.com/downloads/e...doc/40044b.pdf on page 97 says that for a 10Mhz oscilator, one should use HS. Am i wrong? Is the watch dog timer really necessary here? 10q

  14. #94
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by Luciano View Post
    Hi Magu,

    Disconnect the serial cable from the board.

    The RX LED1 must stay ON after you release the push button "Program".
    If the LED1 does not stay ON after you release the push button "Program",
    then the program is not running in the PIC.

    Note that when the serial cable is connected to the board, and you press
    the "Program" push button, the LED will stay ON until the first 4 bytes are
    received. (Until you press the button "Program Message To The Display EEPROM"
    in the VB Application). After that the first 4 bytes are received, the LED is
    toggled and will be toggled again after the next 4 bytes are received continuing
    in the same way until the last byte of the message is received. So the LED is
    blinking while receiving the data from the PC.

    Again, with the serial cable disconnected, the RX LED1 must stay ON after you
    release the push button "Program". If not, then the program is not running in the PIC.

    Trent, can you please confirm my last sentence?

    Best regards,

    Luciano
    Luciano, I can confirm that, everything you've posted thus far is spot on. If I were you I wouldn't waste my time with this anymore - these guys are having a lend of us. I'm not responding to this thread anymore, I have far better things to do.

  15. #95
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    Yes, with a 10MHz crystal you must use HS.
    The Watchdog Timer should be set to ON for PicBasic Pro programs.

    * * *

    What you can do:

    If you have an oscilloscope you can test if the 10MHz crystal oscillator
    is working. (Connect the oscilloscope probe to the PIN 15 OSC2/CLKOUT).

    Also possible:

    Remove all the ICs from the board with the exception of the PIC.

    Program the PIC with a program that will make the LED1 on RA4 blink.
    You will have to write a program yourself or find someone willing to do it for you.
    (Note that you can use any programming language). Program the PIC with the HEX
    file you get after compiling your program. Once you get to "blink LED1 program" running,
    try again to program the PIC with the HEX file posted by Trent.

    I don't use PIC microcontrollers so I cannot help you further.

    Best regards,

    Luciano
    Last edited by Luciano; - 17th June 2007 at 15:05.

  16. #96
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default dear luciano

    Quote Originally Posted by Luciano View Post
    Hi Magu,

    Yes, with a 10MHz crystal you must use HS.
    The Watchdog Timer should be set to ON for PicBasic Pro programs.

    * * *

    What you can do:

    If you have an oscilloscope you can test if the 10MHz crystal oscillator
    is working. (Connect the oscilloscope probe to the PIN 15 OSC2/CLKOUT).

    Also possible:

    Remove all the ICs from the board with the exception of the PIC.

    Program the PIC with a program that will make the LED1 on RA4 blink.
    You will have to write a program yourself or find someone willing to do it for you.
    (Note that you can use any programming language). Program the PIC with the HEX
    file you get after compiling your program. Once you get to "blink LED1 program" running,
    try again to program the PIC with the HEX file posted by Trent.

    I don't use PIC microcontrollers so I cannot help you further.

    Best regards,

    Luciano
    I don`t have PicBasic Compiler, it`s cost a lots of money. There it`s Another way to solve this problem ? .
    I have realize when do i connect the the power wire without the serial wire, i press the program button, the led stay lit, but in 5-6 sec stops, and then again stay lit and on the led display the fisrt led on first ROW and seond ROW are lit. something is wrong.... but i don`t know what...

  17. #97
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by magu View Post
    I don`t have PicBasic Compiler, it`s cost a lots of money.
    WTF?
    Download MPLAB and learn assembly...or I'll bet that the PBP demo would work for this...or not...

  18. #98
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Red face “A project too far...”

    Quote Originally Posted by skimask View Post
    ..or I'll bet that the PBP demo would work for this...or not...
    The PBP demo would work to program enough of a program to test a row or column then the next row or column. A good avenue suggested by fazan83.

    Quote Originally Posted by fazan83 View Post
    Magu I am also beginner.... ...but you ask something that too general and may be too hard for you to chew one shot.
    ...Then once successful you can start troubleshooting this project why not you try to always on all the row 1st and cascade the counter.

    ...By doing this you know that your circuit is ok. (power supply, micro and driver is ok)
    Then you can start deal with the EEPROM.

    Just Try a basic thing 1st once you verified the basic thing works then you go to the harder thing.

    Nobody can help you if you just keep ask general thing why it doesn't work.
    Quote Originally Posted by magu View Post
    hear this.... I don’t have do some tests..... No changes in the hex or anywhere else.
    Quote Originally Posted by magu View Post
    I don’t have PicBasic Compiler, it’s cost a lots of money. There it’s Another way to solve this problem ?...
    Please read posts from Eng4444 (I sure miss him)

    Quote Originally Posted by Dan Cata View Post
    ... the schematic posted was wrong... did you mistake on purpose? Were we supposed to guess the error in it?...
    Dan Cata, do you think someone would post that much work, just to able to trick people. I guess many do not realize how many hours must have been involved in this project before posting it. Any project even simple ones, has a chance of the equivalent of a “typo”. The more and more circuitry involved cause the chance to be extremely large. Magazines have editors, proofreaders that check for these oversights. Magazines ALL have error pages in the next issue, about errors in the previous issue.

    Quote Originally Posted by Luciano View Post
    Hi Magu, If you agree, I will help you test your board step by step.
    Best regards,
    Luciano
    Luciano, Thank you for your “seeing the bigger picture”. You have set an example for all of us on the forum. You have the right spirit and we salute you. Your tutorial step by step “trouble shooting” postings will be a great guide for future “new-bies”. These posts show, not only how to methodically, break down the process step by step, but how many steps are involved in the algorithm of “trouble-shooting”. I learned a great deal from your logical process, it is a work of art.

    -Adam-
    Last edited by Melanie; - 18th July 2007 at 19:18. Reason: to remove bad link
    Ohm it's not just a good idea... it's the LAW !

  19. #99
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    it can be a mistake when build the pcb of the board. for those who has the ORCAD Layout Plus i attach the pcb.
    Attached Files Attached Files

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


    Did you find this post helpful? Yes | No

    Default

    I no longer have ORCAD on my machine, so can you convert it as a .DWG, DXF or gerber 274 or use PrimoPDF to convert it to a PDF?

    Primo PDF will act as a printer, so you just need to print the document, but choose PrimoPDF as printer.

    Download link: http://www.download.com/3000-10743_4-10660924.html

    Nice and free tool
    Last edited by mister_e; - 17th June 2007 at 23:57.
    Steve

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

  21. #101
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    the yellow nets are not connected yet because i have to find space...
    Attached Images Attached Images

  22. #102
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    During our test we have complitely tested the 245 LEDs, 42 Transistors,
    and all the ICs listed below and all their connections.

    IC3 (complitely tested)
    IC4 (complitely tested)
    IC5 (complitely tested)
    IC6 (complitely tested)
    IC7 (complitely tested)
    IC9 (complitely tested)

    We have also tested these pins and connections of IC1:

    RA2 (PIN1) ---- ROW1
    RA3 (PIN2) ---- ROW2
    RB4 (PIN10) ---- ROW3
    RB3 (PIN9) ---- ROW4
    RB0 (PIN6) ---- ROW5
    RB2 (PIN8) ---- ROW6
    RB1 (PIN7) ---- ROW7

    RB5 (PIN 11) ---- CD4017 RESET


    The rest of the circuit can be tesetd in five minutes with an ohmmeter.

    * * *

    What about the 12V power supply?

    What is the current of the used 12V power supply?
    Is the 12V power supply a DC power supply?
    Can you post a picture of the 12V power supply?
    Can you post a picture of the 5V voltage regulator circuit? (The board).

    * * *

    Originally Posted by magu:
    have realize when do i connect the the power wire without the serial
    wire, i press the program button, the led stay lit, but in 5-6 sec stops, and
    then again stay lit and on the led display the fisrt led on first ROW and
    seond ROW are lit. something is wrong.... but i don`t know what...

    This is not possible. With the serial cable disconnected, after you have
    briefly pushed the program button, the LED 1 will be lit (ON) forever.
    This is because in the program, the PicBasic Pro SERIN command will wait
    the character "a" forever. (Note that no timeout is used in SERIN, therefore
    the program will wait forever).

    This is the line of code that will make the program wait the character "a" forever:
    Code:
    SERIN PORTB.7, N2400, ["a"], DataBuffer
    In the program, before the SERIN line, the LED 1 is lit by the following code,
    where first the pin is set as output and then the pin is set to LOW.
    (Note tha the RA4 sinks current so this is why "0" will lit the LED).

    Code:
    OUTPUT PORTA.4
    ActivityLED = 0
    * * *

    Download the PicBasic Pro demo and write a program that makes the LED 1 blink.
    Program the PIC with the HEX file, remove all the ICs from the board and
    see if the LED 1 blinks. If you do that, then you will know that the 10 MHz crystal oscillator
    works, that your programmer works and that the FUSE bits are correctly set.

    The PicBasic Pro demo is limited to 31 lines of source code.
    With 31 lines of code you can write a program that will make the LED 1 blink
    and you can also write a program that will test any single LED of the board.
    If you do that, make sure you use the seven 180 ohm resistors.

    Here you can download the demo:
    http://www.melabs.com/pbpdemo.htm

    Best regards,

    Luciano
    Last edited by Luciano; - 18th June 2007 at 10:20.

  23. #103
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Luciano View Post
    Hi Magu,


    * * *

    What about the 12V power supply?

    What is the current of the used 12V power supply?
    Is the 12V power supply a DC power supply?
    Can you post a picture of the 12V power supply?
    Can you post a picture of the 5V voltage regulator circuit? (The board).

    * * *
    I use 5V from the power supply of the computer for both the diaply and the board.. If it necesary i can make the 5v voltage regulator circuit.
    Last edited by magu; - 18th June 2007 at 13:09.

  24. #104
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by magu View Post
    I use 5V from the power supply of the computer for both the diaply and the board..
    Hi Magu,

    The +5V from the power supply of the computer should be OK.
    Make sure you use a cable with 0.75mm² or 1mm² wires and that
    the cable is less than 2 meters.
    Connect a 470µF capacitor to the +5V on the board with the PIC
    and a 470µF capacitor to the +5V on the board with the LEDs.

    Best regards,

    Luciano

  25. #105
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    where should i mount the electro caps? if it`s necesary

  26. #106
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    Here:

    (Click to enlarge the picture).


    Did you manage to download the demo of PicBasic Pro and write
    the blink LED 1 program?

    Best regards,

    Luciano

  27. #107
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Luciano View Post
    Hi Magu,




    Did you manage to download the demo of PicBasic Pro and write
    the blink LED 1 program?

    Best regards,

    Luciano
    i download the program but i didn`t have time write it. i have poor knowledge it picbasic and i learn for now to write the program.

  28. #108
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Steve,

    Can you please review the code below?
    The code will be compiled with the demo version of PicBasic Pro.

    We need this code in order to test the Odyssey II board.

    I hope Ithaca is not too far away!

    Thank you!

    Best regards,

    Odysseus (Ulysses) Luciano



    Code:
    ' File name: mblink.bas
    ' Target: 16f628A 
    ' Compile the file from the command line: pbpdemo.exe -p16f628a mblink.bas 
    '
    '
    '                  +5V
    '                   |
    '                  _|_
    '                 _\_/_  LED 1
    '                   |
    ' RA4-----/\/\/\----+
    '         300 ohm
    '
    '
    Define OSC 10       ' 10 MHz crystal used.
    CMCON = 7           ' Disable comparator, set PortA in digital mode.
          
    OUTPUT PORTA.4      ' Set RA4 as output
     
    loop: Low PORTA.4   ' Turn on LED 1, the pin RA4 sinks current.
          Pause 500     ' Delay for .5 seconds.
          High PORTA.4  ' Turn off LED 1, the pin RA4 floats, (RA4 open drain output). 
          Pause 500     ' Delay for .5 seconds.
          Goto loop     ' Go back to loop and blink LED 1 forever.
    End

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


    Did you find this post helpful? Yes | No

    Default

    This has to work. But i would add the Configuration fuse line at the top.

    I hope the Demo Allow that...
    Code:
    <font color="#008000">' File name: mblink.bas
    ' Target: 16f628A 
    ' Compile the file from the command line: pbpdemo.exe -p16f628a mblink.bas 
    '
    '
    '                  +5V
    '                   |
    '                  _|_
    '                 _\_/_  LED 1
    '                   |
    ' RA4-----/\/\/\----+
    '         300 ohm
    '
    '
    </font><font color="#000080">@   device pic16f628A, hs_osc, lvp_off, mclr_off, pwrt_on, cpd_off
    
    DEFINE </font>OSC 10       <font color="#008000">' 10 MHz crystal used.
    </font>CMCON = 7           <font color="#008000">' Disable comparator, set PortA in digital mode.
          
    </font><font color="#000080">OUTPUT </font>PORTA.4      <font color="#008000">' Set RA4 as output
     
    </font>loop: <font color="#000080">LOW </font>PORTA.4   <font color="#008000">' Turn on LED 1, the pin RA4 sinks current.
          </font><font color="#000080">PAUSE </font>500     <font color="#008000">' Delay for .5 seconds.
          </font><font color="#000080">HIGH </font>PORTA.4  <font color="#008000">' Turn off LED 1, the pin RA4 floats, (RA4 open drain output). 
          </font><font color="#000080">PAUSE </font>500     <font color="#008000">' Delay for .5 seconds.
          </font><font color="#000080">GOTO </font>loop     <font color="#008000">' Go back to loop and blink LED 1 forever.
    </font><font color="#000080">END
    </font>
    Steve

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

  30. #110
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Steve,

    Yes it does and IC-Prog 1.05E recognizes the configuration word.

    Thank you!

    Best regards,

    Luciano

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


    Did you find this post helpful? Yes | No

    Default

    Good news!

    Bienvenue Luciano, bonne chance
    Steve

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

  32. #112
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default dear luciano

    soo . . . what shall i do next .

  33. #113
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    Paste the code below in the Windows editor "Notepad" and save the
    file using the name mblink.bas. Save the file in the folder where you
    have installed the demo of PicBasic Pro.
    (The default is "C:\PBPDEMO\").

    Code:
    ' File name: mblink.bas
    ' Target: 16f628A 
    ' Compile the file from the command line: pbpdemo.exe -p16f628a mblink.bas 
    '
    '                  +5V
    '                   |
    '                  _|_
    '                 _\_/_  LED 1
    '                   |
    ' RA4-----/\/\/\----+
    '         300 ohm
    '
    @   device pic16f628A, hs_osc, lvp_off, mclr_off, pwrt_on, cpd_off
    
    DEFINE OSC 10       ' 10 MHz crystal used.
    CMCON = 7           ' Disable comparator, set PortA in digital mode.
          
    OUTPUT PORTA.4      ' Set RA4 as output
     
    loop: LOW PORTA.4   ' Turn on LED 1, the pin RA4 sinks current.
          PAUSE 500     ' Delay for .5 seconds.
          HIGH PORTA.4  ' Turn off LED 1, the pin RA4 floats, (RA4 open drain output). 
          PAUSE 500     ' Delay for .5 seconds.
          GOTO loop     ' Go back to loop and blink LED 1 forever.
    END

    Open a command shell window, change directory to C:\PBPDEMO and type:
    pbpdemo.exe -p16f628a mblink.bas

    This will compile your program and you will get the HEX file MBLINK.HEX.

    Remove all the ICs from your board. With IC-Prog program the
    PIC 16F628A with the file MBLINK.HEX. Once you have done that,
    with IC-Prog VERIFY the chip. Once you are sure that the chip
    is programmed OK, plug the PIC in the socket 1 and power up the
    board. If everything is OK, you will see the LED 1 blink forever.


    (Click to enlarge the picture).

    Best regards,

    Luciano
    Last edited by Luciano; - 19th June 2007 at 11:19.

  34. #114
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    The led doesen`t blink coreclty. It toggle, then stay lit 3 sec, blink again and so on. Maybe the pic is not good or the crystal.?

  35. #115
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    This the reason why we are testing with this LED 1 blink program.
    With this program you can verify if the PIC and its 10 MHz crystal oscillator work.

    Try that: (In order)

    - On the socket of IC1 solder a 100nF capacitor between the pin 14 (VDD) and pin 5 (GND).
    (You should already have one close to the PIC, solder a second one on the above pins).

    - Test if the LED 1 blinks.

    - Replace the two 22pF capacitors.

    - Test if the LED 1 blinks.

    - Replace the 10 MHz crystal.

    - Test if the LED 1 blinks.

    - Replace the PIC. (Program a new PIC with MBLINK.HEX).

    - Test if the LED 1 blinks.

    - Use a different +5V power supply. (Make one with a voltage regulator 7805).

    - Test if the LED 1 blinks.

    * * *

    When you program the PIC with the program IC Prog follow the steps visible in picture below:

    Do not modify the fuses which are automatically set by the file MBLINK.HEX.



    The PIC is programmed OK only if the VERIFY step is successful!

    Best regards,

    Luciano

  36. #116
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    I made o small board showd in the picture attach and it works fine but the led stay lit. doesen`t blink foverer. And the led with the res doese`nt need to be conneted to Ra3 ? . I can`t find the datasheet for the crystal....
    Attached Images Attached Images  
    Last edited by magu; - 19th June 2007 at 20:05.

  37. #117
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Magu,

    This circuit will work with our program MBLINK.BAS.



    Please seek help locally, find a PIC expert in your country willing to help you.

    Good luck!

    Best regards,


    Luciano

  38. #118
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Luciano View Post
    Hi Magu,

    This circuit will work with our program MBLINK.BAS.



    Please seek help locally, find a PIC expert in your country willing to help you.

    Good luck!

    Best regards,


    Luciano
    ok i understand. i will buil this circuit and then i will give my results. best regards.

  39. #119
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Trent,

    Far as I'm concerned this thread has been completely hijacked with 4 pages of junk carrying
    a user rating of 1.8 out of 5.
    Yes, this is a bad habit. All this discourages people from posting.


    I don't consider the cries for help to be even the slightest bit genuine. That's the sickening part.
    There were three people reporting a problem with this project and indeed there was a problem
    with the schematic and we managed to find it.

    Are Magu's cries for help genuine?
    In my opinion yes.

    Look at the picture posted by Magu:


    (Click to enlarge the picture).

    CPU board: (Picture)

    Magu is not an expert, the decoupling capacitors were added in
    a second time despite this was the second board he made.

    Display board: (Picture)

    The alignment of the LEDs, transistors and resistors was done with
    great care. (All the components were soldered perpendicular).

    What are my conclusions?

    Little theoretical knowledge, but good perseverance.
    The same can be said for his posts in this thread.

    * * *

    I was able to help him to partially test the board he made.
    I have never used PicBasic before and I have never developed anything
    using PIC microcontrollers. All I know about PicBasic and PIC microcontrollers
    is based on personal researches done while evaluating them.

    This is why I had to suggest him to find somebody in his town
    willing to help him program the chip and test the board.

    Best regards,

    Luciano

  40. #120
    Join Date
    May 2007
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    i`m very sorry for the delay but i was in vacantion, later i will post the result of the PIC...

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  3. Replies: 2
    Last Post: - 14th July 2008, 22:11
  4. 245 Led Matrix Display (as constructed by Magu)
    By magu in forum Code Examples
    Replies: 11
    Last Post: - 29th June 2007, 00:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

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