Using SenseCraft firmware for no-code programming on Wio Terminal

No-code programming with SenseCraft on SenseCAP K1100

In the conclusion of our SenseCAP K1100 Sensor Prototype kit review with LoRaWAN and Vision AI, the author suggested that it would be great if SeeedStudio could develop a new firmware that can connect without coding 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 complicated connection process than Wi-Fi or Bluetooth. It would be great if Seeed Studio could develop a new firmware that can connect without any coding

It did not take long, as SeeedStudio very recently released the first version of SenseCraft open source smart sensor software for no-code sense, process, and uplink that happens to be compatible with the Wio Terminal part of the SenseCAP K1100 development kit. So let’s test the new SenseCraft firmware together.

SenseCraft navigation keys

Wio Terminal Joystick

We can use Wio Terminal’s joystick as follows:

  1. Left: navigate to the left.
  2. Right: scroll to the right.
  3. Up: returns to the previous list.
  4. Enter: select an item.

SenseCraft function keys

Wio Terminal no code programming sense process uplink

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

  1. Sense: display various values from the sensors inside the Wio Terminal board namely light, sound, and IMU, as well as external Grove sensor modules. The Wio Terminal board will automatically display the values according to the sensor type.
  2. Process: handle data processing. For example, The Grove Vision AI camera module can be connected to the Wio Terminal which will process the images with Machine Learning algorithms.
  3. Uplink: takes care of the wireless connection through LoRa and/or WiFi, and sends data from the sensor to the cloud.

Installing SenseCraft on Wio Terminal

I’ve installed SenseCraft no-code firmware on Wio Terminal as follows:

  • Download the latest firmware version, currently “SenseCraft-v0.3.uf2”
  • Connect the USB Type-C cable between the Wio Terminal board and the host computer.
  • Slide the switch to the “ON” position, and then quickly switch between ON and OFF at least twice in order to enter Bootloader Mode.

 

Wio Terminal bootloader mode

  • A new “Arduino” USB drive should show up on your computer.

Wio Terminal default firmware

  • Copy “SenseCraft-v0.3.uf2” file to the USB drive

SenseCraft UF2 firmware

  • Wio Terminal will then automatically flash the “No-code” firmware and restart. You should just see “config.txt” file on the USB drive at this stage.

 

SenseCraft drive config.txt

Testing SenseCraft with various sensors

We tested four different scenarios with the SenseCAP K1100 prototyping kit in the “Sense” menu.

First, we displayed the light intensity, sound level, and IMU sensor data from the sensors built into the Wio Terminal.

The Grove Soil Moisture Sensor was next…

Soil Sensor Wio Terminal

.. followed by the Grove VOC and eCO2 Gas Sensor …

CO2 VOC Wio Terminal

… and finally the Grove Temperature & Humidity Sensor.

No code programming SHT40 sensor

Connection the Grove Vision AI module enabled face detection (Vision AI real-time analysis) in the Process menu.

SenseCraft Vision AI Face Detection

We only tested the SenseCraft function with the Sense and Process sections. We did not test the Uplink function because:

  1. The firmware only supports the US915, EU868, AU915 bands, and it’s not possible to select the AS923 band used in Thailand at this time.
  2. Private LoRaWAN network servers are not supported just yet, and only Cloud services such as SenseCap and Ubidots.

Conclusion

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

This article is a translation (with some changes) of the tutorial written by Ninephon Kongangkab on CNX Software Thailand.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

5 Replies to “Using SenseCraft firmware for no-code programming on Wio Terminal”

  1. That’s excellent, they’ve done a great job! They should have done this when they released the device, it’s a way better demo than the stupid “game” that was on it. It measures light, sound, acceleration, it demonstrates buttons, graphics and network access, and even makes a pretty usable device as-is.

  2. I’m legit impressed, since the Wio Terminal only costs 37$ and has maintained availability .. I wonder if they’ll make it work with the cool m5stack thermal camera display 😀

    1. I agree with you, many people are looking forward to the next update that supports the M5 Stack, XIAO and MCU.

Leave a Reply

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

Boardcon Rockchip and Allwinner SoM and SBC products
Boardcon Rockchip and Allwinner SoM and SBC products