Works on Arduino Uno but not on Arduino mini V5
hello pundits,
i newbie in world of arduino , has been amazing experience far.
i have arduino uno , arduino mini v5. trying connect sensor (i2c communication) , adafruit bluefruit le (spi communication). successful in getting talk sensor via bluetooth using arduino uno.
however when tried replicate same using arduino mini has same pin-out uno, doesn't work.
arduino uno = can communicate sensor using bluetooth - spi , i2c both working fine @ same time.
arduino mini = can communicate sensor , bluetooth both individually not concurrently. i2c pins on mini working fine able data sensor, bluetooth part working fine can set pins on mini using bluetooth. when want both, arduino mini breaks out on i2c part , have no idea why.
anyone have similar experience mini , if did overcome ?
-chris
i newbie in world of arduino , has been amazing experience far.
i have arduino uno , arduino mini v5. trying connect sensor (i2c communication) , adafruit bluefruit le (spi communication). successful in getting talk sensor via bluetooth using arduino uno.
however when tried replicate same using arduino mini has same pin-out uno, doesn't work.
arduino uno = can communicate sensor using bluetooth - spi , i2c both working fine @ same time.
arduino mini = can communicate sensor , bluetooth both individually not concurrently. i2c pins on mini working fine able data sensor, bluetooth part working fine can set pins on mini using bluetooth. when want both, arduino mini breaks out on i2c part , have no idea why.
anyone have similar experience mini , if did overcome ?
-chris
i think found problem not solution.
program block
bluetooth(connection establish)
//for i2c
wire.begintransmission(address)
code activate sensor
wire.endtransmission()
wire.requestfrom(address, no of registers)
{
results
}
btleserial.print(results)
wire.endtransmission seems issue - doesn't affect uno on mini. think doing wrong mini, happening @ line hangs while using mini uno has else overcomes this.
any thoughts ?
program block
bluetooth(connection establish)
//for i2c
wire.begintransmission(address)
code activate sensor
wire.endtransmission()
wire.requestfrom(address, no of registers)
{
results
}
btleserial.print(results)
wire.endtransmission seems issue - doesn't affect uno on mini. think doing wrong mini, happening @ line hangs while using mini uno has else overcomes this.
any thoughts ?
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Works on Arduino Uno but not on Arduino mini V5
arduino
Comments
Post a Comment