Hey I just finished a project with LEDs and the led should be plugged into pin 13 and GND of Arduino and I do not want to use breadboard so I put a dupoint wires in 13and ground that go to the led just to extend the led but I the led keeps slipping out of the dupoint wires. If there any quick thing I can do to keep it in there? Can I stick a peice of tape there or will that make it break idk.
If you connect an LED directly to your Arduino without a current limiting resistor you could damage your Arduino. The addition of the resistor is going to make it even more difficult to connect the LED using dupont wires. My recommendation is to either use a breadboard or else solder the circuit together.
I'm still learning Arduino, but on one of the Arduino tutorials in exampes shows to connect the led to pin 13 and GND of the Arduino because there is a resistor build into one of them. Correct me if I am worng.
Thanks
William1026:
I'm still learning Arduino, but on one of the Arduino tutorials in examples shows to connect the led to pin 13 and GND of the Arduino because there is a resistor build into one of them. Correct me if I am wrong.
You are right about the tutorial.
But ...
As is the case with many of the tutorials here, the tutorial is nonsense and in fact, dangerously misleading!
The built-in resistor did exist - incorrectly in a very old version of the Arduino. Something like ten years ago.
That will give you an example of how well the tutorials are - not - up to date and checked for errors.
Ah okay. Thanks. So should I connect the led to a breadboard still to same pins just add a 220 resistor to the breadboard?
I was hoping I didn't have to use a breadboard because I don't have enough room in housing for it
When it comes time to put the project in a housing that's when you solder it together on some stripboard or protoboard. Breadboards are only for prototyping circuits. They are not well suited for finished projects.
Let me first just tell you exactly what this project is to clear things up.
I am building a project that has two sides one that goes on the inside part of a door which will have a button, and a other side outside of door which will have an led fit into a hole punched on housing outside. It will be a do not disturb light that the person can turn on inside room to light up a led outside telling other people.
Paul___B told me I need the led connected to breadboard meaning when I put in housing I will need to connect led to stripboard and I connot fit a stripboard in the outside housing.
You can cut a stripboard down to any size you need. In this case that would only be a tiny piece of board. Do you know what a stripboard is? It's a sheet of PCB-like material with a grid of holes and copper traces you can solder to and cut to make permanent circuits:
You can cut them with a pair of scissors, a knife, or a saw. I find the scissors ends up with an ugly jagged edge. A hacksaw makes a very clean cut. It is kind of slow and creates fiberglass dust.
Since this is such a simple circuit, you could just directly solder everything together with no board.
Thanks pert. Didn't know that. I'm not thinking of this as a permanent project because I would really love to make a alarm I just don't know how to yet so I was doing this for fun for a little.
Breadboard is nice for temporary circuits because it's fast and you can recover all the components to reuse. In this case an LED and resistor is very cheap so that's not such a big deal. In fact, it usually feels like a waste of time to me just to find the right bag to put the resistors back in. I guess most people would just throw them away after pulling them out of a breadboard.
They do make super small breadboards:
https://www.ebay.com/itm/142724018054
Wow those are extremely tiny breadboards!!
I don't really care about the led and resistor, in fact this may sound very stupid but I care about the wires because I do not have many wires and I would rather put them to use in my permanent project and save money.
William1026:
I don't really care about the led and resistor, in fact this may sound very stupid but I care about the wires because I do not have many wires and I would rather put them to use in my permanent project and save money.
Heh, heh ...
The "Dupont" wires are only for breadboards (and the equivalent sockets on a UNO). I do not use UNOs because they do not offer anything I need. The Nano is the "workhorse" of the Arduino world, somewhat supplanted by the WeMOS D1 mini when you wish to access the Internet or just basic WiFi. If you do not need USB/ serial communications at all, the Pro Mini is the most elementary module to be used. It makes no sense - apart from ephemeral gratification - to construct a "breadboard Arduino" from the component parts.
Once you propose to put it to actual use, the mechanism is soldering. It is simply impractical to assemble electronics without. Stripboard is highly effective, moving to PCB manufacture (by a proper manufacturer, likely in China) for compactness and multiple production.
So just solder a resistor to your LED(s). Use "spaghetti" tubing to cover the joint (and possibly the resistor as well).
As to wires, look out for telephone cable - the multi-pair stuff that is run down the street (unless you are in a modern development ) with many coloured wires, or used in a larger building, discarded during renovations - free! This is single-core, used where there will be no movement. Where flexibility is needed, you will need to purchase (or recycle) wire accordingly - "rainbow" cable is useful for signal circuits.