Hi,
Can you give us a proper circuit diagram, even hand draw it?
Include:
Power supply.
Fan.
All interconnections.
Label ALL components and pins used.
Include ALL gnd connections.
How are you controlling speed, what is the speed reference input?
Sorry but he diagram in post #3 tells us very little of your project.
Tom...
![]()