Skip to the content
2 layers80.1 × 22.5 mmAccel tag, the printed circuit board in 3D

Code for Bluetooth Low Energy bee tracking system

Size
80.1 × 22.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
15
Pads
64
Tracks, vias
231, 17
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Mar 2024
Updated
27 May 2026

Overview

Accel tag is an open-source printed circuit board by SheffieldMLtracking, from the SheffieldMLtracking/BLETrack repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 80.1 × 22.5 mm with 14 parts on 15 nets, routed with 231 tracks and 17 vias.

It is built around the DA14531-00000OG2. Its parts include 3 capacitors, 2 resistors, 2 ICs, 1 diode and 1 connector. It belongs with the radio and wireless boards of this library.

Main components

1

README

README.md

path

Code for Bluetooth Low Energy bee tracking system.

  • "Transmitter" folder contains the code to be flashed to the BT832X/BM832E transmitter board.
  • "Receiver" folder contains the code to be flashed to the DA14531 chip on-tag and the 'Active Scanner' code for testing & diagnostics.
  • "To Print" folder contains FreeCAD files of the transmitter housing.
  • "Path Inference" folder contains code to process data from tag/dev board
  • Test data stored here

Notes on Programming Transmitter

Transmitter programming:

  • Requires nRF Connect SDK.
  • Create a build for the nrf52dk_nrf52832 and add the included device tree overlay.
  • Connect nrf52dk and BT832X/BM832E to the computer via JLINK (done via micro USB cable). Connect DEBUG OUT on nrf52dk to DEBUG IN on BT832X/BM832E:nrf52dk_programming_example
  • flashthisfirst.c must be flashed to the BT832X/BM832E first - then main.c can be flashed.

NOTE: P0.31 is used for encoder output A, P0.30 for encoder output B and P0.11 for hall effect sensor input.

Receiver programming:

  • Requires Keil uVision and configuration of environment as shown here.
  • To program a receiver tag via flashing code to the OTP memory, follow these instructions. If you need to debug code on a tag, do not flash to the OTP. DA14531 USB Development Kit can be used as a serial wire debug probe to debug code on an external DA14531 chip on the receiver tag using this configuration of SWIO cables and DIP switches.
  • Note: binary for compiled DA14531 is found in Keil/DA14531_OUT/Objects.
  • Note: USB dev kit switches should be configured as shown: da14531_usb

Usage of the System

Setting Up Transmitters

  • Charge transmitters before field trial!
  • Each transmitter is placed onto a tripod across the landscape. The 0 degree point on the tripod (denoted by the small magnet on the base the transmitter sits in) should be pointed north using a compass before placing the transmitter itself upon the tripod. The transmitter should be level with the ground and mounted as high up as possible.
  • As each transmitter is turned on, the time between turning each on should be taken using a stop watch. This time is later used to zero the time readouts in the packets.
  • Using the "Active Scanner" code downloaded to the DA14531 USB Dev Kit, the serial output from the dev kit - which can be accessed using a serial terminal program such as Tera Term - should be used to verify the functionality of the tramsitters. The packets recieved by the active scanner are in the following form and should be assessed to ensure that the transmitter is in fact transmitting and that the motor is reading out ~360 degrees of rotation, resetting at the zero point. If there is an issue, the transmitter may need reprogramming, regarching or the motor encoder may have been knocked out of place. Screenshot from 2024-10-29 13-43-06
  • Each transmitter currently has a range of approximately 100m (further at peak signal strength but not currently used in angle inference algorithm). The area tracked should be covered by at least 2, preferably 3 transmitters.

Using a Receiever Tag

  • A programmed tag should be allowed to drain fully to hardware reset, then be charged and attatched to a bee.
  • Following retrieval, put the tag on charge and apply ground to the interrupt pin to switch the tag into transmit mode.
  • The data of each packet is encoded in the destination addr, in the same form as the transmitted packets except the RSSI of the packet is encoded in the leftmost byte. Using a bluetooth sniffer (reccomended nrf52 BLE sniffer) and Wireshark the transmitted packets can be read. The following filter shows only read packets:

btle.advertising_header.pdu_type == 0x01 && !_ws.expert && btle.advertising_address == 80:ea:ca:70:00:04

Performing Infernece

  • Instructions for performing path inference on data are located in PathInferenceFinalCut.inpyb

Parts

14
QtyValueFootprintReferences
210KResistor_SMD:R_01005_0402MetricR1, R2
2C_PolarizedCapacitor_SMD:C_0402_1005MetricC2, C3
1ABM13W-32MHzBeeTracking:Crystal_SMD_Abracon_ABM13W-4Pin_1.2x1.0mmY1
1AntennaBeeTracking:AntennaAE1
1CPH3225ABeeTracking:CAPCP3225X100N_improvedC1
1Charging ground pinBeeTracking:Charging_pad_0.75x2mmCHARGING_GND1
1Charging positive pinBeeTracking:Charging_pad_0.75x2mmCHARGING_POSITIVE1
1Conn_01x08BeeTracking:FPC_1x08_P1.00mm_plug_3mmJ1
1DA14531-00000OG2BeeTracking:DA14531_17-ball_WLCSPU2
1LEDBeeTracking:KPG-0402SURKKC-TTD1
1LIS2DU12TRBeeTracking:LGA-12L_LIS2DU12_STMU1
1TestPointTestPoint:TestPoint_Pad_1.0x1.0mmTP1

More from SheffieldMLtracking/BLETrack

8
  • 2 layers47 × 71.2 mmReceiver6 rep, the printed circuit board in 3D

    Receiver6 rep

    SheffieldMLtracking/BLETrack

    Code for Bluetooth Low Energy bee tracking system

    288 partsGPL-3.0
  • 2 layers64.9 × 8.9 mmFlatLEDtag, the printed circuit board in 3D

    FlatLEDtag

    SheffieldMLtracking/BLETrack

    Code for Bluetooth Low Energy bee tracking system

    11 partsGPL-3.0
  • 2 layers64.9 × 8.9 mmFlatLEDtag, the printed circuit board in 3D

    FlatLEDtag

    SheffieldMLtracking/BLETrack

    Code for Bluetooth Low Energy bee tracking system

    11 partsGPL-3.0
  • 2 layers11.8 × 38.4 mmReceiver6, the printed circuit board in 3D

    Receiver6

    SheffieldMLtracking/BLETrack

    Code for Bluetooth Low Energy bee tracking system

    10 partsGPL-3.0
  • 2 layers11.8 × 8.9 mmReceiver6, the printed circuit board in 3D

    Receiver6

    SheffieldMLtracking/BLETrack

    Code for Bluetooth Low Energy bee tracking system

    9 partsGPL-3.0
  • 2 layers11.8 × 39.2 mmReceiver6, the printed circuit board in 3D

    Receiver6

    SheffieldMLtracking/BLETrack

    Code for Bluetooth Low Energy bee tracking system

    8 partsGPL-3.0
  • 2 layers11.8 × 38.4 mmReceiver6, the printed circuit board in 3D

    Receiver6

    SheffieldMLtracking/BLETrack

    Code for Bluetooth Low Energy bee tracking system

    8 partsGPL-3.0
  • 2 layers11.8 × 8.9 mmReceiver6, the printed circuit board in 3D

    Receiver6

    SheffieldMLtracking/BLETrack

    Code for Bluetooth Low Energy bee tracking system

    3 partsGPL-3.0

Similar boards

  • 2 layers47 × 14.3 mmRring, the printed circuit board in 3D

    Rring

    state-of-the-art/rring

    Open source smart ring project

    63 parts97
  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0

Questions

How big is the Accel tag PCB?

It measures 80.1 × 22.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Accel tag use?

14 parts, built around the DA14531-00000OG2. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Accel tag KiCad files?

From the SheffieldMLtracking/BLETrack repository on GitHub, at the commit this page was made from: the board is Tag PCBs/2026 Tag Designs/Accelerometer_PCB_design_v1.0/accel_tag/accel_tag.kicad_pcb and its schematic Tag PCBs/2026 Tag Designs/Flat LED Tag 44uF Caps/Flat LED Tag/flatLEDtag/flatLEDtag.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Accel tag design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).