Navtex Receiver


Closed Thread
Results 1 to 18 of 18

Thread: Navtex Receiver

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    That's only 40+ pages of assembly code...bit-banged serial routines, bit-banged LCD routines, and so on and so on...
    I think it's time to put it in the round file and start from scratch...

  2. #2
    Join Date
    Feb 2005
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    thanks skimast for your reply. I know how many pages are and thats why i am comfused with the program(think also that i don't know assembly).don't give me code only the steps to start building it. take out lcd and serial commands. I can't understand also when the timer0 start.after capture interrupt? and also the receiver character is not ASCII he convert it but can't translate how.

  3. #3
    Join Date
    Feb 2005
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    when i compile the code with mplab and download it to the chip the chip doen't start. i measure with osciloscope the crystal and seems doesn't start.i face again this kind of problem and it was define different crystal value than i had in breadboard(in PBP).i am using 8 MHz crystal which working (i test it )and also i put in program that local is 8Mhz.i don't know how i can define in assembly that i am working with 8MHz crystal?

    thanks

  4. #4
    Join Date
    Mar 2008
    Location
    Texas, USA
    Posts
    114


    Did you find this post helpful? Yes | No

    Default

    Set config to HS oscilator type. Aslo, using an o-scope probe on a crytal may load the crystal to the point where it quits. Use a spare port and slap it around to see if the PIC is running.
    No, I'm not Superman, but I did stay at a Holiday Inn Express last night!

  5. #5
    Join Date
    Feb 2005
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    I did it but the programm is not running .I will also check with XT configuration.Is it possible to define the crystal frequency in assembly as we do in PBP.?

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


    Did you find this post helpful? Yes | No

    Default

    It's already done in your code...
    Code:
    __CONFIG _CP_OFF& _WDT_OFF & _PWRTE_ON & _HS_OSC & _LVP_OFF & _BODEN_ON
    syntax is syntax, seems to miss a space between _CP_OFF and the &... if you have any compilation error, it might just forget the config fuses?

    Which device programmer do you have?

    With the same config line, did you tried a simple Led Blink program?

    Is there any chance to have
    1. the schematic of it?
    2. A picture of your current Prototype?

    If you're using an o-scope to monitor your crystal... make sure you set your probe to 10X or 100X, unless you'll just screw the poor osc signal.
    Steve

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

  7. #7
    Join Date
    Feb 2005
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    mister e i will explain you what i am doing. i download the above code from net and i compiled with mplab(succesfull). i burn the 16f876 and the chip doesn't start.in the same breadboard i made a sample program to test the lcd screen in pbp.it works like a charm.everything is the same exept the programm. If i understand correct my problem is with crystal config.the sample programm that i made has the same configuration bits and works(i didn't write the line a made it manualy from programmer).i am thinking to check now with XT config to see what happends. I use usb programmer from melabs and also i found from my friend the picstart plus and i tried it with mplab with no success.i put the navtex code in microcode studio but i had a lot of errors and i leave it .the diagramm is below if can be help you.i did't made it all ,only the digital circuit i build (pic ,lcd,max232,buttons), the receiver i don't want it now i want to check the decoder first and the lcd screen.Also i am not checking only the crystal with scope , by the programm must give my 500KHz in 12 pin.What else can i do?
    Attached Images Attached Images  

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. 433 Mhz Data Receiver
    By Pesticida in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 29th November 2010, 02:26
  3. RC Servo Receiver
    By Ioannis in forum General
    Replies: 2
    Last Post: - 23rd October 2007, 06:56
  4. PIC16F877 with GPS receiver
    By rocketqueen in forum GPS
    Replies: 10
    Last Post: - 15th November 2006, 21:56
  5. interfacing gps receiver with 16f877a
    By sakhyvava in forum GPS
    Replies: 1
    Last Post: - 27th September 2006, 09:13

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