Namellac (Customer) asked a question.

Finally got a prototype working directly with the PLC on the machine. Since I'm going to have to deploy 100+ of these, has anybody been able to get any off the shelf IOT orchestration software to work with the P1AM- series?

Or am I going to have to write my own bootloader, etc.


  • FACTS_MikeSc (AutomationDirect)

    The P1AM being an Arduino supports a wide range of IoT capabilities. Do you have something more specific you are looking to do?

     

  • Namellac (Customer)

    I want to be able to update the onboard programming remotely. We have 100+ machines under 40 acres of roof. I'm going to wear my shoes out walking to each machine to update the code.

  • FACTS_MikeSc (AutomationDirect)

    I've found two possible ways you can try to achieve this.

     

    • ArduinoOTA Library

    Video Reference: https://www.youtube.com/watch?v=7Xdsc1qqoro

     

    • Arduino's Cloud

    Website Reference: https://docs.arduino.cc/arduino-cloud/features/ota-getting-started/

     

    The ArduinoOTA library seems like the easier method.

     

    I haven't uploaded any code myself via OTA. I'll try out the ArduinoOTA myself but it seems doable and supports WiFi which I think you made a shield for.

     

     

    Expand Post
    • FACTS_MikeSc (AutomationDirect)

      I was able to upload code successfully using the arduinoOTA library example OTEthernet. I have a P1AM-100 w/ a P1AM-Ethernet shield.

       

      The ESP32 wifi board is supported so I would try the WiFi examples the library has to see if you can get something working.

       

      ArduinoIDE: File --> Examples --> ArduinoOTA

       

      An issue I ran into is I was not able to upload code successfully using the SD storage option. I would use the InternalStorage examples.

       

       

      Expand Post
      • Namellac (Customer)

        [laugh] Craig Alleman reacted to your message: