MPU6050 connected to NANO (Salve) sending data to UNO(Master) through SPI!
hi all
i have connected mpu6050 arduino nano i2c (jeff rowberg) , want send sensor readings of nano uno (master) using spi!
my master(uno) , slave(nano) can't communicate while want report sensor values in slave using spdr ''http://www.gammon.com.au/forum/?id=10892'' explains !!!
(sensor readings are'nt transfered in master)
i have serial.begin(...) in both master , slave (in master run slave communication , in slave read mpu6050 data) problem?!
thanks in advance
i have connected mpu6050 arduino nano i2c (jeff rowberg) , want send sensor readings of nano uno (master) using spi!
my master(uno) , slave(nano) can't communicate while want report sensor values in slave using spdr ''http://www.gammon.com.au/forum/?id=10892'' explains !!!
(sensor readings are'nt transfered in master)
i have serial.begin(...) in both master , slave (in master run slave communication , in slave read mpu6050 data) problem?!
thanks in advance
this nick gammon's webpage on spi under topic "slave select".
nick gammon have explain you.
quote
thus, slaves should let each of lines float (as inputs) unless slave select taken low. then, , then, should configure miso line (master in, slave out) output, can send data master.however, under "how make spi slave", example not follow that. sets miso line output in setup function , never changes input. mean 1 slave work on spi bus.
nick gammon have explain you.
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > MPU6050 connected to NANO (Salve) sending data to UNO(Master) through SPI!
arduino
Comments
Post a Comment