Author |
Message |
Topic: I2C Question - What am I doing wrong? |
ElectricalNoob
Replies: 6
Views: 6292
|
Forum: General CCS C Discussion Posted: Thu Jun 14, 2007 11:14 pm Subject: I2C Question - What am I doing wrong? |
Thanks PCM programmer |
Topic: I2C Question - What am I doing wrong? |
ElectricalNoob
Replies: 6
Views: 6292
|
Forum: General CCS C Discussion Posted: Thu Jun 14, 2007 9:44 pm Subject: I2C Question - What am I doing wrong? |
I've looked into configuration bits before, but when I used the fuses you used, it would not work. According to the datasheet 20Mhz external is HS. However I tried changing my configuration bits to us ... |
Topic: I2C Question - What am I doing wrong? |
ElectricalNoob
Replies: 6
Views: 6292
|
Forum: General CCS C Discussion Posted: Thu Jun 14, 2007 12:23 pm Subject: I2C Question - What am I doing wrong? |
Compiler version is 4.016
The configuration I'm using is
Oscillator - RC
Watchdog timer - off
Power up timer - on
brown out detect - on
low voltage program - disabled
flash program write - ... |
Topic: I2C Question - What am I doing wrong? |
ElectricalNoob
Replies: 6
Views: 6292
|
Forum: General CCS C Discussion Posted: Thu Jun 14, 2007 9:39 am Subject: I2C Question - What am I doing wrong? |
I'm trying to setup I2C communication between two PIC16F877As. I have two 20Mhz external clocks one for each of the two pics which I connected to the OSC1/CLKI pin on each of the pics. I connected two ... |
Topic: RS232 Question - 1 Master, 1 PDA and 6 Slaves |
ElectricalNoob
Replies: 6
Views: 6898
|
Forum: General CCS C Discussion Posted: Thu Jun 14, 2007 7:37 am Subject: RS232 Question - 1 Master, 1 PDA and 6 Slaves |
Thanks for your help guys. I'm thinking that if I could get the master pick using its i2c line to communicate with the six slaves. Then the master could also communicate with the PDA using rs232 commu ... |
Topic: RS232 Question - 1 Master, 1 PDA and 6 Slaves |
ElectricalNoob
Replies: 6
Views: 6898
|
Forum: General CCS C Discussion Posted: Wed Jun 13, 2007 1:22 pm Subject: RS232 Question - 1 Master, 1 PDA and 6 Slaves |
I'm trying to interconnect a master, six slaves and a PDA using the rs232 communication line. I've heard that this is possible with the proper protocol. However I noticed that when I connect a pic wit ... |
Topic: RS232 Question - 1 Master, 1 PDA and 6 Slaves |
ElectricalNoob
Replies: 6
Views: 6898
|
Forum: General CCS C Discussion Posted: Mon Jun 11, 2007 2:28 pm Subject: RS232 Question - 1 Master, 1 PDA and 6 Slaves |
I am planning on connecting one Master PIC to 6 slave pic's and a palm. I was looking for advice on what sort of communication should I use. Should I use rs232 or I2C? I need the Master PIC to receive ... |
Topic: Confused - Analog to Digital |
ElectricalNoob
Replies: 4
Views: 5938
|
Forum: General CCS C Discussion Posted: Fri Jun 08, 2007 10:36 pm Subject: THEPICUser |
Thank you PCM Programmer and gammla. I'm going to try the resister idea.
When it comes to practical applications, I am really new at this. I'm trying to learn as much as I can in the shortest amoun ... |
Topic: Analog to Digital conversion precision |
ElectricalNoob
Replies: 4
Views: 3911
|
Forum: General CCS C Discussion Posted: Mon May 28, 2007 10:38 pm Subject: Analog to Digital conversion precision |
Was looking at something around 0.1mV accuracy. But doesn't look like a PIC16F877A can handle that. So I'll just use op amps, not a big deal.
Simeon |
Topic: Analog to Digital conversion precision |
ElectricalNoob
Replies: 4
Views: 3911
|
Forum: General CCS C Discussion Posted: Mon May 28, 2007 7:59 am Subject: Analog to Digital conversion precision |
Sorry, I should have mentioned that I was trying to do the analog to digital conversion with a PIC16F877A. So would it be possible for the PIC16F877A to have high resolution? |
Topic: Analog to Digital conversion precision |
ElectricalNoob
Replies: 4
Views: 3911
|
Forum: General CCS C Discussion Posted: Sun May 27, 2007 9:25 pm Subject: Analog to Digital conversion precision |
I just wanted to confirm that if I get an analog signal that works from 75mV to 100mV, then I would not be able to capture that signal properly unless I used an opamp to amplify the signal to the 0 - ... |
Topic: Magnetic Card Reader |
ElectricalNoob
Replies: 6
Views: 8486
|
Forum: General CCS C Discussion Posted: Sat May 26, 2007 8:43 am Subject: Magnetic Card Reader |
Ok, I solved the problem. It was very silly, but hopefully someone else working with card readers can avoid this. The MCR.c file was designed for 2 tracks, and I used pins B0 - clock output, B1 and B2 ... |
Topic: Magnetic Card Reader |
ElectricalNoob
Replies: 6
Views: 8486
|
Forum: General CCS C Discussion Posted: Fri May 25, 2007 10:54 am Subject: Magnetic Card Reader |
I was able to read the card values. However I don't understand the values I have received. I've read that there is some sort of encryption on the cards, and you can't just straight out read the card n ... |
Topic: Magnetic Card Reader |
ElectricalNoob
Replies: 6
Views: 8486
|
Forum: General CCS C Discussion Posted: Thu May 24, 2007 6:55 am Subject: Magnetic Card Reader |
I guess my greatest problem with 'detective work' is that I assume too much. I assumed CCS did not have a built in function for card readers. So I did not even look there. After more searching I had f ... |
Topic: Magnetic Card Reader |
ElectricalNoob
Replies: 6
Views: 8486
|
Forum: General CCS C Discussion Posted: Wed May 23, 2007 10:39 pm Subject: Magnetic Card Reader |
Has anyone used a magnetic card reader before. I currently got a Hitachi-Omron V3B-4 card reader. I looked for a datasheet, but could not find one. Has anyone used a card reader before. Any help or sa ... |
|