I want to receive data from TCP (http) and send it to a device that is an I2C slave. I am a CompSci person, very new to electronics.
Under worst case scenario I need to send 24 bytes per second over I2C, normally it`d be lesser.
To bridge the gap between http and I2C I know I need some thingy that can "listen" for data when attached to USB port and forward the bytes to the I2C slave.
Fortunately, I have an ATTiny85 lying around. and I am looking at GitHub - harbaum/I2C-Tiny-USB: Cheap and simple I²C to USB interface
Does this mean using harbaum's firmware I'll be able to use ATTiny85 to do this. Am I understanding correctly? Because as per https://forum.arduino.cc/index.php?topic=231279.msg1667673#msg1667673 , there's no straightforward way to read bytes from USB on ATTiny85.
BTW, the project is latency-crucial. I am open to learning about other chips/methods which wouldn't add to latency.
Another related project: USB to I2C Adapter using Arduino · GitHub