Introduction: Smartphone-Controlled FPV Car (No Code)

About: With Grablo, Anyone can create amazing IoT projects quickly and easily, without writing a single line of code.

This tutorial shows how to build a smartphone-controlled FPV (First-Person View) car using Grablo's visual programming blocks. Stream live video to your phone and control the car with an on-screen joystick—drive your robot from anywhere, even outdoors using mobile hotspot!


What You'll Build

A smartphone-controlled FPV car with:

  1. Real-time camera streaming to your smartphone
  2. Intuitive joystick control via mobile dashboard
  3. Differential drive steering using wheel speed differences
  4. Outdoor capability using mobile hotspot

Supplies

Required Components

  1. Raspberry Pi (any model with camera support)
  2. Raspberry Pi Camera Module or USB webcam
  3. L298N motor driver
  4. 2x DC motors with wheels
  5. Robot chassis (Arduino-compatible car chassis works great)
  6. Power bank for Raspberry Pi (5V/2A minimum)
  7. 2x 18650 batteries (in series) for motors
  8. Jumper wires


Wiring: Refer to attached wiring diagram


⚠️ Critical Notes:

  1. Keep Raspberry Pi and motor power supplies separate
  2. Connect common ground between Raspberry Pi and L298N

Step 1: Quick Start

  1. Download and install Grablo software on your Raspberry Pi
  2. Wire components according to circuit diagram
  3. Get this project
  4. Open Grablo app on your smartphone browser
  5. Enter Raspberry Pi's IP address and run

To build it yourself, continue to Step 2.

Step 2: Create Dashboard

Create Project & Dashboard

  1. Go to https://app.grablo.co
  2. Click "Create Project"
  3. Name your project
  4. Create a new dashboard


Add Widgets

  1. Camera Widget: Create a new camera with default settings.
  2. Joystick Widget: Create X and Y variables, assign to joystick. Keep min/max at -100/100.


💡 Tip: Adjust mobile dashboard layout for smartphone control. You can fine-tune it later on your phone.

Step 3: Create Logic

Control 1 - Start Camera

Start the camera once when the project begins.

  1. Condition (Once): Run once at startup
  2. Action (AI Camera): Start camera, leave AI Analysis empty


Control 2 - Motor Control

Control wheel speeds based on joystick input.

  1. Condition (Always): Run continuously
  2. Action 1 (I/O Device Control): Set left motor speed
  3. Action 2 (I/O Device Control): Set right motor speed


Motor Speed Formula

For differential drive steering without a servo:

  1. Left wheel: Y + (X × 0.4)
  2. Right wheel: Y - (X × 0.4)

The 0.4 ratio prevents overly sensitive turning. Adjust to your preference.

Step 4: Connect to Wi-Fi

With Monitor/Keyboard: Click the Wi-Fi icon in the top right corner.

Without Monitor (SSH):

  1. Connect via SSH using Putty
  2. Run sudo raspi-config
  3. Select System Options → Wireless LAN
  4. Enter Wi-Fi name and password

For Outdoor Use (No Wi-Fi):

  1. Turn on your smartphone's hotspot
  2. Connect Raspberry Pi to hotspot
  3. Find Raspberry Pi's IP in hotspot settings → Connected devices
  4. Use that IP address to connect


Step 5: Launch Your Project

That's it—you're done!


Launch Your Project

  1. Open Grablo app on your smartphone browser
  2. Select your project
  3. Click Connect and enter Raspberry Pi's IP address
  4. Hit RUN and drive!


Expected Results

When you run your project:

  1. Camera feed appears in real-time on your phone
  2. Push joystick forward: car moves forward
  3. Push joystick backward: car reverses
  4. Steer left/right: car turns using differential drive
  5. Release joystick: car stops
  6. Works anywhere with Wi-Fi or mobile hotspot


Step 6: Video Tutorial

Watch the complete build process in action!

Step 7: Expand Your Project

Add more functionality:

  1. Distance sensor for collision avoidance
  2. Voice control (STT) and voice output (TTS)
  3. LED effects


Troubleshooting

No camera feed:

  1. Check camera connection and settings
  2. Try different camera index for USB camera

Car not responding:

  1. Verify GPIO wiring and battery charge
  2. Check Wi-Fi/hotspot connection

Steering feels wrong:

  1. Adjust X-axis ratio (0.3~0.5)
  2. Swap motor direction (True/False)


Resources

  1. Website: https://grablo.co
  2. Download: https://grablo.co/download
  3. Web App: https://app.grablo.co
  4. Docs: https://doc.grablo.co
  5. Support: support@grablo.co