I have the following system:
As a master, I have an Arduino UNO Chip, more specifically an Atmel MEGA328P. The important thing is that this microcontroller has only one hardware Serial port, and that port is used to communicate with a WiFi adapter.
The problem I'm facing with is that I want to receive data from a Compass and a GPS modules. Booth send data via Serial protocol. The 328p Chip have only one serial which is busy!
I can't use SoftwareSerial as I don't want any delay on master board! I can't also use Arduino Mega2560 which have 3 Serial ports as its sizes are too big.
So there are are my approaches:
- Using MCP4725 I2C DAC for Compass, but what we do with GPS?
- Using and intermediate Arduino UNO Chip? On that chip I could use Software serial but how to transfer data to MASTER using only digital and analogic pins? Maybe using 10 pins to implement a parallel transfer?
- Perhaps there is possible to convert Compass and GPS data to analogic then transfer to MASTER?
Anyway, what possibilities would I have to play around?