Author |
Message |
Topic: pwm problem |
deenadayalan
Replies: 3
Views: 7683
|
Forum: General CCS C Discussion Posted: Thu Mar 26, 2015 10:29 pm Subject: pwm problem |
Dear Ttelmah sir, thanks for your reply.
I am using
clock rate 20mhz
chip pic16f877a
compiler version ccs_pcwhd 4.07
ccp1(c2)- connected with transistor base ... |
Topic: pwm problem |
deenadayalan
Replies: 3
Views: 7683
|
Forum: General CCS C Discussion Posted: Thu Mar 26, 2015 4:45 am Subject: pwm problem |
please tell me,is this correct formate for pwm wave generation |
Topic: pwm problem |
deenadayalan
Replies: 3
Views: 7683
|
Forum: General CCS C Discussion Posted: Wed Mar 25, 2015 10:49 pm Subject: pwm problem |
HI, i am driving dc motor through mosfet with pwm, motor will rotate 1sec forward and 1 sec reverse with various speed. my code giving pwm single time only then maintaining zero
#include "I ... |
Topic: pic18f4431 with adc |
deenadayalan
Replies: 12
Views: 20809
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 6:50 am Subject: pic18f4431 with adc |
dear all i changed crystal value (16mhz) . i got perfect output thank you very much sir................ |
Topic: pic18f4431 with adc |
deenadayalan
Replies: 12
Views: 20809
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 4:01 am Subject: pic18f4431 with adc |
sir i checked normally it has 0.8 v
when connected variable resistor for adc input
adc v --------------- controller pin (v)
starting ---- ... |
Topic: pic18f4431 with adc |
deenadayalan
Replies: 12
Views: 20809
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 3:35 am Subject: pic18f4431 with adc |
thank you dear Ttelmah i got continuously 5.0 volts, i used your code, again thank you for your valuable code, i used 20mhz crystal 22pf capacitor in my hardware circuit. |
Topic: pic18f4431 with adc |
deenadayalan
Replies: 12
Views: 20809
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 2:45 am Subject: pic18f4431 with adc |
thank you dear rikotech8 , i am getting same problem another attached example. i couldnt find my mistake |
Topic: pic18f4431 with adc |
deenadayalan
Replies: 12
Views: 20809
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 2:38 am Subject: pic18f4431 with adc |
this code also showed same result,result 03ff didnt change any analog input
#include <18F4431.h>
#device adc=10
#fuses HS,NOWDT,NOPROTECT,BROWNOUT,PUT,NOLVP
#use delay(clock=20 ... |
Topic: pic18f4431 with adc |
deenadayalan
Replies: 12
Views: 20809
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 2:32 am Subject: pic18f4431 with adc |
even i am connecting adc to gnd result is 255 sir didn't show 0 |
Topic: pic18f4431 with adc |
deenadayalan
Replies: 12
Views: 20809
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 1:32 am Subject: pic18f4431 with adc |
8 bit adc enough this application sir , i used int but simulation showed negative values ,if i use unsigned int and %u simulation showed 0 to 255
properly ,i checked in a0 pin during the adc input ... |
Topic: pic18f4431 with adc |
deenadayalan
Replies: 12
Views: 20809
|
Forum: General CCS C Discussion Posted: Wed Sep 10, 2014 11:28 pm Subject: pic18f4431 with adc |
dear all, i am using pic18f4431 controller. I am using adc channel pin a0. I got 255 only in serial window through hardware crystal value 20mhz. Pls help me dear all
i initialized like
void main ... |
Topic: port A using for input in pic18f4431 |
deenadayalan
Replies: 8
Views: 13789
|
Forum: General CCS C Discussion Posted: Wed Sep 03, 2014 11:50 pm Subject: port A using for input in pic18f4431 |
pls help me sir |
Topic: port A using for input in pic18f4431 |
deenadayalan
Replies: 8
Views: 13789
|
Forum: General CCS C Discussion Posted: Sat Aug 30, 2014 5:31 am Subject: port A using for input in pic18f4431 |
Dear Ttelmah sir i have pic16f877a development board,may i use for pic18f4431 controller at same 20mhz pls help me sir, |
Topic: port A using for input in pic18f4431 |
deenadayalan
Replies: 8
Views: 13789
|
Forum: General CCS C Discussion Posted: Fri Aug 29, 2014 5:40 am Subject: port A using for input in pic18f4431 |
I got output sir, thank you for your valuable guidance. One more doubt sir, I used A1 for adc and connected B7,B6,B5 with leds. I got output in Proteus simulation but i didnt get output in real time ... |
Topic: port A using for input in pic18f4431 |
deenadayalan
Replies: 8
Views: 13789
|
Forum: General CCS C Discussion Posted: Fri Aug 29, 2014 3:20 am Subject: port A using for input in pic18f4431 |
thank you sir |
|