[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself


View post   

File: 195 KB, 978x904, 11254653634.png [View same] [iqdb] [saucenao] [google]
1519284 No.1519284 [Reply] [Original]

Hi, I'm learning arduino and I'm confused about what wires I can use to connect components.

Can I use these wires to connect for example a motor or potentiometer to a breadboard and arduino? Pic related

Can I just stick one end into a pin and attach it to a motor for example?

https://cpc.farnell.com/pro-power/1-0-60mm-100m-black/1-0-60mm-equipment-wire-100m-black/dp/CBBR0250?st=solid%20core%20wire

>> No.1519287

>>1519284
>Can I just stick one end into a pin and attach it to a motor for example?

yes. select a motor that runs at 5 volts and less than 40 mA.

>> No.1519520

>>1519284
You just need metal connecting the pins to each other. Connect by either soldering the wires, or use the correct male/female combinations.

Easy way: Just go to eBay and search 'arduino wires'.

>> No.1519547

>>1519284
For all low-power applications (potentiometers, sensors, buttons) you can use any kind of wire, the easiest are Dupont wires that have connectors already attached, you can buy a hundred for a few dollars on Aliexpress or eBay.
For high power applications, you need the appropriate wire and a controller. Arduino can't supply power to a motor (that isn't super small), so you need something to act as a switch. You can buy pre-assembled modules to control motors, but I very very strongly advise you to learn electronics basics before doing anything. You need to understand Ohm's law at the very least.

Once you understand Ohm's law, you'll be able to find the right wire for any application with this website: https://www.powerstream.com/Wire_Size.htm

>> No.1519550

>>1519520
>>1519547

good info, and might help someone, but OP posted the same thing in the arduino thread and got tons of replies.