Slot Cars Laser Triggered Lap Time Glcd Display

About the project

I bought a pair of KY008 laser modules and a matching sensor, and I knew I had to make some cool project with it.

Project info

Difficulty: Easy

Platforms: Arduino

Estimated time: 2 hours

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Gravity: VL53L0X ToF Laser Range Finder Gravity: VL53L0X ToF Laser Range Finder x 1
Arduino MKRFOX 1200 Arduino MKRFOX 1200 x 1

Software apps and online services

Arduino IDE Arduino IDE

Story

Intro

I bought a pair of KY008 laser module and a matching sensor, and I knew I had to make some cool project with it. So took the pair, and created an electric time keeping gate for the slot car track that was already on the table for my self-driving slot car project.

The Hardware

The 3 main components are the laser module, laser receiver sensor and the GLCD screen.

I really love using GLCD, you can find info on the pin-out here: https://playground.arduino.cc/Code/GLCDks0108/

And you can download the library from here:

https://bitbucket.org/bperrybap/openglcd

I created a nice and easy connector for it, as showed in the image below.

The KY008 laser module has 3 pins, -, + and S, I just shorten both the S and the + to the 5V. If you do not want the laser to be on all the time, connect the S pin to a digital pin on the Arduino. when ever you set it high the laser will turn on.

The sensor has 3 pins as well, GND, VCC and SIGNALE. connect to power and the input pin on the Arduino.

The hardest challenge in this build was to get it all aligned.

You can watch the final result in this clip.

Code

Untitled file

Credits

Photo of talofer99

talofer99

Maker @ heart

   

Leave your feedback...