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
U6
U1
U5 LCD
Manufacturer Part Number
NHD-C0216CIZ-FSW-FBW-3V3
R13
Resistance
220kΩ
R19
Resistance
10kΩ
R17
Resistance
10kΩ
R5
Resistance
10kΩ
R8
Resistance
10kΩ
R6
Resistance
1kΩ
R16
Resistance
100kΩ
R1
Resistance
470Ω
R4
Resistance
10kΩ
R2
Resistance
10Ω
R10
Resistance
4.7kΩ
R18
Resistance
10kΩ
R12
Resistance
220kΩ
R9
Resistance
10kΩ
R15
Resistance
100Ω
R7
Resistance
10kΩ
R11
Resistance
4.7kΩ
R3
Resistance
10kΩ
VCC_3V3+
VCC_3V3+
U6 CB - C14 P1
K1 8 - Q2 D
I2C_SDA
F1 2 - MOV1 1
U6_5V+_Out
I2C_SCL
_GND
VCC_3V3+
U6 SW - L1 P1
J1 PIN2 - MAINS_N
_GND
PE_CHASSIS
J1 PIN1 - F1 1
U1 RB1 - SW2 1
RA0
U6_5V+_Out
PE_CHASSIS
_GND
U1 RB3 - U4 ~
_GND
_GND
U1 RE3/~{MCLR}/VPP - R3 P2
J1 PIN2 - MAINS_N
VCC_3V3+
J1 PIN2 - MAINS_N
VCC_3V3+
I2C_SCL
J1 PIN2 - MAINS_N
F1 2 - MOV1 1
U6_5V+_Out
_GND
K1 5 - J6 ~
_GND
U1 RB4 - J4 ~
U1 RB0 - SW1 1
_GND
R12 P2 - R13 P1
I2C_SCL
VCC_5V+
_GND
F1 2 - MOV1 1
I2C_SDA
U6_5V+_Out
_GND
_GND
_GND
R15 P2 - Q2 G
D1 K - R2 P1
VCC_3V3+
_GND
U1 RE3/~{MCLR}/VPP - R3 P2
I2C_SCL
VCC_3V3+
F1 2 - MOV1 1
VCC_12V+
RA2
VCC_3V3+
K1 8 - Q2 D
VCC_5V+
VCC_12V+
_GND
_GND
U1 RE3/~{MCLR}/VPP - R3 P2
U6 CB - C14 P1
I2C_SCL
J5 JTCK - U1 RB6/ICSPCLK
VCC_12V+
_GND
VCC_3V3+
R13 P2 - U4 ~
VCC_5V+
VCC_3V3+
K1 4 - J6 ~
_GND
VCC_3V3+
K1 8 - Q2 D
U1 RB3 - U4 ~
F1 2 - MOV1 1
_GND
VCC_3V3+
U1 RB3 - U4 ~
VCC_3V3+
VCC_3V3+
K1 4 - J6 ~
RA0
VCC_3V3+
U6 SW - L1 P1
_GND
I2C_SDA
VCC_12V+
_GND
U6 SW - L1 P1
_GND
RA1
RA1
RA3
J5 JTCK - U1 RB6/ICSPCLK
_GND
VCC_3V3+
R13 P2 - U4 ~
VCC_3V3+
_GND
_GND
VCC_12V+
VCC_3V3+
U6_5V+_Out
RA4
_GND
J5 JTMS - U1 RB7/ICSPDAT
U1 RC2
I2C_SDA
_GND
VCC_3V3+
_GND
D1 K - R2 P1
J1 PIN1 - F1 1
R12 P2 - R13 P1
U6_5V+_Out
K1 5 - J6 ~
VCC_12V+
_GND
K1 4 - J6 ~
_GND
U1 24 - R15 P1
I2C_SDA
VCC_5V+
U1 24 - R15 P1
J5 JTMS - U1 RB7/ICSPDAT
VCC_3V3+
VCC_3V3+
_GND
_GND
VCC_3V3+
R15 P2 - Q2 G
J1 PIN2 - MAINS_N
_GND
RA0
F1
Button ON_OFF
C12
Capacitance
2.2uF
U4
C4
Capacitance
1uF
U7
Manufacturer Part Number
RV-3028-C7 32.768KHZ 1PPM-TA-QC
C14
Capacitance
100nF
C15
Capacitance
100nF
LED1
J1 AC Mains In
J6-AC Mains Out
C18
Capacitance
10nF
Button Plus
C9
Capacitance
100nF
C16
Capacitance
100nF
Button Minus
C13
Capacitance
10uF
C8
Capacitance
100nF
C2
Capacitance
10uF
C5
Capacitance
1uF
C17
Capacitance
10nF
C3
Capacitance
100nF
C6
Capacitance
100nF
C11
Capacitance
10nF
C7
Capacitance
10nF
Button Col
C10
Capacitance
10nF
U2
D2
PS1
MOV1
J5
D1
Q2
L1
Inductance
4.7 µH
C1
Capacitance
1 F
RT1
K1-Relay
U5-Light Sensor
J2 -CR2032 Holder

Refine this doc
Ask about this doc
Project Specification — SELV Spa-Light Switch Controller
1. Project Overview
Design a SELV control electronics schematic for an IP67-rated 240 VAC spa-light switch controller for use in Australia. The controller receives 240 VAC mains input and drives an on-board, soldered, mains-rated 2-pole relay stage feeding a Spa Electric LV25-12 LED light transformer/driver system.
External switched load requirement: Spa Electric LV25-12 swimming pool LED light system, 240 VAC input, 25 W load. Approximate load current is 25 W / 240 VAC = 0.104 A RMS, but relay/contactor contacts must still be mains-rated with adequate AC switching margin, inrush margin, and compliance review.
This project focuses on the isolated SELV control electronics: MCU, user controls, indicators, optical programming receiver, sensors, mains-present sensing, hold-up power, and relay coil drivers.
2. Environmental Requirement
  • Outdoor operating ambient temperature must support up to 60°C.
  • Because the electronics are inside a sealed IP67 enclosure, internal air/component temperatures may exceed 60°C; component selection and layout must target industrial/extended temperature ratings and conservative thermal derating.
  • Thermal validation is required in the final enclosure under worst-case sun exposure/load conditions.
3. Safety Scope and Non-Negotiable Requirements
  • User-accessible buttons, LEDs, optical receiver, sensors, programming/debug, and control logic must remain on the SELV side only.
  • SELV must be isolated from 240 VAC mains using a certified isolated AC-DC power module with reinforced or double insulation.
  • Do not use capacitive droppers or non-isolated supplies.
  • Do not switch protective earth.
  • Relay contacts for switched 240 VAC output are now in scope as an on-board soldered relay; the relay footprint/contact routing must be treated as mains circuitry with reinforced SELV separation and qualified compliance review.
  • Draw and label the isolation barrier between primary mains circuitry and SELV circuitry.
  • Maintain suitable creepage/clearance for 240 VAC mains and require qualified safety review.
4. Key Architecture
  • Certified isolated 240 VAC to +5V_ISO AC-DC module.
  • +5V_HOLD supercapacitor-backed rail.
  • +3V3_MCU low-Iq LDO rail.
  • Low-power MCU with watchdog, brownout, ADC, PWM, EEPROM/NVM, and CRC/checksum support.
  • SELV-only optical programming receiver and user controls.
  • Temperature sensing for sealed enclosure overtemperature lockout.
  • Isolated mains-present sensing.
  • Single monostable 12 V relay coil driver output for an on-board through-hole relay.
  • Mains switching stage: use Omron G2RL-2A-DC12 as the approved low-volume, available-library relay baseline. It is an on-board through-hole 12 VDC coil DPST-NO relay used to switch active and neutral to the Spa Electric LV25-12 load. Final PCB layout must verify contact rating, approvals, thermal margin, and mains creepage/clearance.
  • Power architecture: use RECOM RACM06E-12SK/277 as the approved isolated 240 VAC to 12 VDC PSU baseline. +12V_RELAY feeds the relay coil and downstream 12 V-to-5 V buck for hold-up and 3.3 V MCU rails.
5. Required Signals / Net Names
Use these net labels clearly in the schematic: +12V_RELAY, +5V_ISO, +5V_HOLD, +3V3_MCU, 0V_ISO, MAINS_PRESENT, OPTICAL_PROG_IN, RELAY_DRIVE, BTN_ONOFF, BTN_MODE, LED_POWER, LED_STATUS, TEMP_SENSE, LIGHT_SENSE/I2C light sensor, RELAY_FB, LOAD_L_OUT, LOAD_N_OUT.
6. Firmware / Safety Behavior
  • Default state after reset, brownout, watchdog reset, overtemperature, invalid configuration, or invalid optical command: relay OFF.
  • After programming mode, output remains OFF for 60 seconds before normal operation resumes.
  • Non-volatile configuration storage must include checksum/CRC.
  • Watchdog and brownout reset support required.
  • Temperature firmware must define warning and shutdown thresholds after enclosure thermal characterization.
7. Compliance Notes
Final product must be reviewed by a qualified electrical safety engineer and tested by an accredited lab before connection to mains or sale in Australia. Applicable standards to review include AS/NZS 3100, AS/NZS 3820, AS/NZS 3000, AS/NZS 60529/IP67, AS/NZS 60669 where applicable, and AS/NZS 60335.2.60 if classified as spa/whirlpool equipment.
8. Open Engineering Decisions
  • Confirm Omron G2RL-2A-DC12 contact approvals/load category and derating for the LV25-12 switched load.
  • Confirm RACM06E-12SK/277 derating in sealed IP67 enclosure at 60°C outdoor ambient.
  • Confirm all selected parts meet required internal enclosure temperature margin.
  • Define enclosure thermal model and sun-load test conditions.
  • Define firmware overtemperature thresholds and hysteresis.
  • 1. Project Overview

  • 2. Environmental Requirement

  • 3. Safety Scope and Non-Negotiable Requirements

  • 4. Key Architecture

  • 5. Required Signals / Net Names

  • 6. Firmware / Safety Behavior

  • 7. Compliance Notes

  • 8. Open Engineering Decisions

SELV Spa-Light Switch Controller thumbnail
IP67 Australian 240 VAC spa-light controller focused on isolated SELV control electronics, optical programming, hold-up power, mains-present sensing, and relay coil drivers.

Properties

°C
VAC

Pricing & Availability

Distributor

Qty 1

Arrow

$16.58–$18.36

Digi-Key

$7.03

HQonline

$2.16–$2.23

LCSC

$5.51–$5.65

Mouser

$35.17

TME

$21.35

Verical

$24.70–$365.35

Controls