Network and Communication

This Week's Objective


design, build, and connect

file of this assignment

OUT-Board, OUT-Schematic, OUT-Code
IN-Board, IN-Schematic, IN-Code

Tools Used in This Assignment

communicating two Board


this assignment i will be developing an important piece of my final project. the whole idea of my final project is depending on this because i need to communicate between two boards wirelessly. so i started by exploring the different options available to me in the lab.

the ir transmitter and reciver was the first option its ideal because of its capabilities to transfare small data. but the shortcomings of ir communication is that it requires line of sigt and they have to face each other which is not possible in my project. i had to opt for other option.
the bluetooth module hc 5 seemd another good wireless option but in my research i found that most people complained about the troubles to reconnect once the connection is lost and you would need to troublshoot alot and again this seems like a hastle to me specially if everytime i need to do this i would have to get it out of its place and troubleshoot it but never the less i gave it a try an i wasnt sucessfull. one issue i would like to point is that be carefull which modue you are using. because the HC 06 is only a slave so you cant use pair of the same yould need to have one of them HC 05 or pair of the later.

then i used the NRF transmmiter and reciever iliked this one the most since it can send the data without much problem you dont have the reconnection problem nor the clear sigt issue the only condintion is to stay within the same area which is the application of my project. so i started by testing it with arduino.

the code is simple in the input board it gives order read date from the MPU, then the data from the MPU is manepulated to count the steps. then a parameter called count is sent via nrf to the input board where it have a condition if the step count is certin number then it lights up the led and so on. i needed to include some libraries for the nrf and the mpu.
since it was working i started deploying them on the boards i made for my input and output assignment after

these boards were used in the final project and here is a final look of it. here i made the it light the light every step and after the fifth step to turn the light off.