I am trying to use a UNO R4 to link to HomeKit via Homespan - when I try to run any of the examples I get the message: ERROR: HOMESPAN IS ONLY AVAILABLE FOR ESP32 MICROCONTROLLERS! as well as a missing file error (version.h).
I'm new to Arduino but the UNOR4 spec says it uses ESP32 - I am confused and will be obliged for some guidance to enable my HomeKit project.
thanks
The R4 WiFi uses an RA4M1 processor. It has an ESP32 on it, but it is only serving as a serial bridge and a wifi bridge. It has its own firmware. The code goes on the Renesas chip.
You cant use ESP32 code on the R4.
Welcome to the forum
The Uno R4 WiFi uses the ESP32 to provide its WiFi and Bluetooth functionality. Its main processor is a Renesas R4M1
Thanks for try explanation - do I need a different Arduino board to achieve HomeKit integration?
cheers
The clue is in the error message
So the answer is yes, you do need a different board
See HomeSpan hardware list:
(ref: https://docs.arduino.cc/libraries/homespan/ )
Compatibility with an architecture means that code can be compiled and uploaded to a board from the list below:
Samd
Arduino MKR 1000 WiFi
Arduino MKR WiFi 1010
Arduino MKR FOX 1200
Arduino MKR WAN 1300
Arduino MKR WAN 1310
Arduino MKR GSM 1400
Arduino MKR NB 1500
Arduino MKR Vidor 4000
Arduino MKR Zero
Arduino Nano 33 IoT
Arduino Zero
MegaAVR
Arduino Uno WiFi Rev 2
Arduino Nano Every
AVR
Arduino Micro
Arduino Leonardo
Arduino Mega
Arduino Nano
Arduino UNO Arduino Yún
Mbed
Arduino Nano 33 BLE Sense
Arduino Nano 33 BLE
Arduino Nano RP2040 Connect
Thanks but, pardon me being a bit slow, which board or boards works with Homespan (for HomeKit)?
thanks
See my post list.