It did not attach.
Try again but not drag and drop.
It did not attach.
Try again but not drag and drop.
Dave
Always wear safety glasses while programming.
Well, it seems strange how I had to do it, but it seems to have attached this time.
I just pulled my picoscope 3206 out of mothballs and tried to load the drivers for it, but my computer fails to recognize the usb port to which it is attached. I'll send pictures as soon as I get it going.
G
Hi Anand,
This one pdf includes 5 views of my Picoscope model 2306 screenshots (so you don't have to load the picoscope viewer software): 1st is the wide view of what looks like 4 pulse-groups, all on the screen at once [presumably 2 sets of pairs of pulse-groups, with a wider gap in between the pairs]; 2nd is a screenshot of a zoom in on the 1st of 4 sets of pulse-groups; 3rd is a zoom of the 2nd of 4 sets; 4th is the 3rd set of zoomed pulse-groups; and 5th is the 4th set of zoomed pulses in the last group.
Notice that these are all positive pulses with respect to ground. When there is no data traffic, then the PIC output to the psc05's opto-isolator is low (not pulling led current inside the opto-isolator). It seems to me that this is the way it should be, rather than inverted and pulling current without data traffic. If so, then the inverter, shown by x10pro, between the OEM equipment and the input of the psc05 really should not be there. But still, this does not activate any X-10 devices. I bought 3 psc05's, so I am about to build another identical circuit to eavesdrop on the other and compare what a real x10 remote sends to activate/deactivate house-1, module-1. Then, I can see the differences between my signal and the actual x10 remote signals, from the view of another x10 psc05's receive line.
Thanks very much,
G
Okay, set your receiver module to House 'A', Unit '1'.
Substitute the XOUT statements from your code to
XOUT PORTB.1,PORTC.5,[0\0,0\unitOn) 'Send an 'ON' to A1
and
XOUT PORTB.1,PORTC.5,[0\0,0\unitOff) 'Send an 'OFF' to A1
Lets see where this gets you; if it doesnt work I'll take a closer look at the waveforms, but I think that might be unnecessary.
BTW, connect your pic XOUT pin directly to the interface; as Dave pointed out the extra components are really not required.
Regards,
Anand
Hi Anand, and everyone else who responded to my plight,
Anand, Your suggested code worked like a charm, on the first try--THANK YOU !!!
I am thrilled to have it finally working. I'll need to go troubleshoot why my code did not work, so I can better understand my mistake and how not to repeat it in the future. And, whew--I'm sure glad to not need that other circuitry that X10pro showed in between the PIC-chip and the psco5.
Fantastic, and thanks again,
Guglulenun
Hi guglulenun,
I am glad you have got it working.
The problem was with the syntactic construction of your XOUT line.
Once you have defined the House and Unit codes, the line should be in the format:
XOUT SIG_OUT,ZEROX,[HOUSE\UNIT,HOUSE\unitOn]
Since you have included modedefs.com, you can also use all the pre-defined X10 commands directly .
Also, you can use byte variables for House and Unit, as they only go up to 16.
Regards,
Anand.
Bookmarks