Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: XBee + Serial Comunication #68

Open
SWoto opened this issue Apr 27, 2021 · 2 comments
Open

Question: XBee + Serial Comunication #68

SWoto opened this issue Apr 27, 2021 · 2 comments

Comments

@SWoto
Copy link
Contributor

SWoto commented Apr 27, 2021

Hello everyone,

I've going through XBee's documentarion regarding micropython and its two modules, the XB3 and the XBee Cellular. My goal is to implement a Modbus protocol on top of the RS485, we only need RX/TX pins for serial comunication, but I've some questions....

For what I understood, it seems pretty simple to use UART comunication with the XBee Cellular given that it has two UARTs. But, does anyone knows if it is possible to implement serial comunication between XB3 and another device/sensor? Looks like it has some limitation related to the primary UART.

@Shulyaka
Copy link

Shulyaka commented Jul 16, 2023

It is possible to communicate over primary UART, but please note that it will always send this text after each reboot:

Loading /flash/main.mpy...
Running bytecode...

Hope your device can tolerate that.

@tomlogic
Copy link
Collaborator

tomlogic commented Jul 16, 2023

The gps_uart sample demonstrates communication with another device via the secondary serial port, which leaves the primary port for MicroPython debugging, or usage of API frames with a host processor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants