กลับไปหน้ารวมไฟล์
rc-wood-truck-car-diy-arduino-esp32-mit-app-inventor-b12fea-en.md

RC Control Wooden Monstertruck using Arduino IDE, ESP32, loudspeaker, lights and MIT App Inventor

This Christmas project turned out to be a lot of fun: an RC controlled Monster Truck using Arduino IDE, ESP32 and MIT app inventor. The Truck has following functions:

  • Speakers (you can play the imperial march from StarWars e.g.)
  • Lights
  • 4 motors
  • Bluetooth Control
  • Arduino Code and detailed steps are provided.

Full guide: https://www.lasercut24.net/rc-controlled-wood-monster-truck-arduino-ide-esp32-app-inventor/

RC wood truck in action
Lasercut Monster Truck

Woodcraft & Wi-Fi: Custom App Inventor RC Truck

Plastic RC cars break. The DIY RC Wood Truck project marries traditional woodworking craftsmanship with ultra-modern Wi-Fi telemetry. Instead of relying on a dedicated radio controller, you utilize the powerful ESP32 chip alongside MIT App Inventor to generate a custom steering wheel application directly on your smartphone screen.

ESP32 Wi-Fi Command Parsing

We are bypassing Bluetooth entirely for far superior range.

  1. The Server Mode: The ESP32 acts as a Standalone Access Point (AP Mode). It creates its own Wi-Fi network named WoodTruck_Network.
  2. You connect your Android phone to that specific Wi-Fi network.
  3. Inside the C++ code, the ESP32 hosts a tiny UDP (User Datagram Protocol) listener on port 8888.
    • UDP is faster than HTTP because it doesn't wait for "receipts." It just instantly catches packets!
    • if (udp.parsePacket()) { int command = udp.read(); executeMotors(command); }

Designing the Virtual Joystick (MIT App Inventor)

You must build the phone interface.

  1. In the MIT App Inventor web portal, you drag a Canvas image of a steering wheel and a throttle slider onto the screen.
  2. You code the visual math: When the user's thumb slides the throttle image upward, the app calculates the pixel distance (e.g., Speed = 255).
  3. You drag the "UDP Extension" block into the code. The phone instantly blasts the Speed=255 string over the Wi-Fi connection directly into the ESP32!
  4. The ESP32 updates the L298N Motor Driver PWM pin instantly, sending the heavy wooden truck flying across the dirt.

Integrating Crafting and Electronics

  • ESP32 Dev Board: Necessary for the UDP Wi-Fi server.
  • MIT App Inventor 2: Used to rapidly prototype the Android .APK.
  • L298N Motor Driver or BTS7960 (for massive motors).
  • Two high-torque 12V DC gear motors and heavy rubber off-road tires.
  • Custom-fabricated Wooden Chassis (Plywood or Pine) glued and bolted together to withstand immense impacts!

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

apps:
  - "1x Arduino IDE"
  - "1x MIT App Inventor"
author: "lasercut24"
category: "Motors & Robotics"
components:
  - "1x ESP32"
  - "1x PAM8302"
  - "4x Stepper Motors"
  - "1x Loudspeaker"
  - "1x Soldering iron (generic)"
  - "1x Jumper wires (generic)"
  - "1x Solder Wire, Lead Free"
description: "Classic craftsmanship meets IoT hardware! Carve a beautiful wooden chassis and embed an ESP32 to construct a high-torque Wi-Fi RC truck controlled natively from an Android dashboard."
difficulty: "Intermediate"
documentationLinks: []
downloadableFiles: []
encryptedPayload: "U2FsdGVkX1/a5Q8IiT44WSqoHYhXPPaJMpQJ009ZllC2CQXBlo68lX+SHZlMKu3OCb6QW3JSJU2n69/HSWiBh+52SWW8XEGAiaWh2kR0/ytzplBaYoPNR6DyB69dz+lc"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/rc-wood-truck-car-diy-arduino-esp32-mit-app-inventor-b12fea_cover.jpg"
lang: "en"
likes: 2
passwordHash: "ee3fbaee842e5c779a4dbff5356c734ff0db5f5c6e878aa41311e8301e4ca7cc"
price: 699
seoDescription: "Build a DIY wooden RC monster truck with Arduino and ESP32. Features Bluetooth control, lights, and sound via MIT App Inventor."
tags:
  - "app inventor"
  - "esp32"
  - "rc control truck"
title: "RC Wood Truck, Car (DIY): Arduino + ESP32 + MIT App Inventor"
tools: []
videoLinks:
  - "https://www.youtube.com/embed/oARdjZH79yI"
  - "https://www.youtube.com/embed/kIpZJSKs86M"
views: 7856