Arduino Workshop Report

Arduino Workshop

The IETE-SF committee organized a workshop on the basic concepts of microcontrollers using the Arduino board on the 24th and 25th of January 2019. This workshop is yet another addition to their ongoing FORTNIGHT EVENT. The workshop was conducted by Dishant Shah and Maitriya Damani. The participants were introduced to the world of microcontrollers and the code syntax was explained.

Dishant started the workshop by giving the participants a basic idea about different microcontrollers and how they differ from each other. Then, starting with the pin configuration, the data sheet and the different pin functions were explained. Then the participants were showed how to code on the Arduino IDE (INTEGRATED DEVELOPMENT ENVIRONMENT). The IDE uses for void functions by default namely – void setup and void loop. The void setup, as the name suggests, is used for pin definitions and defining variables. The void loop performs the functions in a loop till the specified conditions have been met.

Then the participants were taught to make an LED blink based on the command sent by the code.

Serial communication and types of serial communication along with the reason for their existence was explained. The types of protocols for serial communication are as follows –

  1. SPI
  2. I2C
  3. Xbee

All the above mentioned protocols are IEEE standard and have been used for various applications.

After the theory was explained, the participants were explained how to integrate a sensor with the Arduino board and how to control them with a code. They started with a simple code to control the motion of a Servo motor.

On the second day, integration of Ultrasonic sensor to measure the distance of an object using the ultrasonic waves emitted by the sensor was taught. The concept is similar to how Bats navigate.

Then the participants learnt about what PWM is and how it functions. Also, they used the PWM function to control the speed of a DC Motor. This motor was interfaced with the Arduino board using a motor driver to pull more current to drive the motor. The concepts of what the difference between analog signal and a digital PWM signal is  and why PWM is needed were also explained.