I am trying to connect the Pixy to Arduino Uno via UART. This is to free the SPI for an SD Card module so that I can create a talking robot. At first, I tried compiling the Pixy example “UART” onto an Uno but it does not compile due to “SERIAL1 error”. However, the compiling is successful for Arduino Mega so I used the Mega.
I used the Mega to connect to the Pixy using UART. I connected the I/O ports 1 (RX) and 4 (TX) of the Pixy to the pins 68 (RX) and 3 (TX) of the Mega, which I assigned as SoftwareSerial in the code respectively. Of course the Pixy’s RX is connected to the Mega’s TX and Pixy’s TX to Mega’s RX. The I/O port’s GND of the Pixy is also connected to the Mega’s GND.
Given the above, I cannot make it to work. There is no output on the Serial Monitor, it only shows “Starting …”. There seems to be no output from the Pixy to the Arduino.
Has anyone successfully implemented UART connection between Pixy and Arduino? Any help is appreciated.