Flavio Grimaldi
  • Home
  • About
  • Term I
    • Landing
    • Documenting Design
    • Digital Fabrication
    • The machine Paradox
    • Design Studio I
      • Design Space
      • Roles of Prototyping in 1PP Research through Design
      • Collective Design Studio
      • Design Dialogues I
    • Living With Your Own Ideas
    • Extended Intelligences
    • Design With Others
    • Biology Zero
      • Designing a GMO
    • Agriculture Zero
      • Hack-ing Farm-ing
  • Term II
    • Design Studio II
      • Intervention I: Hacking the Algorithm
      • Ethics of Design
      • Intervention II: Public Space or Contested Territory?
      • How to Design a Research Project
      • Intervention III: Makerspaces catalyst for social change
      • Transition Design
      • Intervention IV: Anti-Racist Community Days
      • Design Dialogues II
    • Situated Design Practices
    • Communicating Ideas
    • Living Materials
    • Collective Intelligence
    • H(n)MI
    • Micro_Challenge
    • Micro_Challenge
    • Extended Intelligence II
  • Term III
    • Design Studio III
    • Communicating Ideas
    • FAB-Challenge
  • Pictorial
  • Final Project
  • Linkedin
  • Instagram
  • Email
Powered by GitBook
On this page
  • Micro Swarm
  • Explore an intermediate level of swarm intelligence to mimic the harmonious din of cicadas.
  • Reference Projects/Inspiration
  • The System Structure
  • Mother/Reference
  • The Children/Cells
  • The Carapace
  1. Term II

Micro_Challenge

PreviousMicro_ChallengeNextExtended Intelligence II

Last updated 24 days ago

Micro Swarm

Explore an intermediate level of swarm intelligence to mimic the harmonious din of cicadas.

Micro Swarm is a project for the Micro Challenge Course in the Master in Design for Emergent Futures Year 1 for 2024-2025 to test 'swarm intelligence' using a series of devices. With input from a human user (vibration sensor), a note will be played on a single 'Reference' device. Using OpenAI, a harmonizing note will be determined and relayed to the 'Cell' devices via MQTT. The 'Cell' devices will then play the note to create 'swarm music'.

Reference Projects/Inspiration

The System Structure

The proposed system is composed of a single "Mother" or "Reference" device that reads input from a sensor and sends out a signal to the "Child" or "Cell" nodes to make certain noises in response to the stimuli.

The Reference node will process the input from a sensor to determine the frequency of a note to play on the onboard piezo buzzer while simultaneously sending a query to a ChatGPT prompt through the OpenAI API to determine harmonizing frequencies for the desired note. The information of the harmonizing note is then conveyed to the Cell nodes using Message Queues Telemetry Transport (MQTT) publish-subscribe protocol on a local WiFi network through an existing MQTT broker server. When the Cells receive the frequency, they will activate the onboard buzzers to play the sound, creating the harmonious din of cicadas.

Mother/Reference

When a predator makes a vibration close to the Mother node, the node will send out a "danger" signal so that the Children nodes are alerted. A predator's approach is detected through a piezo vibration sensor on the Reference device. When the sensed vibration is within an acceptable range, to cut out noise from the sensor, the value is mapped to correspond to one of the indexes of 88 notes which is passed to the OpenAI prompt. The prompt requests that 3 harmonizing notes be determined from the given note and return them as an array.

The Reference node will then relay a different frequency to each of the Cells so they can respond in an individualist manner to make sure all of the children heard the call. This is done by publishing the desired frequency to a different 'topic' to which the Cells can each subscribe to receive only the frequency meant for their buzzer.

The Children/Cells

The code for the cells is much simpler. Each Cell subscribes to a topic and then when a new message comes in from the Reference, plug that value into the buzzer frequency and play the note.

The Carapace

The carapace, with an insect look, besides being designed to be adaptable, emitted in its internal parts when assembling the electronic components to improve time, for mother and son, was intentionally designed to reverberate the acoustic from one chamber to the other and amplify the sound emitted by the buzzer inside the artificial insect. The structure of the artifact components is divided into two specific parts, a flexible silicone base with four legs that can be attached to different places vertically and horizontally with suction cups on each leg, and an external structure that covers the Barduino board, battery, and piezo sensor, 3D printed in PLA to protect the components from the external interference and maximize the sound by using oval shapes and seven holes on top to let the airflow from the chamber to the outside.

To produce, the carapace has been used a Bamboo 3D printer for the shell, a Creality Ender to print the mold for the silicone bottom layer, and Blender and Adobe Illustrator to define the shapes and forms. It's important to enhance the several changes made during the project that transformed the original shape to a new version considering the possibilities of batteries to be used on the Barduino and they would be distributed inside of the carapace without interfering with each other, which consequently gave a more anatomical shape specifically designed to the board and components for this Micro Challenge.


Check the repository here 👇

Barduino (ESP32)
GitHub - LKField/micro-swarmGitHub
Logo