Project :
We are going to do this project in which we can blink led either on board or off the board according to our wish.
Hardware required :
- Arduino UNO board.
- LED (of any color)
- Resister 330ohm (not mandatory)
- Connecting wires/Jumper wires.
- PC to configure arduino board (with arduino software installed).
- Bread board.
Fritzing project |
Steps to follow :
- Connect the Led by identifying the positive lead of led according to Fritzing image
- The resister if added good otherwise it is not necessary to put on resister because the current is limited to each pin of arduino boards.
- After this connect the board to PC by USB cable and then open up the IDE in PC.
- Goto File>Examples>01.Basics>blink
- The following Code will open.
- By clicking the new window will open in which the piece of code will be written.
- Check that your board is correctly selected and serial port is correct.
- Click on upload button and wait for code to get uploaded.
- After successful uploading of code the LED will start blinking automatically.
- Notice that every time you restart your Arduino Board the Led will automatically start blinking it self.
No comments:
Post a Comment