+ Reply to Thread
Page 2 of 2
First 1 2
Results 16 to 21 of 21

Thread: Implementation of manchester coding

  1. #16
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Looks OK on a quick glance, however the last of my RS232 tutorials uses the hardware UART and shows how to set it up.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk


  2. #17
    MessUpMymind Newbie
    Join Date
    Oct 2008
    Posts
    64

    Default

    hi nigel ,

    okay , i will try it out...btw can i send those data from RCREG into single pin in microcontroller for eg PORTC.1??? i know i can use RLF,RRF or shift register from parallel to serial but is there anyway else??

    Thanks for your reply =)..

  3. #18
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Quote Originally Posted by MessUpMymind View Post
    hi nigel ,

    okay , i will try it out...btw can i send those data from RCREG into single pin in microcontroller for eg PORTC.1??? i know i can use RLF,RRF or shift register from parallel to serial but is there anyway else??
    I'm not really sure what you mean?, if you want to send it out again as RS232 you could always use the hardware UART.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  4. #19
    MessUpMymind Newbie
    Join Date
    Oct 2008
    Posts
    64

    Default

    hi nigel ,

    sorry for those mess in previous , now i can send data to PIC from PC using UART... after i read 1 byte of data from RCREG and i wan to test it so i send those data that i read from RCREG to GPIO lets say PORTC and i will test it by using 8 LEDs on PORTC to see whether it receive the correct data. and it works out fine till this point

    what i need to do now is:
    now i wan to make my data sending to 1 of the GIPO PIN in SERIAL so that i can send it to my RF transmitter data pin in serial , make it short i need to put all 8 bits sending in 1 PIN serially instead of the whole PORT in parallel.

    as i know those method that can achieve this will be the following methods:
    1)using RLF/RRF and loop it 8 times to read every single bits
    2)using shift register to make those parallel data to Serial

    is there any other method that actually i can use to send out those data in serial from a pin to my RF transmitter data pin??

    Thanks for helping out =).

  5. #20
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Like I said above, you could use the hardware UART transmitter, as you're not already using it.

    However, as you're sending it to a radio transmitter you should use my Manchester routines instead.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  6. #21
    MessUpMymind Newbie
    Join Date
    Oct 2008
    Posts
    64

    Default

    hi nigel ,

    thanks a lot!! i got it now , you are just great =)..

+ Reply to Thread
Page 2 of 2
First 1 2

Similar Threads

  1. Manchester routines in C for PIC ?
    By pkshima in forum Micro Controllers
    Replies: 15
    Latest: 15th September 2009, 05:25 PM
  2. Manchester Decoder
    By dilipkumar09 in forum General Electronics Chat
    Replies: 2
    Latest: 31st July 2008, 08:58 AM
  3. Writting Manchester line coding
    By ahmedragia21 in forum Micro Controllers
    Replies: 27
    Latest: 11th March 2008, 08:24 PM
  4. MANCHESTER CODING in C language
    By Anniyan_x in forum Micro Controllers
    Replies: 8
    Latest: 19th April 2007, 02:55 AM
  5. manchester coding
    By darvaish in forum Micro Controllers
    Replies: 2
    Latest: 7th April 2005, 01:28 AM

Tags for this Thread