High-Five Machine Final Design

Larissa Swift, Paul Palazuelos

Purpose

Since a solution to loneliness would be too complex to solve with a simple machine in 6 weeks, we decided to confront one of the problems lonely people often have, which is that they usually don’t have someone around to give them high fives when they need them the most.

This device is specifically aimed at university students because for most students, the people who surrounded them previously, their friends and family, were the ones who gave them praise and encouragement. When they’re first introduced to this new environment, students can struggle to find friends or study partners which can make them unmotivated.

We are looking to address this potential problem by helping students learn the important skill of self motivation through non-verbal praise.

The device uses an ultrasonic sensor to make a servo move to give someone a high five. It also uses an on/off switch so the servo can be turned off when the device isn’t in use to prevent it from burning out, and a 4 digit 7-segment display to count the number of high fives given.


Components Needed

 

 

  • Slide switch
  • Ultrasonic sensor
  • TM1637 4 digit 7-segment display
  • Mini servo
  • Arduino Uno

Construction

 

  • Arm components and base were 3-D printed
  • Hand is made from foam
  • Servo is attached with a stiff wire
  • Housing box is made from wood

Wiring

48361557_380578676022838_2286674840754585600_n

final_schem_bb


The Code

#define trigPin 8
#define echoPin 9

#define CLK 11
#define DIO 12
#define TEST_DELAY 2000

#include <Servo.h>
#include <Arduino.h>
#include <TM1637Display.h>

TM1637Display display(CLK, DIO);

Servo myservo;
int trigger;

int numb=0;

void setup() {
Serial.begin (9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
trigger = 0;

myservo.attach(2);// attach your servo
myservo.writeMicroseconds(1500);

pinMode(11,INPUT);
display.setBrightness(6);
}

void loop() {
long duration, distance;
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;

display.setBrightness(0x0f);
display.showNumberDec(numb,false);

if (distance <= 30 && distance > 0 && trigger == 0) {
myservo.write(100);
delay(600);
myservo.write(0);
numb++;
trigger = 1;
}

else if (distance > 30 || distance <= 0){
myservo.write(0);
Serial.println(“Out of range”);
trigger = 0;
Serial.print(distance);

}
else {
Serial.print(distance);
Serial.println(” cm”);
}
delay(500);
}

https://youtu.be/QfdFi4Hm_Gw

 

https://www.instructables.com/id/Arduino-Servo-Motors/

Articles

Click to access ED370200.pdf

VIS 147A Project Proposal

Group members: Larissa Swift, Paul Palazuelos

Project Name Possibilities: “One Hand Clapping” “Shoulder Buddy” “Nobody’s Critic”

A high-five is the simplest and most versatile way to celebrate anything. Your friend found a dollar on the ground? High-five. A loveable underdog just stopped an alien invasion? High-five. You knew the answer to a high stakes jeopardy question? You deserve a high-five. Receiving a high-five can make you feel important, appreciated, and heard in any situation.

However, sometimes your finest moments can go unseen, especially in this complicated digital age. People are becoming increasingly connected, but at the same time, are feeling more lonely than ever. A nationwide survey by the health insurer Cigna, using the UCLA Loneliness Scale, demonstrated that nearly 50% of respondents felt lonely. It was also found that young adults felt more lonely than older generations. The average loneliness score for Generation Z was 48.3, and 45.3 for Millennials, compared to an average score of 42.4 for baby boomers. Anyone scoring over 43 was considered lonely.

Not only can a high-five help with loneliness, it can also increase motivation. This non-verbal gesture has shown to be more effective in increasing motivation that other verbal forms of praise. While verbal praise can direct a person to feel complacent with their efforts by expressing satisfaction for achieving a goal, the high-five creates enough ambiguity for a person to accept praise while striving to improve. The ambiguity does not address any standards or benchmarks achieved, therefore allowing the recipient to believe their effort can can continue along the approved path. It is for this reason that our high-five machine will be a great substitution for a friend if one is not present.

This project will have multiple points of articulation each controlled by a servo motor. The device will be activated by a proximity sensor to detect a human hand waiting to receive a high-five. As the device will resemble a human arm, the most basic movement of a shoulder joint and elbow joint will be sufficient enough to create the movements of a high-five. If time permits, more than 2 points of articulation will be created to perform a more realistic high-five motion or other acts of gestural praise. Once performing its action, the device will return to its initial state of rest. Our high-five machine will be situated on a base small enough to be placed conveniently in areas of productivity such as a work desk locations of awesomeness.

The idea of a machine that detects a waiting hand for a high-five derives from the experience of being a student at a university. Quite often, students find themselves in an unfamiliar place far away from the place they grew up at and far from friends and family. Those people who surrounded them previously were primarily the ones who facilitated praise and encouragement. Without friends, family, and being in a new environment, students can struggle to find friends or study partners which can contribute to a lack of motivation. We are looking to address this potential problem by providing a means of praise to help with self motivation.

Timeline:

Goal Assigned Tasks
Week 6 Have all parts ordered and have all implementation details set in stone Paul: Begin modeling hand for 3D printing

Larissa: Begin basic prototyping of hand/arm mount

Week 7 Assemble parts, begin prototyping

Take photos and notes of each step

2nd Project Deadline (11/12/18):

Documentation of prototype (working experimentation)

Paul: Print prototype hand

Larissa: Test low fidelity mount

Both: Draft code

Week 8 Continue taking photos and notes of prototyping progress

3rd Project Deadline (11/19/18):

-final materials gathered

-progress report (Photo Documentation and written report on progress made)

Paul: Assemble parts

Larissa: Choose mount design

Both: Debug code, simplify wiring

Week 9 All basic functions should work, final debugging and testing Paul: Assemble final design

Larissa: Make final mount

Week 10 Final testing Both: test and debug
Week 11 Presentation Both: present project

Inspiration:

Hand Mechanics(to be referenced for detailed articulation)

 

Elbow Mechanics

Resources:

Fetzer.org. (2018). [online] Available at: http://fetzer.org/sites/default/files/images/stories/pdf/selfmeasures/Self_Measures_for_Loneliness_and_Interpersonal_Problems_UCLA_LONELINESS.pdf [Accessed 5 Nov. 2018].

Lifehacker.com. (2018). [online] Available at: https://lifehacker.com/build-a-kickass-robot-arm-the-perfect-arduino-project-1700643747 [Accessed 5 Nov. 2018].

Lumsden, L. (2018). Student Motivation To Learn. [online] Files.eric.ed.gov. Available at: https://files.eric.ed.gov/fulltext/ED370200.pdf [Accessed 5 Nov. 2018].

Morris, Bradley J., and Shannon R. Zentall. Frontiers in Psychology, Frontiers Media S.A., 2014, http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4145712/.

Npr.org. (2018). NPR Choice page. [online] Available at: https://www.npr.org/sections/health-shots/2018/05/01/606588504/americans-are-a-lonely-lot-and-young-people-bear-the-heaviest-burden [Accessed 5 Nov. 2018].

Placona, M. and Firebase, H. (2018). High Five Machine with Android Things and Firebase. [online] Hackster.io. Available at: https://www.hackster.io/marcos-placona/high-five-machine-with-android-things-and-firebase-e7aab2 [Accessed 5 Nov. 2018].

Beginning Implementation and Design Iteration

Group members: Larissa Swift, Paul Palazuelos

Project Name: “One Hand Clapping”

We began by creating a few low fidelity prototypes

Paper prototype

Foam Board

As previously stated, we have figured that there would be minimal points of articulation. Upon creating the prototype, we have come to the conclusion that one source of movement would be necessary to achieve the desired effect of our physical computing goal. Our next goal will be implementing our prototype concept with servo motors with proximity sensors and 3d printed framework to further achieve our final objective.

After we 3D printed all of the pieces however, we realized there were some design flaws.

So, the design changed from the original (left) to a simplified version (right).

Possible Input:

Ultrasonic sensor

Tutorials

Ultrasonic Sensor HC-SR04 and Arduino Tutorial

https://howtomechatronics.com/tutorials/arduino/ultrasonic-sensor-hc-sr04/

CONTROLLING A SERVO WITH ULTRASONIC SENSOR SIGNAL USING ARDUINO ( AUTOMATED GATE SYSTEM )

https://randomnerdtutorials.com/complete-guide-for-ultrasonic-sensor-hc-sr04/

Complete Guide for Ultrasonic Sensor HC-SR04 with Arduino

https://www.instructables.com/id/Controlling-a-Servo-With-Ultrasonic-Sensor-Signal-/

Experimentation

Button

Servo Motor + Push Button + Arduino : 5 Steps

https://www.instructables.com/id/Servo-Motor-Arduino/

Control Servo Motor with Push button – Arduino Tutorial

Arduino Tutorial: How to use a button with Arduino Uno

[TUTORIAL] HOW TO USE A PUSH BUTTON

http://blog.codebender.cc/2015/07/17/tutorial-how-to-use-a-push-button/