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
12/24v to 5vdc
F1 Fuse
R3
Resistance
100kΩ
GPS Receiver
Manufacturer Part Number
NEO-F10N-00B
D1
C1
Capacitance
47uF
J4
Rasbery pi pico
R2
Resistance
100Ω
J3
C2
Capacitance
10uF
R4
Resistance
100kΩ
R1
Resistance
100Ω
Relay 1
Hole2
Q1
Battery
D3
Q2
Hole4
SMT Conn
Relay 2
D2
Hole3
Hole5
RTC
Manufacturer Part Number
DS3231SN#
Hole1
J1

Refine this doc
Ask about this doc
Project Specification — GPS Dual Relay Switch
Project Overview
  • Status: Draft schematic in progress
  • Device: 12–24 VDC powered controller that energizes two relay channels while a GPS receiver reports a valid satellite fix.
  • Relay behavior: Both relays turn off immediately when GPS fix is lost.
Intended Use
  • Prototype / R&D board for switching two external 12 V or 24 V loads.
  • External GPS antenna is required; current schematic uses an external GPS module/header approach so the GPS receiver/antenna assembly can be mounted off-board or at the enclosure edge.
What the Device Should Do
  • Accept 12–24 VDC input power.
  • Regulate input power to 5 V for relay coils and controller supply.
  • Read GPS fix status via UART/NMEA and/or a GPS FIX/PPS/status pin.
  • Energize both relays only while GPS fix is valid.
  • De-energize both relays immediately when fix becomes invalid, power is removed, or firmware stops driving the outputs.
  • Switch external 12/24 V loads up to 3 A using isolated relay contacts.
Main Features
  • 12–24 VDC input with fuse and TVS protection.
  • Raspberry Pi Pico / RP2040 controller.
  • External UART GPS module header for VCC, GND, TX, RX, FIX, and PPS/status.
  • Two SPDT relay outputs with COM/NO/NC screw terminals.
  • Low-side MOSFET relay coil drivers with flyback diodes and default-off pulldowns.
System Architecture

Diagram


12-24 VDC Input Input Fuse + TVS 5 V Buck Module Raspberry Pi Pico 5 V Relay Coils External GPS Receiver + Antenna Relay Driver 1 Relay Driver 2 Relay 1 Contacts Relay 2 Contacts
Hardware Subsystems
  • Power input/protection: 12–24 VDC screw terminal, resettable fuse, TVS clamp, buck regulator.
  • Controller: Raspberry Pi Pico module powered from 5 V/VSYS; firmware parses GPS validity and drives relay GPIOs.
  • GPS interface: 6-pin 2.54 mm header for an external GPS receiver module with its own antenna connector/antenna cable.
  • Relay outputs: Two SRD-05VDC-SL-C 5 V SPDT relays; contacts routed to 3-pin 5 mm screw terminals.
  • Drivers: N-MOSFET low-side switches, gate resistors, gate pulldowns, and flyback diodes.
Interfaces and Connections

Table


InterfaceConnectorSignals
DC inputJ1 2-pin screw terminalVIN+, GND
GPS moduleJ2 6-pin header3V3/5V, GND, GPS_TX, GPS_RX, GPS_FIX, GPS_PPS
Relay 1 loadJ3 3-pin screw terminalCOM1, NO1, NC1
Relay 2 loadJ4 3-pin screw terminalCOM2, NO2, NC2
Power and Runtime Expectations
  • Input range: 12–24 VDC.
  • 5 V rail estimated peak: ~300 mA to 400 mA for Pico, GPS module, and two relay coils.
  • External switched loads are isolated by relay contacts and are not powered by this board unless the user wires them through the relay terminals.
Power Tree and Power Budget

Table


RailLoadsEstimated Peak
VIN 12–24 VBuck input only~0.2 A worst-case at 12 V, plus margin
5 VTwo relay coils, Pico VSYS, GPS header if needed~0.35–0.45 A
3V3Pico logic/GPS if using 3.3 V GPS<0.15 A
Manufacturing and Assembly Expectations
  • Prototype-friendly through-hole modules/connectors are preferred where available.
  • Relay load terminals and input terminal use 5 mm screw-terminal style parts rated well above 3 A.
  • Final layout should separate relay/load copper from low-voltage logic and keep GPS signals away from relay coil switching paths.
Firmware-Relevant Hardware Requirements
  • Firmware must set relay GPIOs low during boot.
  • Relay outputs must default off due to MOSFET gate pulldowns.
  • Firmware should parse GPS NMEA valid-fix status and optionally cross-check GPS_FIX/PPS.
  • Immediate dropout behavior: de-energize relays on invalid fix, missing GPS messages, GPS serial timeout, or MCU reset.
Physical Design Expectations
  • External GPS antenna/module should be mounted away from relay wiring and metal obstructions.
  • Screw terminals should be placed at board edges for field wiring.
  • Add test points for VIN, 5 V, 3V3, GND, relay drive signals, and GPS UART during layout if space allows.
Important Design Decisions
  • Use an RP2040/Pico controller instead of a Raspberry Pi SBC because this is simple, lower power, faster boot, and safer for relay fail-off behavior.
  • Use 5 V relay coils from a buck regulator so the board works from either 12 V or 24 V input.
  • Use firmware-controlled immediate dropout, with hardware pulldowns making relay-off the fail-safe state.
Assumptions
  • The two relays should energize together from one GPS-valid condition.
  • Load current is up to 3 A at 12 or 24 VDC per relay contact set.
  • The external GPS receiver can provide UART NMEA data and preferably a FIX or PPS/status output.
  • Exact GPS module may be finalized later; the current design exposes a compatible header.
Change Notes
  • 2026-07-08: Captured requirements: 12–24 VDC input, GPS valid satellite fix trigger, 12/24 V 3 A loads, external GPS antenna, immediate relay dropout on fix loss.
  • 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

Assets

Mech-Tech_Brandmark_Full Colour.svg

Mech-Tech_Brandmark_Full Colour.svg

Mech-Tech_Brandmark_Full ColourDefault
Mech-Tech_Secondary Logo_Full Colour.svg

Mech-Tech_Secondary Logo_Full Colour.svg

Mech-Tech_Secondary Logo_Full Colour
GPS Dual Relay Switch thumbnail
12–24 VDC GPS-fix-controlled dual relay board. Relays switch immediately based on valid GPS fix status and provide SPDT contacts for 12/24 V loads up to 3 A with external GPS antenna support.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$33.83–$42.11

Digi-Key

$1.68–$1.78

HQonline

$44.23–$44.33

LCSC

$39.81–$40.12

Mouser

$43.10

TME

$1.72

Verical

$9.25–$31.22

Controls