Technical Documentation
Requirements
- Supported OS: macOS 10.12 and higher, Windows 8.1 and higher
- FileMaker version: FileMaker Pro Advanced 16 and higher
- Server is not supported
Limitations
- Function Arduino_Connect has to be called and succeed when using Arduino board with PlugInPlug-In
- Only limited amount of EEPROM is allowed (some EEPROM area is used for PlugInPlug-In information), EEPROM size for user usage is 700B
- When first started, Arduino is "set" - this process removes all data from EEPROM
- This erasing set is also performed whenever EEPROM changes outside the plug-in usage
- When using IIC bus, pins A4 and A5 cannot be used for any other purpose
- Arduino can be only used as SPI master
- When using SPI, pins 11, 12, 13 cannot be used for any other purpose
- Additionally, when using SPI, one GPIO pin has to be used as CS
- There is no security in communication between Arduino and PlugInPlug-In
- Due to memory limitations, Arduino is only performing commands from plug-in without any checks
- Only one LCD can be connected to Arduino (other LCDs can be connected using Arduino iic or spi bus)
- Only one Stepper can be connected to Arduino
- Servos can only be connected to pins supporting PWM output
- For setting Arduino UNO you need Arduino IDE installed together with Arduino CLI (command line interface)
- Before PlugInPlug-In can use Arduino, you have to set it using our step-by-step instructions
- Some settings (e.g. pinMode) will take effect after rebooting Arduino
- Ethernet and wi-fi cannot be used at the same time
- Ethernet and wi-fi doesn't support DHCP - IP address has to be set manually
- All network communication by plug-in is done by TCP protocol
- Wi-fi module esp8266esp-01 uses DHCP - only SSID and password are required
- For arduino to correctly communicate with esp8266esp-01 module, it is necessary in this order to:
- connect esp8266esp-01 to Arduino board
- connect Arduino board to the power supply
- connect esp8266esp-01 to power supply
- Stepper motor and servo will not run smoothly when sending commands to Arduino uno via esp8266esp-01 module
- If Arduino doesn't response to any commands, even Arduino_Reboot, to unblocked it, you should clear the EEPROM and load the firmware again.
Installing 24U Firmware for Arduino firmware
- Install Arduino CLI tools (here are official instructions)
- Download and install the latest version of arduino-cli
- Open Terminal (Command line on Windows)
- Go to directoryUse the cd command to change current directory to the one in DA with Arduino's firmware24U Firmware for Arduino
- Run following command: arduino-cli core update-index
- Connect Arduino to your PC or mMac
- Run following command: arduino-cli board list
- You should see non-empty table
- Run following command: arduino-cli core install arduino:avr
- Run following command on directory ArduinoUNOFirmwareon directory 24UFirmwareForArduino:
arduino-cli upload -p COM5<port> --fqbn arduino:avr:uno ArduinoUNOFirmware24UFirmwareForArduino (instead of <port> use port on which is Arduino connected)