Current through R1 = V/R1 = (5 - 2)/330 = 0.009A or 9mA
So two LEDS = 2 * 9 = 18mA
yeah, there was actually an earlier picture in the sequence and i got lazy in rounding up when captioning that pic.
thanks for pointing it out and keeping it accurate.
Don’t worry about the current going into the control pins of the L298.
What you have there will work, without causing any overload or damage to your controller.
okay - good to know, i can be a bit more at ease.
The input pin current load of the L298 is maxium 100uA, not worth worrying about.
okay, that’s great - thanks.
didn’t want to rely too much on the actual specs because the module i got is a cheap knock-off (less than a dollar more than just the L298N chip itself !)
infact, i think the chip on the module is somewhat ‘busted’; on one of the channels, the reverse polarity won’t work! (you get what you pay for )
while i’m just learning to use and control H-Bridges, i guess i can live with it - at least i can make a 2-wheel-drive vehicle go forwards and stop ! (and spin 180^ if it needs to “reverse”.)
eventually, i will try to rig up my own H-Bridge with actual MOSFETs and capacitors and flyback diodes.
i just realized i could actually just measure the current while the setup is running !!
(just to be safe and know for sure what that module is ‘doing’.)