I have an LN298P H-bridge shield that I would like to use to generate a square wave with a frequency of 116 micro-seconds, +/-9v to 12v (18v to 24v peak-to-peak), maybe 0.3 amps. Is the LN298P suitable for this?
Square wave.pdf (39.6 KB)
I have an LN298P H-bridge shield that I would like to use to generate a square wave with a frequency of 116 micro-seconds, +/-9v to 12v (18v to 24v peak-to-peak), maybe 0.3 amps. Is the LN298P suitable for this?
Square wave.pdf (39.6 KB)
116 microseconds is not a frequency. If you meant a period of 116 microseconds, that's a frequency of about
8.6kHz, within the capabilities of all semiconductor H-bridges. You'll have to know the peak amps required, not "maybe 0.3A", to be sure the L298N can handle it. I presume by "LN298P" you actually mean "L298N" or "L298P"?
Bobsbees:
I have an LN298P H-bridge shield that I would like to use to generate a square wave with a frequency of 116 micro-seconds, +/-9v to 12v (18v to 24v peak-to-peak), maybe 0.3 amps. Is the LN298P suitable for this?
In the case of a square or rectangular waveform Epk = Erms = Eavg. The square or rectangular waveform (pulse) will have specified ON/Off rimes. Now as pointed out a square wave with a period of 116 micro seconds would be a frequency of 8.621 KHz. You may want to look at the data sheet to see how fast this H Bridge can switch?
Ron
Thanks everyone. I am building a DCC system for an N gauge model train layout and one engine typically uses 0.3A. I could use DCC++ but this is not what I want. As far as I understand DCC++ still needs human input to stop trains colliding and to switch tracks. I want Arduino to keep track (pun not intended) of each train and to make its own decision about how to stop trains colliding. You are correct MarkT, I have purchased an L298P.