Benutzer-Werkzeuge

Webseiten-Werkzeuge


amb_zeitnahme

Dies ist eine alte Version des Dokuments!


RCHourglass Zeitnahme

Tests

Werkstatt PC hat mehr Hits als Laptop (Messung nochmal wiederholen)

Decoder Lochraster + Cano amplifier =⇒ 31,2 Hits

Decoder Lochraster + Payalneg =⇒ 65,2 Hits

Decoder PCB + Payalneg =⇒ 50 Hits

Payalneg hat viel mehr Amplitude, ist aber unsymetrisch

Schleife

Wieviel der Bits werden für die ID verwendet? ⇒ alle

Niedrige Qualität kann schon plausibel sein. Jede 2. Message ist RC4, von 4 RC3 Message ist eine eine Status Message.

Schaltung relativ unabhängig von Schleifenlänge, 3×0,3 m keine Jumper. Wenn kleiner dann erst Jumper verwenden

Oder mit breite der schleife spielen

Induktivität der schleife messen geht mit Transistortester nicht. Sollte so bei 20…100µH liegen.

Transponder

180° PSK

99bits in einer Message entspricht ungefähr den 24 Hex Werten in Monitor mode

200ns Periode

FC0A - RC4

F916 - RC3 oder z.B. 7916 erstes Bit wird nicht bewertet

Preamble 16bit 0XFFFF

ID 24bit 0XFFFFFF

Protokol

115200 Baud

Transpondernummer + ms viertel (hex)

Decoder protocols

RCHourglass can use different protocols to send passages information to the lap timing software:

  • <font 12pt/-apple-system;;inherit;;inherit>Cano/Cano classic protocol derived from original Cano decoder</font> * <font 12pt/-apple-system;;inherit;;inherit>RCHourglass protocol, similar to Cano protocol, but passage informations have some extra info like number of hits/quality/voltage/temp</font> * <font 12pt/-apple-system;;inherit;;inherit>AMBRc serial protocol</font> * <font 12pt/-apple-system;;inherit;;inherit>Tranx serial protocol</font>


<font 10pt/-apple-system;;inherit;;inherit><font 12pt„>nnnnnn is an ASCII HEX string that represents the transponder number.</font> * <font 12pt/-apple-system;;inherit;;inherit>tttttttt part is an 8 character ASCII string representing the passage time in quarters of milliseconds from decoder startup.</font>

Example record

23E35500075A06

Transponder: 0x23E355= 2351957

Time in quarter of ms = 0x00075A06= 120.449 seconds

The RCHourglass protocol passage record is 25 characters long in the format nnnnnntttttttt-idhhqqvvtm

The first 14 characters are the same as Cano protocol.

  • <font 12pt/-apple-system;;inherit;;inherit>id the decoder ID (part of the decoder setup)</font> * <font 12pt/-apple-system;;inherit;;inherit>hh the number of hits received from the transponder</font> * <font 12pt/-apple-system;;inherit;;inherit>qq quality indicator of read (0-100%).</font> * <font 12pt/-apple-system;;inherit;;inherit>vv voltage in 1/10 of V</font> * <font 12pt/-apple-system;;inherit;;inherit>tt temperature (+100 °C offset)</font>

All numbers a ASCII Hex.

Example record

23E35500075A06-01152A3787

Transponder: 0x23E355 = 2351957

Time in quarter of ms = 0x00075A06 = 120.449 seconds

Decoder ID : 0x01

Hits : 0x15 = 21 hits

Quality : 0x2A = 52%

Voltage: 0x37 = 5.5V

Temperature: 0x87 - 100 = 35°C

NOTE Temperature and voltage info are read only from RCHouglass transponder firmware to be developed. Values are 0 for measure not available.


<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Command </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Description </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Note </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>VERSION </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Returns the current firmware version. </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Example: RC Hourglass v0.5 beta </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>LICENSE </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Returns the licensing terms. </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Multi line response. Last line contains 'Marco Venturini' </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit> </font>

Note that any derivative work MUST respond to LICENSE command with the same licensing terms.


<font 10pt/-apple-system;;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Mode setup commands</font>

The mode setup commands will make the decoder change the emulation mode of the current port until power off. These commands respond with an echo of the mode set (not a SUCCESS response)


 Command|   \\
 Description|

 RCHOURGLASS MODE|   \\
 Extended Cano mode with hits, voltage, quality and temp reporting|

 CANO MODE|   \\
 The decoder works in CANO emulation mode with decode of transponder number|

 CANO CLASSIC MODE|   \\
 The decoder works in CANO emulation mode without decode of transponder number|

 AMBRC MODE|   \\
 Emulation for AMBRC protocol.|

 MONITOR MODE|   \\
 writes to serial <font inherit">everypacket read by the loop, without any decoding. Useful to check circuit performance/issues.|

TRANX MODE|
Emulation of TranX protocol|

LOOPBACK MODE|
All traffic from the other serial is loopbacked here with character < for incoming messages and > for outgoing messages| NOTE for AMB emulation this is an emulationfor AMBRC protocol. Passage records with number of hits and low voltage indicator are supported. This is to use the decoder with lap timing softwares that do not support CANO protocol. Low voltage bit is rised with a voltage threshold set in the decoder configuration


<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>Command </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>Description </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>SET SERIAL [CANO : CANO CLASSIC : RCHOURGLASS : TRANX : AMBRC : OFF] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>Set power on mode for the serial port </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>SET USB [CANO : CANO CLASSIC : RCHOURGLASS : TRANX : AMBRC : OFF] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>Set power on mode for the USB port </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>GET SERIAL </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>Returns startup serial mode: SUCCESS GET SERIAL [mode] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>GET USB </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit>Returns startup USB mode: SUCCESS GET SERIAL [mode] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit> </font>


<font 10pt/-apple-system;;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Time commands</font>


 Command|   \\
 Description|

 GET TIME|   \\
 Return the curent time of the decoder in quarters of ms|

Example:

GET TIME

Response

SUCCESS GET TIME 00075A06

Current time in quarter of ms = 0x00075A06 = 120.449 seconds

To set the same time:

SET TIME 75A06


<font 10pt/-apple-system;;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Transponder management</font>

The RC4 transponders can be detected only after they've been registered in the decoder memory. RC4 Hybrid should not need registration.

As for version Beta 3, a maximum of 40 transponders can be kept in the memory and persist even in case of power disconnection.


<font 10pt/-apple-system;;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>How to register RC4 transponder</font>

Place and stop the car above the wire.

The blue LED on the PSOC board should be well lit.

Avoid any other car passage. Issue the command REGISTER <font inherit“>tx number, for example REGISTER 3462137 The decoder will start learn and return success or failure. In case of failure, reposition the car and/or check correct loop connection. In case of success, the 12 most important 'packets' of the transponder are reported, with the number of hits for each one. A minimum number of hits above 30, with the maximum above 100 is a very good target. The registration can use a nickname for the transponder, like REGISTER 3462137 MARCO. The nick name will appear in the list of registered transponders. The last option is to make a transponder 'important' that is it's never going to be 'kicked out' of the memory if the limit of 40 transponders is reached. Important transponders can be only deleted manually. When the memory is full, the oldest non important transponders are deleted to make room for the last registered one. For example, to register yours as an important transponder, write REGISTER I 3462137 MINE where MINE is the optional nickname. Learn process can be interrupted with the ABORT command, but it will timeout if no transponder is detected. The LIST command will show the registered transponders. The DELETE tx number, for example DELETE 3462137, will remove a transponder registration from the decoder memory. The INFO tx number, will show registration informations for a specific transponder. This commands are made to backup on the computer registration informations. Flashing a new firmware will EREASE the registrations done.


<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Command </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Description </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>GET LED </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Returns SUCCESS LED [duration] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>SET LED [0-255] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Sets led notification in ms when passage is detected. Duration 0 = no led notification. </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>GET BEEPER </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Returns SUCCESS BEEP [duration] [divider] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>BEEP </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Emit a beep </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>SET BEEP [0-255] [0 or 6-30] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Set beep notification in ms when passage is detected. Duration 0 = no beep notification. Divider sets beeper frequency: 0 is only pulse, otherwise frequency is 20kHz/divider, where divider must be <font inherit„>between 6 and 30</font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>GET ID </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Returns SUCCESS GET ID [0-255] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>SET ID [0-255] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Sets decoder ID </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>GET VMIN </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Returns SUCCESS GET VMIN [0-255] where the number is voltage threshold in 1/10 of volts </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>SET VMIN [0-255] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit>Set the voltage threshold to actiate low battery warning voltage is value divided by 10. 0 = no warning. Max Voltage = 25.5V </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>/-apple-system;;inherit;;inherit> </font>

NOTE a 50 ms blank time is always inserted in case of multiple close car passages.


<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>Command </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>Description </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>DETECT </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>Returns the model ID of pic in the programming socket </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>BEGIN PROGRAMMING </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>Begin PIC programming </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>ERASE DEVICE </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>Erase pic in socket. Must be in program mode </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>WRITEMEM [V] </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>Write PIC memory at given address. [V] option is to verify written data. Address is in HEX ASCII. The Data is expressed as sequence of max 10 words each one expressed with 4 ASCII character. PIC programming must be started before writing memory </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>END PROGRAMMING </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>End PIC program mode </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>ABORT </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>Ends programming or RC4 learn </font>

<font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit> </font>

DETECT response is multi line. The last line is SUCCESS PIC MODEL NNNN where *<font inherit“>NNNNis Hex part number ID. A value of 3066 sould be reported for PIC 16F18313.

Eingefügt aus <https://github.com/mv4wd/RCHourglass/wiki/CommandReference>


amb_zeitnahme.1548793724.txt.gz · Zuletzt geändert: (Externe Bearbeitung)