In our case with the button, you have voltage that can take two paths. If you look at the diagram, you can see a basic schematic on how this works. The main thing to remember is that electricity wants to go to ground as fast as possible. Now let’s start building! It shouldn’t take long – this is one of the easiest circuits you will ever make.Ī pull-up resistor, similar to a pull-down resistor, is a way to direct electricity or a signal to a specific location depending on certain conditions. You can use USB to power your arduino so there is no need to get a power supply for this tutorial. One for the USB cable and another for power. You can also power the board from some of these pins as well as get 3V and 5V from these pins.Īnd finally at the top of my board you see two jacks. You will also see pins which allow you to reset the board. Because of that, you will focus on the digital pins for this tutorial. On the right side of my board you will see the digital pins.ĭigital pins are where you can light up a LED, or detect if a button is being pressed. This are where you will insert components and interface with the board. On the either side of the Arduino you see two rows of headers. Now before you build the project let me talk about the Arduino. I think the starter kit might actually come with a button already so you might not need this, but I couldn’t find mine so I ordered one separately.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |