Joined
·
280 Posts
- This is a restart of my previous thread that for some reason disappeared -
During Christmas I started working on a wireless lap timer based on a wifi-module WeMos D1 mini. It is based on the very common wifi-chip ESP8266 which popularity have really skyrocketed the last year. The price of the modules is very low. The WeMos can be bought for about $4 on eBay.
The Lap timer for Scalextric SSD slot cars does not have its own display. The result page is presented as a webpage served by a web server running on the WeMos. A PC, tablet or smart phone can be used as long as it has a browser with HTML5 and javascript support. Most of the them do.
Lap timer features
False start is detected and halts the race if one contender is passing the start line within 0.1s after the start signal. The sinner will be indicated with flashing text.
The Winner will be indicated by a flashing text. A new All time high will also be indicated by flashing text.
The physical sensors (one for each track) need to be connected to D1 and D2 on the WeMos. More information (BOM, connection diagram etc.) can be found here
It is a very simple electrical schema.
The full code and all links can be downloaded from bitbucket here
Controls
The race is started in one of the following ways,
Pressing keys 1-6 choose how many players that will compete during the next race. One can also use the drop down menu.
Video/Pictures
Video showing one of the first versions, http://www.youtube-nocookie.com/embed/Et0g0cfqpfg?rel=0
Pictures of my early prototyping/setup here
The lap timer is under development. The software is working quite well, but more need to be done with the hardware. As a sensor I use ITR8307, but I might switch that for another type of sensor.
During Christmas I started working on a wireless lap timer based on a wifi-module WeMos D1 mini. It is based on the very common wifi-chip ESP8266 which popularity have really skyrocketed the last year. The price of the modules is very low. The WeMos can be bought for about $4 on eBay.
The Lap timer for Scalextric SSD slot cars does not have its own display. The result page is presented as a webpage served by a web server running on the WeMos. A PC, tablet or smart phone can be used as long as it has a browser with HTML5 and javascript support. Most of the them do.
Lap timer features
- 1-6 players
- All time high (best lap time all races)
- Best lap time last race
- Placement indexing
- False start indication
- Very few parts needed
- Start lights
- Start sound
- 1ms resolution
False start is detected and halts the race if one contender is passing the start line within 0.1s after the start signal. The sinner will be indicated with flashing text.
The Winner will be indicated by a flashing text. A new All time high will also be indicated by flashing text.
The physical sensors (one for each track) need to be connected to D1 and D2 on the WeMos. More information (BOM, connection diagram etc.) can be found here
It is a very simple electrical schema.
The full code and all links can be downloaded from bitbucket here
Controls
The race is started in one of the following ways,
- Click the physical button connected to D3 on the WeMos module
- Press letter R on the keyboard
- Press the Spacebar on the keyboard
- Click/point on the webpage where it says PRESS HERE TO RACE!
Pressing keys 1-6 choose how many players that will compete during the next race. One can also use the drop down menu.
Video/Pictures
Video showing one of the first versions, http://www.youtube-nocookie.com/embed/Et0g0cfqpfg?rel=0
Pictures of my early prototyping/setup here
The lap timer is under development. The software is working quite well, but more need to be done with the hardware. As a sensor I use ITR8307, but I might switch that for another type of sensor.