You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • Thanks for the compliment...

    Simply get yourself 4 bipolar/mos fet transistors - 2 pnp/p channel and 2 npn/n channel - and 4 resistors and cobble together an H bridge like below to the right. If you want to get it temporary going for some testing and SW development, put something together like in the middle (in dashed box). Almost any NPN transistor Q can do that can handle 100 mA Collector current (to be accurate, you would have to measure the stall current: hold the motor drive shaft and apply power and measure the current, that's the max the motor can draw). The diode D is for protecting the the transistor from reverse voltage generated by the motor. The resistor R I thumb-calculated for 3.3V 14mA... (more precise: 180 Ohm). An Espruino pin can source or sink 25mA, but with the caveat of voltage at the pin significantly lower than 3.3V or higher than 0V. Depending of hFE - amplification factor - of the transistor you should get enough power with a few mA driving the Basis. Play with the resistor and hFE of transistor you have...


    1 Attachment

    • RCDrivers.png
About

Avatar for allObjects @allObjects started