<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
Thanks for the reply, but I need to clarify things. The Raspberry Pi
would be a replacement for the Arduino, as (1) FPC certainly runs on
it and (2) I have one already, But I think it would be overkill and
that the Arduino board would use less power.<br>
<br>
So the question remains what Arduino board would be best supported
by FreePascal, with the requirements mentioned below (which by the
way is a star tracker for astro photography).<br>
<br>
Regards,<br>
<br>
Adriaan van Os<br>
<br>
<blockquote type="cite"
cite="mid:47c199ad-d59c-bf7a-163d-ac9b3d621c3d@softcon.com">
<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</blockquote>
</blockquote>
</body>
</html>