12 First Steps with Arduino

It’s not knowing that drives you mad. ~ Jenny Valentine

I read this quote somewhere on the internet and thought, this would be a great start to a new blog post, since it describes my struggles to start doing prototypes. I had no idea, where I should start or what I should do. With no clear direction in mind, I just started doing something. Since the start of this semester I have gotten really interested in Arduino. After the Arduino was introduced to us during class, I took one home and I have been wanting to create/ do something with it.

Developing a first Idea

Being a scout for over a decade, I have encountered multiple ways of encoding a message, mainly as riddles though. So the first idea I had was to create a device, that lets you encode a message. And the easiest one I thought of was morse code. I started, by attaching Modulino modules, pre-built circuit components like sensors or displays, to an Arduino. I used a three button module and the “pixel”, a board housing eight LEDs, one at first.

The idea was simple, by pressing the first button, the Arduino would receive a dot. Pressing the last one would send a dash and the middle one would be used to stand a slash, which is used in written morse code to communicate a break between letters, words and sentences. The first part was very simple, I created a sketch, that wrote the received button pushes as symbols into a string. I created this very easy and very fast.

Since I could write messages now, I needed a way to actually send the message and clear the message, so people could send a new one. First I tested if the Arduino would recognise multiple buttons being pressed at the same time, but it doesn’t. So I came up with the idea of incorporating an end signal, in my case, sending four consecutive pauses would result in the message being “send” or for now displayed and cleared.

Next, I wanted to be able to also display the message, at first I tried to attach the pixel Modulino and use its LEDs to display the message. This would make it easy to decipher between dots, dashes and breaks since each sign could be displayed clearly. Sadly, I couldn’t figure out, how to make the LEDs light up in the way I wanted them to. During most of the tests, they wouldn’t turn on at all or all of them would show the same color, with no difference between dot and dash. So I turned to a different solution, the buzzer, a Modulino that makes buzzing sound, with varying frequencies. Using the buzzer to output the message was much easier and I didn’t have any problems implementing it.

Current State

This was a lot of text now, since I forgot to take pictures I could attach here, but to showcase the first prototype, her is a short video showing the functionality of the current model. The video is in german but I think it will help illustrate, what I did and what the prototype does.

What’s next?

Developing this simple concept further I would want to make use of the wifi capabilities that the Arduino board I am using provides. This way a wireless connection between two Arduinos could be used to send and receive message. As an extra the LED Matrix of the Arduino could display the received letters in clear text so the person receiving doesn’t even have to know morse code, to decipher it.

A setup like this could be used in an escape room, in which two teams of kids have to work together, to open the door, but their only way of communication is to use morse code and send it using the two Arduinos. That way they could share information and complete the next riddle.

Instructions

For this first version, you don’t need a lot, for hardware you would need:

  • an Arduino (capable of using Modulinos)
  • the three button Modulino
  • the buzzer Modulino

After attaching the Modulinos tho the Arduino, you would just have to plug it into a computer and upload this sketch:

#include <Modulino.h>

ModulinoButtons buttons;
ModulinoBuzzer buzzer;

int frequency = 1000;
int duration = 1000;

int countB = 0;

bool button_a = false;
bool button_b = false;
bool button_c = false;

String message = String("Saved Message:");

void setup() {
  Serial.begin(9600);
  Modulino.begin();
  buttons.begin();
  buzzer.begin();
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  if (buttons.update()) {

    if (buttons.isPressed(0)) {
      message = String(message + ". ");
      Serial.println(message);
      countB = 0;
    } else if (buttons.isPressed(1)) {
      message = String(message + "/ ");
      Serial.println(message);
      countB++;
    } else if (buttons.isPressed(2)) {
      message = String(message + "- ");
      Serial.println(message);
      countB = 0;
    }
  }

  if (countB >= 4) {
    pushMessage();
    message = String("Saved Message:");
    countB = 0;
    Serial.println("Message cleared!");
  }
}

void pushMessage() {
  for (int i = 0; i < message.length(); i++) {
    if (message[i] == '.') {
      digitalWrite(LED_BUILTIN, HIGH);
      buzzer.tone(frequency, duration);
      delay(150);
      digitalWrite(LED_BUILTIN, LOW);
      buzzer.tone(0, duration);
      delay(250);
    } else if (message[i] == '-') {
      digitalWrite(LED_BUILTIN, HIGH);
      buzzer.tone(frequency, duration);
      delay(500);
      digitalWrite(LED_BUILTIN, LOW);
      buzzer.tone(0, duration);
      delay(250);
    } else if (message[i] == '/') {
      delay(1000);
    }
  }
}

Lastly, I wanted to share some takeaways from my first “prototype”. Just starting to do something, with no clear goal in mind at first really sparked my motivation, to develop other little projects using the Arduino. Furthermore, I made small “prototypes” of code, that I test before incorporating them into the real thing. Aiming to understand how something works first, before using it. Lastly, I really need to take more pictures, so future blogposts are more interesting. ;D

Connection as the opposite of loneliness

Having explored loneliness in depth – what it is, how it’s defined, and how it manifests – I now want to approach the topic from a different angle. Rather than solely asking how we might design loneliness away, we should also consider its opposite: connection. I want to take a closer look at how we can foster connection and community. This perspective could serve as a powerful starting point for design. After all, connection is a basic human need. In one of the best known models of human needs (Maslow’s Pyramid) it is located on the second and third level: social security, love and belonging and sense of connection [1]. This is also backed by the self-determination theory of Deci and Ryan, who propose three basic human needs, one of them being relatedness (feeling socially connected to others) [6]. Just as loneliness can isolate and harm our well-being, connection has the potential to uplift and create belonging.

But what is connection? And what makes it meaningful instead of superficial? Many people nowadays consider themselves well connected. They largely attribute this to connections via technology based mediums like social media. But while this bridges distances, it undermines deep human connections due to digital distractions and overload and lack of crucial elements for meaningful and deep connection.

In a world dominated by digital distractions, fostering meaningful connections requires intentional effort. The ease of digital interaction often leads to diminished presence – multitasking during family time, taking calls on dates, or scrolling through social media instead of engaging with friends. These habits dilute the depth of our relationships. To counter this, we can focus on strategies like prioritizing thoughtful communication, using technology to enhance rather than replace connections, building emotional literacy, practicing presence, and stepping away from devices. By doing so, we can recenter on genuine human connections and enrich our relationships, seeking out quality interactions over digital convenience [3]. This can even mean just short exchanges with people we love to increase wellbeing and make us feel better [2].

„our relationships have broadened in scope yet diminished in depth. In our pursuit of speed and convenience, we’ve inadvertently sacrificed the intentionality and deliberate slowness that enrich connections.“ [3]

There are of course several definitions of connection, each with different focus and intention. I have chosen this one as it considers interaction and fits into the research conducted thus far:
„connection is the dynamic, living tissue that exists between two people when there is some contact between them involving mutual awareness and social interaction. The existence of some interaction means that individuals have affected one another in some way, giving connections a temporal as well as an emotional dimension.“ [7]

In reference to non-places I would like to add this quote:
„Technology makes it easier to connect but often replaces in-person contact with less meaningful interactions. Even the increase in self-service kiosks and checkouts at stores cuts down on small talk with strangers, which can help with feeling connected. The shift to remote work and Zoom calls means we might be seeing our colleagues less, leading to fewer opportunities for socializing.“ [2]

It is however worth mentioning that even small talk can enhance well-being, build relational diversity, and foster belonging. Research shows casual interactions improve mood, energy, and confidence, even for introverts. Overcoming the “liking gap” (underestimating others’ enjoyment of conversations) helps people feel more connected. Techniques include viewing small talk as a “treasure hunt,” using shared surroundings as conversation starters, and moving from surface topics to personal ones. Compliments on unique self-expression or avoiding sensitive topics can deepen interactions. Practicing small talk strengthens social confidence and thereby the feeling of belonging and capability of creating connection [4].

Based on general research and theories on connection, the following summarizes the key elements of genuine human connection:
Emotional Presence – Feeling seen, heard, and understood is critical for connection (active listening and empathy)
Shared Experiences – Shared activities and experiences foster a sense of belonging and mutual understanding
Trust and Vulnerability – Trust allows people to share their true selves, and vulnerability strengthens emotional bonds
Physical Proximity and Touch – Nonverbal communication, such as eye contact, hugs or other forms of physical contact create a sense of closeness (connection is a neuro-biological phenomenon)
Shared Values and Goals – Having common beliefs or working toward shared objectives builds connection
Reciprocity – Giving and receiving support and care create mutual feelings of appreciation and connection

Relevant paper and an extensive look at connection: “The connection prescription: Using the power of social interactions and the deep desire for connectedness to empower health and wellness”


Sources

  1. Maslow, A. H. (1943). A theory of human motivation. Psychological Review, 50(4), 370–396.
    https://doi.org/10.1037/h0054346
  2. D. Henley, “The secret to feeling less lonely in only 8 minutes,” Thrive Global, Apr. 05, 2024. https://community.thriveglobal.com/the-secret-to-feeling-less-lonely-in-only-8-minutes/
  3. C. Steinhorst, “The way people people has forever changed — focuswise,” Focuswise, Mar. 18, 2024. https://www.focuswise.com/blog/from-superficial-to-significant-transforming-how-people-connect-in-the-digital-age
  4. A. Haupt, “7 Ways to Get Better at Small Talk—And Why You Should,” TIME, Jun. 01, 2023. [Online]. Available: https://time.com/6280607/small-talk-tips-benefits/
  5. J. Martino, J. Pegg, and E. P. Frates, “The connection prescription: Using the power of social interactions and the deep desire for connectedness to empower health and wellness,” American Journal of Lifestyle Medicine, vol. 11, no. 6, pp. 466–475, Oct. 2015, doi: 10.1177/1559827615608788.
  6. Deci E L, Ryan RM. Intrinsic Motivation and Self-Determination in Human Behavior. New York, NY: Plenum; 1985
  7. Dutton JE, Heaphy E. The power of high quality connections. In Cameron KS, Dutton JE, Quinn RE, eds. Positive Organizational Scholarship: Foundations of a New Discipline. San Francisco, CA: Berrett-Koehler; 2003:263-278 https://www.researchgate.net/publication/262725459_The_Power_of_High_Quality_Connections