Experiment #2 - SamL21 Xplained Pro to Arduino LCD over UART
So after getting an Arduino to display a message on an LCD screen via USB serial, I moved onto transmitting from one Arduino to another over jump cables connected to the TX/RX ports. This proved that the receiver Arduino (with the LCD screen) could receive serial data over the IO pins.
Once this was completed, I moved onto transmitting the message from the Sam L21 Xplained Pro board. Unfortunately, the board I originally owned was from the first generation, which is a bit more difficult to program. After some shopping around, I managed to find a distributor in the states who could send over a second generation model (and a couple of Microchip LoRa mote boards - but more on that later!).
Using the handy new tool from Atmel - Atmel Start - I could generate a preconfigured application using their web interface which sets up all of the board and pin settings for UART communication. All that was left for me to do was create the main program loop which initialises UART and sends the message.
In the end, I managed to get the Sam L21 transmitting an alternating message every 10 seconds over jump wires to the receiver Arduino. Good so far!
Next step is to set up point-to-point communication between the two LoRa motes, with one controlled by the Sam L21.












