Полная версия этой страницы:
Help with PIC16F876A
maharadga
Jan 22 2013, 11:25
Здравейте. Имам нужда от корекция на програма за PIC16F876A. Не разбирам от програмиране.
Пращам файл. Схемата работи, но има един проблем. Когато няма товар на изхода, показанието на I не е 0,000А, а в зависимост от обхвата е както следва:
1А - 0,001 А
2А - 0,002 А
4А - 0,004 А
8А - 0,008 А
Това може ли да бъде коригирано?
Също така искам обхватът да бъде разширен до 30 V. Ако някой може да помогне, ще бъда много благодарен.
Срещу заплащане, естествено.
Цитата(maharadga @ Jan 22 2013, 14:25)

Здравейте. Имам нужда от корекция на програма за PIC16F876A. Не разбирам от програмиране.
Пращам файл. Схемата работи, но има един проблем. Когато няма товар на изхода, показанието на I не е 0,000А, а в зависимост от обхвата е както следва:
1А - 0,001 А
2А - 0,002 А
4А - 0,004 А
8А - 0,008 А
Това може ли да бъде коригирано?
Също така искам обхватът да бъде разширен до 30 V. Ако някой може да помогне, ще бъда много благодарен.
Срещу заплащане, естествено.
Write in English, if with Russian a problem. Bad Russian.
maharadga
Jan 22 2013, 13:33
[quote name='Danis' date='Jan 22 2013, 14:03' post='1129786']
Write in English, if with Russian a problem. Bad Russian.
[/quote
This is bulgarian, not russian. Here is the english:
"...Hi there. I need correction program for PIC16F876A. I do not understand programming.
Sending file. The scheme works, but there's one problem.
When there is no load on the output reading of I is not 0.000 A, and depending on the scope is as follows:
1A - 0,001 A
2A - 0,002 A
4A - 0.004 A
8A - 0.008 A
Can this be corrected?
I'd also like to extend coverage to 30 V. If anyone can help I would be very grateful.
For a fee, of course... :-)....."
find line:
Код
printf(write_car_lcd,"%01ld,%03ldA",amp_lue/disp_a,amp_lue*disp_ma);
and replace
Код
printf(write_car_lcd,"%01ldA ",amp_lue*disp_ma);
maharadga
Jan 24 2013, 10:26
I replace this, but can't compile asm. Here is error mesage:
>>> Warning 208 "alim876a.c" Line 49(1,19): Function not void and does not return a value comparer_Iset_Ilue
*** Error 112 "alim876a.c" Line 87(1,1): Function used but not defined: ... comparer_Iset_Ilue SCR=382
1 Errors, 1 Warnings.
Build Failed.
I not understand of C. So, if someone help me, I will be happy.
so so so...
Was project good compiling before replace?
maharadga
Jan 24 2013, 13:22
Also can't compile it before replace. I found this circuit in net. I not understand programming.
I need help and I wrote.
Then I can't help for you.
I recomend reading books "programming C", "programming ucontrollers PIC" etc.
maharadga
Jan 24 2013, 13:58
Looking for help for a fee, and as I wrote above. I do not want to read books. I will not teach programming. If anyone understands programming microcontrollers and could not work, let's write a miroslav66@mail.bg. From time to time I need such assistance. Like I said, I do not need free help.
Для просмотра полной версии этой страницы, пожалуйста,
пройдите по ссылке.