+ Reply to Thread
Results 1 to 4 of 4

Thread: Pic 12f675 - Rs232

  1. #1
    pkvasan Newbie
    Join Date
    Oct 2008
    Posts
    9

    Default Pic 12f675 - Rs232

    Hi i am new to microcontroller and trying to learn PIC controllers, i have completed few examples as mentioned in book, like flashing LED's etc...

    Iam stuck with one problem , i am trying to send "Hello" to PC via RS232,
    i wanted to see "Hello" in my PC hyperterminal as soon as i power up my PIC board, I have followed all the connections as mentioned in book, i have used MAX232 for serial communication.

    I am not able to see "Hello" in Hyperterminal. I even connected LED to PIN 14 of MAX232(T1Out , which is connected to pin 2 of 9 pin D Connector)LED is blinking but "Hello" does not appear on Hyperterminal

    Please help me to find solution

    Rgds


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

    Default

    You might take a look at my PIC tutorials?.

    The 12F675 uses the same 14 bit core as the 16F628.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent
    Join Date
    Jan 2005
    Location
    UK
    Posts
    2,226

    Default

    Quote Originally Posted by pkvasan View Post
    LED is blinking but "Hello" does not appear on Hyperterminal

    Please help me to find solution

    Rgds
    Does gibberish (i.e. rubbish characters) appear on Hyperterminal?

    If there is none, then you are having wiring connection problems. One cause is a crossed serial cable.

    If there are rubbish characters appearing, then your PIC baudrate or Comm settings is probably wrong. This can be caused by bad UART register setup, wrong crystal frequency used or you have the incorrect OSCCAL factory calibrating value loaded if you're using internal oscillator.
    Last edited by eblc1388; 10th November 2008 at 02:03 PM.
    L.Chung

  4. #4
    pkvasan Newbie
    Join Date
    Oct 2008
    Posts
    9

    Default

    I think there is some wiring problem, it worked once. if check the voltage level at PIN 14 of Max232 i am getting approx 5V continously but i can see any think in hyperterminal. is it only wiring problem or there is any problem in my PC. i checked config setting in hyperterminal and seems to be correct.

+ Reply to Thread

Similar Threads

  1. Soft-RS232 on 12F675 ~ Not syncning?
    By johankj in forum Micro Controllers
    Replies: 22
    Latest: 9th May 2008, 06:44 PM
  2. 12f675
    By YAN-1 in forum Micro Controllers
    Replies: 2
    Latest: 14th January 2007, 07:05 PM
  3. A/D with pic 12f675
    By ndspinney in forum Micro Controllers
    Replies: 8
    Latest: 23rd December 2006, 09:55 AM
  4. PWm using 12F675
    By Divs in forum Micro Controllers
    Replies: 9
    Latest: 21st December 2006, 02:46 AM
  5. rs232 to rs232 data logger with 1meg buffer -help needed
    By ccaammaaccaazzii in forum Electronic Projects Design/Ideas/Reviews
    Replies: 11
    Latest: 20th October 2004, 09:43 PM

Tags for this Thread