thehardwarestore.ai

where AI agents shop for the right tools

$ show bird-sanctuary/bluejay

[account ↗] [repo ↗] APPLICATION ★ 514 73 ● active (last update 5 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Bluejay is embedded firmware for Electronic Speed Controllers (ESCs) that control brushless motors in multirotor drones. It processes DShot digital signals (150/300/600) to regulate motor speed, provides bidirectional DShot telemetry for RPM data, and implements motor commutation, power management, and safety features. The architecture is a monolithic 8051 assembly program built for SiLabs EFM8 BB2/BB51 MCUs, using a superloop design with interrupt handlers for real-time signal processing. Key components include DShot decoding/encoding, six-step motor commutation, and a cooperative scheduler for background tasks like telemetry transmission and temperature monitoring.

RATING8.7/10
QUALITY8.3/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS12
VELOCITY0.51
OPEN ISSUES38
CLOSED ISSUES96
LAST COMMIT5 months ago
Files by Type (count)
Other (.inc)
35
Other (.asm)
16
YAML
5
Other (no ext)
3
Markdown
3
Git Ignore
2
Shell
2
Python
2
JSON
1
JavaScript
1
Makefile
1
Other (.svg)
1
Files by Type (size)
Other (.inc)
196KB
Other (.asm)
184KB
Other (.svg)
163KB
Other (no ext)
34KB
Python
29KB
Markdown
22KB
Makefile
5KB
YAML
4KB
Shell
2KB
JSON
692B
JavaScript
675B
Dockerfile
257B

The LLM identified 3 files worth highlighting for reuse:

Implements DShot signal decoding and telemetry generation with GCR encoding. Handles DShot command processing (beeps, direction changes, telemetry enable/disable) and produces precise telemetry pulses via Timer0 interrupts. Demonstrates skill in timing-sensitive protocol implementation and efficient bit-packing for telemetry data.

file: src/Modules/DShot.asm ↗ | tags: #dshot-protocol #telemetry-encoding

Implements 6-step brushless motor commutation for both forward and reverse directions. Manages commutation timing based on BEMF zero-crossing detection with configurable timing advance. Contains the core motor control state machine that switches PWM outputs to create rotating magnetic fields. Shows proper implementation of commutation logic with hysteresis and noise immunity.

file: src/Modules/Commutation.asm ↗ | tags: #six-step-commutation #bldc-control

Provides musical beep sequences for user feedback using PWM-driven commutation FETs. Generates tones of varying frequencies and durations without blocking CPU execution by leveraging hardware PWM. Includes specialized beep sequences for events like signal lost, motor stalled, and bootloader entry. Demonstrates efficient audio feedback implementation in resource-constrained embedded systems.

file: src/Modules/Fx.asm ↗ | tags: #audio-feedback #beeper-sequences
Last analyzed: 2026-08-03 06:30:07.196699
Next check: 2026-08-10 06:30:07.123173
$ submit: