manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. LearnOBots
  6. •
  7. Robotics
  8. •
  9. LearnOBots Firebot CODI User manual

LearnOBots Firebot CODI User manual

Firefighting Manual for CODIBOT
In this activity, we will give CODI the tools and program him in such a way that he will be able to extinguish fires.
STEP 1:
Attach the infrared sensor and the fan to the CODIBOT as shown in the picture.
STEP 2:
Make the connections between the motors and the Arduino. (refer the getting started manual)
STEP 3:
There are two components that we have to connect with the Arduino in this activity.
1. First, connect the infrared sensor to the Arduino, Infrared Sensor has four pins on it, make the connections
as follows:
Infrared Sensor
Arduino
G
GND
+
5V
D0
Digital Pin # 2
2. Second, connect the Actuator with the Arduino. The actuator spins or stops the fan connected to it, make
connections as follows:
Actuator
Arduino
IN1
Digital Pin # 3
GND
GND
STEP 4:
Once the connections have been made startup ArduBlock via Arduino. (for setup and installation see Getting Started
Manual). Make the Code as follows:
1. Drag and drop a do loop panel from the control tab.
2. Select a Set Digital Variable panel from the Variables/Constants Tab and snap it as shown.
3. Snap out the High panel from the value slot and insert a digital pin panel from the Pins Tab.
4. Change the digital variable name to Fire and change the digital pin # to 2.
5. Snap a SerialPrintIN panel, replace the message panel with the glue panel, clone the Fire Panel (Right click
and select clone) and snap it as shown in the picture.
6. Snap an if/else loop below the Serial PrintIN panel.
7. Select a “= = “ panel from the Test Tab and snap it in the test slot of the if/else panel.
8. Insert the Fire panel (Clone it by right clicking in it and selecting clone) and the LOW panel as shown.
9. Snap five set digital pin panels and two Analog Pin panels in the then slot and change their values as shown.
10. Select a delay MILLIS milliseconds panel from the control tab, snap it as shown and change its value to 5000.
11. Snap another set of five set digital pin panels and two analog pin panels in the else slot and change their
values as shown in the figure.
12. Upload the code into Arduino.
13. Now your CODIBOT is a firefighter. It will move forward until it encounters a flame, once it finds a fire it will
stop and will turn on its fan to extinguish the fire, once the fire is extinguished the fan will stop and the CODI
will move forward.

Other LearnOBots Robotics manuals

LearnOBots CODIBOT Parts list manual

LearnOBots

LearnOBots CODIBOT Parts list manual

LearnOBots CODIBOT User manual

LearnOBots

LearnOBots CODIBOT User manual

Popular Robotics manuals by other brands

Hanwha HCR-12 user manual

Hanwha

Hanwha HCR-12 user manual

Parrot Rolling Spider user guide

Parrot

Parrot Rolling Spider user guide

Hexbug Black Widow instructions

Hexbug

Hexbug Black Widow instructions

ROBOTIQ HAND-E manual

ROBOTIQ

ROBOTIQ HAND-E manual

Dobot Magician user guide

Dobot

Dobot Magician user guide

ABB IRB 6650S product manual

ABB

ABB IRB 6650S product manual

Butterfly Table Tennis Table City Concrete Outdoor Assembly instructions

Butterfly

Butterfly Table Tennis Table City Concrete Outdoor Assembly instructions

ROBOTIQ Sanding Kit quick start guide

ROBOTIQ

ROBOTIQ Sanding Kit quick start guide

ABB IRB 2400/L product manual

ABB

ABB IRB 2400/L product manual

SIASUN SCR5 user manual

SIASUN

SIASUN SCR5 user manual

Stem Xtrem Bots Charlie The Astronaut manual

Stem

Stem Xtrem Bots Charlie The Astronaut manual

pitsco Tetrix Max Creator's Guide

pitsco

pitsco Tetrix Max Creator's Guide

ABB IRB 6620 product manual

ABB

ABB IRB 6620 product manual

PEITIAN ROBOTICS AIR-TP manual

PEITIAN ROBOTICS

PEITIAN ROBOTICS AIR-TP manual

4M KidzRobotix Drummer Robot instruction manual

4M

4M KidzRobotix Drummer Robot instruction manual

Doosan M0609 user manual

Doosan

Doosan M0609 user manual

OHBOT v2.1 manual

OHBOT

OHBOT v2.1 manual

EFORT ER20-1700 Operation and maintenance manual

EFORT

EFORT ER20-1700 Operation and maintenance manual

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.