SPRINT 1 BUILDING PHASE - L-Division-2018-2019/repo10 GitHub Wiki
The base is built with foam sheet.
Part | Material used | Dimensions |
Lower Base | 10 mm thick foam sheet | 27.5 x 30 sq.cms |
Outer Side Walls | 5 mm thick foam sheet | 7 x 30 sq.cms |
Inner and Upper Walls | 5 mm thick foam sheet | 3 x 30 sq.cms |
Paper Base | 5 mm thick foam sheet | 21.5 x 30 sq.cms |
Gear for Rolling | 5 mm thick acrylic | 15 mm diameter hole and 20 teeths |
Sub-System 1 | ||
Sub-System 2 | Sub-System 3 | |
Energy Interaction | --- | --- |
Data Interaction | Sensing of paper | --- |
Material Interaction | ---- | Paper to be cut |
Spatial Interaction | --- | --- |
Sub-System 2 | ||
Sub-System 1 | Sub-System 3 | |
Energy Interaction | --- | --- |
Data Interaction | Sensing of paper | --- |
Material Interaction | ---- | --- |
Spatial Interaction | --- | --- |
Sub-System 3 | ||
Sub-System 1 | Sub-System 2 | |
Energy Interaction | --- | --- |
Data Interaction | Sensing of paper | --- |
Material Interaction | ---- | --- |
Spatial Interaction | --- | --- |
#include<LiquidCrystal.h>
LiquidCrystal lcd(2,3,4,5,6,7);
void setup()
{
pinMode(8,INPUT);
pinMode(9,INPUT);
pinMode(10,OUTPUT);
pinMode(11,OUTPUT);
int pieces=0,piece1;
lcd.begin(16,2);
while(digitalRead(9)!=0) { lcd.print("Hello World!");
lcd.setCursor(0,1);
lcd.print("Insert the Paper");
}
if(digitalRead(9)==1)
{
lcd.setCursor(0,1);
lcd.print("Paper detected ");
delay(2000);
lcd.setCursor(0,0);
lcd.print("Select Quantity ");
lcd.setCursor(0,1);
lcd.print("Cut Pieces ");
for(pieces=0;pieces>=0;pieces++)
{
lcd.setCursor(4,1);
lcd.print(pieces);
if(digitalRead(8)==HIGH)
{
piece1=piece;
break;
}
delay(1500);
}
}
}
void loop() {
}