Raspberry pie just runs a version of linux, so FPC should work just fine on any raspberry pie.  They certainly can be run from a powerbank, I've done it with one of mine multiple times.  I haven't found a way to determine how long the powerbank is going to last, so you'll need to figure out how to do that, or just be prepared for everything to stop when the power runs out.

As for talking to the arduino from linux (the raspberry pie), I haven't tried that myself, but I don't expect it to be any different from when using windows for the host os.

Unfortunately, I don't know what resources for programming arduino boards exist for linux, but it can't be too terribly different from windows, but I've not specifically looked for linux versions of the various serial and/or other communications libraries you'd need to talk to the arduino, but as long as you can port or locate versions for linux, you shouldn't have any trouble with it.

Now you're making me want to experiment.  I never had a need to talk to an arduino from linux, even though I use it regularly, I normally build projects to talk to windows, because that's what most folks I'm building things for use.  This might be a fun project all by itself.


On 9/11/2026 5:56 AM, Adriaan van Os via fpc-pascal wrote:

Maybe someone could advise me as to what Arduino hardware is best supported by FreePascal. My project has the following requirements

1. Read an absolute rotary encoder (SSI data: Line-driver RS422 Diagnostic outputs push-pull)

2. Communicate with a closed-loop stepper motor driver (TMC2209 with ESP32-S3, connectivity CAN, Serial, Wi-Fi, BLE, USB, Qwiic and GPIO)

3. Communicate with an Intel MacBook. Over Wifi, Bluetooth, USB or ethernet ?

Of course, less cables is better, but not a requirement.

I already have a Raspberry Pi, but the application must be used in the field, where there is no 220V, just a 12V or 5V powerbank.

Thanks,

Adriaan van Os





_______________________________________________
fpc-pascal maillist  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to