<div dir="ltr"><div>I guess by Arduino you are referring to any ready made board where one just hooks up wires?</div><div><br></div><div>Here are some thoughts on two types of boards (there are many different boards of course):</div><div>- Arduino Uno R4 (esp32-s3 module): Wifi + USB + 1x serial + CAN, higher power consumption, limited FPC support in trunk (workable but not straight forward).</div><div>- Arduino Mega (atmega 2560): 3x serial, USB connected to one of the serial ports</div><div><br></div><div>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).</div><div><br></div><div>Your requirements (at face value) are very light and a small microcontroller should easily handle the tasks.</div><div dir="ltr"></div><div></div><div><br></div><div><br></div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Sep 11, 2026 at 8:41 AM Adriaan van Os via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

  

    
  
  <div>
    <br>
    <font face="Helvetica, Arial, sans-serif">Maybe someone could advise
      me as to what Arduino hardware is best supported by FreePascal. My
      project has the following requirements</font> </div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><font face="Helvetica, Arial, sans-serif">
      
      1. Read an absolute rotary encoder (</font><span style="font-size:8pt;font-family:"ArialMT"">SSI data:
      Line-driver RS422
      Diagnostic outputs push-pull)<br></span></div></blockquote><div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="font-size:8pt;font-family:"ArialMT"">
      <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 title="Page 1">
      <div style="background-color:rgb(255,255,255)">
        <div>
          <div> </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>
    <font face="Helvetica, Arial, sans-serif"><br>
    </font>
  </div>

_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div></div>