Laser Tag C00 – ESP32 Circuit and Software Setup

Love Jesus, Love Code

This “C” tutorial series will combine both the hardware and software together. It will also use ESP32 instead of ESP8266. The ESP8266 is adequate, while more expensive ESP32 allows for more expansion in the future.

SpecificationNodeMCUESP32Arduino UNO R3
CPUs121
Operating Voltage3.3V3.3V5V
Input Voltage3.5-12V via VIN3.5-12V via VIN5-12V
Digital I/O Pins163414 (6 PWM)
Analog Input Pins118 6
PWM Pins11216
UARTs131
SPIs141
I2Cs121
Flash Memory4 MBVaries (typically 4 MB)32 KB
SRAM64 KB520 KB2 KB
EEPROMNoneNone1 KB
Clock Speed80 MHz160 or 240 MHz16 MHz
Wi-Fi802.11 b/g/n802.11 b/g/nNone
BluetoothNonev4.2 BR/EDR and BLENone
USBMicro-USBMicro-USB/ USB CUSB-B
Power ConsumptionLowUltra-low powerLow
DimensionsVaries by modelVaries by model68.6mm x 53.4mm
ProgrammingArduino IDE, LuaArduino IDE, ESP-IDF, MicroPythonArduino IDE
Special FeaturesIntegrated Wi-Fi, Deep Sleep modeIntegrated Wi-Fi and Bluetooth, Dual-core CPUReplaceable ATmega328P chip, Robust design

I have chosen to use all the pins on one side of the ESP32. This allows all the data pins to be on the same side.

ESP32 Circuit Diagram:

Installing the Arduino Software

Go to the Arduino website and Click on Software and choose the right download option for your computer. When installing the software, make sure you allow all the drivers to install. Do not cancel any of the requests, or you will have difficulty making a connection to your ESP32.

Installing the ESP32 Board

Click on the Board’s manager icon and then search for esp32. Select esp32 by Espressif Systems.

Connect your board

Connect your computer to the ESP32 via usb

Then select the dropdown from the toolbar and select the DOIT ESP32 DEVKIT V1, and the port on the right hand side should have (USB) in the name.

Christian Content

This tutorial focuses on the proper setup of our software and provides a brief overview of the circuit required for the laser tagger to function. Proper planning is essential to position ourselves for successful project completion.

When God created the universe, He did so with intention and care. He methodically crafted an environment capable of sustaining life before placing humans within it. The sequence of creation itself reflects divine planning—light was created before plants, plants before animals, and habitats before their inhabitants.

Psalm 104:24 states, “How many are your works, Lord! In wisdom you made them all; the earth is full of your creatures.”

Even more revealing is God’s response to His own work. After each day, “God saw that it was good.” He did not rush; instead, He took time to evaluate each stage of creation, illustrating the importance of careful assessment and appreciation of progress. As Ecclesiastes 3:11 reminds us: “He has made everything beautiful in its time.”

The creation account concludes with a powerful statement in Genesis 1:31: “God saw all that he had made, and it was very good.” Note the shift from “good” to “very good”—the completion of His planned work brought special satisfaction.

Why not take a moment today to observe the ordered nature of God’s creation around you. Notice how complex systems work together in perfect sequence—the water cycle, the food chain, the changing of seasons. And give thanks to God for the wonderful world he designed and created.

Leave a Reply