Free Project - 245 LED Display


Closed Thread
Results 1 to 40 of 222

Hybrid View

  1. #1
    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

  2. #2
    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.?

  3. #3
    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

  4. #4
    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.

  5. #5
    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.

  6. #6
    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...

  7. #7
    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...

  8. #8
    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 !

  9. #9
    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

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 : 0

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