Rasp p3 + arduino

Are you using Cayenne to display the data? If so you can upload a sketch directly to the Arduino devices and you do not need to worry about the Raspberry pi. If you really want to continue down that path see my post here.