Using SenseCraft Firmware for Code-Free Programming on Wio Terminal

Using SenseCraft Firmware for Codeless Programming with Wio Terminal

Concluding a review of the SenseCAP K1100 Sensor Prototype Kit with LoRaWAN and Vision AI, the author suggested that it would be great if SeeedStudio could develop a new firmware that could communicate without encryption instead of using Arduino programming:

I had to rely on my knowledge and experience with LoRaWAN to transmit data wirelessly over long distances. That’s because LoRaWAN has a more complex connection process than Wi-Fi or Bluetooth. It would be great if Seeed Studio could develop a new firmware that can communicate without any coding

It didn’t take long, as SeeedStudio recently released the first version of its open source smart sensor software SenseCraft for the sense of code, process, and uplink that happened to be compatible with the Wio Terminal part of the SenseCAP K1100 development suite. So let’s test the new SenseCraft firmware together.

SenseCraft Navigation Keys

Wio joystick terminal

We can use the Wio Terminal joystick as follows:

  1. the left: Move to the left.
  2. the correct: go to the right.
  3. higher: Returns to the previous menu.
  4. Enters: select an item.

SenseCraft function keys

Wio Terminal No uplink sense operation programming code

The three buttons on the top of the device are used for three specific actions:

  1. sense: Displays different values ​​from the sensors inside the Wio Terminal panel that are Light, Sound, and IMU, as well as external Grove Sensor Units. The Wio Terminal panel will display the values ​​automatically according to the sensor type.
  2. to treat: Data processing. For example, the Grove Vision AI camera module can be connected to a Wio terminal that will process images using machine learning algorithms.
  3. Send: It takes care of the wireless connection through LoRa and/or WiFi, and sends the data from the sensor to the cloud.

Install SenseCraft on Wio Terminal

I installed SenseCraft without code on Wio Terminal as follows:

  • Download Latest firmware versionCurrently “SenseCraft-v0.3.uf2”
  • Connect a USB Type-C cable between the Wio peripheral board and the host computer.
  • Slide the switch to the “ON” position, then quickly toggle between ON and OFF at least twice to enter Bootloader mode.

Wio terminal bootloader mode

  • A new Arduino USB drive should appear on your computer.

The default firmware for Wio

  • copy”SenseCraft-v0.3.uf2.0To a USB drive

Firmware SenseCraft UF2

  • Wio Terminal will then automatically flash the “No-code” firmware and reboot. You should just seeconfig.txtOn a USB drive at this point.

SenseCraft engine config.txt

SenseCraft test with different sensors

We tested four different scenarios using the SenseCAP K1100 Prototype Kit in the “Sense” menu.

First, we displayed light intensity, volume, and IMU sensor data from the sensors included in the Wio Terminal.

Wio . Terminal Light Sensor

The Grove soil moisture sensor was next…

Wio Terminal . Soil Sensor

… followed by the Grove VOC and eCO2 gas sensor …

Wio CO2 VOC . Station

…and finally the Grove temperature and humidity sensor.

There is no SHT40 sensor programming code

Connecting the Grove Vision AI module enabled face detection (real-time vision analysis for artificial intelligence) in the process menu.

SenseCraft Vision AI face detection

We only tested the functionality of SenseCraft using the Sense and Process sections. We did not test the Uplink functionality for the following reasons:

  1. The firmware only supports US915, EU868 and AU915 bands, and the AS923 band used in Thailand cannot be identified at the moment.
  2. LoRaWAN’s private network servers are not yet supported, only cloud services like SenseCap and Ubidots.

conclusion

The SenseCraft project eliminates the need to write any code. Simply connect a sensor to the Wio Terminal, or use the internal sensors, and it will display the data automatically. SenseCraft is ideal for those who are not good at programming. We hope the project team will push a new version for more functionality soon. SenseCraft should soon add support for M5Stack devices and XIAO series panels with displays, as well as additional Grove sensors.

This article is a translation (with some changes) from educationl programs written by Ninephon Kongangkab On CNX Software Thailand.

#SenseCraft #Firmware #Codeless #Programming #Wio #Terminal

Leave a Comment

Your email address will not be published. Required fields are marked *