3D Printed Rover Will Be IoT.

by アロー明和レーシング in Circuits > Robots

8486 Views, 82 Favorites, 0 Comments

3D Printed Rover Will Be IoT.

mecanum10.jpg

3D printed Mecanum Rover will be IoT.

It is Mechanum Wheel Rover which can be created with 3D printer.

The Mechanum Wheel can move freely to left and right, up and down, diagonal.

We will control Mechanum Rover with WIFI connection.

ESP8266EX is used for control.

Rover link websocket.
rover(ESP8266 running web server port:80 and websocket server port:81)

--your wifi rooter

--http cliant(tested android chrome)

YOUTUBE:

YOUTUBE:

# Sorry for my poor English. I'm using the Google machine translation.

Hardware Preparation

mecanum12.jpg
mecanum11.jpg
mecanum13.jpg

(1) The rover to 3D printing.

(2) To connect the ESP8266, motor driver and Rover.

  • DC motor driver use TOSHIBA TA7291P.
  • Please see Step3(1) include("esp_WebSocketServer.ino") for GPIO-PIN used in ESP8266.

Software Preparation

(1) Install the environment for ESP8266 on ArduinoIDE.

  • caution: esp8266-arduino Ver 2.0.0 over on ArduinoIDE.

https://github.com/esp8266/Arduino

(2) add library.

https://github.com/Links2004/arduinoWebSockets

https://github.com/me-no-dev/ESPAsyncTCP

https://github.com/bblanchon/ArduinoJson

(3) add IDE extention(Arduino ESP8266 filesystem uploader).

https://github.com/esp8266/arduino-esp8266fs-plugin

Install the Rover Control Software.

(1) Download rover controll sketch.

https://github.com/arrowmeiwaracing/mecanumrover

(2) Install rover controll sketch.

  • WIFI of SSID, PASSWORD is set in the JSON format file(config.txt) on the ESP8266 file system.

Run

mecanum14.png
mecanum_wheel_pos.png

(1) Connect to the ESP8266 web server(port:80) with a browser.

  • e.g. http://192.168.1.99/
    index.html will be downloaded from the HTTP server.
    http server port at 80. websocket server port at 81.

(2) You can move four tires separately.

  • Client is essential that the touch event pick up. e.g. iPhone, Android phone and tablet.

Software Update With OTA

(1) This sketch contains the OTA function.

  • OTA for the code to sketch in order to update the firmware in the OTA via WIFI you have is described.

http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html

end of line.