Uno as a Serial Gateway for Vera?
-
Hello All -
Just getting started with Arduino (been around Vera for a while). I'm able to get my Nanos working as a gateway. (Excellent documentation!)
However, I do have a few Unos kicking around that I'd like to use as a gateway (serial). Is this possible with Vera? I see that dmesg shows the following when the Uno is connected:
usb 1-2.2: new full speed USB device using rt3883-ehci and address 10
cdc_acm 1-2.2:1.0: ttyACM0: USB ACM deviceIs there a way to expose this as a serial port? I understand that if I use an ethernet gateway, it'd likely work. However, lacking an ethernet shield at the moment, I'd like to stick to serial if possible.
By the way, I did test the Uno<->Radio integration with an example sketch and it seems solid in my case. (I did read about the 3.3v power issue with some Unos)
Any ideas for the Arduino newb would be helpful.
Thanks.
-
I may have solved this myself.
Can someone check me on this?
In "Edit Startup Lua", I entered the following:
os.execute("ser2net -C 5000:raw:0:/dev/ttyACM0:115200")I then went to the MySensors Plugin in the Advanced tab and entered the following in the "IP" line:
127.0.0.1:5000I don't currently have any sensors to attach to. However, when I click on the "start" button for inclusion, I can see the inclusion LED illuminate.
Does this seem like a viable solution?
-
Hello,
The arduino gateway receives radio signal and send it to the controller. For this a Mini is clearly enough.
Now if you want to make some other logic on the arduino, remember that it may use clock time dedidated to message reception from the MySensors.
-
I think you are implying that the Uno is overkill. I completely agree with this.
I just happen to have a few on hand and figured "why not?"
I should have some sensors to test with soon. I guess I'll know if my solution is viable or not........
-
Uno has exactly the same MCU as pro mini. Just a large package
Suggested Topics
-
Vera and Moteino USB as Gateway
Vera • 23 Mar 2017, 17:06 • kincaidj001 30 Nov 2021, 16:00 -
Vera Plus plugin issues (and choosing the right controller in general)
Vera • 6 Jun 2021, 10:16 • Max Kurilov 6 Jun 2021, 16:55 -
Issues Reading Sensors in Vera Plus
Vera • 26 Jan 2023, 17:12 • Newzwaver 26 Jan 2023, 17:12 -
Library Compatabilty under Vera UI7
Vera • 23 Feb 2020, 23:34 • mntlvr 18 Mar 2020, 17:07 -
OpenLoop Noob, need to know if what I want to do is possible
Vera • 14 Apr 2020, 17:30 • tamorgen 2 Jan 2021, 14:14