Drawbacks to using a pro mini as a serial gateway?
-
Hi,
I am planing on using a pro mini as a serial gateway (to connect to my raspberry pi)
I saw in the serial gateway sketch, that it runs on a lower baud rate when run on a pro mini. Does that mean that messages will appear later on raspberry? Are there other drawbacks?
And is it correct that I simply connect rx/TX from the pro mini to tx/rx on the pi and that's it? Plus power and gnd, of course.
-
@kiesel the pro Mini is the same chip as an Arduino nano, so the speed will be the same for both
-
Thanks. So why the reduced baud rate than? Sorry, this is probably a noob question.
-
Maybe the clock frequency is different. So 8mhz instead of 16mhz for the nano.
But I remember you can still run at the same baud rate.
I don't think it will make a big difference anyway unless your sending lots of data.
If the baudrate is 9600, 10 characters will take 10ms to transfer.
-
Ah, I see there are Nanos with 8mhz and 16mhz, that's why I thought the baud rate of 34800 was specifically for the pro mini.
Do you know whether I just have to hook up TX and rx, power and gnd to the pi or whether I need something else? I am having trouble finding a description of how to do it without USB.
-
No just the Rx, TX and power should be enough.
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
PJON and Minicore not working
Development • 7 days ago • Trand 7 days ago -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
Home Assistant/MySensors quirks
Development • 12 days ago • OldSurferDude 12 days ago -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
MQTT-Help me understand about the MQTT Gateway.
Development • 27 days ago • dpcons 16 days ago