กลับไปหน้ารวมไฟล์
dragster-racing-lights-christmas-tree-4f61e7-en.md

The main purpose of the project is to create a DIY solution for dragster lights in order to have an affordable solution for someone who wants to practise his/her reaction time and calculate the total time.

Project Perspective

The Dragster Racing Lights project (also known as a "Christmas Tree") is an affordable, DIY solution for racers to practice their reaction times. By using an Arduino Uno, lasers, and a 3D-printed enclosure, you can build a professional-quality timing system for your driveway or scale-model racing.

For detailed infromations about how the lights function can be found to the following links:

https://en.wikipedia.org/wiki/Christmas_tree_(drag_racing)

https://www.autoweek.com/racing/nhra/a35431274/how-nhra-christmas-tree-works-and-what-colors-mean/

Race Start Mechanics

Following the official NHRA (National Hot Rod Association) standards:

Pre Stage

Pre Stage is the first level where the <> break the laser. When the front tires of a race vehicle break the first of those two light beams, the top blue led lights on as we see on the following picture where we disrupt the first laser and the top blue led lights on.

Stage

Stage is the second level where the <> break the laser. When the front tires of a race vehicle break the second of those two light beams, the down blue light comes on as we see on the following picture where we disrupt the second laser and the down blue led lights on together with the top blue led light.

After both blue leds light up, a random time duration between 1-3 s is generated in order to light up the next 3 yellow lights. When the yellow leds light up, there is a margin of 0.4 s in order for the green led to light up.

Technical Implementation: Laser Precision

Unlike traditional push-button systems, this project uses KY-008 Laser Transmitters and Laser Receivers to detect the precise moment a vehicle moves:

  • Valid Pass: If the driver leaves the line exactly as or after the green light, the system records a valid run.
  • Red Light (Foul): If the tires move and "un-break" the laser beam before the 0.4s green light window, the Red LED lights up immediately, signaling a disqualification.

If the driver, leave the line before <0, 4 s, his/her pass is invalid due to their reaction time was lower than 0, 4s and so the red led lights up. This can be seen on the following video.

If the driver, leave the line after >=0, 4 s, his/her pass is valid and the green led lights up. This can be seen on the following video.

Valid Pass (Green Light)

Invalid Pass (Red Light)

Finishing Line

Here is the last point where the total time of the pass is calculated and also the exit speed of the vehicle. The speed of the vehicle is not calculated in this project. Maybe in the near future, the calculation of speed will be added.

Hardware Infrastructure

  • Arduino Uno: The central timing brain that manages millisecond-level precision.
  • RGB Backlight LCD: Displays the runner's reaction time and status (Valid/Invalid).
  • KY-008 Lasers: Providing a focused beam that won't be triggered by ambient light.
  • 3D Printed Chassis: Designed in Fusion 360 and sliced with Cura to hold all LEDs and sensors in a vertical "tree" configuration.

Deployment & Assembly

For the 3D Printer parts, the Creality Ender 3 Pro printer was used. For the creation of the 3D parts (.stl), the Autodesk Fusion 360 was used and for the generation of the (.gcode) the program Ultimate Cura was used.

This is the first version of the project and is done in a trial level. The next level of the project is to transfer and test it on real dimensions (bigger leds, find appropiate lasers and laser receivers for these dimensions,...), but also find an efficient way to calculate the exit speed of the vehicle. In the end, it has to be easy to move from place to place.

Key Learnings

  • Timing Accuracy: Using millis() and micros() for precise measurements instead of simple delay().
  • Interrupts: Using digital interrupts to capture the fast motion of wheels breaking a laser beam.
  • Signal Filtering: Handling noise in laser receivers to prevent "ghost" triggers.

This project is the ultimate training tool for anyone serious about drag racing or timing-based sports!

Because I am constantly changing the code for impovements, the code will be published when the whole project is finished (on real dimensions). I would like to read your suggestions on the comments.

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x Arduino IDE"
  - "1x Ultimate Cura"
  - "1x Fusion 360"
author: "Stamatis13"
category: ""
components:
  - "1x RGB Backlight LCD - 16x2"
  - "2x LED, Blue"
  - "3x KY-008"
  - "1x 5 mm LED: Green"
  - "1x 3D Printer (generic)"
  - "1x 5 mm LED: Red"
  - "1x Arduino UNO"
  - "3x Laser Receiver"
  - "3x 5 mm LED: Yellow"
description: "DIY Drag Racing lights with Arduino UNO based on the system of Christmas Tree."
difficulty: "Intermediate"
documentationLinks: []
downloadableFiles: []
encryptedPayload: "U2FsdGVkX18RJ0d2EDoAsrBWy8awspREt1YJo1xBG3EHtLCqz39xWjMfMT6kzfvaIp9xdiOYYhcftRnxiGMBLbI2kjYVKqM7hmNqZCXbHgKWgDR57O0DcAlsv+uwOUijkFb8HyYo75VZ/5fe8Xgobg=="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/dragster-racing-lights-christmas-tree-4f61e7_cover.jpg"
lang: "en"
likes: 3
passwordHash: "fedcae0b515d666d15eb80faef43db716de179293cb5de0963fbfbe6ca8c0547"
price: 1120
seoDescription: "Build DIY Drag Racing lights using Arduino UNO based on the Christmas Tree system. Perfect project for racing enthusiasts."
tags:
  - "lights"
  - "smart appliances"
title: "Dragster Racing Lights (Christmas tree)"
tools: []
videoLinks:
  - "https://www.youtube.com/embed/FWAU_fQNLeE"
  - "https://www.youtube.com/embed/tQxKv4OTglk"
views: 1728