Inhaltsverzeichnis

RCHourglass Zeitnahme

ToDo

Payalneg + alter decoder ging in der Halle gut

mit Schleifenbreite spielen, was ist die max. breite?

Decoder Gehäuse besser an GND anbinden

2. Schnittstelle aktivieren?

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

https://github.com/mv4wd/RCHourglass

https://www.rctech.net/forum/radio-electronics/1002584-rchourglass-diy-lap-timing-aka-cano-revised.html

https://www.rctech.net/forum/radio-electronics/688396-transponder-design.html

http://rc-auto.ru/forum/index.php?s=2874794e18a6632e9c873096d90c13bb&showtopic=20470&st=40

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

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 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.

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-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Command </font>

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

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

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

<font 10pt/-apple-systemrgb(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-systemrgb(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-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>LICENSE </font>

<font 10pt/-apple-systemrgb(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-systemrgb(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>

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


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

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

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>Extended Cano mode with hits, voltage, quality and temp reporting</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>The decoder works in CANO emulation mode with decode of transponder number</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>The decoder works in CANO emulation mode without decode of transponder number</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>Emulation for AMBRC protocol.</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>writes to serial <font inherit“>everypacket read by the loop, without any decoding. Useful to check circuit performance/issues.</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>Emulation of TranX protocol</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>All traffic from the other serial is loopbacked here with character < for incoming messages and > for outgoing messages</font>

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-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit><font inherit„>Command</font>

<font 10pt/-apple-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Time commands</font>/-apple-system;;inherit;;inherit>Command</font>

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

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Time commands</font>/-apple-system;;inherit;;inherit>Return the curent time of the decoder in quarters of ms</font>

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Time commands</font>/-apple-system;;inherit;;inherit>SET TIME [t]</font>

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Time commands</font>/-apple-system;;inherit;;inherit>Sets the curent time of the decoder in quarters of ms. [t] is in hex</font>

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-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Transponder management</font>/-apple-system;;inherit;;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>


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

<font 10pt/-apple-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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>

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


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

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

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

<font 10pt/-apple-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>ABORT </font>

<font 10pt/-apple-systemrgb(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>

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>


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 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.

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-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>Command </font>

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

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

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

<font 10pt/-apple-systemrgb(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-systemrgb(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-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>Decoder ports</font>/-apple-system;;inherit;;inherit>LICENSE </font>

<font 10pt/-apple-systemrgb(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-systemrgb(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>

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


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

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

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>Extended Cano mode with hits, voltage, quality and temp reporting</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>The decoder works in CANO emulation mode with decode of transponder number</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>The decoder works in CANO emulation mode without decode of transponder number</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>Emulation for AMBRC protocol.</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>writes to serial <font inherit„>everypacket read by the loop, without any decoding. Useful to check circuit performance/issues.</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>Emulation of TranX protocol</font>

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Mode setup commands</font>/-apple-system;;inherit;;inherit>All traffic from the other serial is loopbacked here with character < for incoming messages and > for outgoing messages</font>

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-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Startup mode setup commands</font>/-apple-system;;inherit;;inherit><font inherit“>Command</font>

<font 10pt/-apple-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Time commands</font>/-apple-system;;inherit;;inherit>Command</font>

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

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

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Time commands</font>/-apple-system;;inherit;;inherit>Return the curent time of the decoder in quarters of ms</font>

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Time commands</font>/-apple-system;;inherit;;inherit>SET TIME [t]</font>

<font 10pt/-apple-systemrgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Time commands</font>/-apple-system;;inherit;;inherit>Sets the curent time of the decoder in quarters of ms. [t] is in hex</font>

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>/-apple-system;;inherit;;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>


 <font 10pt/-apple-system;rgb(36, 41, 46) font-family: -apple-system; font-size: 10pt;;;inherit>Configuration, beeper and led management</font>"><font inherit"><font inherit/-apple-system;;inherit;;inherit>Command</font>|   \\  <font 10pt/-apple-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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>

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


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

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

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

<font 10pt/-apple-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(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-systemrgb(36, 41, 46) font-family: -apple-system font-size: 10pt;;;inherit>PIC programming commands</font>/-apple-system;;inherit;;inherit>ABORT </font>

<font 10pt/-apple-systemrgb(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>

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>