Posts

Showing posts from February, 2023

DAY 4

Image
DAY 4 Today our objectives were: - To refine the code and ensure that it works as expected. - To add another car. We started off by adding more questions to the app. This was to make the game a lot more realistic. We decided to add 10 questions so that the game is not too long, and not too short. Previously we had used 3 questions to ensure that the app and car were working as expected and that the transition between questions is as expected. Some of us worked on creating and finishing the poster today, whilst the rest of us attempted to try and program a victory dance to the car to add a bit more to the project. So far, everything is going as expected! After this has been done, we just need to finally replicate this onto another car, so that there are 2 cars. This will make the game a lot more competitive and more fun as a whole. Below is the final product. If there is one thing that we would improve on if we had more time is to add more of a variety of questions, rather than just mat...

RACING ROBOT CAR DAY 3

Image
 DAY 3 Today we did the following as planed: - Uploaded program onto the chip - Create an app to control the car via a mobile phone. GOAL 1 This goal took us loads of research, due to not programming in this language before. We watched quite a few tutorials to ensure we are uploading this code correctly and it did take us multiple attempts. Our code is as below:   The code basically takes an input value from the Bluetooth, and depending on the value (1 or 0), it will move or stay still. If the incoming value is 1 (correct answer), then the car will move forward vice versa. GOAL 2: - Create an app to control the car via a mobile phone. Top create the app, we used 'MIT app inventor' online. This made it much easier to create the app, due to the abstraction of the website. This app allows us to connect the app to the Bluetooth and answer questions from the app accordingly.  The incoming value in the above code, will be the value returned from the app when a question is answe...

RACING ROBOT CAR DAY 2

Image
 DAY 2 Today, we had planned our objectives as follows: - Program the Arduino chip with test code. - Test the new chassis and motor driver with our new found knowledge about the batteries and the voltage, using the pre-programmed code on the chip. -Test how fast the car can move, and overall testing the limits of the car to see what best suits our project. GOAL 1: - Program the Arduino chip with test code. We firstly uploaded some test code to the Arduino chip to ensure that the car moves as programmed. Below is an example of the test code that we had used. This was very simple and we encountered no issues! GOAL 2: - Test the new chassis and motor driver with our new found knowledge about the batteries and the voltage, using the pre-programmed code on the chip. We had to firstly assemble this as follows: This was also very simple to do! Our car was working as expected! Below is a video showing the car spinning! GOAL 3: -Test how fast the car can move, and overall testing the limits...

Racing Robot

Image
THE RACING ROBOT ___________________________________________________________________________________ Hello! Welcome to our Year 2 project where we have decided to design a Racing Robot car! We have decided to create this project for educational purposes, intending to further engage students when in a learning environment. This blog will show the process that we followed, along with the challenges we faced when creating this project.  Two days before each lab day, we had meetings with our advisor to help ensure that we are on the right track, and heading to the completion of this project without any issues! The Aim of the Game: There are 2 cars that compete with each other. Each player has to answer questions displayed on the screen, and the player with the most correct answer will win!  For every correct answer, the car will move forward on the track, until they reach the finish line. The winning car will do a victory dance! ____________________________________________________...