0

Feather fFONA, more serial ports?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather fFONA, more serial ports?

by jim_lee on Fri Nov 27, 2020 5:42 pm

I notice that the Feather FONA is using softwareSerial for talking to the SIM800 chip. Is it possible to ad another softwareSerial port ao I can ad a sensor to this thing? I'd like to use the hardware serial port for debugging.

-jim lee

jim_lee
 
Posts: 692
Joined: Thu May 24, 2012 8:24 pm

Re: Feather fFONA, more serial ports?

by jim_lee on Sat Nov 28, 2020 8:36 pm

Is anyone left out there?

Trying to setup a softwareSerial TX pin 12, RX pin 10. Is there some reason this won't work? 'Cause, as far as I can tell, it ain't working.

-jim lee

jim_lee
 
Posts: 692
Joined: Thu May 24, 2012 8:24 pm

Re: Feather fFONA, more serial ports?

by rskup on Sat Nov 28, 2020 11:57 pm

I'm just a beginner with the software serial library, but according to below there are limitations what pins can be used on an Uno, so maybe there are similar pin limitations with the feather fona:

https://www.arduino.cc/en/Reference/softwareSerial

Then found this below on how to set up two software serial ports, maybe between the link above and the link below you'll find something that will work:

https://wiki.seeedstudio.com/Software-Serial/

rskup
 
Posts: 60
Joined: Sat Aug 01, 2020 9:04 pm

Re: Feather fFONA, more serial ports?

by jim_lee on Sun Nov 29, 2020 3:04 am

Well thanks for that. I found the original Arduino reference as well. And, found that, like a lot of those references, they tend to lack details that you end up needed to solve issues with using them. Drives ya' batty!

What I need to know is specific to the FONA Feather. I'm not having any luck getting this stuff to work.

sigh..

-jim lee

jim_lee
 
Posts: 692
Joined: Thu May 24, 2012 8:24 pm

Re: Feather fFONA, more serial ports?

by rskup on Sun Nov 29, 2020 8:46 pm

Sounds like you tried the two software-serial ports example in the previous post and tried picking pairs?

I had a feather (p/n 2771) with the 32u4 chip (like the Fona feather has) on the bench gathering dust and experimented with it until I found two pairs of pins that worked, 9-10 and 11-12.

Anyways, still tinkering with it all trying to understand the details, but I am able to send data (from the hardware serial port) to each software serial port.

Thinking since both feathers have the same 32u4 chip you'll be able to find two working pairs of pins also.

rskup
 
Posts: 60
Joined: Sat Aug 01, 2020 9:04 pm

Re: Feather fFONA, more serial ports?

by jim_lee on Sun Nov 29, 2020 8:52 pm

Just got a reply from adafruit_support_bill on the Feather section.

On 32U4 based boards, Serial is the USB/Serial port. Serial1 is TTL Serial over the Rx & Tx pins.


This make it a moot question because I can just use Serial1 that has pins. I was under the impression that Serial & Serial1 were the same -> USB port.

Thanks!

-jim lee

jim_lee
 
Posts: 692
Joined: Thu May 24, 2012 8:24 pm

Please be positive and constructive with your questions and comments.