1
vote
1answer
118 views

Cheapest AVR With Built in I2C Support

I'm looking to build a pretty basic project that relies on several submodules that use I2C for communication. I'm trying to find the smallest, cheapest AVR device that supports I2C. I know the 328P ...
2
votes
1answer
389 views

Best way to communicate Raspberry Pi and ATTiny13

What is best way to connect two or three microcontrollers, ATTiny13 to Raspberry-Pi and get master (Raspberry Pi) communication? Are there any ready libraries for ATTiny13 for SPI or I2C? Maybe some ...
1
vote
1answer
201 views

SMBus with AVR?

I'm looking at using some sensors that have an SMBus interface. The signaling looks an awful lot like I2C. What are the main differences between I2C and SMBus? Can the TWI hardware of an AVR talk to ...
1
vote
1answer
126 views

I2C Communication Speed across Sensors

I'm curious as to how fast I can communicate between multiple sensors. I have a board with an adxl345 digital accelerometer and an itg3200 3-axis MEMS gyro on I2C. I'm trying to build an IMU which ...
0
votes
1answer
81 views

Keep SPI/TWI master active?

I'm designing a data recorder application which uses an 8-bit AVR microcontroller. It uses the TWI and SPI interfaces with the microcontroller being the master. There is one SPI device, a microSD ...
2
votes
2answers
1k views

What is the speed of I2C for AVR communication?

I'm doing a project where I'll have a lot of slave ATtiny's and one master controller (either an Arduino/ATMega or an mbed). I assume the ATtiny with it's low clock speed of 10MHz will be my ...
20
votes
10answers
4k views

SPI or I2C… which to use for a longish bus

I'm contemplating a project that would require several AVRs talking to each other over a bus. They'd be separated by as much as 6 feet. It seems like both I2C and SPI can let a series of micros ...