Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 10th November 2008, 01:19 PM   #1
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
pkvasan is offline  
Old 10th November 2008, 01:25 PM   #2
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
Nigel Goodwin is online now  
Old 10th November 2008, 03:03 PM   #3
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.
__________________
L.Chung

Last edited by eblc1388; 10th November 2008 at 03:03 PM.
eblc1388 is offline  
Old 11th November 2008, 04:26 AM   #4
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.
pkvasan is offline  
Reply

Tags
pic, rs232

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Soft-RS232 on 12F675 ~ Not syncning? johankj Micro Controllers 22 9th May 2008 07:44 PM
12f675 YAN-1 Micro Controllers 2 14th January 2007 08:05 PM
A/D with pic 12f675 ndspinney Micro Controllers 8 23rd December 2006 10:55 AM
PWm using 12F675 Divs Micro Controllers 9 21st December 2006 03:46 AM
rs232 to rs232 data logger with 1meg buffer -help needed ccaammaaccaazzii Electronic Projects Design/Ideas/Reviews 11 20th October 2004 10:43 PM



All times are GMT. The time now is 12:02 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker