here is my PFC code!!
I solved my problem changin PFC8583 to DS1302 :-)
Define LOADER_USED 1
;Define OSC 20
Define LCD_DREG PORTD ' Define LCD connections
Define LCD_DBIT ...
Type: Posts; User: uludere72; Keyword(s):
here is my PFC code!!
I solved my problem changin PFC8583 to DS1302 :-)
Define LOADER_USED 1
;Define OSC 20
Define LCD_DREG PORTD ' Define LCD connections
Define LCD_DBIT ...
pfc 8583 is counting 1 minute in 2 minute ?
and second is counting to 99?
thx elektroline!!
i am going to send my problem on monday !!
thx thx thx !!!!
some pics! has two usart !! as far as i know 18f6620 has rx1/rx2 and tx1 /tx2
how can we use hserin for control these two channel at the same time !!
I tried to use this convertion subroutine ( I found this code form our forum !! thx)
for a=0 to 59
if decx=a then decx=$a 'This loop does not work. The one who knows how...
thx!
i can read and setup time !
but , clock counts very slow !! I couldnt adjust with variable condansator !!
please help !!
thanks for your kind response
!
i started to read PFC
these codes works properly !!
i2cread sda,scl,$A2,2,[S] 'sec
i2cread sda,scl,$A2,3,[M] 'minute
i2cread sda,scl,$A2,4,[H] 'hour
but i couldn't set time ?
i connected resistors..
i couldn't read and write clock data from PFC?
ps: i read previous topics but i couldn't find solution ...
I want to use PFC8583 . But i coludn't get/set any data .
I tried
i2cread sda,scl,$A2,2,[S]
i2CWrite sda,scl,$A2,4,[H]
andi changed $A2 =%10100010 ------> %10100001..
and what...
does it work properly with my ex program which is writen for 16f877 ..!!
I couldn't see any differenece!!
you can check this site! May be helpfull
http://home.student.utwente.nl/s.p.ekkebus/portfolio/resource/sms_pdu.html
thx for your kind response..
i want to try the RMS method, would you mind sending about it ?
if the file is big , you can send to my email adresss.. [email protected]
http://www.melabs.com/resources/samples.htm
here is a program for dimmer may be helpful for you?
' Lamp dimmer
' ===========
'
' File name : LampDim.bas
No problem for Delay!
we are looking forward your sch. & code sample!
thx
thx you very much rob !!
I wrote this code. for AC measurment . But i didn't check on real device!
does it work ? It worked with DC :-)
If you can send any cirtuit and detail , it will be help...
thx rob
i understood like this..
i am going to Read this input ,which is reduced to 2.5 V ac, every 50 uS.
then i am going to add all values at each cyle !!
thx
I want to measure upto 300 V AC/ 50 Hz. I have 16f877 20 MHz ..
but any other appliction maybe helpfull !!
Hi everyone.
I really need help wiyh a AC voltmeter. How can i measure AC voltage?
does anybody know any link ? any code sample !
thx
you can enter this code at the begining of your program ..
@ ERRORLEVEL -306 ; turn off crossing page boundary message
u can use like this
SerIn2 pinin,baud,200,start,[WAIT("X"), STR tempStr\8\"Z"]
your welcome ...
this schema. for rx and tx port ..
file uploaded