Skip to content

added SparkFun Linear 3D Hall-Effect Sensor - TMAG5273 (Qwiic)#224

Open
rushabhcodes wants to merge 14 commits into
tscircuit:mainfrom
rushabhcodes:add-SparkFun-Linear-3D-Hall-Effect-Sensor
Open

added SparkFun Linear 3D Hall-Effect Sensor - TMAG5273 (Qwiic)#224
rushabhcodes wants to merge 14 commits into
tscircuit:mainfrom
rushabhcodes:add-SparkFun-Linear-3D-Hall-Effect-Sensor

Conversation

@rushabhcodes

Copy link
Copy Markdown
Contributor

This pull request adds support for the SparkFun Linear 3D Hall-Effect Sensor (TMAG5273) board, including its main component, footprints, and configuration. The changes introduce the board's main entry point, component definition, and relevant PCB footprints, as well as documentation and configuration files.

Board and Component Integration:

  • Added TMAG5273.tsx component, defining the TMAG5273 chip with pin labels, supplier/manufacturer information, PCB footprint, and CAD model integration.
  • Created index.tsx to export the main circuit entry point for the board.
  • Added tscircuit.config.json to specify the main entry point for the board package.

Footprints:

  • Added mosfet-footprint.tsx with a SOT-23-3 footprint for MOSFET components.
  • Added jumper-footprint.tsx with a JST SH 4-pin vertical 1mm connector footprint.

Documentation:

  • Added a README.md file with a link to the official SparkFun product page for reference.

Copilot AI review requested due to automatic review settings December 6, 2025 22:28
@rushabhcodes

Copy link
Copy Markdown
Contributor Author

@Abse2001 Problem is packing
image

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive support for the SparkFun Linear 3D Hall-Effect Sensor (TMAG5273) board to the tscircuit library. The implementation includes a complete circuit design with power management, I2C communication, pull-up resistors, indicator LEDs, and multiple connector options.

Key Changes

  • Component Definition: Added TMAG5273 chip component with accurate pin mappings, footprint specifications, and 3D CAD model integration
  • Circuit Implementation: Complete board design with power-on reset circuitry, I2C pull-ups with solder jumpers, status LED, and both Qwiic connectors and pin header
  • Custom Footprints: Implemented SOT-23-3 MOSFET footprint and JST SH 4-pin vertical connector footprint for proper PCB layout

Reviewed changes

Copilot reviewed 7 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tscircuit.config.json Configuration file specifying the main entry point for the board package
TMAG5273.tsx Component definition for the TMAG5273 Hall-Effect sensor chip with pin labels, footprint, and CAD model
mosfet-footprint.tsx Custom SOT-23-3 footprint for the P-channel MOSFET used in power-on reset circuit
jumper-footprint.tsx Custom JST SH 4-pin vertical connector footprint for Qwiic compatibility
index.tsx Entry point that exports the main circuit
SparkFun-Linear-3d-Hall-Effect.circuit.tsx Complete circuit implementation with power management, I2C interfaces, LEDs, and connectors
README.md Documentation with link to SparkFun product page
Snapshot files Generated schematic, PCB, and 3D visualization files (informational)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

fontSize={0.3}
/>
<schematictext
text="Input voltage ange:"

Copilot AI Dec 6, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a spelling error in the comment text "Input voltage ange:" - it should be "Input voltage range:" (missing 'r').

Suggested change
text="Input voltage ange:"
text="Input voltage range:"

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,3 @@
import TMAG5273HallEffect from "./SparkFun-Linear-3d-Hall-Effect.circuit"

Copilot AI Dec 6, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file name in the import path uses "3d" (lowercase) but it should be "3D" (uppercase) to match the actual file name "SparkFun-Linear-3d-Hall-Effect.circuit". However, note that the actual circuit file name itself uses lowercase "3d" which is inconsistent with the board directory name that uses "3D". The import is technically correct as written.

Copilot uses AI. Check for mistakes.
@ShiboSoftwareDev

Copy link
Copy Markdown
Contributor

pads are packing on top of each other, let's try to fix this issue first

@rushabhcodes

Copy link
Copy Markdown
Contributor Author

I think @Abse2001 was working on that issue

@MustafaMulla29 MustafaMulla29 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rushabhcodes This board is already present in sparkfun-boards repo. You might want to double check. I think it's there

@rushabhcodes

rushabhcodes commented Dec 7, 2025

Copy link
Copy Markdown
Contributor Author

@MustafaMulla29

Copy link
Copy Markdown
Contributor

@rushabhcodes

Copy link
Copy Markdown
Contributor Author

@MustafaMulla29 , @seveibar instructed to use auto packing for small components like resistors and not to use pcbX and pcbY, but the packing is not working properly as @ShiboSoftwareDev said, waiting for @Abse2001 to fix it

rushabhcodes and others added 12 commits February 7, 2026 13:31
)

Co-authored-by: rushabhcodes <mail@rushabh.dev>
…104 (tscircuit#226)

Co-authored-by: rushabhcodes <mail@rushabh.dev>
…S_TB_LF__SN2 component (tscircuit#220)

* Update position offset for SM04B_SRSS_TB_LF__SN and add new SM04B_SRSS_TB_LF__SN2 component

* Update 3D snapshot for SparkFun CO2, Humidity, and Temperature Sensor SCD40

---------

Co-authored-by: rushabhcodes <mail@rushabh.dev>
Co-authored-by: rushabhcodes <mail@rushabh.dev>
…uit#234)

* add new SparkFun-Micro-Proximity-Sensor-20cm-VCNL4040-(Qwiic)

* add missing hole and edit the qwiic connector

* patch

* patch

* change the net name to N_INT
* update tscircuit dep

* patch

* patch
* add new SparkFun-Analog-Digital-MUX-Breakout-CD74HC4067

* patch
…it#223)

* Add SparkFun Ambient Light Sensor VEML6030 (Qwiic) component

* Fix typo in default address text for SparkFun Ambient Light Sensor VEML6030 (Qwiic)

* Update circuit schematic for SparkFun Ambient Light Sensor VEML6030 (Qwiic) to correct text and graphical elements
…nd dependency bump with updated snapshots of all boards (tscircuit#248)

* Update dependencies and modify footprint for JP1 in SparkFun RedBot Sensor Line Follower

* Add circuit schematic and entry point for SparkFun RedBot Sensor Line Follower

- Created a new SVG file for the circuit schematic.
- Added an index file to export the circuit configuration.
- Introduced a configuration file to specify the main entry point.

* Update 3D snapshot for all SparkFun board
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants