razvanel
Junior Member level 2
pic24f uart
I am building a gps car tracking system using a PIC24F. this has 2xUART, 2xSPI and 2xI2C I/O's. my problem is that i need to connect too many things to the MCU and they are all using UART connection. I have a GPS module, a Zigbee board and a cell modem connecting on the board and they would all need to use UARTS. Can anyone give me a suggestion?
the Zigbee and the cell modem need to function in the same time so they need to use different channels. but from the GPS i only need to capture data when requested so my question is: can i use, let's say, the GPS and the Zigbee on the same UART pins and use interrupts to switch between them? (UART2 has pins on one side and is also connected to the Serial port that the Explorer 16 board comes with). is that even possible? if not, what sort of conversion is it possible to do?
I am building a gps car tracking system using a PIC24F. this has 2xUART, 2xSPI and 2xI2C I/O's. my problem is that i need to connect too many things to the MCU and they are all using UART connection. I have a GPS module, a Zigbee board and a cell modem connecting on the board and they would all need to use UARTS. Can anyone give me a suggestion?
the Zigbee and the cell modem need to function in the same time so they need to use different channels. but from the GPS i only need to capture data when requested so my question is: can i use, let's say, the GPS and the Zigbee on the same UART pins and use interrupts to switch between them? (UART2 has pins on one side and is also connected to the Serial port that the Explorer 16 board comes with). is that even possible? if not, what sort of conversion is it possible to do?