Software serials

Hi all,

I am looking for help with software serials for radio peripherals. Thanks in advance. Let me know if there is a better place to post.

I'm familiar with ATmega328P and want to put a sensor together with Zigbee and GSM to send readings to server.

Price (& availablity) is a consideration, as is low power capability, and the controller I know well only has one hardware serial. The readings will be simplex polls to server but recieving a "take reading" command from server to sensor would be useful.

If the GSM and Zigbee shields need a serial connection to controller, and knowing that software serials are not filling a buffer when the code isn't listening, do you think I could run either the Zigbee or GSM modules reliably with a software serial used for one of them?

(Just GSM if Zigbee is off topic..)

Is there a popular controller choice for this sort of project?

The alkaline D cell power pack will provide 3 and 6 volts in case useful.

Bw,
Ben

Your best bet would be to use a board with multiple hardware UARTs such as a Mega and to avoid using SoftwareSerial at all if you want to use more that one serial device

If you only want to run one, then SoftwareSerial is good enough at slower baud rates

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.