T200 - ESP32 based robots

This robot car uses the ESP32 to control its actions. The hardware setup is similar, but the upgrades come in software. This is an upgrade from the Arduino Uno powered T100. Now WiFi and Bluetooth are build in. And way more storage for our programs.

Robot

Hardware and materials

All materials were ordered at CỬA HÀNG IC ĐÂY RỒI. This is the list:

  1. Khung Xe Robot 68.000₫
  2. Kít RF thu phát Wifi BLE ESP32 180.000₫
  3. Mạch điều khiển động cơ DC DRV8833 20.000₫ motor driver
  4. Đế test board, bread board 85x55mm 15.000₫
  5. jumper wires 19.000₫
  6. Đồng hồ đo Vôn (Volt) 3.5-30V 22.000 ₫

This requires 324.000₫ or $14 USD. For higher speed and the use of PWM capabilities it is recommended to upgrade the powersource:

  1. Pin Cell 18650 4200mAh 3.7V 2x 35.000 ₫
  2. Hộp đế pin 18650 loại 2 cell 7.000 ₫

The initial setup is wired the following:

Here is the image from Fritzing missing …

Building steps

Software

T200 basic

Here the robot just blinks with the LED, attached to pin 2, and drives the motors forward and backward. The motor controller is connected to pins 16, 17, 18 and 19.

T200 BT

The robot can be controlled, using Bluetooth 2.0 with the software … steps follow, straigt forward.

T200 BLE basic

Using the software … the arrow keys forward and backward.

T200 BLE PWM

Now we make use of the analog controller stick and its 255 values to drive the motors with PWM.

Details, instructions and pictures can be found in the Wiki.