MO2 ICP 4 & 5 - Abdullah-otb/IOT GitHub Wiki
Github:
https://github.com/AnthonyYos/IoT
https://github.com/s0720bae/IoT
https://github.com/M1K43L4/IoT-Robotics
https://github.com/Abdullah-otb/IOT
Video:
https://www.youtube.com/watch?v=aCr7s3Q86yA&feature=youtu.be
Introduction:
The purpose of MO2-ICP5 was to create a robot car that would be able to move using user input, as well as automatically move when it detects an object nearby in front via the sonar sensor.
Workflow/ Methods:
-
Divided tasks between members
-
Build chassis for car and test wheels if they work properly.
-
Build the app using the app inventor.
-
Create functions for car movement and sonar distance.
-
Implemented Bluetooth functionality and tested user input for each direction.
-
Tested for automatic car movement if obstacle in front is close by.
Circuit Diagram:

Parameters:
The function that changes wheel speed based on user input.

The function that finds the distance of objects in front of sonar.

User input for movement



Evaluation & Discussion:
ICP was rather straight forward. Some things that helped with the car was having another group's built already for reference when building ours, as well as following a tutorial on getting the motor connections wired properly and how basic movement works. Other tutorials helped with getting the sonar connected, and referencing previous ICPs helped with the Bluetooth and app inventor.
Conclusion:
Created make a basic Arduino-based user-controlled car, that can automatically move back if it detects a nearby object in front of it.