These are a set of 'competencies' that you need to be able to demonstrate in this unit. You need to make a copy (fork) of this repository
Write Python functions to control EV3 motors:
β Move forward for 2 seconds β Move backward for 2 seconds β Turn left 90 degrees β Turn right 90 degrees β Move in a square pattern πΉ Bonus: Make the robot move in a figure-8 pattern
β Ultrasonic Sensor: Detect an object and stop if it's less than 10 cm away β Color Sensor: Detect different colors and print them to the console β Touch Sensor: Stop the robot when the button is pressed πΉ Bonus: Display a custom message on the EV3 screen based on sensor input
β Move forward and stop if an obstacle is detected β If an obstacle is found, turn left or right to avoid it β Resume movement after avoiding the obstacle πΉ Bonus: Implement a randomised turning direction when avoiding obstacles
β Use the Color Sensor to follow a black line β Implement a basic proportional control to adjust motor speed πΉ Bonus: Modify the logic to follow curves smoothly
β Make the robot move forward and complete a course β Use the Gyro Sensor to track turns and navigate back to the starting position πΉ Bonus: Log movement data and print a path summary in the console
β Display sensor values (e.g., distance, color) on the EV3 screen β Make the robot play a custom beep sequence when it completes a task πΉ Bonus: Program the EV3 to play a short melody
β Create a GitHub repository for your project β Write a README.md explaining the logic and results for each task β Use meaningful commit messages when updating code πΉ Bonus: Create a flowchart showing your program's logic
βοΈ Push all code to GitHub βοΈ Ensure the README.md is clear and detailed βοΈ Each task should have at least one commit βοΈ Test your code before submission