View Issue Details

IDProjectCategoryView StatusLast Update
0000228Microcontrollers, shields, automation, arduino[All Projects] Generalpublic2017-05-15 16:15
ReporterDigitalMy 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0000228: DC motor speed control (12V) by temperature (with Digispark)
DescriptionAdjust cooler fan speed from zero
depend on temperature of object.

Parts:
1. microcontroller with PWM out and analog in, ATtiny85
2. MOSFET /IRF520 module
3. termistor /NTC100K
2. power level converter AMS1117-5.0 (no need for Digispark)
Additional InformationAlso test dual MOSFET module
TagsNo tags attached.

Relationships

related to 0000220 assignedDigitalMy Microcontrollers, shields, automation, arduino Control stepper motors (drivers) powered by 12V with ESP8266 modules 
related to 0000199 assignedDigitalMy General Programming of microcontrollers 

Activities

DigitalMy

2017-05-12 10:05

administrator   ~0000516

Last edited: 2017-05-12 13:37

View 3 revisions

Digispark has power converter ST 78M05 on board, it's 3 pins on side.
V(in) can be 7V to 24V, so, perfect range for this purpose
Out to ATtiny85 chip is 5V.

So, connect :
GND - to power in and MOSFET S(3)
VIN - to power in and load (+)
PWM P(1) - to MOSFET G(1)
P(0) - to thermistor
5V - to thermistor

MOSFET D(2) to load (-)

DigitalMy

2017-05-12 13:47

administrator   ~0000517

Last edited: 2017-05-12 15:20

View 2 revisions

IRF520 MOSFET
Gate threshold voltage below 4V
Drain current (continuous) 10A
Drain-source voltage 100V
Switch time 50ns

DC motor (fan) is 12.0V 0.12A

DigitalMy

2017-05-15 12:37

administrator   ~0000523

Last edited: 2017-05-15 12:37

View 2 revisions

Tested dual D4184 MOSFET (paralleled)
module HW-0517, up to 15A load
It has 6 pins:
DC (+) in, up to 35V, min 5V
DCC (+) out *direct to in - to load
DC (-) in, G
DC (-) out to load
Ground from controller *direct to in
PWM trigger to controller, up to 20kHz

DigitalMy

2017-05-15 16:15

administrator   ~0000525

Last edited: 2017-05-15 17:22

View 3 revisions

PWM sounds motor up, add RC filter,
or simply grow frequency of hardware PWM.

Same sketch with Uno made https://www.youtube.com/watch?v=cU9oF3OKIlY