Created as a showcase project, AMAZE-28, the single-room summer house, was successfully constructed within 28 days on the grounds of the Kerala State Nirmithi Kendra. The 3D-printed building at the Kerala State Nirmithi Kendra in Thiruvananthapuram. (Photo: Shekunj) The inauguration of Kerala's inaugural 3D-printed structure, a 380-square-foot single-room summer house, is scheduled to take place on October 10 at the Kerala State Nirmithi Kendra (Kesnik) campus located in PTP Nagar, Thiruvananthapuram. Conceived as a showcase initiative, the summer house named AMAZE-28 was successfully finished within a mere 28 days. This impressive project was executed by Tvasta, a construction technology startup based in Chennai, founded by alumni of IIT-Madras, who have entered into a memorandum of understanding (MoU) with Kesnik. AMAZE-28 is perched upon a concrete foundation atop a gentle elevation within the Kesnik campus. Febi Varghese, the Director and Chief Executive Officer of...
Hi!!!
COMPONENTS REQUIRED -
- Arduino UNO (1)
- Breadboard (1)
- Jumper Wires
- Seven Segment LED Display (1) [Here we are using Common Anode Display]
- Resistor 220 Ohm (2)
- 5V Power supply
Components used in this tutorial. |
Lets see some details about Seven Segment LED display -
Seven Segment display is an electronic device which is generally used to display 0 - 9 decimal numbers. It has seven segment made up of LEDs and one LED as decimal point. These displays are of two types -
1 - Common Anode type
CIRCUIT -
Circuit diagram or connections. |
CODE -
In this section we will discuss about the code for glowing all the segments (LEDs) in a sequence and putting them off in the same sequence.To download full code CLICK HERE
Lets have a look on code -
In this section of code, we just output pin for the arduino, with which each segment ( LED) is connected. Here segment "a to g" is connected with "2nd to 8th" pin of arduino respectively. Decimal point LED is left disconnected.
This is section of code which is repeated continuously. Since we have seven LEDs, so here we used 'for loop'. For loop will count from 2 to 8 ( <9 ). And arduino pin corresponding to number in for loop will be put HIGH. And after a delay of 0.6 second same pin will be put LOW.
RESULT -
Here we completed our task. We can see that all the seven segments getting on and off in a sequence.
Comments
Post a Comment