P1AM-ETH

The P1AM-ETH is an industrially rated MKR format shield based on the WIZnet W5500 chip that adds ethernet connectivity to the P1AM-100.

The P1AM-ETH uses SPI to communicate with the P1AM-100 or other MKR format CPU. The P1AM-ETH uses the Arduino Ethernet library which comes standard with the Arduino IDE.

Code Examples

The webserver example redefines the function of pins A3 and A4 which are used by the Base Controller. To use the webserver example provided by Arduino with the P1AM-100 you must first add the following if statement after the start of the for loop that increments through analog channels.

for (int analogChannel = 0; analogChannel < 6; analogChannel++) {
				    	if(analogChannel != 3 || analogChannel != 4) {	//add this line to skip over A3 and A4 when calling analogRead on Arduino pin analog inputs
				        	int sensorReading = analogRead(analogChannel);
				        	client.print("analog input ");
				        		client.print(analogChannel);
				        		client.print(" is ");
				        		client.print(sensorReading);
				        	client.println("<br />");       
				    	}
				}
				

ViewMarq

The ViewMarq library allows easy connectivity between the P1AM-100, P1AM-ETH, and a ViewMarq LED message sign. Find the code and examples in the Arduino Library Manager or clone it from GitHub

ViewMarq LED message signs can be purchased here from AutomationDirect.com

Ethernet Chip: WIZnet W5500
Recommended Library: Arduino Ethernet
Power Budget: 150mA / 5V

Additional Resources:
Data Sheet
P1AM-ETH on AutomationDirect.com
P1AM-ETH Design Files

Pin Function
8 MOSI
9 CLK
10 MISO
5 CS