<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>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.</p>
<p>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. <br>
</p>
<p>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.</p>
<p>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.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 9/11/2026 5:56 AM, Adriaan van Os
via fpc-pascal wrote:<br>
</div>
<blockquote type="cite" cite="mid:f88a6bce-313e-4b1d-9b59-0cd2561978ae@adriaan.biz">
<br>
Maybe someone could advise me as to what Arduino hardware is best
supported by FreePascal. My project has the following requirements<br>
<br>
1. Read an absolute rotary encoder (<span>SSI data: Line-driver
RS422 Diagnostic outputs push-pull)<br>
<br>
2. Communicate with a closed-loop stepper motor driver (TMC2209
with ESP32-S3, connectivity CAN, Serial, Wi-Fi, BLE, USB, Qwiic
and GPIO)<br>
<br>
3. Communicate with an Intel MacBook. Over Wifi, Bluetooth, USB
or ethernet ?<br>
<br>
Of course, less cables is better, but not a requirement.</span>
<div class="page" title="Page 1">
<div class="section">
<div class="layoutArea">
<div class="column"> </div>
</div>
</div>
</div>
<br>
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.<br>
<br>
Thanks,<br>
<br>
Adriaan van Os<br>
<br>
<br>
<br>
<br>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
</blockquote>
</body>
</html>