Please enable JavaScript to view this site.

Waijung 2 User Guide

Waijung 2 version 24.1a

Release date

24 January 2024

What's new in WJ2 for ESP32?

1.Alert system block: to send email, line and SMS alerts based on an advanced filter expression

2.MQTT File Sync block: to sync files from another MQTT client to ESP32 over WiFi

3.Local Firmware Upgrade block: to perform a Firmware Upgrade using a bin file saved on the SD card or SPIFFS

4.ESP Log block: to log messages as information, warnings or errors on the serial monitor or direct them to the SD card or SPIFFS

5.Aimagin Connect block: to create a local server to host web apps created using Aimagin Connect.

6.Expression evaluator block: to evaluate expressions

7.4G Router SMS block: to send SMS via ESP32 using a router

8.Wireguard VPN block: to set up a WireGuard VPN client through WIFI

9.Circular buffer FIFO Matrix block: to maintain the latest data set. It employs a First-In-First-Out (FIFO) circular buffer format for data storage

10.Circular buffer Matrix block: to store data set. It uses a circular buffer format for data storage

11.SD card file system block: to save and retrieve data from an SD card. It maintains a file system to ensure the secure storage of all data

12.SIMCOM 7600 MQTT block: to setup MQTT client to publish and subscribe data with SIMCOM 7600 sim module

13.SIMCOM 7600 GPS block: to get GPS coordinates using SOMCOM 7600 sim module

14.SIMCOM 7600 SNTP block: to get the date/time from ntp server using SIMCOM 7600 sim module

What's improved for ESP32?

1.Modified Waijung2 target setup block to run a serial monitor using CMD after the build process is finished

2.Updated MQTT block to do retransmission when the connection was dropped

3.Updated SNTP block to get the server URL from the input

4.Improved the SD card block

5.Updated the SPI Master block to run in the same bus that the SD card is being used on

6.Updated the HTTP server to support web sockets and HTTPS

7.Fixed bugs on Modbus RS485 block when trying to remove register in the first row

What's improved for Xilinx Zynq-7000

1.Updated the Target Setup block to support C++ code generation and code compilation

2.Updated the Waijung2 core functions to support the Image Classifier block in the Deep learning toolbox using the mobilenetv2 neural network

Waijung 2 version 23.5a

Release date

2 May 2023

What's new in WJ2 for ESP32?

1.MODBUS block: to communicate between the ESP32 and MODBUS slave via RS485 standard.

2.SD card info block: to extract information about SD card such as total memory and free memory.

3.SD card log file system: to log data with the given number of files with the given file size.

4.JSON block: create the JSON packet using the given key and value pair.

5.Support state names for output ports of the following blocks in Stateflow.

a.WiFi Setup block

6.Output to state block to convert output signal to Stateflow state name.

What's improved for ESP32?

1.Modified SNTP block to update date/time using input ports.

2.Modified UART block to configure baudrate on-the fly.

3.Optimized MQTT block receive buffer.

4.Fixed the pull-up and pull-down issue in Digital input block.

Waijung 2 version 23.2a

Release date

21 Feb 2023

What's new in WJ2 for ESP32?

1.Added ESP-NOW block with long range mode: exchange data between multiple ESP32 boards via ESP-NOW's connectionless communication technology.

2.Added AWS IoT Core block: publish and receive data to & from Amazon Web Services (AWS) IoT core which utilizes MQTT protocol.

3.Added MQTT block: publish and receive data using MQTT protocol and MQTT Client software. Available over both TCP and TLS connection types.

What's improved for ESP32?

1.Upgraded to ESP IDF 4.4.3.

2.Optimized the build process to reduce build time by >25%

3.Fixed the negative time error in java when using the Thai calendar.

4.Improved the SPP-BLE block to send and receive string buffer.

5.Improved the UART block to receive raw buffer.

6.Improved the UID read block to output MAC addresses of various network adapters.

What's new in Xilinx Zynq-7000!

1.Added AXI memory map block.

What's improved for Xilinx Zynq-7000?

1.Modified the UART block to optimize the Rx buffer

2.Fixed the typos in demos in GPIO demo.

3.Fixed the GPIO interrupt issue when no pin is selected in Digital Input block.

Waijung 2 version 22.12a

Release date

16 Dec 2022

What's new in WJ2 for ESP32?

1.Added BLE blockset

a.Nim-BLE block

b.SPP-BLE block

2.Added Deep Sleep block

3.Added Encoder block

4.Added HX711 block

5.Added External Mode over Serial functionality to ESP32

6.Added PIL Mode over Serial functionality to ESP32

WJ2 now also supports Xilinx Zynq-7000!

1.Checkout the features here.

Waijung 2 version 22.8a

Release date

20 Aug 2022

What's new?

1.Added Camera blockset

a.Camera block

b.Camera control block

c.Memory block

d.IP camera block

2.Added XCP block

What's improved?

1.Improved the Basic Custom Code block

2.Improved and optimized External Mode communication

 

Waijung 2 version 22.4b

Release date

28 April 2022

What's new?

1.Added SPIFFS Block

2.Added Volatile Storage Block

3.Added CAN Bus Block

What's improved?

1.Enable the capability to use WiFi Setup Block with External/PIL Simulation mode

2.Updated the SQLite3 Database Block to save database data in SPIFFS

3.Updated the HTTP Server Block to serve data from SPIFFS

4.Updated the String processing block to support string pointer

5.Capability to update the ESP32 partition table in Waijung2 Target Setup Block

6.Fixed pop up warnings in MATLAB 2021b and 2022a

7.Fixed PIL and External mode compiling issues with Matlab 2021a and 2021b

Waijung 2 version 22.2c

Release date

18 February 2022

What's new?

1.Support Processor-in-the-loop (PIL) simulation with WiFi (AP or STA mode)

2.Added Basic Custom Code Block

3.Added IRQ Custom Code Block

Waijung 2 version 22.2b

Release date

7 February 2022

What's new?

1.Support ESP-IDF 4.4.

2.Support ESP32-S3, ESP32-S2 and ESP32-C3.

3.Support External mode with WiFi (AP or STA mode).

What's improved?

1.Optimized C code generation.

2.Improved error handling.

3.SQLite3 Block: Updated to the latest Sqlite3 library and improved User Interface.

Waijung 2 version 20.11b

Release date

23 November 2020

What's new?

1.LEDC Block: To generate PWM signal for LED control.

2.MCPWM Blocks: To generate PWM signal for motor control.

3.Circular Buffer Demo.

4.A mechanism to force code generation in C.

What's improved?

1.The new operation mode to Target (added in waijung2_20.11a) is modified to let the user stream the video feed to either Simulink or Aimagin Connect webpage after processing it within the Target itself. A new demo is added to depict the said features.

2.Optimized the HIL Block for higher data transfer rate.

Waijung 2 version 20.11a

Release date

4 November 2020

What's new?

1.Capability to upload and monitor the program using ESP-IDF Visual Studio Code Extension

2.A serial monitor Matlab app.

3.New blocks

a.HTTP Server Block: To convert the ESP32 to into a web server that serve custom web pages

b.Circular Buffer Block: A circular buffer. is used for buffering data streams.

What's improved?

1.Waijung2 now support from Matlab R2018b upwards

2.The SQLite Block has been modified to support data input from Circular Buffer Block

3.A new operation mode to Target has been added to the Camera Block that would enable the user to process the video feed within the ESP32 itself. The following new blocks have been created to support this operation mode

a.Image Concatenate Block

b.Memory Block

4.Real time information will be shown in the Diagnostic Viewer when compiling and uploading model files to ESP32

5.Configurable sample time is reduced from 10ms to 1ms

Waijung 2 version 20.10a

Release date

6 October 2020

What's new?

First release.

Copyright 2024 Aimagin Co.,Ltd. Rev.1680