Chat

Welcome to Flux

Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More

Explain project
Write a project description
Find schematic issues
Create a test plan
Simulate a circuit
Prepare for Manufacturing
Component Selection Workflow
New Subsystem Wizard
Write I2C initialization code
Generate firmware skeleton
U4
U1
J1
U2
R5 P2 - R6 P2
U3 GND_2 - C17 P2
U3 GND_2 - C17 P2
U3 GND_2 - C17 P2
J1 EH - U4 GND
U3 GND_2 - C17 P2
U3 GND_2 - C17 P2
U3 GND_2 - C17 P2
U3 GND_2 - C17 P2
U3 GND_2 - C17 P2
J1 EH - U4 GND
U3 GND_2 - C17 P2
U3 GND_2 - C17 P2
U2 GND - C19 P2
R5 P2 - R6 P2
U3 GND_2 - C17 P2
R5 P2 - R6 P2
U3 GND_2 - C17 P2
J1 EH - U4 GND
J1 EH - U4 GND
U2 SETC - C20 P2
U3 GND_2 - C17 P2
U2 GND - C19 P2
J1 EH - U4 GND
U2 SETC - C20 P2
U3 SEG_D - DISP1 ANODE_D
U3 SEG_A - DISP1 ANODE_A
U4 VOUT - U4 EN
U3 DIG2 - DISP3 COMMON_CATHODE_1
J1 VBUS - U4 VIN
U4 VOUT - U4 EN
U4 VOUT - U4 EN
U3 DIG2 - DISP3 COMMON_CATHODE_1
U3 SEG_D - DISP1 ANODE_D
J1 VBUS - U4 VIN
U3 SEG_DP - DISP1 ANODE_D.P.
U3 DIG1 - DISP2 COMMON_CATHODE_1
U3 DIG2 - DISP3 COMMON_CATHODE_1
U1 IO2 - U5 A
U3 SEG_A - DISP1 ANODE_A
J1 VBUS - U4 VIN
J1 VBUS - U4 VIN
U1 IO2 - U5 A
U5 B - U3 DIN
U1 MTMS - U6 A
J1 VBUS - U4 VIN
U3 DIG0 - DISP1 COMMON_CATHODE_1
U3 SEG_C - DISP1 ANODE_C
J1 CC2 - R6 P1
J1 VBUS - U4 VIN
U3 SEG_D - DISP1 ANODE_D
U3 SEG_F - DISP1 ANODE_F
U1 MTCK - U7 A
U6 B - U3 CLK
U7 B - U3 LOAD
U3 SEG_F - DISP1 ANODE_F
J1 VBUS - U4 VIN
U4 VOUT - U4 EN
U1 IO10 - U2 SDA
U1 IO10 - U2 SDA
U3 SEG_E - DISP1 ANODE_E
U3 SEG_A - DISP1 ANODE_A
RV1 WIPER - U1 IO3
U1 MTMS - U6 A
U3 SEG_G - DISP1 ANODE_G
U5 B - U3 DIN
U4 VOUT - U4 EN
U4 VOUT - U4 EN
U3 SEG_C - DISP1 ANODE_C
U3 SEG_B - DISP1 ANODE_B
U3 SEG_G - DISP1 ANODE_G
RV1 WIPER - U1 IO3
U7 B - U3 LOAD
U2 SETP - C20 P1
U3 SEG_E - DISP1 ANODE_E
U1 IO8 - U2 SCL
U2 SETC - C20 P2
U4 VOUT - U4 EN
U2 C1 - C19 P1
J1 VBUS - U4 VIN
U4 VOUT - U4 EN
J1 CC1 - R5 P1
J1 VBUS - U4 VIN
J1 VBUS - U4 VIN
U1 MTCK - U7 A
U4 VOUT - U4 EN
U3 SEG_B - DISP1 ANODE_B
U3 DIG1 - DISP2 COMMON_CATHODE_1
U4 VOUT - U4 EN
U4 VOUT - U4 EN
U3 SEG_DP - DISP1 ANODE_D.P.
U3 SEG_F - DISP1 ANODE_F
U3 SEG_D - DISP1 ANODE_D
U4 VOUT - U4 EN
U3 DIG0 - DISP1 COMMON_CATHODE_1
U3 SEG_DP - DISP1 ANODE_D.P.
U3 SEG_DP - DISP1 ANODE_D.P.
U2 C1 - C19 P1
U3 SEG_A - DISP1 ANODE_A
U3 SEG_C - DISP1 ANODE_C
U4 VOUT - U4 EN
U2 SETP - C20 P1
U3 SEG_F - DISP1 ANODE_F
U3 SEG_E - DISP1 ANODE_E
U4 VOUT - U4 EN
J1 VBUS - U4 VIN
U1 IO8 - U2 SCL
U3 DIG1 - DISP2 COMMON_CATHODE_1
J1 VBUS - U4 VIN
U3 SEG_B - DISP1 ANODE_B
R9 P2 - U3 ISET
U4 VOUT - U4 EN
U2 SETC - C20 P2
J1 CC2 - R6 P1
U3 SEG_G - DISP1 ANODE_G
R9 P2 - U3 ISET
U3 SEG_G - DISP1 ANODE_G
U3 SEG_C - DISP1 ANODE_C
J1 CC1 - R5 P1
U3 SEG_B - DISP1 ANODE_B
U4 VOUT - U4 EN
J1 VBUS - U4 VIN
U1 IO8 - U2 SCL
U4 VOUT - U4 EN
J1 VBUS - U4 VIN
U3 SEG_E - DISP1 ANODE_E
U1 IO10 - U2 SDA
U6 B - U3 CLK
U3 DIG0 - DISP1 COMMON_CATHODE_1
U4 VOUT - U4 EN
C22
Capacitance
100nF
R6
Resistance
5.1kΩ
RV1
C14
Capacitance
1uF
C18
Capacitance
10uF
C23
Capacitance
100nF
C15
Capacitance
1uF
C19
Capacitance
4.7uF
C20
Capacitance
100nF
U5
DISP3
C24
Capacitance
100nF
C16
Capacitance
10uF
C17
Capacitance
100nF
DISP1
R5
Resistance
5.1kΩ
U6
U7
R7
Resistance
4.7kΩ
R9
Resistance
27kΩ
DISP2
U3
R8
Resistance
4.7kΩ
C21
Capacitance
100nF
C25
Capacitance
100nF

Refine this doc
Ask about this doc
Project Specification
Project Overview
Status: Draft.
USB-C powered digital compass for mounting vertically on an FJ dashboard. The board face points toward the cab and carries three retro orange 7-segment LED displays for direction readout.
Intended Use
  • Dashboard-mounted vehicle accessory.
  • Board is vertical; display side faces the cab.
  • Prototype-oriented design, with compact/squat board geometry prioritized.
What the Device Should Do
  • Read heading from an electronic magnetometer/compass sensor.
  • Show direction on three 7-segment displays, e.g. N, NE, E, SE, S, SW, W, NW or numeric/abbreviated headings in firmware.
  • Provide user brightness control with a rotary knob.
  • Treat lowest knob setting as display-off.
  • Power from USB-C 5 V.
Main Features
  • Retro orange 7-segment visual style.
  • Three display positions across the board face.
  • USB-C sink power input.
  • 3.3 V logic rail.
  • MCU-controlled display driver.
  • I2C magnetic compass sensor.
  • Analog brightness/off knob input.
System Architecture

Diagram


I2C ADC 2-wire serial USB-C node_5V input 3.3V LDO ESP32-C3 MCU module I2C magnetometer Brightness knob ADC divider LED display driver / LED supply 3x orange 7-segment displays
Hardware Subsystems
  • Power: USB-C VBUS input, CC pull-downs, 5 V display supply, 3.3 V LDO for logic/sensor.
  • Compute: ESP32-C3-class MCU module, selected for native USB-capable firmware development and enough GPIO.
  • Sensor: 3-axis I2C magnetometer mounted away from high-current LED traces as much as possible.
  • Display: TM1637-class multiplexed LED driver with three orange/red-orange 7-segment display digits.
  • User control: 10 kΩ rotary potentiometer wired as a 3.3 V ADC divider; firmware maps low ADC to display off.
Interfaces and Connections
  • USB-C receptacle: VBUS, GND, CC1/CC2 sink resistors.
  • I2C bus: MCU SDA/SCL to magnetometer with pull-ups.
  • Display serial bus: MCU CLK/DIO to TM1637 driver.
  • Analog input: potentiometer wiper to MCU ADC.
  • Optional debug/programming via MCU module capability.
Power and Runtime Expectations
  • External USB-C 5 V only; no battery.
  • Display brightness dominates power draw.
  • Assumed USB source should support at least 500 mA.
Power Tree and Power Budget

Table


RailLoadTypicalPeak assumption
5V3 orange 7-seg displays via driver60-120 mA240 mA
5VTM1637 driver5 mA20 mA
3.3VESP32-C3 module80 mA250 mA transient
3.3Vmagnetometer1-5 mA10 mA
3.3Vpotentiometer divider0.33 mA0.33 mA
Estimated peak USB input current: about 520 mA worst-case if WiFi/USB activity and maximum display brightness overlap. Firmware should keep wireless off unless needed; normal compass-only operation should be lower.
Manufacturing and Assembly Expectations
  • Compact SMD design where practical.
  • Displays may be through-hole because orange retro parts are more available in classic DIP display packages.
  • Board should be squat: arrange three displays horizontally and place USB/power/control circuitry behind or below the display row.
Firmware-Relevant Hardware Requirements
  • Read magnetometer over I2C.
  • Calibrate hard/soft iron offsets after installation in the FJ.
  • Read brightness ADC and map the low end to display-off.
  • Drive display driver using two GPIOs.
Physical Design Expectations
  • Display side faces cab.
  • Three displays oriented for viewing with board vertical and connector/control access from edges.
  • Keep magnetometer away from USB connector, large currents, ferrous hardware, and display segment currents where possible.
  • Low/squat board outline with minimal height above and below display row.
Important Design Decisions
  • Use orange-red Lite-On 7-segment displays for retro color fidelity.
  • Use a TM1637-class display driver to reduce MCU pin count and simplify brightness control.
  • Use an I2C magnetometer; vehicle installation will require firmware calibration.
  • Use USB-C sink configuration without USB-PD.
Assumptions
  • USB-C power only is acceptable; no automotive 12 V input requested.
  • The display can show either cardinal abbreviations or firmware-generated numeric heading; final firmware behavior can be refined later.
  • Vehicle magnetic interference will be handled by calibration and careful sensor placement.
Change Notes
  • Initial specification created from user request.
  • Project Overview

  • Intended Use

  • What the Device Should Do

  • Main Features

  • System Architecture

  • Hardware Subsystems

  • Interfaces and Connections

  • Power and Runtime Expectations

  • Power Tree and Power Budget

  • Manufacturing and Assembly Expectations

  • Firmware-Relevant Hardware Requirements

  • Physical Design Expectations

  • Important Design Decisions

  • Assumptions

  • Change Notes

Documents

  • Project Specification

Assets

Assets are files uploaded to this project which can be used in various ways.

Dashboard Digital Compass thumbnail
USB-C powered dashboard-mounted digital compass with three retro-orange 7-segment displays, magnetic compass sensing, and a brightness/off knob for an FJ cab installation.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$14.09–$22.47

Digi-Key

$15.40

HQonline

$6.42

LCSC

$12.51–$12.56

Mouser

$27.85

TME

$2.63

Verical

$14.86–$17.29

Controls