I have an Arduino Giga and Arduino Every which I'd like to send data from one to another via serial connection. Included is my code which I'm not sure why isn't working. Nothing prints on the Every serial monitor, and the LED isn't turning on. The Arduino boards are grounded and RX/TX pins are connected properly.
The Giga i/o is at 3.3v and is not 5v tolerant and the NanoEvery is 5v device. You should use a level shifter between the two devices or a voltage divider between the NE Tx and the Giga Rx.
The serial connection between the two units should be on Serial1. For the Nano Every thats on pins 0 and 1 which are independent of usb serial and the Giga has multiple hardware serial ports similar to the Mega.
Make certain the grounds of the two boards are connected as well as the cross connection of Rx>Tx and Tx>Rx
D14/TX3 Digital GPIO 14 / Serial 3 Transmitter
D15/RX3 Digital GPIO 15 / Serial 3 Receiver
D16/TX2 Digital GPIO 16 / Serial 2 Transmitter
D17/RX2 Digital GPIO 17 / Serial 2 Receiver
D18/TX1 Digital GPIO 18 / Serial 1 Transmitter
D19/RX1 Digital GPIO 19 / Serial 1 Receiver
Please post an annotated schematic showing how these components are interconnected, something appears to be incorrect. Be sure to indicate any leads longer than 10 inches (25 cm), and clearly show how voltage level conversion is handled. Keep in mind that the processors operate at different voltage levels, and the output of the Every can damage the input of the Giga if not properly shifted.
However, I'm not sure about deserializing. In the documentation, there is a variable that is deserialized. But how do you read and store the JSON data coming from the Serial port?
I don't know. Once you have the serial connection between the Giga and the Nano Every worked out, I would start a new topic focused specifically at the JSON data transfer.