Target module Demo file : esp32_i2c_4_20mA_demo.slx
Host PC Demo file : udp_host_pc.slx
This demo shows how to use the I2C Block to get the reading from the external I2C ADC module and send the data to the host PC simulink model using a wireless UDP communication with Wireless Communication Block (HIL) in every 1s.
- aMG ESP32 4-20mA Module
- Fio Glide ESP32 with aMG ESP32 2P
- Host PC with Simulink and Wifi connection
What should be happening?¶
Once the host PC simulation is started the data reading from the ESP32 should be shown in the display block.