Posted: Mon Oct 03, 2011 9:22 am
I don't know if it will be useful for me. Anyway I'll download it at home and I'll try to see how it works.
Thank's
Thank's
Forum for JP1 remotes
http://hifi-remote.com/forums/
If you look at your waveform image and treat the pairs with the long off (up) times as "one" and the pairs with the short off times as "zero", you get the following string:michaelknight wrote:When I process the SWITCH OFF singnal it doesn't match with the binary code showed before. Where did you get that code?
If you go back to the first page and see the technical data that I posted about this signal, you will see that there is a leadin pair, so 4 units of OFF time is expected before the start of the data portion of the signal.michaelknight wrote:Now I see you consider the first peak as a start condition, the second one as a single 1 regardless the time it takes. I was trying to find a pattern to follow based in a piece of time or each bit. It's clear that's impossible cause 0 and 1 have different duration
The Robman wrote:(in Pronto hex)
ONE pair: 000F 0031
ZERO pair: 000F 0011
leadin pair: 0080 0041
leadout1 pair: 000F 0456
leadout2 pair: 000F 0E98
(raw times)
ONE pair: +425 -1300
ZERO pair: +425 -440
leadin pair: +3440 -1745
leadout1 pair: +425 -30,000
leadout2 pair: +425 -100,000
format: leadin, fixed data string, leadout1, leadin, variable data string, leadout2 (repeat leadout2 if button held)
I'm doing a climatic control system for a servers room. When the room is 30ºC the air conditioner starts. When it goes donw to 22ºC stops.The Robman wrote:So, now that we have confirmed that your signal is the same as the one discussed earlier here, can you remind us what you re trying to do? Given that we know the format of the signal, maybe we can help.
I think he is secretly developing the Knight Industries Two Thousand (KITT).The Robman wrote:So, now that we have confirmed that your signal is the same as the one discussed earlier here, can you remind us what you re trying to do? Given that we know the format of the signal, maybe we can help.
LOL, hence the "under cover" user id.eferz wrote:I think he is secretly developing the Knight Industries Two Thousand (KITT).
So basically, you are looking to have the computer send the correct IR signals to control the A/C, correct? If so, how do you input the protocol information into your computer?michaelknight wrote:I'm doing a climatic control system for a servers room. When the room is 30ºC the air conditioner starts. When it goes donw to 22ºC stops.
This is thought to save money during the winter in a small busines. I know there are systems more efficents but I was ordered to make it with the facilities previously installed in order to expend the least as possible. I'll use a PIC microcontroller.
I won't use a computer, I'll use a PIC micro controller. Anyway it's possible use a computer sending the signal to the IR led by the COM port. I din't try it but that's possible.The Robman wrote:So basically, you are looking to have the computer send the correct IR signals to control the A/C, correct? If so, how do you input the protocol information into your computer?michaelknight wrote:I'm doing a climatic control system for a servers room. When the room is 30ºC the air conditioner starts. When it goes donw to 22ºC stops.
This is thought to save money during the winter in a small busines. I know there are systems more efficents but I was ordered to make it with the facilities previously installed in order to expend the least as possible. I'll use a PIC microcontroller.
Once you know the binary code you have to say to the PIC when it has to send a 0 or 1. For example, for this sequence: 10101 you can write a code like this:The Robman wrote:So basically, you are looking to have a PIC micrcontroller send the correct IR signals to control the A/C, correct? If so, how do you input the protocol information into the PIC micrcontroller?
Code: Select all
array a=(1,0,1,0,1)
for(i=0, i<a.length, i++){
if(a[i]==1){
output_high;
delay;
}
else{
output_low;
delay;
}
}
This is the first time I deal with IR signals. Give me time to develop the project and I'll tell you the way.vickyg2003 wrote:I don't know about Rob, but I'm interested in how you get the 37700 Hz frequency and how how you spell out the timing.
Vicky, are you still trying to get your JP1 remotes to emit Gamma Rays? You know Bruce Banner is probably going to be stuck in his predicament for an awfully long time.vickyg2003 wrote:I don't know about Rob, but I'm interested in how you get the 37700 Hz frequency and how how you spell out the timing.