What can technology teach us? What is the scope of objects connected to the Internet? How can they be introduced to the new generations? What are the advantages and disadvantages of such objects? These are the kinds of questions that the European project Internet of Tricks has asked us to consider. We are developing educational kits through which we will run workshops about the place of technology and connected objects in our society.
What is the place of technology in our contemporary lives and what do we want to do with it?
Meditation Link invites participants to close their eyes and meditate. This object, equipped with a camera, analyses the participants to detect their level of meditation and communicates from one object to another, inviting others to join a collective meditation.
This project is open-source and designed to be built and deconstructed, learned and re-appropriated.
See the repository on Github
- 3D print the enclosure
- Connect the Grove AI vision on the left port of the Wio Terminal
- Connect the RGB LED Stick on the right port of the Wio Terminal
- Fit the camera, terminal and LED to the 3D-printed support
- Power the Wio Terminal with a USB-C cable
- Google Collab Sketch
- Images dataset
For the camera to recognise what we want it to recognise, we need to train it with classified images. For this project we chose the image set of open or closed eyes, in order to deduce whether a person is meditating or not.
A relatively complicated code and the installation of a multitude of tools are required to train the AI model. We are not going to do this on our own computer but rather directly on a Google computer in a pre-configured environment. The image set is on Roboflow. We will use this website for our images. Creating an account is necessary.
- Click on the [ ] at the top right of each block, one by one, to execute the code. Wait for the end of a block before starting the next one.
- For step 4, you will need the download code from the Roboflow dataset page. To get it, click on Export and copy the code.
- The step 6 is the longest, the computer is now learning all it can from the images provided. Be patient.
- When everything is finished, download the UF2 file to your computer.
- Once connected to the USB port of your computer, the camera can be put into bootloader mode by double-clicking the BOOT button.
- A drive will be mounted on your computer with the name GROVEAI. You can drag and drop the previously generated UF2 file into this drive to flash the camera.
- The GROVEAI drive will disappear indicating the firmware has been uploaded.
Arduino allows us to program our board so that it acts as desired. Create a new arduino project and paste the code from iot-meditation-link-arduino.ino into it. It will most likely be necessary to install the few libraries used.
Links and references
- WIO Terminal - Getting Started
- Get started with WIO Terminal and Wappsto IOT
- Train and deploy your own AI model
- Arduino Library for Grove Vision AI
- Disk91 - Seeed WioTerminal AI grove camera
- Image dataset
- Google Colab
- simple breathing LED with arduino
- See camera in the browser
- NeoPixel Library
- TFT LCD library
- MQTT on Wio Terminal
- Password generator
The code is under the MIT LICENSE, the assets are BY-NC-SA 4.0.