Jimmie
December 6, 2018, 10:35pm
#1
I have a Xenon whose sole UART is connected to a sensor. I wish to communicate the data to a PC, wirelessly, and without using WiFi.
What are the possible ways? I prefer not to use UART expanders or additional hardware. Can the Xenon “broadcast” this data and then have it read it by a PC?
I have done this by using “BLE Notify” on an ESP32 board but not sure how this can be done with a Xenon …
Thanks in advance for any input.
Jimmie:
by using “BLE Notify”
No. Not right now. You will have to wait for the device OS firmware to get improved upon over the next year.
1 Like
You could attach another Xenon to your PC by UART. Then your sensor-attached Xenon would transmit to your PC-attached Xenon by way of mesh.
Jimmie
December 6, 2018, 10:52pm
#4
That is true but this requires first an Argon or Boron to create a mesh? Or may be use an Ethernet Feather with the first Xenon?
I was hoping to do this without additional hardware otherwise a UART expander will do the job as it is OK in my case to switch ports to communicate …
ScruffR
December 7, 2018, 8:50am
#5
Xenons have two UARTs Serial1
& Serial2
and USB Serial
https://docs.particle.io/reference/device-os/firmware/xenon/#serial
Reading the docs first might help
2 Likes
Jimmie
December 7, 2018, 2:21pm
#6
THANK YOU @ScruffR for this information. Very glad to hear I do not need to wait for the ParticleSoft library or use additional stuff.
I read the information for the Boron and Argon but not the Xenon, so did not see it!
ScruffR
December 7, 2018, 3:02pm
#7
Yup, that’s because the Xenon doesn’t need to communicate with an external radio module.
Jimmie
December 21, 2018, 2:14pm
#8
Using Serial2 on Xenon is currently giving a compile error.
I posted this on the forum and @peekay123 has confirmed it.