RCHourglass DIY Lap Timing (AKA Cano revised)
#48
Thread Starter
Tech Regular
Joined: Mar 2015
Posts: 358
Looking into the code I'm afraid I need to patch RCHourglass decoder firmware, since it reads all the packets (RC3 and RC4). So the rule to register a transponder, that is 3 equal packages in a row, might not work if Hybrid transponder alternates between RC3 and RC4 packets. Unfortunately I don't have a hybrid transponder (actually I don't have any mylaps transponder) to check it. I'll make the update anyway in the firmware.
#49
Thread Starter
Tech Regular
Joined: Mar 2015
Posts: 358
The problem with sending out voltages 'custom' packets can make the transponder not work with Mylaps decoder, not the opposite, so it's not a decoder default to be set. This of course for the published numbers that come from Howard original code. If you go with your own numbers and don't mind for Mylaps compatibility, the protocol can be expanded without problems.
One main issue is that Cano protocol from decoder to PC does not allow to send voltage information to the scoring software (or temperature or hits).
One main issue is that Cano protocol from decoder to PC does not allow to send voltage information to the scoring software (or temperature or hits).
#50
Tech Rookie
Joined: Jan 2018
Posts: 1
Looking into the code I'm afraid I need to patch RCHourglass decoder firmware, since it reads all the packets (RC3 and RC4). So the rule to register a transponder, that is 3 equal packages in a row, might not work if Hybrid transponder alternates between RC3 and RC4 packets. Unfortunately I don't have a hybrid transponder (actually I don't have any mylaps transponder) to check it. I'll make the update anyway in the firmware.
Is it possible to monitor signal strength?
#51
Tech Initiate
Joined: Feb 2010
Posts: 23
The problem with sending out voltages 'custom' packets can make the transponder not work with Mylaps decoder, not the opposite, so it's not a decoder default to be set. This of course for the published numbers that come from Howard original code. If you go with your own numbers and don't mind for Mylaps compatibility, the protocol can be expanded without problems.
One main issue is that Cano protocol from decoder to PC does not allow to send voltage information to the scoring software (or temperature or hits).
One main issue is that Cano protocol from decoder to PC does not allow to send voltage information to the scoring software (or temperature or hits).
I didnt think of that yes I want to keep the RC3 compatible with the mylaps decoder going to need a another PIC pin for a mode select too. I need to order some PIC16F18323 along with some other items from digikey. I will do that in 2 weeks. I will look over the asm code closer in the mean time.
My track uses RC3/RC4 I will get a one of the hybrid at some point to have a transponder that I know will work no problems. Plus I want to have a look at the RC4 stuff
#54
Tech Apprentice
Joined: Oct 2014
Posts: 61
From: St-Legier
The LED will be minted on the case. I have ordered some mercury switch
to only power the print when mounted on the fork.
Actually I have mesure a current from 1.7 mA hope is ok.
Thor
#56
Tech Apprentice
Joined: Oct 2014
Posts: 61
From: St-Legier
if you make a new firmware for the decoder, can you add a beep
on every transponder decoded, on an output pin, it is very useful
to seen when a racer is missed.
Thanks
Thor
#59
Tech Apprentice
Joined: Oct 2014
Posts: 61
From: St-Legier
Hello,
I will order some ESP32 module to test if it is possible to make a transponder with it,
in datasheet is specified that the PWN could be used with a frequency of 8 Mhz.
It as temp sensor, hall and Wifi/Bluetouch.
ht_p://espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
and is small too..
Edit: Docs:
<<
The LEDC may be used for providing signals at much higher frequencies to clock other devices, e.g. a digital camera module. In such a case the maximum available frequency is 40 MHz with duty resolution of 1 bit. This means that duty is fixed at 50% and cannot be adjusted.
>>
Thor
I will order some ESP32 module to test if it is possible to make a transponder with it,
in datasheet is specified that the PWN could be used with a frequency of 8 Mhz.
It as temp sensor, hall and Wifi/Bluetouch.
ht_p://espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
and is small too..
Edit: Docs:
<<
The LEDC may be used for providing signals at much higher frequencies to clock other devices, e.g. a digital camera module. In such a case the maximum available frequency is 40 MHz with duty resolution of 1 bit. This means that duty is fixed at 50% and cannot be adjusted.
>>
Thor
Last edited by mroc; 01-25-2018 at 11:29 PM. Reason: Added max frequency for PWM
#60
Thread Starter
Tech Regular
Joined: Mar 2015
Posts: 358
The temp sensor is available also in the PIC, but it gives the chip die temperature... usually we're interested on motor temperature and sticking the pic to the motor is not possible. An external connector to a temp sensor might be better. The critical part for PWM is generating exact 5Mhz bpsk signals and sometimes with the dividers/frequencies available in some chips this is not possible at all. Datasheet need to be deeply studied to check this possibility. Wifi and bluetooth are great but probably overkill for such use... I'm investigating VDD dac conversion and writing down a protocol to send this info to the decoder. When ready I'll update the firmware.



231Likes