
alexlennick (Customer) asked a question.
P1AM-200, P1AM-ETH, P1AM-SERIAL, and Arduino MKR ENV Shield
Hello! I'm using 2 Dynament gas sensors (PN: MSH-DS/HC/HCO2/P) that use UART protocol, and a CL4490 transceiver for remote communication, as well as the MKR ENV shield to monitor temp, humidity, and pressure. The plan is to use the serial module for the gas sensors and the ethernet module will go to a ethernet to RS-232 converter, then to the transceiver.
I do not think that there will be any conflicting pin connections, but I'm wondering if anyone can confirm that this configuration will work for this application, or if there are any alternative configuration suggestions.
Any help is greatly appreciated!
-Alex
The P1AM-Shields should have no issues with pin connections.
MKR ENV Shield
I would double check the pin connections and what it uses but glancing at the documentation it looks like it won't conflict with pins from the P1AM-Shields.
MKR ENV Library Support
The issue you will most likely run into is library support. The P1AM-200 uses a different microcontroller than the Arduino MKR family boards.
The P1AM-100 might be worth looking into since it is very similar to the MKR Zero.
P1AM Website Reference: https://facts-engineering.github.io/index.html
Let me know if you have any other questions. I can barely recall another post mentioning the MKR Env Shield but not sure where that is.
Thank you for the quick reply!
We currently have a P1AM-100, but the documentation says that this CPU only has 1 UART port. Does simply adding the P1AM-SERIAL module increase this to 2 UART ports?
Both the P1AM-100 and 200 have two uart ports but when you use the P1AM-Serial shield, it takes up one of those (D0 and D1).
EDIT: The UART / Serial can be expanded to any two pins. I'm just blanking on how it was done before.
So just to clarify, if I'm using a P1AM-100 with the P1AM-SERIAL shield, I will have 2 uart ports for my sensors?
Sorry if I'm misunderstanding, but the documentation for the P1AM lists only one uart port (13, 14). But you're saying that GPIO can be used as uart ports? So, if I have 3 serial components (2 sensors and 1 radio comms) I can use the listed uart port, as well as GPIO to connect those 3 serial devices?
Thank you for your help and patience!
Yeah sorry it's a little confusing. The P1AM-Serial shield takes up those uart pins for Port1 and Port2.
To get a 3rd or even a 4th serial device would require some small changes to the P1AM-Serial library and P1AM-100 device which has been done by one of our customers.
Website Reference: https://github.com/AJ-Work-Smoothie/P1AM-SERIAL_Doubler
Side Note: The 4th serial device wouldn't be useable with the P1AM-Ethernet because it uses 1 of the pins as a CS line