# 13. Networking and communications

## Schedule

- 5/21(Sat) local session 10:00-17:00
    - [Applications and Implications](http://academy.cba.mit.edu/classes/applications_implications/index.html)


## Instructors bootcamp 2023

- January: instructor bootcamp @ Waag (+ distributed)
    - [Fablab Amsterdam](http://fablab.waag.org/)

## USB-D11C-serial with 1x6 TH Pin and USB-A connector

[USB-D11C-serial with 1x6 TH Pin and USB-A connector](./tips/USB-D11C-serial-TH.md)  
  
[FA2022 USB-D11C-serial (Arduino IDE + Xiao)](./tips/FA2022_usbserial_ArduinoIDE_Xiao.md)



## Group Assignment

> send a message between two projects

### Assessment

[Assessment](https://fabacademy.org/2022/nueval/embedded_networking_and_communications.html)

> **What does "two projects" mean in the group assignment**  
> Answer: You need to send a message between any combination of boards, computers and/or mobile devices. You need to write code that sends or receives the message in question.

### Todo

[last year](http://academany.fabcloud.io/fabacademy/2021/labs/kannai/site/group_assignments/week13/#connect-esp-board-with-the-mobile-phone-with-wi-fi-succeeded)

[ESP32-CAM Switch bot](./tips/esp32-switch.md)

## Individual assignment

> design, build, and connect wired or wireless node(s)  
> with network or bus addresses

### Assessment

[Assessment](https://fabacademy.org/2022/nueval/embedded_networking_and_communications.html)

> **Can we use arduino/commercial boards for networking?**  
> Answer: Yes, provided one of the boards is of your own design and fabrication. Commercial wireless modules can be used provided they are integrated into your own design. You can use a commercial networking module as long as it is integrated in your own design. Note the difference between board and module - those are two different things.


### Todo

#### I2C

- I2C = Inter-Integrated Circuit
    - IIC(I-I-C)
    - I^2C(I-squared-C), I2C(I-two-C)

![](./images/week13/I2C-communication-protocol-ESP32.png)

Ref. [ESP32 I2C Communication: Set Pins, Multiple Bus Interfaces and Peripherals (Arduino IDE)](https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/)


#### Pull up resistor

- 10k ohm

|||
|:--:|:--:|
|Output device OLED|Networking I2C Board|
|10k   |4.99k   |
|![](http://academy.cba.mit.edu/classes/output_devices/OLED/hello.SSD1306.45.png){width=500}|![](http://academy.cba.mit.edu/classes/networking_communications/I2C/hello.I2C.t1614.png){width=500}|

- [OLED sch](https://learn.adafruit.com/assets/93884)


#### Address

Tips:  [Find I2C OLED Address and Display original image](./tips/i2c_oled_address.md)