Exciting Update: My Remote-Controlled Robot is Moving!

in voilk •  2 months ago

    Hello DIYHUB community!

    As many of you have seen in my previous posts, I have been working on a remote-controlled robot powered by an ESP32 microcontroller, a small DC motor, and a servo motor.

    Today, I’m thrilled to share some exciting progress – my robot is finally moving! However, there’s also some bad news: the two lithium batteries I salvaged from an old laptop didn’t last long. So, for this demo, I had to use a direct power source with an adapter. But don’t worry—I’m not giving up and will keep pushing forward.

    1. Improvements and Modifications

    1.2 Front Steering System

    I started by reinforcing the front steering mechanism. Initially, I used metal brackets attached with hot glue, but after testing, I realized this setup wasn’t delivering the desired results.

    20250129_234949.jpg

    After searching through my workshop, I found some plastic brackets and envisioned a more efficient way to use them.

    20250130_010659.jpg

    I drilled a few holes, reshaped them, and eventually created a sturdier mechanism.

    20250130_010739.jpg
    20250130_011023.jpg
    Additionally, I repurposed an unused electrical junction box as the robot’s main body. Inside, I found two plastic pieces that suited my needs. With a bit of cutting and drilling, I shaped them into functional components.

    20250130_014720.jpg

    20250130_015117.jpg

    20250130_020030.jpg

    Next, I used a special curtain bracket, cut and modified it, and measured precise hole placements with a ruler and marker. I then drilled two holes on the front body to mount a metal piece securely.

    20250130_050103.jpg

    20250130_050437.jpg

    20250130_053854.jpg

    20250130_054044.jpg

    After putting everything together, I noticed that the front of the robot now had a rugged, utilitarian look—almost like an old-school Jeep or a classic Land Rover! This gave me an idea for future aesthetic modifications.

    20250130_065101.jpg

    Looks pretty cool to me 😁
    20250130_065233.jpg

    1.2 Completing the Circuit Board

    Once I was satisfied with the initial design, I focused on assembling the circuit board. Since I was using a perfboard, I first planned the layout mentally, ensuring an efficient wiring scheme before starting the soldering process. Here’s how I wired it:

    DC motor direction pins: GPIO 22, 23

    DC motor enable pin: GPIO 19

    Servo motor pin: GPIO 25

    Power connections: Properly routed VIN and GND

    For power management, I needed 5V for the ESP32 and servo motor and 12V for the DC motor. To achieve this, I wired the system so that the power supply could deliver both 12V directly and 5V through a step-down converter. I used two different methods for the connections: direct soldering and soldering with insulated wires to ensure durability and reliability.

    20250130_202046.jpg

    20250130_203301.jpg

    11.2v for the DC motor:
    20250130_204054.mp4_snapshot_00.16_[2025.01.31_07.20.04].jpg

    5v for the ESP32 and servo:
    20250130_204054.mp4_snapshot_00.28_[2025.01.31_07.20.27].jpg

    20250131_005151.jpg

    20250131_045918.jpg
    The whole wiring under the per board, both wiring techniques used(direct soldering and soldering with insulated wires):
    20250131_080439.jpg

    1.3 Fine-Tuning and Testing

    With the circuit complete, I returned to refining the front steering system. I mounted the servo motor in its designated position but realized that the attachment hole on its horn was slightly too small. To fix this, I used a drill to widen the hole, ensuring an easy fit for the screw.

    20250131_021734.jpg

    I then attached a rectangular plastic piece to the servo and connected a coated wire between the two front wheels, making sure it was taut and secure. The final step was to fasten the servo arm to the center of this wire using a zip tie. This setup allowed the servo to precisely control the front wheels’ movement.

    20250131_050209.jpg

    During the initial tests, I set the servo’s movement range from 0° to 180°, but this didn’t match the desired steering angles. After trial and error, I found that the optimal range was 95° to 115°, with a default center position at 107°.

    I ran multiple tests to ensure that the steering was responsive and stable. Watching the robot move and turn accurately was incredibly satisfying—one of those moments when all the effort finally pays off! Here is a video of the results on my YouTube channel:

    https://www.youtube.com/shorts/0PWLze48OQE

    2. Battery Failure & Lessons Learned

    When everything was ready, I attempted to power the system using my salvaged lithium batteries, but they had completely failed. This led me to investigate how to determine whether a battery is truly dead.
    20250131_064804.jpg
    How to Check if a Lithium Battery is Dead

    To diagnose a dead lithium-ion battery, simply measure its voltage with a multimeter. A healthy 3.7V lithium-ion battery should never drop below 3V when empty. If it does, it may no longer be safe or functional.

    In my case, the batteries were well below the usable voltage range, confirming that they were completely dead. This was disappointing, as I had hoped to power the robot wirelessly.

    20250131_064922.jpg

    For now, I had to rely on an adapter to run the demo. However, this experience taught me the importance of using reliable power sources for robotics projects.

    What’s Next?

    I’m far from finished! Here are my plans for the next set of upgrades:

    • Upgrade to stronger materials like aluminum for key structural parts.
    • Find better batteries to replace the failed ones. Li-Po batteries would be ideal, but they are expensive, so I may settle for lithium-ion.
    • Paint the robot body and add a custom design—any suggestions?
    • Further optimize performance, refine the movement algorithm, and possibly add a wireless control interface.
    • Explore sensor integration to add automation capabilities.

    This project is a continuous learning experience, and I truly appreciate all the support and feedback from the DIYHUB community. Let me know what you think—do you have any suggestions for improvements? Any ideas for modifications or enhancements?

    Thanks for following along! I still have a lot of upgrades planned for this robot, and I’ll keep you all updated. Stay tuned for the next improvements!

    🚀 Happy building!

      Authors get paid when people like you upvote their post.
      If you enjoyed what you read here, create your account today and start earning FREE VOILK!