the_norris
New Member
Hi all
Been lurking with intent for sometime.
Well I've started on a project to build a simple PWM controller for a model railway. I got myself a kit/breadboard and PICAXE 14M.
So far I've build the Voltage regulator circuit - power from a bench PSU. This works great.
Then I gotthe chip and download circuit working after a bit - found that the download socket's pins are a bit too short to work on a breadboard well. - fixed.
Next step was to read a linear Pot. - used the debug command to output to reading back to laptop. - worked, yippy!
The only problem is that i'm trying to use PWN to drive a IRF530. Here are my questions:
1) Which pin of the 14M should I be using for the output of PWM?
2) I'm following the circuit in the picaxe_manual3 - page 7 for the IRF530 - i'm not sure from the circuit diagram where source and drain should connect to 0v or 12v - gate is to the picaxe.
Thanks for any help.
Phil
Been lurking with intent for sometime.
Well I've started on a project to build a simple PWM controller for a model railway. I got myself a kit/breadboard and PICAXE 14M.
So far I've build the Voltage regulator circuit - power from a bench PSU. This works great.
Then I gotthe chip and download circuit working after a bit - found that the download socket's pins are a bit too short to work on a breadboard well. - fixed.
Next step was to read a linear Pot. - used the debug command to output to reading back to laptop. - worked, yippy!
The only problem is that i'm trying to use PWN to drive a IRF530. Here are my questions:
1) Which pin of the 14M should I be using for the output of PWM?
2) I'm following the circuit in the picaxe_manual3 - page 7 for the IRF530 - i'm not sure from the circuit diagram where source and drain should connect to 0v or 12v - gate is to the picaxe.
Thanks for any help.
Phil