Author |
Message |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Thu Oct 19, 2017 3:57 am Subject: ADC problem with output bridge diode |
A solution came to my mind... Output of the bridge frequency is 100 Hz. I will be trying to count. If we suppose there will be 2 times 3V level, we should measure 200 times 3V. I will count 3V and det ... |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sun Oct 15, 2017 12:08 pm Subject: ADC problem with output bridge diode |
Ok, I understand I have to change circuit. I failed first trying after button Application in ccs c.
Thank you |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sun Oct 15, 2017 8:19 am Subject: ADC problem with output bridge diode |
Due to the codes are belong to Ttelmah, i will be waiting Ttelmah's comment. |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sun Oct 15, 2017 5:47 am Subject: ADC problem with output bridge diode |
Last status is LED, relay, buzzer always flickering but when i apply +5V to AN4 all is working constantly. Code is below.
#include <16F676.h>
#device ADC=10
#FUSES NOWDT ... |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sun Oct 15, 2017 3:27 am Subject: ADC problem with output bridge diode |
Thank you, most logical solution seems to be detect peak level. Please ignore schematic, as i said before i am new user here and it was Proteus and i did not know about PIC101.
Now i measure 2.4V ... |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sat Oct 14, 2017 12:42 pm Subject: ADC problem with output bridge diode |
Do you think we can build any other solution without capacitor ?
For example, if we take random sample then calculate average of voltage...
I have not heard before and could not find any other e ... |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sat Oct 14, 2017 11:00 am Subject: ADC problem with output bridge diode |
I tried... Same result. i will check again. i can not prefer to assume everything is integer because i should adjust it as 2.5 or 3.5 etc. |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sat Oct 14, 2017 10:06 am Subject: ADC problem with output bridge diode |
Thank you Jay, one more time you found my fault. I have set it as setup_adc(ADC_CLOCK_DIV_16); but now LED is always blinking ... But i want LED is ON if voltage is above 3V.
I do not have 1HZ LED ... |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sat Oct 14, 2017 9:32 am Subject: ADC problem with output bridge diode |
Yes, after your code correction, i have not encountered "possibly invalid clock frequency" bla bla... but my circuit can not still work. |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sat Oct 14, 2017 8:55 am Subject: ADC problem with output bridge diode |
http://www.furkanmuhendislik.com.tr/pro.jpg |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sat Oct 14, 2017 8:50 am Subject: ADC problem with output bridge diode |
Hi Jay , Sorry you have confronted a stupid person here below last codes and still there is no light LED on C5
#include <16F676.h>
#device ADC=10
#FUSES NOWDT //No ... |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sat Oct 14, 2017 8:30 am Subject: ADC problem with output bridge diode |
Thank you all , here is my code , it can work in ISIS simulation , just i encounter "ADC conversion period (5e-07) is possibly invalid for device clock frequency" message. But it can not wor ... |
Topic: ADC problem with output bridge diode |
mereach
Replies: 28
Views: 51031
|
Forum: General CCS C Discussion Posted: Sat Oct 14, 2017 5:54 am Subject: ADC problem with output bridge diode |
I am new in CCS C programming language. Is there anyone help me on an issue ? The problem is about ADC application with 16F676 microcontroller.
With using ADC function, I am trying to read effecti ... |
|