

RESTfan
A REST controllable wall fan
- Size
- 75 × 81.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 22
- Nets
- 17
- Pads
- 88
- Tracks, vias
- 128, 5
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 5 (file 20210623)
- Created
- 28 Aug 2020
- Updated
- 26 Jul 2021
Overview
RESTfan is an open-source printed circuit board by reaktor23, from the reaktor23/RESTfan repository on GitHub. It is a 2-layer board of 75 × 81.5 mm with 22 parts on 17 nets, routed with 128 tracks and 5 vias.
It is built around the WEMOS D1 MINI, HLK-PM03 and 1N4148W, with the BSS138 among its other parts. Its parts include 4 resistors, 4 diodes, 4 transistors, 4 switches and 3 connectors. It belongs with the ESP8266 boards of this library.
Main components
4WEMOS D1 MINI
A mini wifi board with 4MB flash based on ESP-8266EX, hardware version 4.0.0.LolinUncategorisedHLK-PM03
插件0.1W 1 100mVp-p 15mm 1A 20mm 3.3V 34mm 3W 3kV 70V~350V 72% 85VAC~265VAC AC/DC-DC Short Circuit Protection、Over Current Protection ±0.2% 插件 AC-DC Power Modules ROHSHI-LINKAC-DC Power Modules1N4148W
SOD-123150mA 1A 1V@50mA 1uA@75V 400mW 4ns 75V Independent SOD-123 Switching Diodes ROHSSTMicroelectronicsSwitching DiodesBSS138
SOT-23-55℃~+150℃ 1 N-channel 1.1Ω@10V、1.2Ω@4.5V 1.2V 1.7nC@10V 17.5pF 340mA 350mW 50V 6.5pF N-Channel SOT-23 MOSFETs ROHShongjiachengMOSFETs
README
README.mdRESTfan
A REST controllable wall fan
We bought a cheap wall mount fan which had pull strings for control. Big no no for a Hackerspace :sunglasses:
So we created a small PCB with a 230VAC to 5VDC converter, a Wemos D1 mini and 4 relays on it that allows us to control the fan over a REST API.
Hardware
The fan is a Tristar VE-5874 wall mount ventilator
API
http://<ip>/offFan and oscillation offhttp://<ip>/stateJSON object with the current state
Speed control
http://<ip>/speed/1Fan speed 1http://<ip>/speed/2Fan speed 2http://<ip>/speed/3Fan speed 3
Oscillation
http://<ip>/oscillation/onOscillation onhttp://<ip>/oscillation/offOscillation off
Parts
22| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 1N4148W | Diode_SMD:D_SOD-123 | D1, D2, D3, D4 |
| 4 | BSS138 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q3, Q4 |
| 4 | FINDER-30.22 | Relay_THT:Relay_DPDT_Finder_30.22 | K1, K2, K3, K4 |
| 4 | R | Resistor_SMD:R_0805_2012Metric | R1, R2, R3, R4 |
| 2 | Conn_01x03_Male | Connector_Wire:SolderWirePad_1x03_P4.445mm_Drill1.5mm | J2, J3 |
| 1 | Conn_01x02_Male | Connector_Wire:SolderWirePad_1x02_P5.08mm_Drill1.5mm | J1 |
| 1 | HLK-PM03 | Converter_ACDC:Converter_ACDC_HiLink_HLK-PMxx | PS1 |
| 1 | ReaktorLogo | bouni:Reaktor23_8mm | U2 |
| 1 | WeMos_D1_mini | bouni:wemos-d1-mini-with-pin-header | U1 |
Similar boards
- 2 layers95 × 46 mm

- 2 layers76 × 66 mm

Radiator controller
Plokkke/sauter-marapi-esphome
ESPHome / Home Assistant pilot wire (fil pilote) controller for the Sauter Marapi tactile towel radiator — KiCad PCB, reverse engineering notes. Study phase, untested.
19 parts - 2 layers26.2 × 35 mm

- 2 layers

37c3PCBLEDC100R Rev.1
c3re/37c3PCBLEDC100R
Solder-Kit with some LEDs. Can also be used as a coaster for drinks.
25 parts7CC-BY-4.0 - 2 layers26 × 59.3 mm

MHI ESP
dvisser/MHI-ESP-PCB
ESP8266 based WiFi module for MHI split-system air conditioners.
22 parts4GPL-3.0 - 2 layers26.3 × 31.5 mm

- 2 layers49.5 × 37.5 mm

- 2 layers67.2 × 61.7 mm

Questions
How big is the RESTfan PCB?
It measures 75 × 81.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the RESTfan use?
22 parts, built around the WEMOS D1 MINI, HLK-PM03, 1N4148W and BSS138. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the RESTfan KiCad files?
From the reaktor23/RESTfan repository on GitHub, at the commit this page was made from: the board is KiCAD/RESTfan/RESTfan.kicad_pcb and its schematic KiCAD/RESTfan/RESTfan.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the RESTfan design in my own project?
Its repository states no licence, so its author keeps all rights: ask reaktor23 before reusing the design.