Skip to the content
2 layers42 × 41.3 mmLED FAN CONTROLLER, the printed circuit board in 3D

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

3

README

README.md

RPi_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

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:

command
sudo apt update
  1. Download the files marked "RPi_3dprinter_control_sys_main"
  2. Locate the file 'main' in the folder 'dist'
  3. Edit the properties of 'main' to open with the program 'Terminal'
  4. Set the permission "Execute" to 'Anyone'
  5. If you run the program without modifying these settings a pop-up may occur asking to run the executable with an application
  6. 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.

text
sudo apt-get install xinput-calibrator

You 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)NameDescriptionColorPin Placement (On RPi)
1VCCSupply VoltageGreenPin 2 (5V)
2GNDGroundBluePin 6 (GND)
3SDAI2C: DataYellowPin 3 (SDA)
4SCLI2C: ClockBlackPin 5 (SCL)
5SELInterface SelectRedPin 9 (GND)
6NCDo Not ConnectBrownNC

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.

command
i2cdetect -y 1

You should see a device listed with a number value.

More information about this installation can be found here

Parts

23
QtyValueFootprintReferences
610000Resistor_SMD:R_0603_1608MetricR3, R4, R5, R8, R12, R13
51000Resistor_SMD:R_0603_1608MetricR1, R2, R9, R10, R11
4IRLL014TRPBFPackage_TO_SOT_SMD:SOT-223-3_TabPin2Q2, Q3, Q4, Q5
11700Resistor_SMD:R_0603_1608MetricR6
13300Resistor_SMD:R_0603_1608MetricR7
1Barrel_JackConnector_BarrelJack:BarrelJack_HorizontalJ2
1Conn_01x04Connector:FanPinHeader_1x04_P2.54mm_VerticalJ4
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ3
1Conn_01x07_MountingPinConnector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ5
1MC74HC1G04DFT2Package_TO_SOT_SMD:SOT-353_SC-70-5U2
1MIC5231-3.3YM5-TRPackage_TO_SOT_SMD:SOT-23-5U1

Similar boards

  • 2 layers65 × 56 mmPi servo hat, the printed circuit board in 3D

    Pi servo hat

    earthtojake/text-to-cad

    Design physical products with AI

    23 parts26kMIT
  • 2 layers14 × 100 mmYunomi, the printed circuit board in 3D

    Yunomi

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    23 parts3kApache-2.0
  • 2 layers50.8 × 52.2 mmFuhhni, the printed circuit board in 3D

    Fuhhni

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    23 parts915
  • 2 layers138.8 × 89.8 mmKeyboard pcb, the printed circuit board in 3D

    Keyboard pcb

    diepala/cantor

    Cantor keyboard, a 42 key diodeless split keyboard.

    23 parts756GPL-3.0
  • 2 layers32.9 × 53.3 mmGoatgdo, the printed circuit board in 3D

    Goatgdo

    Kaldek/rat-ratgdo

    Open source schematics for ratgdo PCB

    23 parts511MIT
  • 2 layers35.5 × 50 mmTobo, the printed circuit board in 3D

    Tobo

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    23 parts463
  • 2 layers19 × 19 mmKeybit, the printed circuit board in 3D

    Keybit

    notaroomba/keybytes

    A truly modular keyboard

    23 parts444
  • 2 layers88.5 × 28 mmExpBreakout, the printed circuit board in 3D

    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.