Now go up to tools and ensure that the board is selected as Arduino Uno and the serial port is correct (this can be checked by going into device manager in the control panel and see which port disappears when the Arduino is unplugged). Open the Arduino IDE sketch software and plug your Arduino board into your computer via USB.Ĭopy and paste the following code into the sketch. Add the transistor with flat side facing the resistors and terminals in I,14 and I,13 and I,12.Ĭongratulations you have now wired the breadboard! Connect one end of a new jumper cable to G,12, leave the other end, I will refer to it later as cable 3. Connect one end of a new jumper cable to E,9, leave the other end, I will refer to it later as cable 2. Add a new jumper cable with its terminals in E,13 and F,13. Add a 1kOhm resistor with its terminals in D,13 and D,9. Add a new jumper cable with its terminals in G, location of negative terminal of buzzer and G,14 Add a new jumper cable with its terminals in E,21 and F, location of negative terminal of buzzer. Keep note of where this terminal enters as it will affect the next two steps). Add the buzzer with positive terminal in J,25 (depending on the size of the buzzer, where the negative terminal attaches may very, however it will be in line J. Add a new jumper cable with its terminals in E,25 and F,25. Add a 1KOhm resistor with its terminals in D,25 and D,21. Connect one end of a jumper cable to A,25, leave the other end, I will refer to it later as cable 1. The pictures show most of the layout for the project, however I will give directions so mistakes are less likely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |