ping @jvanier
Hi @craigmac , as far as I am aware this is a highly desired feature that is still under development. This has been discussed on this thread previously.
Has anyone been able to successfully connect to RX and TX GPIO Pins on the RPI3 using particle-agent? I have a sensor that is connected to rx tx on the RPI but it appears that Serial1 never becomes available to my code. Been trying for two days now! Any suggestions would be greatly appreciated.
int incomingByte = 0;
void setup() {
Serial.begin(115200);
Serial1.begin(115200);
Serial.println(“Starting…”);
}
void loop() {
// send data only when you receive data:
if (Serial1.available() > …
I have also tried to use the serial pins on the gpio with no success in Particle firmware whatsoever.
Hello everyone.
[Today I found a very nice tutorial to enable UART (GPIO) serial on Raspberry Pi 3 and Pi Zero W.][1]
To summarize, here are the commands I did to enable serial (/dev/ttyS0) on my Raspberry Pi 3:
$ sudo -s
$ echo "enable_uart=1" >> /boot/config.txt
$ systemctl stop serial-getty@ttyS0.service
$ systemctl disable serial-getty@ttyS0.service
$ nano /boot/cmdline.txt #Remove console=serial0,115200
After a reboot you should be able to use /dev/ttyS0
Quick test:
$ sudo apt install…