Loading topic
digitalWrite and analogWrite on an Arduino. Here you will learn what shoot-through is, why it damages hardware, how driver ICs 8 min readpinMode, digitalWrite, and analogWrite, and that you know the H-bridge direction states from the earlier chapters. You should also know Ohm's law and that a motor's speed rises with the voltage across it. Here you will turn that last fact into code: how a digit6 min readpinMode, digitalWrite, and analogWrite. It also assumes you know Ohm's law, can read a wiring diagram, and know that a transistor can act as a switch. Earlier6 min readsetMotor(). It also assumes you know what back-EMF and flyback paths are, and that you have a driver powered with a shared ground. If any of that is shaky, review the earlier chapters on motor basics, flyback prot6 min readanalogWrite and an H-bridge, as covered in the PWM speed control and Arduino control chapters. You should know what duty cycle means and have a driver wired with a shared ground.7 min readsetMotor function from the earlier chapters. You should also know Ohm's law, and that analogRead returns 0 to 1023 on a 5 V Uno. Here you will measure motor current, turn the reading into amps, and use it to detect a stalled mo5 min readanalogWrite. The goal is a repeatable method for finding th9 min read