Week 3: Introduction and Basics of Arduino with Microcontroller

Week 3: Introduction and Basics of Arduino with Microcontroller

In the 3rd week, we were provided with the microcontroller kits and to know some of its basics we connect the kit to the computer and launched the Arduino compiler to run the codes. 

Arduino Uno

  • Breadboards
  • USB Cable
  • Wires
  • Transducers
  • You can also add on additional boards called shields

The first sensor we used was a light sensor and we programmed to control the speed of blinking of the light. First of all, we run an example from Arduino and see the blinking of light and later program to control the speed as we can see in the below image.


Making an onboard LED blink was our first foray into the world of Arduino, similar to the hardware equivalent of "Hello, World!" We uploaded a basic sketch of Arduino's word for a program—that manages the LED by connecting our Arduino UNO R3 board to the PC. This experiment demonstrated how software can manage hardware in a real-world setting, not merely by turning on and off a light. After mastering the fundamental LED blink, we proceeded to alter the code in order to adjust the blink frequency.


We learned about code iteration and how minor adjustments might result in major behavioural changes through this activity. We were able to show the dynamic interaction between the programme and the hardware by changing the delay times in the code, which caused the LED to blink more quickly or more slowly.






Comments