Hi,
I think this should be similar to the topic using FONA with two feathers viewtopic.php?f=54&t=174652 but I am not entirely sure.
I am planning to use a FONA https://www.adafruit.com/product/2542
along with a raspberry pi https://www.adafruit.com/product/3055
and an arduino https://www.adafruit.com/product/4806.
The FONA has a USB and RX/TX lines which I'm planning to use concurrently.
Q: Can the FONA communicate with the Pi through USB and the Arduino through the TX/RX lines concurrently?
The FONA-Pi USB connection is to give remote access to the Pi through PPP.
While FONA-Arduino RX/TX connection controls a GPIO line in the Arduino.
I don't want the Pi to control the Arduino because in the case the Pi crashes for some reason, the Arduino can still work through FONA.
Regards,
Jeremy
FONA with a Pi and an Arduino?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: FONA with a Pi and an Arduino?
It should work, but could easily get confusing.jeremygp wrote:]Q: Can the FONA communicate with the Pi through USB and the Arduino through the TX/RX lines concurrently?
Both interfaces can change the state of the phone.. starting and stopping network connections, making and disconnecting phone calls, changing settings.. without the other one knowing it. If the RasPi and Arduino don't keep in sync with each other, it would be hard for either one to guess what state the FONA is in.
- EPD
- Posts: 6
- Joined: Fri Feb 19, 2021 6:01 pm
Re: FONA with a Pi and an Arduino?
sorry its a bit late, ive done some testing of my own and found that the 3g module becomes very confused and spits data out of both connections at random, id put a data wire between the arduino and raspberry pi (using a level converter if arduino is 5v as raspberry pi is 3.3v only) and use that wire to signal if either the arduino or raspberry pi are currently using the 3g module.
Please be positive and constructive with your questions and comments.