Free Project - 245 LED Display


Closed Thread
Results 1 to 40 of 222

Hybrid View

  1. #1
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    What config fuses do you have set?

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

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

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

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

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

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

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

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

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