I wanna know why my motor is getting switched on when I connect it directly to 1.5 V battery but when I connect it to a GPIO pin it gets off when GPIO gives 3.3 V. Also I wanna know if I can switch on my motor using GPIO pins without motor driver.
@abhayguptasmo05 You cannot directly control a motor using the digital pin of your bolt wifi module and it may at times damage your module also. Though it gives 3.3V the current from the bolt is very minimal to run a motor. So in order to control your motor using bolt module, you will need a motor driver like L293d which amplifies the current and drives the motor.
Ok thanks a lot . I will definitely try your suggestion