

LED FAN CONTROLLER
Lighting, temperature, and sensor contoller for a 3d printing enclosure using a Raspberry Pi and touch screen device
- Size
- 42 × 41.3 mm
- Copper layers
- 2
- Thickness
- 1.67 mm
- Parts
- 23
- Nets
- 22
- Pads
- 71
- Tracks, vias
- 124, 10
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 3 Jan 2024
- Updated
- 4 Oct 2024
Overview
LED FAN CONTROLLER is an open-source printed circuit board by Sealo21, from the Sealo21/RPi_3dprinter_control_sys repository on GitHub. It is a 2-layer board of 42 × 41.3 mm with 23 parts on 22 nets, routed with 124 tracks and 10 vias.
It is built around the MC74HC1G04DFT2, MIC5231-3.3YM5-TR and IRLL014TRPBF. Its parts include 13 resistors, 4 transistors, 4 connectors and 2 ICs.
Main components
3MC74HC1G04DFT2
SC-88A-5(SC-70-5)-55℃~+125℃ 1 1.5V~4.2V 1.9V、2.9V、4.4V、5.9V 17ns@6V,50pF 1uA 2.6mA 2.6mA 2V~6V 500mV~1.8V 74HC SC-88A-5(SC-70-5) InvertersonsemiInvertersMIC5231-3.3YM5-TR
SOT-23-5-40℃~+125℃ 1 10mA 12V 3.3V 300mV@(10mA) 4uA 50dB@(100Hz) Enable Fixed Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSMicrochip TechnologyVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsIRLL014TRPBF
SOT-223-55℃~+150℃ 1 N-channel 1.7A 170pF 200mΩ@5V 2V 3.1W 400pF 42pF 60V 8.4nC@5V N-Channel SOT-223 MOSFETs ROHSVishay IntertechnologyMOSFETs
README
README.mdRPi_3dprinter_control_sys
Environment controller for a 3D printing enclosure using a Raspberry Pi.
Uses a temperature/VOC sensor and a custom PCB controller for the fans and strip LEDs controlled by a Raspberry Pi.
This project is a work-in-progress. It is functional...but still a beta.
Components
- Raspberry Pi 4 Model B
- Sensirion Particle, VOC, Humidity, and Temperature Sensor
- waveshare 4 inch HDMI LCD 800x480
- Geekworm GPIO Extender
- SamIdea 2-Pack 40pin Male to Female IDC GPIO
- Micro HDMI Cable
- Any 2 or 4 pin PC fan I am using Noctua NF-A8 PWM
- Any SMD5050 strip LED LED Strip Lights
Software Installation
Install the latest version of Raspian OS on your Raspberry Pi
Edit your configuration to enable 'I2C' and 'Remote GPIO' under the interfaces tab
Save and restart your RPi
Update packages to the latest version:
sudo apt update- Download the files marked "RPi_3dprinter_control_sys_main"
- Locate the file 'main' in the folder 'dist'
- Edit the properties of 'main' to open with the program 'Terminal'
- Set the permission "Execute" to 'Anyone'
- If you run the program without modifying these settings a pop-up may occur asking to run the executable with an application
- Once these settings are confirmed the program should start with a terminal followed by a window
Hardware Setup
A GPIO Extender will be needed to have the screen and GPIO be plugged in at the same time.
There are a few options for the hardware of your controller
A cheap option is to breadboard the design using the design schematics from the file 'LED_FAN_CONTROLLER.kicad_sch'
You may need to download and install Kicad to view this schematic.
Here are the design requirements to breadboard this project:
- 4 IRL520 Mosfets as a substitute for the IRLL014TRPBF
- Wire for connections
- 6 10k Ohm resistors
- 5 1k Ohm resistors
- In testing phase for 3.3V power controller for breadboarding. I have been testing using an ADALM2000
- Using TC74HC04APF for PWM operations in breadboard testing
The other option is to use the PCB schematics and manufacture the PCB.
I have not done this yet as I am working on an upgrade to the current version.
Touchscreen
Your experience may change based on which touchscreen is used.
Use xinput-calibrator to calibrate the touch screen.
sudo apt-get install xinput-calibratorYou will find this program under Menu -> Preferences -> Calibrate Touchscreen.
Follow the instuctions given in the command line to save the calibration.
If the system does not recognize the touchscreen, check with the manufacturer for driver files.
Installing the Sen55 Sensor
The sensors I recieved do not have a standard coloring scheme.
I have made a table below to list where the pins must go and their color.
| Pin (On Sensor) | Name | Description | Color | Pin Placement (On RPi) |
|---|---|---|---|---|
| 1 | VCC | Supply Voltage | Green | Pin 2 (5V) |
| 2 | GND | Ground | Blue | Pin 6 (GND) |
| 3 | SDA | I2C: Data | Yellow | Pin 3 (SDA) |
| 4 | SCL | I2C: Clock | Black | Pin 5 (SCL) |
| 5 | SEL | Interface Select | Red | Pin 9 (GND) |
| 6 | NC | Do Not Connect | Brown | NC |
If the device is not recognized by the system, connect the VCC to 3.3V pin and then back to 5V.
The device can function on both 3.3V and 5V but 5V is recommended by the manufacturer.
Use the i2cdetect command to check connected I2C devices.
i2cdetect -y 1You should see a device listed with a number value.
More information about this installation can be found here
Parts
23| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 10000 | Resistor_SMD:R_0603_1608Metric | R3, R4, R5, R8, R12, R13 |
| 5 | 1000 | Resistor_SMD:R_0603_1608Metric | R1, R2, R9, R10, R11 |
| 4 | IRLL014TRPBF | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | Q2, Q3, Q4, Q5 |
| 1 | 1700 | Resistor_SMD:R_0603_1608Metric | R6 |
| 1 | 3300 | Resistor_SMD:R_0603_1608Metric | R7 |
| 1 | Barrel_Jack | Connector_BarrelJack:BarrelJack_Horizontal | J2 |
| 1 | Conn_01x04 | Connector:FanPinHeader_1x04_P2.54mm_Vertical | J4 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Horizontal | J3 |
| 1 | Conn_01x07_MountingPin | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | J5 |
| 1 | MC74HC1G04DFT2 | Package_TO_SOT_SMD:SOT-353_SC-70-5 | U2 |
| 1 | MIC5231-3.3YM5-TR | Package_TO_SOT_SMD:SOT-23-5 | U1 |
Similar boards
- 2 layers65 × 56 mm

- 2 layers14 × 100 mm

Yunomi
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
23 parts3kApache-2.0 - 2 layers50.8 × 52.2 mm

- 2 layers138.8 × 89.8 mm

- 2 layers32.9 × 53.3 mm

- 2 layers35.5 × 50 mm

- 2 layers19 × 19 mm

- 2 layers88.5 × 28 mm

ExpBreakout
Duet3D/Duet-2-Hardware
The KiCAD source for the Duet 3d printer controller see www.duet3d.com
23 parts258
Questions
How big is the LED FAN CONTROLLER PCB?
It measures 42 × 41.3 mm and has 2 copper layers, 1.67 mm thick.
What parts does the LED FAN CONTROLLER use?
23 parts, built around the MC74HC1G04DFT2, MIC5231-3.3YM5-TR and IRLL014TRPBF. 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 LED FAN CONTROLLER KiCad files?
From the Sealo21/RPi_3dprinter_control_sys repository on GitHub, at the commit this page was made from: the board is LED_FAN_CONTROLLER/LED_FAN_CONTROLLER.kicad_pcb and its schematic LED_FAN_CONTROLLER/Aisler rules/aisler-2-layer-simpel.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the LED FAN CONTROLLER design in my own project?
Its repository states no licence, so its author keeps all rights: ask Sealo21 before reusing the design.