[fpc-pascal] Arduino project

Christo Crause christo.crause at gmail.com
Fri Sep 11 18:15:40 CEST 2026


I guess by Arduino you are referring to any ready made board where one just
hooks up wires?

Here are some thoughts on two types of boards (there are many different
boards of course):
- Arduino Uno R4 (esp32-s3 module): Wifi + USB + 1x serial + CAN, higher
power consumption, limited FPC support in trunk (workable but not straight
forward).
- Arduino Mega (atmega 2560): 3x serial, USB connected to one of the serial
ports

Decide up front whether you want wifi or bluetooth connectivity.  Then pick
a board that can cover the rest of the communication requirements. You need
an RS-422 to TTL converter to read the absolute rotary encoder pulses, the
diagnostics can be read by any digital input pin (after level shifting of
course).  Communicating with the stepper driver should be easy (since there
are so many different interfaces).  Communication with the MacBook / PC can
be done over USB, via USB <-> serial converter, or wifi (if using a wifi
capable board for example).

Your requirements (at face value) are very light and a small
microcontroller should easily handle the tasks.


On Fri, Sep 11, 2026 at 8:41 AM Adriaan van Os via fpc-pascal <
fpc-pascal at lists.freepascal.org> 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  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20260911/432d1c2a/attachment-0001.htm>


More information about the fpc-pascal mailing list