Prof. Gadre showed a microcontroller based circuit having three controls to change the intensity of an RGB led. Participants were taught how to actually provide the Roti, Kapda, Makaan and Internet in their final PCB. The power supply, reset pin and clock connections were shown. The connections required to program the microcontroller using the JTAG (Joint Test Action Group) were also laid emphasis on. This exercise of understanding a simple circuit took the participants a step closer to their projects. The PWM signal generation to change the intensity, the use of transistors for higher current capabilities, coarse and fine adjustment of the potentiometer, gave the participants a great insight into circuit designing! This further led to a discussion over the project ideas of the participants.
The participants started with the code for toggling the LED after every sec with the help of a timer, which was introduced in the previous lecture.
The lecture then proceeded with ADCs. MSP430G2553 has a 10 bit ADC. The various features of this ADC were discussed. The very concept of the analog to digital conversion, the appropriate sampling rate, the time required for the controller to produce the corresponding digital value, the various input channels of ADCs and the Sample and Hold Circuitry of the ADC were covered in detail. Successive Approximation ADC was also explained.
Abhishek Kapoor guiding the students with the ADC code
The session was mainly dedicated to resolution of doubts from previous lectures and discussion of project ideas that the participants had. All participants shared their design ideas (which they were supposed to implement in the coming week) with their mentors. Some of the projects discussed were:
- BBB-based Serial Terminal Server
- BBB-based door opening system
- Automatic plant watering system