Rasbery Pi 3 & Espruino Serial Communication #1676
Replies: 4 comments
-
Posted at 2017-03-20 by @gfwilliams The Raspberry Pi GPIO is 3.3v I think, so it should work fine. The problem with attaching multiple devices is that the Pi's GPIO isn't very powerful, so would probably struggle over longer distances. Also, Serial isn't set up very well for multiple devices connecting. You'd need to either:
Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-03-20 by Victor I've read that the hardware serial is used by bluetooth on the Pi, is this what you mean? As I've read that you can swap the bluetooth onto the software serial so you can use hardware instead. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-03-20 by @gfwilliams
No, it wasn't - I wasn't aware of that... Seems odd, but that would cause you some problems if it was true. I guess perhaps software serial is an option for connecting Espruinos... You could always plug in one Espruino via USB, and then use Serial on that Espruino to talk to the others? USB-TTL adaptors would work too. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-03-20 by Victor Thanks @gfwilliams we'll give it a try and let you know how it goes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-03-18 by Victor
Hi,
I'm wondering whether it's possible to connect one master Rasbery Pi 3 using the GPIO serial pins to many slave Espruino devices through only RX and TX. (only 2 pins)
Looking at the pin diagrams for each the PI is labeled as UART while the Espruino is labeled with USART. Is this a problem?
I've also been reading some articles talking about voltage differences, does anyone have any insight into whether this is possible and what we need to consider?
http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/
https://oscarliang.com/raspberry-pi-and-arduino-connected-serial-gpio/
Thank,
Victor
Beta Was this translation helpful? Give feedback.
All reactions