-
Notifications
You must be signed in to change notification settings - Fork 1
mosfet
wolfen351 edited this page Mar 21, 2025
·
1 revision
The MosfetControl module provides control over four MOSFET switches, allowing them to be turned on, off, or toggled individually or all at once. It also integrates with a web interface for remote control and telemetry monitoring.
- Control up to 4 MOSFET switches.
- Individual or bulk on/off control.
- Web-based interface for toggling switches and monitoring states.
- Telemetry reporting for switch states.
- Command processing for external control.
- Switch 1: Pin 12
- Switch 2: Pin 11
- Switch 3: Pin 9
- Switch 4: Pin 7
-
mosfet/S1: State of Switch 1 (0 = Off, 1 = On) -
mosfet/S2: State of Switch 2 (0 = Off, 1 = On) -
mosfet/S3: State of Switch 3 (0 = Off, 1 = On) -
mosfet/S4: State of Switch 4 (0 = Off, 1 = On)
None.
-
/mosfet/on/<switch_number>: Turns on the specified switch (1-4). -
/mosfet/off/<switch_number>: Turns off the specified switch (1-4). -
/mosfet/allon: Turns on all switches. -
/mosfet/alloff: Turns off all switches.
The module processes the above commands to control the MOSFET switches.
The module includes a web interface (mosfet_index.html) for user interaction. The interface allows toggling individual switches, turning all switches on or off, and displays the current state of each switch.