I tried to use the I2C protocol with a Nano 33 BLE board but, at the moment, the BLE connection stops working frequently when using the I2C data exchange. I know there is another possibility to send data from a board to another with the pins TX/RX.
Is there another possibility with analogWrite and analogRead and just a wire between an analog pin of a board and an analog pin of the other board?
Thanks for your very quick reply!
About your last response, since I'm like a beginner in Arduino, could you explain why the use of analogWrite/Read could give more issues than I2C because, with I2C, we use also analog pins (A4, A5) on one side?
they still need to share GND, and the pins are exchanging data signals so if the UNO sets a pin HIGH at 5V then the Nano will see those 5V on its pin and because it only supports 3.3V on that pin, you'll likely damage the pin or the board...
I think that was discussed and clear from the other discussion
Why the Nano will see a Uno pin HIGH at 5V if there is only a I2C connection? Do you mean that all changes made by the Uno are sent to the Nano even if there is no I2C transmission?
Actually, with I2C, it depends on where the pullups are.
You need to have the pullups to 3.3V - so that the I2C lines will never go above 3.3V
But, in general, a 5V microcontroller will put 5V out on its output lines - so you can't shouldn't connect 5V outputs directly to the inputs of a 3.3V (or lower) circuit.
The Nano board accepts 21V as max input voltage. The Uno accepts 12V as max input voltage. So, if I choose 9V for the Nano power supply (with the Vin and GND pins) and 12V for the Uno (with the jack port), what's the problem?