Page 171 - CodePilot V5.0 C7
P. 171

You entered an Adventure Island where everything runs on student-made inventions.
                                   Which device would you like to be present there and how would it make life easier on
                                   the island?






                        IDE OF ARDUINO


                 The Arduino Integrated Development Environment (IDE) is a software platform where you can
                 write, edit and upload code to an Arduino board. It helps you control electronic components like
                 lights, motors and sensors. The IDE checks for errors and allows you to upload code via USB. It also
                 provides helpful error messages to guide you in fixing issues, making it easier to organise, test and
                 control your projects.


                 WORKING OF ARDUINO IDE

                 You  can understand  how  Arduino  works through this example  of blinking  an LED,  which
                 demonstrates how it processes and interacts with electronic components. The Arduino allows you
                 to control electronic components like LEDs by programming it with either block or text coding.
                 In  this circuit,  the Arduino  UNO  is placed  on the workspace  with the breadboard  next to  it.
                 The LED and resistor are then positioned on the breadboard.
                 To make an LED blink using an Arduino, follow the given steps:

                 Step   1    Connect one leg of the resistor to the anode of the LED.
                 Step   2     Connect the other leg of the resistor to Digital I/O Pin 13 on the Arduino UNO using a
                             jumper wire.

                 Step  3      Connect  the cathode  of the  LED  to  the  negative rail on the  breadboard  using  a
                             jumper wire.
                 Step   4     Connect the GND pin on the Arduino UNO to the negative rail of the breadboard

                             using a jumper wire.



















                 Step  5     Click the Code button to open the code editor.
                 Step  6     Click on the EDIT MODE dropdown button.




                                                                                                                  169
                                                                                     Designing Circuits with Tinkercad
   166   167   168   169   170   171   172   173   174   175   176