6. VIRTUAL IMPLEMENTATION - H-Division-2021-2022-Even/Repo-04 GitHub Wiki

6.1 3D Modeling

6.1.1 Climbing Unit:

image

6.1.2 DetectionUnit:

6.1.3 Control Unit:

image

6.1.4 Display Unit:

6.2 Circuit Diagram

6.2.1 Climbing Unit:

6.2.2 Detection Unit:

6.2.3 Control Unit:

6.2.4 Display Unit:

6.3 Flow Chart

6.3.1 Climbing Unit:

image

6.3.2 Indication Unit:

image

6.3.3 Display Unit:

image

6.3.4 Detection Unit:

image

6.4 Algorithm

6.4.1 Climbing Unit:

  • Step 1: Start
  • Step 2: Turn power button on and read power button state as p
  • Step 3: Read the input from IR sensor as IR_state and height of step as step_height
  • Step 4: if IR_state==0 and step_height<=20cm
  • Step 5: Turn on the motor and rotate the triwheel
  • Step 6: else Turn off the motor and power button
  • Step 7: stop

6.4.2 Indication Unit:

  • Step 1: Start
  • Step 2: Read state of power button as p
  • Step 3: if power button is on indicate and read p=0
  • Step 4: else if power button is off indicate and read p=1
  • Step 5: Read the input from IR sensor as IR_state
  • Step 6: if IR_state==0
  • Step 7: Indicate no obstacle is detected and read indication_state=0
  • Step 8: else Indicate obstacle is detected and read indication_state=1
  • Step 9: if IR_state==1 and step_height>7cm
  • Step 10: Indicate process completion and read process=0
  • Step 11: Turn off power button if process==0
  • Step 12: stop

6.4.3 Display Unit:

  • Step 1: Start
  • Step 2: Read state of power button as p
  • Step 3: if (p==0) -> Display power button is on
  • Step 4: else if (p!=0) -> Display power button is off
  • Step 5: if (indication_state=0) -> Display no obstacle is detected
  • Step 6: else if (indication_state=1) -> Display obstacle is detected
  • Step 7: stop

6.4.4 Detection Unit:

  • Step 1: Start
  • Step 2: Turn power button on and read power button state as p
  • Step 3: if (indication_state=0) -> Display no obstacle is detected
  • Step 4: else if (indication_state=1) -> Display obstacle is detected
  • Step 5: if (indication_state=1 and step_height>20cm and step_height<15cm) -> Turn power button off
  • Step 6: Stop

6.5 Bill Of Materials

6.5.1 Climbing unit:

S.No Component Name Component details Quantity
1. Acrylic sheet Transparent 50cm²
2. Wheels 3cm diameter 12
3. Bread board 1
4. Microcontroller Arduino Mega 2560 1
5. Connecting wires Male to female and male to male 10 each
6. Motor driver L298D 2
7. Motor DC motor 4
8. Gears 3cm diameter 16

6.5.2 Indication unit:

S.No Component Name Component details Quantity
1. Microcontroller Arduino mega 2560 1
2. Sensor IR sensor 1
3. connecting wires male to female and male to male 10 each
4. Bread board 1

6.5.3 Display unit:

S.No Component Name Component details Quantity
1. Microcontroller Arduino mega 2560 1
2. Display LCD display 1
3. Connecting wires male to male 10
4. Bread board 1

6.5.4 Detection unit:

S.No Component Name Component details Quantity
1. Microcontroller Arduino Mega 2560 1
2. Bread board 1
3. Sensor IR sensor 1
4. connecting wires male to female and male to male 10 each

6.6 Final Model

6.6.1 3D Model:

image

6.6.2 Circuit diagram:

6.6.3 Flow Chart:

6.6.4 Bill of Materials:

S.No Component Name Component details Quantity
1. DC motor 30 RPM 4
2. Motor controller Aurdino mega 2560 1
3. Motor driver L298D 2
4. Sensor IR sensor 1
5. Switch Push button 1
6. Connecting wires Male to male and Male to female 10 each
7. Motor clamps 4
8. Wheels 3cm diameter 12
9. Display LCD display 1
10. Nuts and bolts Metal 15-20
11. LED 2
12. Gear 3cm diameter 16
13. Acrylic sheet Transparent 50cm²
⚠️ **GitHub.com Fallback** ⚠️