Skip to content

13. Networking: Angelina Yang and David Vaughn

Assignment

The assignment for this week’s group project was to network between both our projects. Because both of us used I2C, this process was not super difficult.

Networking Between Projects

To do this, we basically just connected David’s SCL, SDA, and GND headers from his ATtiny412 board to Angelina’s corresponding headers on her ATtiny1614 board.

We then uploaded this code I created for my ATtiny412 board which writes a ‘1’ when the step response input reaches a certain value and a ‘0’ when it drops below that value again:


**code for ATtiny412**

Next, we uploaded code to the ATtiny1614 which receives data from I2C. If the received message is a ‘1’, it turns on an LED, and if it is a 0, it turns it off.


**code for ATtiny1614**

Here is the video of the boards networking using I2C:


Last update: June 27, 2024