Skip to content

Latest commit

 

History

History

anchorArduino

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

anchorArduino

Installation

Prerequisite

Flashing

  1. Copy debug.h, def.h, and arduino.h from headers directory to here
  2. Edit a sketch file anchorArduino.ino
    • Edit networkId to have a specific integer so that all anchors and tags share the same value
    • Edit anchorId to have a unique integer
  3. Flash the sketch file

Wiring

Wire 3.3 V and ground as shown in below:

Figure from DWM1000 datasheet

  • IRQ: PIN_IRQ in the sketch
    • Default: Arduino Pro Mini pin labeled 2
  • RSTn: PIN_RST in the sketch
    • Default: Arduino Pro Mini pin labeled 9
  • SPICSn: PIN_SS in the sketch
    • Default: Arduino Pro Mini pin labeled 10 (SS)
  • SPIMOSI: Arduino Pro Mini pin labeled 11 (MOSI)
  • SPIMISO: Arduino Pro Mini pin labeled 12 (MISO)
  • SPICLK: Arduino Pro Mini pin labeled 13 (CLK)

State Diagram