Week-14 :- Networking and communications

This week assigment is to build a wired or wireless network communication between two processors. I am longing for a wireless device like walkie talkie or remote control. I do have the old schematics with me, but it doesn't have microcontroller/processor and all components are 1/4 W. Hence I am forced to think outside analog world. I am new in embedded programming and obviously take more time to write the codes by line. At first, I was planning to use one of my input/output device for the current project. The quote “The more I learn, the more I realize how much I don't know.” pushed me to the limits.

I planned to make two microcontroller (Atmega328p) PCB boards with ICSP, FTDI connectors and use all the available free ports. However, this will be similar to arduino Uno board. Almost all such PCB resembles like arduino. How ever I surfed for a compact arduino PCB design and found the best one. I have edited a few wires, rerouted a few tracks and added FTDI cable port for my requirement. The final design file can be downloaded here.

I wish to learn the below mentioned types of communication and I could use the same microntrollers for all the three.
  • Task 1:- Wired communication (TWI)
  • Task 2:- IR interface communication.
  • Task 3:- Wireless communication (Using MRF89XAM8A, 868Mhz radio transceiver module).






  • Task 1:- Wired communication (TWI)
  • This is a two wired interface, each microcontroller is capable of recieving the message from the host and can transmit the pulse. The pulse rate for both devices are different, thus it would be easy to identify the same. Numerous ports are available for the unit, I have used, ports D4 for transmitting the pulses, port D2 for recieving the pulse. The tactile switch is connected across D1 and Avcc. The program for the transmitter unit A can be downloaded from here.. The recieving unit B program can be downloaded from here. The workign of both the unit A and B conncted across two wire terminal is shown below. I have used IC7805 regulator to regulate the voltage to 5v for the microcontroller. Since this IC is 3 terminal, I have connected across the battery terminal for the ease. The transmitting-recieving video is shown below, all the parts and wires are depicted in the video.