Pirate Game

In order to get through the task, me and James started working in the last 30 minutes of class. It was my first time experimenting with servos – so it is always better to get help with someone with more experience.

IMAG2726

Bill of Materials; 

  • Breadboard
  • Servo
  • Cables
  • Piezo / Speaker
  • Pirate Game Sheet

This is what the sheet looked like;

Screen Shot 2016-02-20 at 7.29.13 PM

As the second step we cut out the arm and taped it on the servo / also we connected piezo and the servo to the Arduino.

IMAG2723

IMAG2728

Screen Shot 2016-02-20 at 7.52.44 PM

The next step was to indicate the perfectly guessed numbers for the placement of the treasure. So we indicated the ( PERFECT X and PERFECT Y ) zones.

IMAG2730

We declared the zones, however the Servo was still not calibrated so we had to learn about the degrees of our perfect x and y zone. We did this by using the example sweep sketch which was included in Arduino IDE.

IMAG2731

The class was over, we decided to work separately and share our work with each other over the weekend.

But then few people from class decided to work on their homework in the University Center – so I decided to join them. Me and Mana worked on the rest of the HW together, with sharing information with our other friends who joined.

IMAG2743

We started with doing brainstorming on the board, we re-calibrated the servo and thought about solution code.

IMAG2741

Then Kait came up with one!

IMAG2742

After that point, all we had to do is add the code with new numbers and change the tunes which were included in the example code by our instructor.

IMAG2746

Code;

The code can be find in my GitHub repository–

 

Screen Shot 2016-02-25 at 7.59.36 PMScreen Shot 2016-02-25 at 8.00.01 PM Screen Shot 2016-02-25 at 7.59.52 PM

https://github.com/emres13/DT-Lab-2-/blob/master/PirateGame

 

Arduino Case – Making

The task of the project was to make a case for Arduino, however the OUTPUTS and INPUTS on the board had to be visible. So I decided to make a case which perfectly fits on my Arduino and leaves the ; Analog – Digital Inputs and other flashing lights on the board – visible. So I took the real life measurements of my Arduino UNO and designed the case on Illustrator. Screen Shot 2016-02-17 at 2.04.49 PM

So it was a rectangle wood case, with joining spots.

Screen Shot 2016-02-18 at 2.34.52 PM

I indicated blue areas (0,0,255), and red ares (255,0,0). So that Blue areas would be cut out on the laser cutting machines. Red ares are just gonna be laser tracing so the text would be burned on the wood.

Screen Shot 2016-02-18 at 2.35.02 PM

By adding the text on the case, I made the whole case easier to understand and use. Just by reading over the case one can see where to plug the wire. So I did the laser cutting…

 

 

IMAG2720-01 IMAG2719-01 IMAG2716-01 IMAG2717-01 IMAG2718-01

The Arduino fit but I had many problems. PROTOTYPING!. Since I did not believe that I had time for prototyping, I directly started with raw measurements and less material observation. While I thought that the thickness of wood was 0.22in, I realized that it is way thicker. In addition since I got my laser cut appointment pretty late. It made me rush and I was not able to do any finishing on the wood.

I would love to share some pictures of how no-enough-planning effected the outcome of the piece.

IMAG2722-01

IMAG2721-01

 

What I Learned;

OBSERVATION!

PLANNING!

BETTER MEASUREMENT TAKING!

PROTOTYPING! 

ALWAYS HAVE EXTRA TIME TO ITERATE. 

 

I have not failed. I’ve just found 10,000 ways that won’t work.

-Thomas A. Edison

Problems and Solutions

Problem 1;

     With the heavy rain and massive snow storms, the concrete roads around the world gets effected and lose their flatness. The pits that happens on the roads not just create an unusual and unattractive visual, it also creates concave bumps on the road which creates danger for the all kinds of drivers.

rough+roads1

Problem 2; 

      The unorganized lines and inadequate amount of customs officers in JFK airport, creates a long and messy lines. The lack of space in the terminal, makes people stressed, frustrated and unmotivated. 

13-american-airports-where-it-takes-forever-to-get-through-customs

Solution 1; 

      If the cigarette packs redesigned in the way that they can also secure the cigarette buds without any smell, it would protect the environment and the streets would be more clean. In addition, by creating a small space on the box where the smoker, can unlit his cigarette on the box, and won’t create any dirt of tobacco. 

Y-smoking-master675

Solution 2;

Photoresister light systems in the houses. If the electricity for the lighting of the house connected separately from other electrical sources, all of the lights of the house can be controlled through the darkness or brightness of outside. When it get’s so bright out and if the room gets enough light the light bulb can go off. Or at night time if it’s too dark outside the brightness will be the amount of daylight. So like that people can save their money and environment.

 

basicphotoresistorcircuitlight

Music Visualizer Iteration #1

Let’s start with intentions, what Did I intend to do? I came up with the idea of making a music visualizer. Then I decided to dig in to internet and find a pre-made examples. After all I found a project which was done by Peter Votjek. The project is written on Processing and Arduino. He supplied the wiring, the code and even the materials.

Bill of Material

  • Arduino (I use Uno)
  • HC–06 Bluetooth Module
  • Neopixel 8 Ring
  • 1000uF+ capacitor
  • 330 ohm resistor
  • 3.7V Li–Pol battery
  • Mini breadboard

Over the week I bought the materials, then I decided wire them on sunday morning. Then I did few sketches and decided to make the prototype with the day light.
IMAG2695IMAG2696IMAG2697

I decided to make a prototype with plywood, so that it will be opaque and will cover the cables, bluetooth shield, breadboard and the arduino. I was planning to cover the top of the hexagon with transparent plastic sheet, because light has to go out from somewhere right…

 

IMAG2670 IMAG2672

  • Cut 6 rectangles with 4 inches height and 3 inches width.
  • But the next to each other and tape.

Here you go you made a hexagonal box!

IMAG2674 IMAG2675

 

IMAG2677IMAG2678

Normally, box did not even had to have the hole for USB cable because, I was going to use a rechargeable battery pack, however things got smokey.

IMAG2676

 

On the other hand, I had lot of trouble technically too, the code was not working and I realized that I need to solder NeoPixel 8 ring, however I did not own any soldering tool or material… After all I lost all my motivation for this box. I still had to accomplish the task. Which was to

“This week you will have to create some sort of 3D cast object (aesthetic, animal, mask, meter) and creatively apply a single input and output to the artifact.  I/O can be analog or digital (no serial yet). “

So I decided to make an emergency project, I had to make something from the materials that I own, and also I had to use a basic sensor. I ended up doing a mask of myself with the help of my roommate.

 

IMG-20160208-WA0022     IMG-20160208-WA0021

My roommate put the plaster on my face just leaving my nose holes and eyes open. It took 10 minutes to dry.

IMAG2684

After it got dry, I added two blue LED’s under the eyes, and also added a photoresistor under the nose, so that the mask will be responsive to light and any close object. I am also attaching a picture of the wiring.

 

Screen Shot 2016-02-08 at 9.30.47 PM

Snapchat-2496948886907126621     Snapchat-3221342722589871374

In order to finalize my project and demo it to the class, I hacked my own code from last year, and made a basic night lights code.

 

IMAG2689 IMAG2690 IMAG2691

 

Outcomes;

This iteration was similar to an experimentation for me, I created two 3D models and had the chance to mess with bluetooth, battery pack and neo-pixel lights. Also pushing myself to make a mask, gave me the idea of using organic shapes and by getting inspired from the transparency and pattern of the plaster, I decided to use fabric in my further iterations. In addition, to make the mask stable, I used half the hexagon I created. Also the visual of that attracted me to idea of wood and fabric.

 

Some fun+extra pictures!

IMAG2692           IMG-20160208-WA0020

Snapchat-5120386721509502406

IMAG2694

 

 

Introduction

 

 

Screen Shot 2016-02-02 at 3.21.20 PM

 

Hello,

 

My name is Emre Sardogan. I was born and raised in Istanbul, Turkey. My father side has moved to Turkey around 200 years ago from east of Iran, to a place called Erzincan which is located in the east side of Turkey. In addition my mom’s dad is half Georgian and half Turkish – pretty international family actually. Since I went to an International school in Istanbul, English has become my second language in addition to that I learned German too, which was offered as the third language in my High School. I decided to be in New York, for many reasons and one of them is Spider-Man.

 

As a design student, I am looking forward to contribute in to UI/UX design; also social networking has always been one of my major interests. I also want to do fine arts by using technology. In addition to all, I want to be an astronaut, a poet and a TV personality. Long way to go!

Artist Presentations and Write Up’s

 

maxresdefault

Cat Stevens ;                                             

Cat Stevens : Yusuf Islam (Presentation)

Cat Stevens is a London, England based, folk music artist and also a painter. His actually interest in Folk music started where he went to college, Hammersmith School of Art. His first intention was to be a cartoonist, however, his interest in playing instruments and writing songs overcome his passion for drawing and painting. Stevens mostly made realist folk songs based on humanist aspects. His human oriented music has changed in the year of 1995, with his transition to Islam religion. The albums that he composed after that year, has mostly contributed in a spiritual aspect, and the technical religious point of view. His last eight albums are only based on the religion Islam. Overall his music was based on humanity and real life events. Such as the song Father and Son – it is about a dialogue between a kid and his father; Wild World – song about a romantic break-up.

 

Mevlana-Celaleddin-i-Rumi-Mesnevi-Padisah-ve-Cariye

 

Mevlana Rumi ; 

Rumi Presentation (Presentation)

Mevlana Celaleddi-i Rumi is a 13th century Persian poet, jurist, Islamic scholar and Sufi mystic. He wrote his poems in many languages, just by his presence in Ottoman Empire and Middle East, he influenced a lot of nation and ethnic divisions. He is also considered as most popular poet in US. Rumi was not just popular with his poems. He also played the reed flute and appreciated the traditional Sufi dance Sema “Whirling Dervishes”. Still the dance has been considered as one of the main traditions of Ottoman Empire and Republic of Turkey. The schools for Dervishes are still open. As Mevlana said, his heart and belief accepts everyone, he did not see any differences between religions he only believed that the God love was over everything. Over the years his thoughts affected the Sia Muslim’s in Turkey.

 

 

 

 

 

 

 

Arduino – Inputs and Outputs

 

Screen Shot 2016-01-31 at 8.12.16 PM

Red Cables = + Electricity

Blue Cables = – Electricity

Orange Cables = Analog Input

Purple Cables = Digital Pins

1 Button

1 Photoresistor

1 Potentiometer

5 220 Ohm Resistors

3 LED’s

This prototype I created on Fritzing, is a exemplary circuit for a project which has 3 inputs and 3 outputs.

     From left to right, first input is the “photoresistor“, this small part is capable of reading the amount of light it is getting. When the light amount goes under 50 the blue LED lights up, which makes the blue LED an output. 

    Secondly, next to photoresistor we can see a “potentiometer“, which is a device where you can change the amount of resistance going through. So that the LED will have different brightnesses every time you turn the potentiometer. The potentiometer is the input and the green LED which changes brightness through the statue of potentiometer, makes the LED an output. 

    Last but not least, the third input is the “button“. By changing the state of the button, you can cut the electricity of the circuit or part of the circuit. In this example, I used button to cut down electricity for the third and last LED. If the button is pressed the LED will light up, if not pressed LED will be turned off. 

Arduino Theremin

Hello,

This is a theremin I did by using Arduino and few other pieces. 6 LED’s – photoresistor and a piezo. Photoresistor detects the amount of light and the serial read commands the piezo and LED’s. First blue LED stands for the first note , when the serial read is below LED turns on and piezo plays the note. Her is the video of it. thanks for watching. 🙂

IMAG2516-01IMAG2523-01 IMAG2519-01 IMAG2518-01

 

 

The Code :

#include “pitches.h”

int tonepin = 9; // PWM0 output = 9, PWM1 output = 10

// these are the “piano keys” – they are just input pins
#define D2 2
#define D3 3
#define D4 4
#define D5 5
#define D6 6

void setup() {
Serial.begin(9600);
pinMode ( 3, OUTPUT);
pinMode ( 4, OUTPUT);
pinMode ( 5, OUTPUT);
pinMode ( 6, OUTPUT);
pinMode ( 7, OUTPUT);
pinMode ( 8, OUTPUT);
}

void loop() {
while (1) {

int sensorValue = analogRead(A0);
Serial.println(sensorValue);

if (sensorValue < 10 ) {
tone(tonepin, NOTE_D7);
} else if (sensorValue < 20 ) {
tone(tonepin, NOTE_C7);
} else if (sensorValue < 30) {
tone(tonepin, NOTE_G6);
} else if (sensorValue < 40) {
tone(tonepin, NOTE_C7);
} else if (sensorValue < 50) {
tone(tonepin, NOTE_A6);
} else if (sensorValue < 60) {
tone(tonepin, NOTE_B6);
} else {
noTone(tonepin);
}
if (sensorValue < 10 ) {
digitalWrite ( 3, HIGH);
} else digitalWrite (3, LOW);

if (sensorValue < 20 ) {
digitalWrite ( 4, HIGH);
} else digitalWrite (4, LOW);
if (sensorValue < 30 ) {
digitalWrite ( 5, HIGH);
} else digitalWrite (5, LOW);
if (sensorValue < 40 ) {
digitalWrite ( 6, HIGH);
} else digitalWrite (6, LOW);

if (sensorValue < 50 ) {
digitalWrite ( 7, HIGH);
} else digitalWrite (7, LOW);
if (sensorValue < 60 ) {
digitalWrite ( 8, HIGH);
} else digitalWrite (8, LOW);
}
}

Virtual Pet Final

 

 

 

 

0

OBJECT:

The object is gonna be made out of wood.

Laser cut.

MATERIALS:

Red leds,

Green leds,

Blue leds,

Piezo,

Button,

INTERACTION:

I am intending to do my project as a virtual city.

Every 5 minutes the city will be under fire. ( Red leds turned on)

— to get the fire fighters press the button several times —

Red lights will fade and blue led will fade in

— after 50 seconds the blue will be gone —

All of the lights will be on which will make the city colorful

— if the room is dark (anaologRead < X); photoresistor —

Every 5 minutes the city will be under zombie attack (Green leds turned on)

— to get help press button several times —

The city will be back to colorful animation.

— EVERY CASE CHANGE WILL BE ALERTED WITH PIEZO VIBRATION —

— TO START THE GAME ACTIVATE CAPACITIVE SENSOR —