Hi
plz tell if want to connect my solenoid to Arduino using motor driver than can I connect it directly to the motor driver or i need to make a circuit .
Basically I want to know that if i connect directly without using diode and resistance
would it short the motor driver ??
if i need to create a PCB circuit so a circuit diagram will be appreciated
I moved your topic to an appropriate forum category @690.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
Electronics is not my strong point. What are the specs of the solenoid (voltage, current)?
You can have a look at any article on the web how to connect a motor and a L298 to an Arduino; there are thousands. Bounce your idea here as in those thousands 90% might be crap.
Sir can you tell me if i connect my own solenoid simple copper winded up on nail or spool and i directly coonect it to l298 motor driver it will short circuit the motor driver . If yes then how can i prevent from it
Let's say you used AWG 18 copper wire and a 12 penny nail. That's what I used when I was a kid.
You could wrap maybe 50 turns, that would require about 46 inches of wire plus 4 inches for leads so let's say 50 inches of wire. The total resistance of the wire would be around 0.027Ω. If you put 12V on it it would draw 12/0.027 = 444A. So yes, it would be way way to much current for the L298
What you need to do is use a smaller gauge wire and wrap many many turns until you get around 8Ω of wire resistance or use a smaller voltage like 5V and 3.3Ω