MidTBot

From TSAS Library
Jump to: navigation, search

Setup

  1. Print 3d parts from Thingiverse
  2. Collect hardware from BOM—note the ESP32 is the dev version
  3. Purchase controller from Bart Dring's Tindie store
  4. Assemble it
  5. Download GRBL Esp32 firmware and unzip
  6. Download and install Arduino IDE
    1. Open Arduino IDE. Preferences > copy stable release link to Additional Boards Manager URLs field.
    2. Choose Tools > Boards > Board Manager, choose "esp32" by Espressif
    3. Choose Tools > Boards > ESP32 Arduino > "ESP32 Dev Module"
    4. Choose Sketch > Include Library > Manage Libraries, search "TMCStepper" from teemuatlut
    5. Copy contents of "Libraries" folder in Esp32 firmware downloaded above to Arduino's Library folder
    6. Choose File > Open, find Grbl_Esp32 folder downloaded above, open "Grbl_Esp32.ino" within Note that only one file will open within the IDE
  7. Edit Grbl_Esp32-main\Grbl_Esp32\src\Machine.h, replacing #include "Machines/test_drive.h" with #include "Machines/midtbot.h" then save
  8. Match settings to image
    GrblArduinoSettings.png
  9. Compile and upload Important Watch the compilation process. Once it is complete, the monitor at the bottom will display "Connecting...." When this happens, press and hold the "BOOT" or "IOO" button on the ESP32 until "Writing at..." is displayed.
  10. Choose Tools > Serial Monitor and press the EN (reset) button on the ESP32. If output is garbled, check that baud rate in the monitor is 115200
  11. Continue instructions on Dring's midTbot Wiki
  12. Connect to web server "GRBL_ESP" with p/w 12345678
    1. index.html.gz is located in the .../data folder of /Grbl_Esp32-master
  13. Continue instructions here

Troubleshooting

Can't find "#define CPU_MAP_ESP32"?

Change #define CPU_MAP_ESP3 to #define CPU_MAP_MIDTBOT instead.

Won't connect when compiling (Windows)?

Change cable several times, checking Device Manager for changes. If still no response, install "CP210x USB to UART Bridge VCP Drivers" from ESP32.net

Missing library?

Double-check that the contents of the "Library" folder in the Grbl_ESP32.zip file pulled from github are copied to the libraries folder ...Documents/Arduino/libraries.

"Hard resetting via RTS pin"?

It's done.

See also

Video guide