The day began with a discussion over the input devices required for interfacing with the physical world. This was followed by an introduction to Multiplexing wherein a trade-off existed between the number of microcontroller pins used and time. It was put to use to control several seven segment displays. Next in line were the concepts of high side and low side switching. Its common application in multi-storeyed building staircase system was highlighted.
Sir introduced a modulation technique, known as Pulse Width Modulation (PWM) which involves successive train of pulses of varying duty cycles in contrast to continuously varying analog signals. Its analog and digital implementations along with its significance in LED intensity control and motor speed control were explored.
Track A - MSP430
In the afternoon session, the participants worked on input-output interfacing. The user input was recorded through a push button switch and the on-board LED toggled accordingly.
Track B - BeagleBone
Cape zero was mounted on the BBB and script file for blinking an led using bash was discussed as well as implemented.
Then, after snacks, the Python Adafruit library was installed in everyone’s BBB and a Python code was written to control the 7- segment display on cape zero. Finally, the class concluded with instructions on how to boot an operating system using SD card.