I’ve got a project where I’m automating an automotive air con unit, and have an Arduino pro mini doing most of the grunt work (checking temps, opening valves etc) but want an ESP32 to be the controller so I can display on a screen and control over bluetooth or wifi.
So… I’m looking for a relatively easy way to connect the two. I was going to use I2C but I’m using that on the Arduino to control some slave devices so didn’t want to complicate things by using it for the ESP32->Arduino comms.
I’ve been looking around for some worked examples of using serial comms between the Arduino and ESP32 but there’s not much out there, and what I have tried is not working. The topics using HardwareSerial I’m not sure about because I’m not sure if the protocols are the same between the 2 devices. I’d like to use SoftwareSerial on the Arduino and there is a library on the ESP for software serial but it’s not very well documented.
Does anyone have a suggestion on where I can find a worked example connecting these devices reliably?