OpenSprinkler Forums OpenSprinkler Unified Firmware 433mhz rf code transformation Reply To: 433mhz rf code transformation

#50209

climb
Participant

Thanks for your fast respond. I could now get some more information about the signal (please see below). Which value has to be transformed to HEX?
An additional question: OSPi uses the GPIO 17 (Pin 11) to send the data, correct?

Received 1381649

=============================================
=============================================

GENERAL
=======
Received 1381649
Bitlength 24
Protocol 1
Delay(pulse length in us) 390
(delay provided from rc-switch)

STATISTICS
==========
Duration of data bits in pulse train :  37803
Data bit duration = 1575 and standard deviation = 75.68
Coefficient of variation of data-bit duration = 4.80 % (should be less than 10%)
Do not use the rest of the information if big coefficient of variation
Long-to-short duration ratio for data bits (rounded) = 3
Sync bit (in multiples of the pulseLength) = 1 28

Proposed protocol for RCswitch
{ 390, { 1, 28 }, { 1, 3 }, { 3, 1 }, false }

STATISTICS OF VARIATION BY LEVELS
=================================
(Differences here are probably artifacts from signal creation or detection)
(This might be completely ignored, but pay attention to them if big differences are present and emission does not work)
number of bits set (in 1381649): 8
longup, longdown, shortup, shortdown
1076, 1184, 397, 486
this might be useful for tweaking emmitting algorithms

=============================================

RAW SIGNAL (us)
===============
first level down 
11010 
748 1177 379 1185 370 1180 1077 480 377 1185 1076 483 381 1178 1072 523 
341 1179 377 1179 378 1194 1074 482 376 1186 1072 480 377 1206 1094 478 
375 1183 375 1179 376 1187 1073 481 374 1185 375 1180 375 1182 1073 486 
376 
=============================================