So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By cavok
#64792 Dear all,

i find a lot of documentation on "single" wifi-to serial bridges.

but how would the more experienced among you "attack" the following use case:
- an environment where there are multiple serial devices (3-4), low speed (9600 baud mostly), and quite a few can live on unidirectional communication only (e.g. gps stream which is continuously delivered, bi-directional however would be nicer).
- at least two devices should be accessible at the same time in parallel/concurrently (at least one-way but on separate virtual com ports / port numbers).
- at least one single android/ios tablet or a windows pc needs to be able to connect via wifi and then use the two serial links either through two separate virtual com ports or a simple, bidirectional UDP/TCP bridge e.g. on separate port numbers.

now, some esp8266 hardware supports (at least partially/one-way) a second serial I/O besides the primary I/O. which could be just fitting the minimum requirements. the question there would be how to "parallelize" the serial communication over the same wifi link?

an alternative approach could be to use multiple esp boards, but the trick there would be that no other extra wifi infrastructure (router / access point) should be required for the tablet or pc to access all at the same time? (form factor/size/weight as constraints)

thank you very much for pointers in the right direction!

regards,
cavok
User avatar
By gdsports
#64811 software serial is an option but I have not had much success with it.

A hardware option is the SC16IS750 which does i2c or SPI to UART. SparkFun retired their breakout board. But there are others. Or you can always design your own PCB.

Here is another breakout board.

http://sandboxelectronics.com/?product= ... dge-module