Table of Contents

This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to https://www.bitcraze.io/ and go to the menu 'products'.

LPS Node

Connects and buttons:

  1. uUSB: Used to power board (and have command-line interface)
  2. DC-jack: Power (5V)
  3. Terminal: Power (5V)
  4. Reset: Reset the board
  5. Exp connector: Designed for ESP8266 but can be used for other things. Note: Pin-out changed between RevD and RevE (see blow)
  6. USR & DFU: If pressed and held during reset or power on this will put the board into DFU bootloader mode. When the system is up and running the button is unused, but could be used to trigger functionality in the firmware.
  7. SWD: Connector for programming and debugging MCU. Uses same pin-out as Crazyflie 2.0 and this adapter can be used to connect debuggers.
  8. FTDI: Connector designed for the FTDI serial-to-USB cable (TTL-232R-3V3). Can be used as a serial port for debugging and to power the board. Note that signals are 3V3 and power is 5V.
  9. M3 mounting holes

MCU controlled LEDs:

  • POWER: On when board is powered
  • RANGING: Blinking when ranging is in progress
  • SYNC: TDB
  • MODE: On in Anchor mode, off in Tag mode and blinking in Sniffer mode

DWM1000 controlled LEDs:

  • TX: Transmitting
  • RX: Receiving
  • SFD: Received packet timestamp
  • RXOK: Packet received without error

Firmware

Anchor low level configuration

Building and flashing

Building and flashing is described in the repository. It is possible to flash the board both using SWD and DFU.

To make the project type:

make

When developing on the node you will want to flash with an SWD debuger as it is faster and allow for debugging the code. The project is configured by default to use StLink-V2 but it can use any debugger compatible with OpenOCD. To flash with SWD type:

make flash

For just flashing the latest version or for ocasional development flashing via DFU is good enough and does not required any additional hardware. Flashing via DFU requires dfu-utils (>=0.8) and Python (>=2.7). To enter DFU mode hold down the DFU button (see 6 above) while power on or resetting the board. To flash the firmware via DFU type:

make dfu

Schematic

Schematic of the Loco Positioning Node: