Networking-Hello Serial Bus

      

Introduction:In networking assignment i am using neils board to establish wired network.Hello serial board given on the tutorial site following instruction as given

  • I downloade Hello.bus.45.bridge.png and Hello.bus.45.node.png files from the tutorial and fabricated on roland modela.Following figure shows the traces of the .png file and its fabricated board.
  •       

    hello.bus.45.bridge.png
    hello.bus.45.bridge.traces.png
    Actual Fabricated board
    hello.bus.45.Node.png
    hello.bus.45.node.traces.png
    Actual Fabricated board
    hello.bus.45.Node.png
    hello.bus.45.node.traces.png
    Actual Fabricated board

          

  • I fabricated the board and assembled all smd component, then mark each board as node 1, node 2 & node 3. then Downloaded C program code.

  • open the code and change #define node_id '0'
  • While programing Bridge board edited that node as 0 ,then for node 1 board edit as 1 ,and for node 2 board as 2
  • Bridge board while programming I connected to AVRISP and only for TX and RX i connected to the FTDI USB adapter. and loaded hello.bus.45.c program on Attiny45 after loading LED flashed once
  • Same for the other two board but here i dont have to use FTDI USB adapter to communicate.uploaded program using AVRISP-> VCC, GND, MOSI, MISO, RST, SCK made all connection properly & uploaded program successfully.
  •       

  • Following figure shows fabricated board as marked and program uploaded on it
  • three Fabricated board

          

  • Fabricated straight ribbon cable with 2*2 header pin. and connected as shown below. given supply from the PC to FTDI USB Adapter.2 pins for RX and TX & other 2 Pin for VCC and GND
  • three Fabricated board

          

  • Now it's time to see the response in the wired networked Board.In arduino IDE need to set proper port and then in the serial monitor I entred 0 all LED in wired network flashe once and then 1 again all LED flashed once
  •       

    Video Link

          

          

    .png image

    .png image

    C Program

    hex file

    .python program