Author |
Message |
Topic: Extrange changes in ADC |
verba
Replies: 7
Views: 14293
|
Forum: General CCS C Discussion Posted: Thu Aug 26, 2004 11:30 am Subject: Thanks |
Thank you, I will try your suggestion.
If anybody has more ideas they will be welcomed.
Thanks everybody |
Topic: Extrange changes in ADC |
verba
Replies: 7
Views: 14293
|
Forum: General CCS C Discussion Posted: Thu Aug 26, 2004 3:22 am Subject: I can�t do that now |
Thank you very much for your suggestions.
Unafortunately, I can�t do that modifications in my circuit now
I only can do 20 measures and then calculate the average, I know that isn�t a true value, bu ... |
Topic: Serial bootloader & RS232 & reset_cpu() |
verba
Replies: 9
Views: 23442
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2004 10:34 am Subject: Serial bootloader & RS232 & reset_cpu() |
Don�t worry, if you want a beer I�ll invite you in my project presentation (Madrid, september), anyway you�ll have it.
If you can, could you take a look to my problems in the post "Extrange changes i ... |
Topic: Serial bootloader & RS232 & reset_cpu() |
verba
Replies: 9
Views: 23442
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2004 5:58 am Subject: PERFECT!!!! |
Perfect, you are rigth, I only translate the addresses of the registers to the pic16f876 and voila
Here is my code if is helpful to anybody that use 16f876
THANK YOU VERY MUCH!!!!
//Defini ... |
Topic: Extrange changes in ADC |
verba
Replies: 7
Views: 14293
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2004 3:29 am Subject: Extrange changes in ADC |
Thanks for your answer
I have a professional polymeter and the 7805 is giving me a constant value of 4,985. I have in the circuit the capacitors 0,33 uF and 0,1 uF.
And another question, if I put in ... |
Topic: Extrange changes in ADC |
verba
Replies: 7
Views: 14293
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2004 3:05 am Subject: Extrange changes in ADC |
Hi, I know another problem.
In the ADC the values moves a lot in my 16f876 with CCS 3.187.
My fuses are NOPUT, NOBRW, NOLVP, WRT
I have this connections:
A0= v. of a fan
A1=LM35 (with 2k2 res ... |
Topic: ADC problems! |
verba
Replies: 3
Views: 8805
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2004 2:35 am Subject: ADC problems! |
I don�t know a lot about this, but why don�t you put the delay between the adc and the printf, then you give time to adc to read correctly.
Then, I think you need divide the frecuency of clock. In th ... |
Topic: Serial bootloader & RS232 & reset_cpu() |
verba
Replies: 9
Views: 23442
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2004 2:31 am Subject: Thanks jds |
Thank you for your answer jds.
I saw your antique post in the old forum (google is incredible ;-) and I tried code your solution to my micro 16f876, but the problem is that I�m newbie in pics and I d ... |
Topic: Serial bootloader & RS232 & reset_cpu() |
verba
Replies: 9
Views: 23442
|
Forum: General CCS C Discussion Posted: Mon Aug 23, 2004 3:29 am Subject: Doesn�t work |
Yes, I know that reset_cpu() only goes to reset vector, but I tried reset the registers of USART and that didn�t work.
I tried also the tiny bootloader, but it�s the same problem, when the micro does ... |
Topic: Serial bootloader & RS232 & reset_cpu() |
verba
Replies: 9
Views: 23442
|
Forum: General CCS C Discussion Posted: Fri Aug 20, 2004 2:08 pm Subject: Serial bootloader & RS232 & reset_cpu() |
I have problem. I designed a board to reset auto each day and self reprogramming, but I saw that it doesn�t reprogram with the bootloader when it resets itself (reset_cpu()) and I define the #use RS23 ... |
Topic: 2 PWM in 16F876??? |
verba
Replies: 2
Views: 7544
|
Forum: General CCS C Discussion Posted: Tue Aug 17, 2004 3:34 am Subject: Not for me |
I have 3.155
Is it possible that my version doesn�t compile correctly the PWM ? |
Topic: 2 PWM in 16F876??? |
verba
Replies: 2
Views: 7544
|
Forum: General CCS C Discussion Posted: Tue Aug 17, 2004 12:16 am Subject: 2 PWM in 16F876??? |
In the manual and in the datasheet, specifies that 16f876 has 2 PWM (C1 and C2).
I put this in the CCS:
setup_timer_2(T2_DIV_BY_1,9,1); //4Mhz, 100 Khz PWM timer
output ... |
|