Author |
Message |
Topic: 16f877 rs232 problem and some Matlab |
strumpfm
Replies: 17
Views: 54815
|
Forum: General CCS C Discussion Posted: Tue Nov 25, 2003 12:31 pm Subject: 16f877 rs232 problem and some Matlab |
I'm using a 7 segment display, so i just threw that led object into visio quickly and didn't think about it. I have been setting MCLR to Vdd to run the PIC, and I am using a power supply, not a batter ... |
Topic: 16f877 rs232 problem and some Matlab |
strumpfm
Replies: 17
Views: 54815
|
Forum: General CCS C Discussion Posted: Mon Nov 24, 2003 11:22 pm Subject: 16f877 rs232 problem and some Matlab |
Before, you said that you found a 20 MHz crystal, and some 22 pf
capacitors. But the code you posted is setup for a 4 MHz crystal.
Do you know why ?
That was a mistake on my part which I ... |
Topic: 16f877 rs232 problem and some Matlab |
strumpfm
Replies: 17
Views: 54815
|
Forum: General CCS C Discussion Posted: Mon Nov 24, 2003 4:24 pm Subject: 16f877 rs232 problem and some Matlab |
I think that I'm confused about how the crystal operates. I had a basic led test working previously with just a resistor for the clock, but with the crystal set up as in the previous .pdf file, I'm no ... |
Topic: 16f877 rs232 problem and some Matlab |
strumpfm
Replies: 17
Views: 54815
|
Forum: General CCS C Discussion Posted: Mon Nov 24, 2003 2:45 pm Subject: 16f877 rs232 problem and some Matlab |
Look at the following schematic. Zoom in on the crystal circuit
on the left side of the 16F877. Do you have your board wired
in the same way ?
http://www.melabs.com/downloads/labx2sch.pdf
... |
Topic: 16f877 rs232 problem and some Matlab |
strumpfm
Replies: 17
Views: 54815
|
Forum: General CCS C Discussion Posted: Mon Nov 24, 2003 2:04 pm Subject: 16f877 rs232 problem and some Matlab |
Thanks for all of your help, I certainly know more now. After realizing that using a resistor for driving the clock isn't accurate enough, I was able to get an XTAL-20MHz crystal. I've been coming up ... |
Topic: 16f877 rs232 problem and some Matlab |
strumpfm
Replies: 17
Views: 54815
|
Forum: General CCS C Discussion Posted: Mon Nov 24, 2003 3:41 am Subject: 16f877 rs232 problem and some Matlab |
Just to clarify, does this statement refer to the A/D clock,
or are you actually running the 16F877 without any crystal
connected to it ?
All I had used a PIC for before was A/D, so that is wh ... |
Topic: 16f877 rs232 problem and some Matlab |
strumpfm
Replies: 17
Views: 54815
|
Forum: General CCS C Discussion Posted: Sun Nov 23, 2003 10:46 pm Subject: 16f877 rs232 problem and some Matlab |
Hi all- I know this has been brought up a million times before, but it seems like there's one small barrier that everyone needs to get past, and I'm stuck at one.
I'm trying to eventually collect d ... |
|