กลับไปหน้ารวมไฟล์
targetry-381290-en.md

Project Perspective

Targetry is an intuitive and simple target system layout for any electronics enthusiast. By utilizing an LDR and a laser pointer, you can build a fun and engaging target shooting system with ease.

Technical Implementation

The system uses an LDR as a sensor to detect when a Laser Pointer hits the target. When a hit is detected, the Arduino triggers a Piezo Buzzer and an LED to signal a success.

Hardware Infrastructure

  • Arduino Uno: The primary controller for the target system's logic and sensors.
  • LDR: Provides digital input based on the light level.
  • Laser Pointer: The projectile for the target.
  • Piezo Buzzer: Sound for each success hit.
  • LED: Provides a visual signal of each hit.
  • OLED Display: Provides real-time visual feedback on the number of hits.
  • Micro-USB Cable: Connects the Arduino to your computer for power and code.
  • Jumper Wires: Connect all the components together.

Monitoring and Logic

The Arduino code uses the Adafruit SSD1306 and Arduino libraries.

  1. Initialize: The Arduino initializes the LDR and OLED display.
  2. Polling: The Arduino constantly polls the LDR for any light level change.
  3. Hit Detection: When the light level increases significantly (laser hit), the code triggers the buzzer and LED.
  4. Scoring: The total number of hits is incremented and updated on the OLED display.

Software Execution

The code is designed to update the OLED display after each hit and keep it synchronized with the target system's overall status. This provides a highly responsive and engaging user interface.

Future Expansion

  • Custom Game Modes: Add a push button or a potentiometer to choose between different game modes (e.g., timed, lives).
  • External Feedback Integration: Connect to an external LED array or a web service for more complex feedback.
  • MQTT Integration: Connect to an MQTT broker for even more advanced IoT target monitoring.
  • Advanced Target Design: Use multiple LDRs for more precise hit detection and multi-target support.

Targetry is a perfect project for any electronics enthusiast looking for a more interactive and engaging target tool!

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

title: "Targetry"
description: "A fun and interactive target system designed for beginners."
author: "shassandanish1"
category: "Gadgets, Games & Toys"
tags:
  - "target"
  - "games"
  - "arduino"
  - "sensors"
  - "beginners"
views: 3125
likes: 2
price: 870
difficulty: "Intermediate"
components:
  - "1x Arduino UNO"
  - "1x LDR (Light Dependent Resistor)"
  - "1x Laser Pointer (Module)"
  - "1x Piezo Buzzer"
  - "1x LED (generic)"
  - "1x OLED Display"
  - "1x 9V Battery or Power Supply"
  - "10x Jumper wires (generic)"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "..."
encryptedPayload: "..."
seoDescription: "An intuitive and simple target system for beginners interested in Arduino projects with clear feedback."
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/targetry-381290_cover.jpg"
lang: "en"