Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 2.95 KB

WIRING_GUIDE.md

File metadata and controls

72 lines (49 loc) · 2.95 KB

Wiring Guide

Following you can find useful references for the hardware setup such as schematics and example breadboard wiring setups.

ESP01 Pinout:

esp_pinout

FTDI Wire Guide:

  • connect FTDI cable
    • black:GND, brown:CTS, red:VCC, orange:TXD, yellow:RXD, green:RTS

ftdi

Breadboard Wiring Guide:

Note:

  • 3.3v (red/purple)
  • gnd (brown - rightmost)
  • reset btn (brown centered)
  • flash btn (gray) Modes:
  • normal operation (btns released)
  • reset (left btn pressed)
  • flash (both pressed, left (brown) released first then right (gray))

Example breadboard setup with two buttons:

breadboard

And a more neat version produced by Robin Baran (@RBinsonB)

breadboard_soldered

breadboard_soldered_assembly

Debug serial interface

  • Connect ftdi cable with (vcc, gnd, ch_pd, tx(esp) -> rx(ftdi-yellow))
    • in terminal execute sudo screen /dev/ttyUSB0 115200 8N1

Common Problems

  • if device is busy use lsof | grep /dev/ttyUSB0 (for USB0) and shutdown the occupying process
    • Often QGroundControl is the culprit.

References

Preparation of PX4

  • flashing px4_fmu-v4 - install arm-none-eabi-gcc here. - in this repository root execute pip install -r requirements - in px4 firmware folder make px4_fmu-v4 upload

Connect to the Device