Is there any way to use the Pi GPS Hat and hook up a FONA to the same Raspberry Pi?
Thanks!
GPS Hat and FONA at the same
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: GPS Hat and FONA at the same
Not trivially.
The RasPi only has one hardware UART, and software UARTs aren't reliable on time-slicing operating systems. You could use a multiplexer to switch between the devices, or you could use an USB-to-UART or I2C-to-UART adapter for one of them.
We don't have any I2C-to-UART devices, but we do have some USB devices:
https://www.adafruit.com/products/954
https://www.adafruit.com/products/70
https://www.adafruit.com/products/284
The RasPi only has one hardware UART, and software UARTs aren't reliable on time-slicing operating systems. You could use a multiplexer to switch between the devices, or you could use an USB-to-UART or I2C-to-UART adapter for one of them.
We don't have any I2C-to-UART devices, but we do have some USB devices:
https://www.adafruit.com/products/954
https://www.adafruit.com/products/70
https://www.adafruit.com/products/284
- dannya
- Posts: 111
- Joined: Thu Nov 14, 2013 7:35 pm
Re: GPS Hat and FONA at the same
Thanks! Would I be better off using an Arduino Mega? Would that work just fine with those two devices simultaneously?
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: GPS Hat and FONA at the same
Yeah, the Mega has multiple UARTs, so it should be able to handle both devices comfortably.
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/