Author |
Message |
Topic: read 10 bit ADC on PIC16f876 |
Einly
Replies: 2
Views: 8018
|
Forum: General CCS C Discussion Posted: Sun Jun 19, 2005 9:50 pm Subject: read 10 bit ADC on PIC16f876 |
Dear all,
Does anyone have an example of how to use the 10 bit adc on PIC16f876? Previously, I am using the ADC, but instead of 10 bit, I only read 8 bit. May I know how does the program look like, ... |
Topic: HELP |
Einly
Replies: 2
Views: 6110
|
Forum: General CCS C Discussion Posted: Tue May 31, 2005 6:06 am Subject: HELP |
Dear all,
I have a TC and RTD, anyone hace circuit or program to make PIC read temperature from it?
Thanks |
Topic: Output a pulse of 6.5us upon pin B0 interrupt |
Einly
Replies: 9
Views: 10872
|
Forum: General CCS C Discussion Posted: Mon May 09, 2005 8:38 pm Subject: CCP module? |
"Look instead at using timer1, and the CCP module. The special event setting of this, allows it to clear a pin automatically when a count is reached. This however has to use the CCP pin, not pin_c0. " ... |
Topic: RS232 |
Einly
Replies: 1
Views: 5028
|
Forum: General CCS C Discussion Posted: Fri May 06, 2005 4:11 am Subject: RS232 |
Dear all,
I try to transfer RS232 data from the computer to PIC16f876. In the computer, I am using Visual C WriteFile Function. In the PIC16f876, I use an interrupt to check for data. If the first ... |
Topic: delay_us |
Einly
Replies: 2
Views: 6472
|
Forum: General CCS C Discussion Posted: Tue May 03, 2005 9:47 am Subject: delay_us |
Dear all,
I am using 2 timer interrupt in my program (timer 0 and timer 1). Timer 0 is used to count for 1s. In this 1 second interval, timer 1 is used to count the pulses that is received. I would ... |
Topic: Output a pulse of 6.5us upon pin B0 interrupt |
Einly
Replies: 9
Views: 10872
|
Forum: General CCS C Discussion Posted: Tue May 03, 2005 9:23 am Subject: Output a pulse of 6.5us upon pin B0 interrupt |
Dear all,
I wish to do the following:
Whenever I receive a low to high interrupt on Pin B0, I will output a high pulse at Pin C0 and starts a timer 2 which will overflow after 6.5us. When timer 2 ... |
Topic: how to float a PIC output pin? |
Einly
Replies: 1
Views: 4973
|
Forum: General CCS C Discussion Posted: Wed Apr 13, 2005 12:36 am Subject: how to float a PIC output pin? |
Hi,
I want to use PB0 and PB1 to output adjust current supplied
to a LED (LED tot current= PB0 mA + PB1 mA). And I afraid
there will be a reverse current to PB0 or PB1 when either one
is turn of ... |
Topic: use pic send sms through phone line at home? |
Einly
Replies: 4
Views: 7439
|
Forum: General CCS C Discussion Posted: Wed Apr 13, 2005 12:09 am Subject: use pic send sms through phone line at home? |
Normally I use dtmf system to dial phone and receive
keypress for homesecurity control via phone.
Now, Any body has idea to use PIC send sms to mobile
phone via normal phone line? Example?
R ... |
Topic: How to use 2 serial ports with interrupt rx? |
Einly
Replies: 5
Views: 8601
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2005 2:22 am Subject: How to use 2 serial ports with interrupt rx? |
I'm using PIC16F876, PCM , so any idea to add another interrupt
serial port? |
Topic: How to use 2 serial ports with interrupt rx? |
Einly
Replies: 5
Views: 8601
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2005 2:22 am Subject: How to use 2 serial ports with interrupt rx? |
I'm using PIC16F876, PCM , so any idea to add another interrupt
serial port? |
Topic: How to use more timers?? |
Einly
Replies: 1
Views: 4739
|
Forum: General CCS C Discussion Posted: Wed Apr 06, 2005 10:30 pm Subject: How to use more timers?? |
Dear all,
I am currently using PIC16F876 timer 1 to count the incoming pulses of(150kHz maximum) in a second. Timer 0 is used to count the 1 second interval.
I am also using 555 monostable time ... |
Topic: How to do a 1ms timer? |
Einly
Replies: 2
Views: 6131
|
Forum: General CCS C Discussion Posted: Tue Apr 05, 2005 11:55 pm Subject: How to do a 1ms timer? |
Currently I'm using PIC16F876 counter to
do timer function for 1 sec, and I set the
decrement number as 76.
So, If I want a timer to count for 1ms only
how should I solve it? Using 0.076 instead ... |
Topic: How to use 2 serial ports with interrupt rx? |
Einly
Replies: 5
Views: 8601
|
Forum: General CCS C Discussion Posted: Tue Apr 05, 2005 11:36 pm Subject: How to use 2 serial ports with interrupt rx? |
Hi, I'm currently using PCM for my program.
My program using 1 serial port interrupt detect feature:
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, PARITY=N)
byte a;
int status=0;
#int_rd ... |
Topic: Connect Bluetooth To PIC |
Einly
Replies: 5
Views: 8951
|
Forum: General CCS C Discussion Posted: Thu Mar 31, 2005 7:44 am Subject: Connect Bluetooth To PIC |
I'm currently using pc for bluetooth communication.
Anybody know how to link bluetooth chip to PIC?
Any example or header file for bluetooth in PCM?
Wait for your good news...
Regards: Ein ... |
Topic: locking PIC program |
Einly
Replies: 27
Views: 34191
|
Forum: General CCS C Discussion Posted: Tue Feb 15, 2005 11:26 am Subject: ??? |
If they can read/load my 'garbage codes' means they can then
copy it all into a new PIC. And thus they can manufacture the
same product without passing through my copyright, correct?
Thanks! ;-) |
|