The inspiration for this project came primarily from this: http://harrierleague.com/chiptimingdiy/
An open-source hardware and software solution to running club level fell racing events safely and accurately.
There are many commercial and DIY systems around, so why create yet another?
Simple: convenience and low cost.
Convenience comes from zero maintenance, zero setup, zero impact on competitors and ease of use through only requiring any modern web browser on any device with WiFi to use it.
Low cost comes from using readily available industry standard hardware modules that are glued together using free open source software.
To produce a stand-alone device that can be used for all, or any, of:
- competitor registration (pre-entry or on-the-day)
- start confirmation (the readers can cope with mass starts)
- check point visit confirmation (CP self configures via GPS)
- finish registration
- lost/late competitor alerts
- resource tracking (marshals and vehicles)
- automatic results publication
- self powered for at least 24 hours
And all of this with real-time feedback from CPs on the course to the race organisers HQ (or anywhere else), even in mountainous terrain with no mobile phone coverage.
In the context of the 2020 Covid-19 pandemic there is scope to use this system while maintaining social distancing. By pre-registering and pre-placing the readers, races could be run by individuals and results collated automatically. All the competitor would need to carry would be the tag which could be posted to them. Going further, the tag could completely identify the individual (like 'dibbers' but far cheaper) so not even registration (pre or otherwise) would be required. Rather like Park Runs, just turn up and go.
The main component is the use of UHF RFID readers/tags. These are the type of RFID systems typically used for auto entry car parks and road tolls. They have the advantage of very low cost tags (10p each if bought in bulk) and long range reading (3 metres or more) which means competitors do not have to stop at CPs (nor even slow down). As long as they get within range of the reader they'll be recorded. The disadvantage of UHF is the higher cost of the readers (compared with for e.g. NFC, as found in modern smartphones), but if carefully sourced (i.e. China!) the cost is not prohibitive. Another disadvantage is the comparatively high power requirement (you don't get long range without broadcasting a lot of power!), but intelligent power management can mitigate this.
On top of the UHF tag readers is the use of all the modern comms capabilities to ensure a connection back to HQ, and/or the internet, can always be achieved. The comms include: Wifi, GPRS (mobiles) and LoRa (long range low power radio).
And finally, to allow the device to self configure from its location, a GPS module so it knows where it is and can behave accordingly.
The glue for all this is a low cost compute module, e.g. an ESP32 microcontroller. That provides the interface to everything via an embedded web server that can be accessed through any web browser on any device via WiFi.
The only other equipment required to run this system is any phone, tablet, laptop or desktop PC with WiFi and a browser. Where the internet is visible, this will also provide limited access to that. In particular, there will be no software download/install required, it all comes embedded in the device. That will auto update itself any time it can see the internet.
- UHF readers (with circularly polarised antennas so runner orientation does not matter), there are lots on alibaba.com (the Chinese equivalent of Amazon), ranging from $68 (US) upwards, plus shipping/tax, allow £80 per reader (e.g. ACM-812A on alibaba.com)
- ESP32 module with LoRa, about £25 (e.g. Makerhawk - £23), provides the comms, WiFi and LoRa and a USB interface for software development
- SIM800L GPRS modem (mobile), about £5, provides the internet link over the mobile network when one is visible
- GPS module, about £15 (e.g. Makerhawk - £13)
- Battery, 18650 Li-Ion batteries (like used in electric cars), about £15 for 8, need 4 per station, so allow £10 per station
- Case, a waterproof case to house all the electronics tidily (use an electrical junction box), allow £10
- Mounting poles and/or tripods, allow £10
- IoT SIM card, 1nce.com £10 for 500MB valid for 10 years (but need to be a company), or ThingsMobile.com (£10 for 100MB, never expires)
- PCB (later, initially use a breadboard and wires), e.g. pcbgogo.com $5 for 100mm x 100mm x 2 layers, allow £5
- Other odds and ends, cables, connectors, power regulators, level converters, et al, allow £10
This brings the total hardware cost to around £180 per unit.
- Libraries for the microcontroller and modules hardware (everything you can think of, and then some!)
- Station glue software, part of this project (lives on the microcontroller)
- Web app, the application users of the system interact with, runs in the browser, part of this project (lives in the cloud, use Mint language for front-end, Python for back-end?)
- acquire prototype hardware (done)
- build proof of concept prototype (1 station, in progress, complete by Apr 2021)
- build demo prototype (3 stations, registration, start, finish, May 2021)
- dummy test 'race' with a few competitor volunteers (June 2021)
- use demo prototype in parallel with existing systems to gain usage feedback (whenever first race is!)
- iterate
- full implementation
- roll out (10+ stations)
- initially use a crude vero/matrix board layout