thanx guys.it work....
Type: Posts; User: texas5; Keyword(s):
thanx guys.it work....
hi,can someone tell me why x-10 technology use a 120khz of frequency to burst into a ac power line???
wow.simple solution.haha.thanx a lot bruce.but are your coding mean i need to hold the push button to PWM on & release the button to PWM off...or push the button once to PWM on & push once again to...
hi all.my pic16f877a did generate the 125kHz with 50% (get from this forum,thanx) but i don't know how to turn it off.what i mean is if i push the button 1 pic will generate the pwm & when i push the...
thanx skimask...thanx Darrel Taylor...your explanation seem clear to me.so i just need to set the 'T2CON.2 = 0' after stopping the pwm and set it to 'T2CON.2 = 1' back if i want to burst it one more...
i really don't understand how to use the XOUT command.i just want to send the pwm signal at several time delay.lets say 1ms...so,is that correct if i use the following coding:
define osc 8
TRISC...
thanx Darrel Taylor...did u mean this:
define osc 8
TRISC = 0 'PORTC all outputs
main:
PR2 = 15 'Load Period Register
CCPR1L = 8 'Set 50% duty cycle
CCP1CON = %1100 'PWM mode
hi all.i want to send the 120khz with 50% duty cycle pwm signal only for 1ms.how can i do it.i'm using pic16f877a.the following code show how the pic generate the pwm signal:
define osc 8
TRISC =...
and one more thing.can someone guide me where do i need to start the coding.my main idea is...
transmitter:
1.press push button
2.detect each zero crossing(i don't know how to play with the...
ok.thanx a lot guys...
i've design the x-10 module using the application note from microchip(an236).
i refer to application note from microchip(an236) with a little modification(use only push button not push button + LCD).does xout & xin in the picbasic are x-10 driver.if so,that means i only have...
yes, i've look a the xin & xout command but i can't understand.how can i timing the 120khz to burst at each zero crossing???help me please.
i want to transmit data using x-10 powerline communication and receive the data at the receiver.but i don't have an idea how to do it.basically i just want to turn the LED at the receiver by just...
thanx...i will try it.
for example:
SO VAR portc.6 'tx pin for pic16f877a
SI VAR portc.7 'rx pin for pic16f877a
SERIN SI,N2400,["A"],B0 'Wait until the character “A” is received serially
am i correct???
thanx everyone.i can get 332khz with 50% duty cycle using OSC 20MHz...
i try to send data from vb to pic16f877a using serial port.can i use those code below???
code:
SO con 0 ' Define serial out pin
SI con 1 ...
hi.please help me.i still can't generate my 120khz pwm using pic16f877a.the maximum that i can get is 50khz using hpwm.and 80khz using my own modification...
thanx everyone.it's work.but i have another problem that i can't solve.feel free to check my new thread...
@ DEVICE pic16F877a, INTRC_OSC_NOCLKOUT
' System Clock Options
@ DEVICE pic16F877a, WDT_ON
' Watchdog Timer
@ DEVICE pic16F877a, PWRT_ON
' Power-On Timer
@ DEVICE pic16F877a, MCLR_OFF
' Master...
' Device Programming Options
' --------------------------
@ DEVICE pic16F628, INTRC_OSC_NOCLKOUT
' System Clock Options
@ DEVICE pic16F628, WDT_ON
' Watchdog Timer
@ DEVICE pic16F628, PWRT_ON...
thanx.i will work it out.if something goes wrong...i'll tell u guys...
hi,how can i use the internal comparator in pic16f877a.can someone help me with the coding please.my Vin is 3.40 and my Vref is 4.00.please help me...
oh no.my x-10 receiver circuit cannot detect 100khz-120khz pwm frequency.i've tested today and you know what, it need a 1Mhz pwm frequency.how can i generate it.oh nooo.