Introduction
This weeks assignment is:
Design and build a wired &/or wireless network connecting at least two processors
For this project I decided to use my output board and combine it with a bluetooth module for wireless connectivity. The bluetooth module used was the HC-06 and the the chip used was the Atmega 328p
The HC-06 is as shown below
I then developed the board using Eagle and provided an interface port for the bluetooth module as well as the relay module
The Final board looked as shown below
For programming I hard to connect the bluetooth module and test its functionality with my board. From the test the following deductions were made, the board received the required amount of power as the ground and vcc pins were connected accurately. However, the RX and TX pins were not connected in the correct order with the atmega 328p pins, they were interchanged, but luckily the connection to the board was through jumpers this was easily corrected.
The connection has to be in this order
I also tested the bluetooth module by connecting it to an Arduino board so as to test its operation before replicating it to my board. Data is received or transmitted with an arduino using the Serial interface (Serial.print() and Serial.read()) . The application I am using on the Android phone is that developed in the interface application assignment.
The board was then paired
The code is as shown below: