Final Weekly Report
Introduction
In the efforts of trying to familiarize ourselves with microcontrollers through the Arduino prototyping board, we came up with a simple design project that we executed in a span of five weeks. The design project was about controlling an Arduino board through Bluetooth using the HC-05 Bluetooth module. The project included the Arduino Uno prototyping board, HC-05 Bluetooth module, 16x2 LCD screen and the 4x4 keypad. In this report, a detailed step by step description of what took place in the five weeks has been clearly stated under each week.
In the first week, we did thorough preparations for our forthcoming project. This was mainly achieved through researching on the internet for useful resources that could be of great help to the project. Furthermore, we researched about various components that we could apply in order to make our idea a success. We obtained lots of literature concerning the Arduino board and its associated components, thanks to the large and ever-growing Arduino community worldwide
In this week, two Arduino Uno boards and one LCD screen were acquired at first. Afterwards, two HC-05 Bluetooth modules and another LCD screen were ordered. We researched about different types of keyboards/keypads that we could use for the project. We also researched different means of connecting the Arduino boards via Bluetooth as well as displaying texts on an LCD screen. In the forthcoming week, we laid a plan to test the LCD screen with the Arduino board by simple exercises such as displaying texts and using a password. We were to start testing by connecting the Arduino boards with the Bluetooth modules and a keypad when the components arrived.
In this week, we did two experiments to help us in our project. The first one was to connect an LCD screen with the Arduino board. We connected our components as per the following diagram to connect the LCD screen to the Arduino board
.
We learned how to operate an LCD screen in our project.
In the second experiment, we ran an LCD screen and keypad with the Arduino board based on the above diagram. We also tried to connect LCD screen with the 4X4 keypad as per the same diagram.
In this lab we worked on the following tasks which were part of the larger project:
We got the keypad functioning correctly with the LCD screen. It displayed the keys input on the keypad as text on the screen. We, however, had a few problems with the input connections, where the display kept flickering and flashing on the screen. However, we solved them by using the following code.
Therefore, we developed a final code to help the program run correctly and efficiently.
We used the following code:
We worked on a code to generate a sequence of beeps with a Buzzer and tested it on a circuit based on the following diagram.
We also tried to play a few tones by manipulating the buzzer codes. Thus, we included some codes into our project code for further testing and experimenting.