I was given an assignment for a class in my university. The assignment was to build some sort of a robot that detects fire. I decided to build a firefighter car, that would detect fire and have the ability to throw some water at it.
Along with my classmate we managed to build the whole thing from scratch (I need to add here that we had a helping hand from Mihalis Vassilakis from this amazing workshop for arduino in Greece, so go check them out, they make all sorts of super cool projects you might like)
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Get All the Components
For this project you will need :
- Arduino UNO board
- Thermistor temperature sensor
- IR sensor
- HC-06 Bluetooth Module
- Small water pump
- L293D motor driver
- A 12V&13000mAh LiOn rechargeable battery
- A car chassis like this or that which can
fit the above,and move with them on it
- An android phone that can run the ardumotive
app (the .apk file which is linked below)
If you happen to run into any trouble with that
app you can use this one
And optionally you could use :
- a suitable amount of LEDs for the fire alarm (we used just one to be honest)
- a buzzer, again,for the alarm (we didn't use one so we could work in peace)
- a small water canister for the pump (we didn't use one to avoid accidents since
we are both particularly clumsy)
- 1M & 100K resistors for battery level (we did use those)
Step 2: Time for the Connections
Now, you have to man-up and make all the connections according to the schematic (I am sorry for the look of the IR and Thermistor sensors, i couldn't find the components in Fritzing so i made them in paint :P)
Step 3: Code
Now upload the bob.ino code to your arduino UNO, AFTERyou have re-calibrated everything we prompted you to re-calibrate through the code's comments
!!!!! CAUTION !!!!!! IN ORDER TO BE ABLE TO UPLOAD YOUR CODE TO THE ARDUINO UNO, YOU WILL HAVE TO FIRST DISCONNECT THE TX AND RX PINS FROM THE BOARD (pins 0 and 1 of the digital - pwm block).
Don't say we didn't warn you.
Step 4: Smartphone Bluetooth Connection
Now, it's time to connect the car to your smartphone via bluetooth. Turn on the bluetooth on your ANDROID SMARTPHONE.
Bring up the app, and find the device that reads HC-06, select it, and wait for the app to connect.
YOU ARE NOW READY TO USE YOUR MINI FIREFIGHTER!!!!! (if u want to turn on the pump, you will have to use the lights button. sorry for that we couldn't integrate the pump in any other way)