Week 14

Apr 24. Networking and Communications



Group Assignment

Send a message between two projects

Instructions

  1. Compare communciation protocols
    • UART - Universal Asynchronous Receiver/Transmiter. Used for serial communciation. Asynchronous.
    • SPI Bus - Serial Peripheral Interface. USed to transfer information between integrated circuits in electronic equipment. Synchronous.
    • I2C - Inter-Integrated Circuit Protocol. Intenteded to allow multiple digital integrated circuits to communicate with on or more master chips. Synchronous.


Individual Assignment

Design, build, and connect wired or wireless node(s) with network or bus addresses.

All the electronics from inputs and outputs were reused for networks and communications.

Inputs

Even after finding out I was missing a conection the PCB worked and I was able to use it to turn on the lamp with a magnet. At the end it was not possible to connect this one on top of everything.

Outputs

Connected to inputs and to the app its able to trun on and off the lamp through software.

Light Bulb

Connect everything to the light socket.

Master

Use a master PCB to program everything.

Slave

The slave card was the outputs PCB previously made.

Light Bulb Test

Connect everything to the light socket and test.

Instructions

  1. Master Components:
  2. Create the master PCB, to be able to communicate through IC2
  3. Program the master PCB and connect it to your slave PCB, in this case it was the improve outputs PCB
  4. Program the slave code and program your PCB
  5. Because it is intented for short distance communications the circuits should be next to each other.
  6. The same connection will be used for the final project, to make the light bulb blink once you start your story, making the final connection available through bluetooth.