Skip to content

HyperToxic33/EBB-Fan-Control

Repository files navigation

EBB-Fan-Control

Cooling Fan Control for EBB 36/42 CAN

WARNING: You are about to read a guide written by a random dude on the internet. I am not an electrician, in fact I'm a computer programmer. I'm not responsible if you burn your house down or if you destroy your personal property. Follow this guide at your own risk.

This is a guide to show you how to control a 3rd fan from your EBB 36/42.

BJTs are generally low power devices that may be driven by microcontroller i/o pins. The configuration I tested this with is the PB9 pin on the EBB 36 board. Per the schematic from BigTreeTech, PB9 has a 100 ohm resistor in front of it. The (B) base of the transistor should not be supplied more than 5 mA. In order to supply 5 mA to the (B) base; we need to add 900 ohms of resistance. 5 V / 5 mA (0.005 A) = 1000 Ohm (1k Ohm). The 900 ohm resistor is an ideal value. You can use slightly less or more (less is preferable; as more will limit the current). I am using an 820 ohm resistor (this will fully saturate the transistor and allow it to run more efficiently). If you use another pin, do so at your own risk, as not all the pins are configured the same.

Due to the fact that the Sunon MF20100V1-1000U-A99 2010 Axial Fan is a Brushless DC fan, a diode for flyback should not be required as diodes are used internally.

The BJT 2N2222A (NPN) Transistor is good for continuous current of up to 800mA. The Sunon MF20100V1-1000U-A99 rated power consumption of 0.53 watts @ 106 mA (far below the power limit of the 2N2222A)

What you will need:

  • BJT 2N2222A (NPN) Transistor
  • Sunon MF20100V1-1000U-A99 2010 Axial Fan
  • 900 or slightly less ohm resistor
  • Suitable wire and connectors
  • Solder
  • Heat shrink tubing
  • Heat gun

The connections are as follows:

  • Fan positive wire to +5v.
  • Fan negative wire to 2N2222A Collector.
  • 2N2222A Emitter to GND.
  • 2N2222A Base to the 900 Ohm Resistor.
  • Other end of 900 Ohm Resistor to EBB36 pin PB9.

Here is my Klipper config for the fan:

[controller_fan canbus_fan]
pin: EBBCan:PB9
max_power: 1.0
shutdown_speed: 1.0
kick_start_time: 0.5
heater: heater_bed
fan_speed: 1.00

BJT 2N2222A (NPN) Transistor

2N2222A

https://components101.com/transistors/2n2222a-pinout-equivalent-datasheet

Final Assembly:

Please note: Current limiting resistor not shown. Current limiting resistor must be installed between PB9 and 2N2222A Base. 2N2222A

EBB 36 Connections:

2N2222A

Installed in EBB 36 /w CB-C2:

2N2222A

Where to find stuff:

I purchased these Transistors from amazon:
https://www.amazon.com/dp/B09DWP4XZ6

I purchased these Resistors from amazon:
https://www.amazon.com/dp/B09PQMYKV4

You can find the Sunon 2010 fan here:
https://deepfriedhero.in/products/cb-c2-can-bus-for-clockwork-2-kit-by-kejar31?_pos=2&_sid=f8ab6f119&_ss=r

Or here (although you will not need the 5V step down regulator):
https://e3d-online.com/products/revo-micro-fan?_pos=1&_sid=c0ca8e5c3&_ss=r

Or here:
https://www.digikey.com/en/products/detail/sunon-fans/MF20100V1-1000U-A99/10441397

Or if you prefer, the fan comes in a Kit for CB-C2:
https://deepfriedhero.in/products/cb-c2-can-bus-for-clockwork-2-kit-by-kejar31?_pos=2&_sid=f8ab6f119&_ss=r

Technical Information:

Ohms Law Calculator:
https://ohmslawcalculator.com/ohms-law-calculator

BJT 2N2222A (NPN) Transistor datasheet:
https://components101.com/transistors/2n2222a-pinout-equivalent-datasheet

Sunon MF20100V1-1000U-A99 datasheet:
http://portal.sunon.com.tw/pls/portal/sunonap.sunon_html_d_pkg.open_file?input_file_name=7264646F632F3230313731322F3236363131352F28443032303236313930472D3030292D312E706466

About

Cooling Fan Control for EBB 36/42 CAN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published