PWM + I2C interference in fan controller

Guest #6005269
Rate this post
• ▲ useful
▼ not useful
Hi,

I'm building a fan controller for a vintage computer and I'm facing some 
difficulties isolating the I2C bus and the motor PWM.  When I have a fan 
connected to the output, spikes are being introduced into the I2C bus 
which sometimes causes misreadings of the LM75A sensor data.  Can anyone 
suggest a simple way how I can decouple the two parts of the circuit 
better?

Please see the attached schematics and an image from my oscilloscope 
that shows the spikes.

Thanks!
Hans
Attached files:
#6005660
Rate this post
• ▲ useful
▼ not useful
Hans H. wrote:
> Can anyone
> suggest a simple way how I can decouple the two parts of the circuit
> better?

show us your layout. I guess there is a significant problem with it like 
bad ground routing, no decoupling, signal paths next to power paths ...

2N7000 @ 3V3 GS can only drive <<100mA, it is only specified for 4.5V 
and its maximum threshold voltage is 3.0V. You need a real logic level 
Mosfet unless you use a toy ventilator with very minor current 
consumption (like a few mA max).

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.