Difference between revisions of "Akshay Tiwari"

From (art)scienceblr
Jump to: navigation, search
(Created page with " ==FIRST ROBOT== I had no idea to build something with just motors. Despite of having some experience with Arduino before, I had no clue about using a transistor with a diode....")
 
(INcompletUS)
 
(14 intermediate revisions by one user not shown)
Line 27: Line 27:
  
 
== SENSOR EXPLORATION: TILT SENSOR ==
 
== SENSOR EXPLORATION: TILT SENSOR ==
 +
The following tutorial uses a Mercury tilt (KEYES KY-017) tilt sensor.<br>
 +
 +
===COMPONENTS:===
 +
Tilt Sensor<br>
 +
Arduino UNO<br>
 +
Jumper wires<br>
 +
 +
[[File:akshay_tilt1.jpg|300px|||Components]]<br>
 +
 +
===THE TILT SENSOR:===
 +
[[File:akshay_tilt2.jpg|300px]]<br>
 +
 +
The mercury tilt sensor utilizes a mercury blob that disconnects upon tilting and short/completes the circuit when lying flat, thus detecting tilt in a binary way. When flat, the sensor module’s LED shall glow. Upon tilting, it will not glow.
 +
 +
The pin terminals and basic circuit are indicated as follows:<br>
 +
[[File:akshay_tilt3.jpg|300px|thumb|left|(image courtesy of : http://henrysbench.capnfatz.com/henrys-bench/arduino-sensors-and-input/keyes-ky-017-arduino-mercury-tilt-switch-tutorial/)]]<br><br>
 +
 +
[[File:akshay_tilt4.jpg|||320px]] [[File:akshay_tilt5.jpg|320px||]]<br>
 +
 +
===ARDUINO CODE FOR TILT SENSOR:===
 +
 +
//code for testing tilt sensor
 +
int tilt = 3;
 +
void setup() {
 +
  // initialize serial communication at 9600 bits per second:
 +
  Serial.begin(9600);
 +
  // make the pushbutton's pin an input:
 +
  pinMode(tilt, INPUT);
 +
}
 +
void loop() {
 +
  // read the input pin:
 +
  int tiltState = digitalRead(tilt);
 +
  Serial.println(tiltState);
 +
  if (tiltState==HIGH){
 +
    Serial.println("TILTED")
 +
  }
 +
  else
 +
  {
 +
    Serial.println("NOT TILTED")
 +
  }
 +
delay(1);       
 +
}
 +
 +
The tilt sensor can be used as a switch where tilting is an interaction that shall trigger some output.
 +
 +
== Turbidity Sensor  ==
 +
Combining basic LDR circuit with an LED we created a turbidity detector .The essential factor to consider was casing the LDR in darkness.
 +
 +
[[File:Schematic.png|400px| ]]
 +
===Circuit===
 +
[[File:Led circuit.png| 400px|  ]]
 +
===Arduino Code ===
 +
[[File:Code turbidity.png| 400px]]
 +
===Serial Reading===
 +
[[File:Serial moniter.png| 400px]]
 +
===Construction of the meter===
 +
[[File:Meera turbidity1.JPG| 400px]]
 +
 +
[[File:Meeraturbidity1.2.JPG| 400px]]
 +
 +
[[File:MeeraTurbidity2.JPG| 400px]]
 +
 +
[[File:MeeraTurbidity4.JPG| 400px]]
 +
 +
===Turbidity Meter Calibration===
 +
 +
[[File:TurbidityMetercasing.JPG| 400px]]<br>
 +
Further, the circuit was soldered on to a PCB and cased with sunboard. Calibrating the meter requires successive dilution of samples. Milk is diluted with water and readings are gathered in a dark area.
 +
Starting with 25 ml of a sample we did a five fold dilution where the maximum concentration of milk resulted in a reading of approx 220 units and maximum dilution approached 700 units.
 +
 +
 +
[[File:Meera samples.JPG| 400px]]<br>
 +
The average of serial monitor readings was plotted against level of dilution in the five fold dilution process (starting from 25 on Y axis and going 5 units lesser for the next dilution and so on).<br>
 +
[[File:Akshaygraphdilution.jpg| 900px]]
 +
 +
==CYBORG & POSTHUMAN==
 +
===CYBORG===
 +
[[File:Akshaycyborg.jpg|100px]]<br>
 +
A cyborg who is primarily a plant with a humanoid core. He has zero reactionary behaviour and can sustain on changes in fields(magnetic, etc) <br>
 +
===POSTHUMAN===
 +
[[File:Akshayposthuman.jpg|300px]]<br>
 +
Post human would be a human who has reached the peak of understanding and perception with the most vast 'vision' of any sorts. Here, the human is communicating through a plant which the other is interpreting via thought and replying literally in a speech bubble. Their feet depict that they can alternate between matter and energy.
 +
 +
===POSTHUMAN CYBORG 10 YEARS FROM NOW===
 +
 +
[[File:AkshayCYBORGPROHUMAN.jpg|300px]]<br>
 +
Here, we had to visualise the intersection of the themes: Cyborg and Posthuman 10 years from now.
 +
We visualised the intersection to be a dystopian age where every individual is a brand by 'it'self and is completely self sufficient for survival. The image shows an example of the 'logo ID' of an individual. It would consist of a unique visual as well as a different bar code that is recognized by others and directly installs that brand's unique language into the viewer's perception. These IDs are produced by different private governments who are 'publishers'. They also tailor sensory hacks which 'Hollywood'izes the world in different styles. So, every person sees everything as beautiful through his branded vision.
 +
 +
==SENSING THE CITY==
 +
===RESOURCES FOUND===
 +
[http://http://www.nixi.in/mrtgBanglore.php This site] shows the Internet traffic measured on a daily to yearly basis by the National Internet Exchange of India(NIXI).<br>
 +
OpenStreetMap data for Bangalore can be found [http://www.http://openstreetmap.in/data/ here] which can be read by open source software [http://http://www.qgis.org/en/site/ QGIS].<br>
 +
<br>
 +
===MAPPING===
 +
[http://openbangalore.org/available-data/#gis_maps OpenBangalore] hosts datasets related to Bangalore.I used the BWSSB(water division) subdivision and main lines' KML files to divide the Bangalore map into wards and respective stations. I tried adding these KML files to Google Maps which works in layers for each file and is a bit tough to open a batch of KML files.<br>
 +
[[File:Akshaygooglemap.png| 400px]]<br>
 +
For importing the batch of KMLs I turned to [https://www.google.com/earth/download/ge/agree.html Google Earth]. It opens the KML files and divides the map into sectors. Turning off the Primary Database keeps only the KML files visible.<br>
 +
[[File:Akshaybangalorewater.jpg| 350px]]<br>
 +
I do not exactly know though as to what every pipeline or Service Station's sub-data represents.
 +
 +
==DATA VISUALIZATION==
 +
A line chart was created using D3.js along with the Serial monitor readings from the turbidity experiment.
 +
[[File:Turbidity line chart.png| 600px]]<br>
 +
 +
==DATA LOGGING FOR ARDUINO==
 +
The task at hand was to figure how to save incoming serial data as a text file.This was done using a third party serial monitor called [http://freeware.the-meiers.org/ CoolTerm].Set the Connection options to the respective Arduino COM port and hit "Connect". This shall start showing the data stream from that port. Under "Connection" menu, "Capture to text file" helps record the readings as a text file, which can be further edited to make a CSV file.<br>
 +
[[File:Akshaycoolterm.png|200px]]<br>
 +
[[File:Akshaycooltermtxt.png|200px]]
 +
[[File:Ldrgraph.png|600px]]
 +
 +
==DATA VISUALIZATION==
 +
A basic arduino to processing serial communication was set up wherein a potentiometer controls cubes of different orientations to create a generative 2D "Rose" of sorts.<br>
 +
[[File:Akshaydatavizcube.png| 600px]]
 +
 +
==GAS SENSOR ON SHIELD==
 +
 +
[[File:IMG 3877.JPG]]<br>
 +
A shield for the Arduino was created on a PCB. A gas sensor (MQ 4) as well as an SD card module was mounted on it. A basic datalogger code from the SD library was tweaked to give single sensor readings in the form of a text file.<br>
 +
 +
[[File:Alcohol sensor.JPG]]
 +
 +
[[File:Airquality sensor.JPG|200px]]
 +
 +
[[File:Sdcardmodule.JPG|400px]]
 +
 +
[[File:Entirecircuit.JPG|400px]]
 +
 +
[[File:Akshay serialSD.png|300px]]
 +
 +
==INcompletUS==
 +
Carrying forward inspiration from the posthuman activity and moving away from letting the tool define the outcome, we thought of a narrative where data will be at the center of everything to such an extent that human interaction is stunted as a farce for environmental purposes. Every government is a brand publisher and every individual is a brand in himself. Communication is completely visual but the five senses have been boiled down to receiving visual input. AR is the new vision and all are beautifully hollywoodized versions of the data they consume on a daily basic. It is partly a commentary on over consumption of media, its numbing effect and the blurred boundary between qualitative visuals and the quantitative numbers behind them.
 +
 +
==Ideation==
 +
A narrative experience that gives an overview of the overwhelming data around us which is simplified to visual inputs through various lenses(technological and otherwise). The limit of this pursuit as well as of the term 'vision' shall be a major theme.
 +
 +
[[File:Meeraideation4.jpeg|300px]]
 +
[[File:Meeraideation5.jpeg|300px]]
 +
[[File:Meera ideation 6.jpeg|300px]]
 +
 +
[[File:Meeraideation1.jpeg|400px]] [[File:MeeraIdeation2.jpeg|400px]]
 +
 +
==Concept Videos==
 +
 +
The concept examples were done in a form of combining advertisements and generative art with branding that suggested ulterior motives:
 +
 +
[https://vimeo.com/212260522 Project INcompletUS Concept]:<br>
 +
This video gives an overview of the concept of Project INcompletUS. In a datacentric universe, different communicators
 +
distribute peoples' information visually, nullifying any need for conversation. The system modifies perception of users to
 +
'hollywoodize' life in a way.<br><br>
 +
 +
[https://vimeo.com/212260035 INcompletUS]:<br>
 +
INcompletUS is a fictional organization which caters to augmenting humans in a way that lets them know everything about
 +
each other beforehand. The elimination of talk and provisions for overcunsumption of media creates a 'social' fabric of apathy
 +
and stagnation. By taking away all purpose through its eyewash techniques of visual data, it makes everyone feel complete
 +
when they aren't.
 +
 +
[https://vimeo.com/212262753 Self Own]:<br>
 +
Self-own is a fictional government branch that licenses every 'customer' as a brand. Every government is akin to a media
 +
production house delivering exclusive content to its 'dreamers'. To secure this exclusivity, it grants them dynamic IDs which can
 +
interact within a domain only. People can interact with third-party government profiles but cannot extract content from them.
 +
The trade is only in the form of edited dreams, which keep the media business runnning and the people apathetic.
 +
(The 'arc-code' was made in Processing)
 +
 +
[https://vimeo.com/212261087 TEST-BUDS ]:<br>
 +
TEST-BUDS is a fictional vegetable vendor that creates  fractal food. Popularly, a cauliflower is believed to correspond to a
 +
fractal. Here, it is the other way round- vegetables are purposefully grown in an identifiable fractal so data can be easily
 +
gathered regarding public consumption of the same. This can be further tweaked to push only those vegetables that nourish
 +
the body and make it more aesthetic (and easily augment it for virtual viewing).
 +
(The hexagonal visual was made in Processing and is inspired from the categorization of taste in six values including
 +
astringency).

Latest revision as of 10:17, 8 April 2017

FIRST ROBOT

I had no idea to build something with just motors. Despite of having some experience with Arduino before, I had no clue about using a transistor with a diode. Previously I had used only a driver IC module with two motors. My general focus is towards creating tools for artists. My recent memory of a decorated thick shake made me create a tool for confectionary art. The tool could be used to create chocolate ornaments, side cup decoration, cream shaping and much more.

Motor test with potentiometer

On the traditional side I feel it could work well with ink spatters and such effects. The initial design involving an LDR didn't work out since the connections with the diode weren't working as expected though on paper it was heavily discussed and clarified. I am yet so curious about what someone defines as knowing and unknowing while also considering what verifies it. I hope the discomfort is optimal to help me dig deeper and create something challenging by the end of this course. I expect this course to help me further merge my coding skills with various media and hack established systems to perform differently or in a better way. Currently my ideas are leaning more towards sensor based dynamic data visualisation which I would like to try sooner. Probably a VR/AR UI visualisation would be a lovely challenge to take on.


BACK TO THE BASICS

The beginning of the class just was another reflection upon how hardware fabrication is also equally challenging to create as is the electronic programming mechanism that it houses inside.

RESISTANCE

Series shall keep the current in same line while potential drops across the components in a closed circuit. Parallel shall split the current while maintaining the PD across parallel components. These are the bases for derivations too which conclude upon total resistance to be more than individual ones and less than individual ones resp for series and parallel.

PROBLEM(?)

How much resistance is appropriate to connect a 3V LED to a 9V battery?
3V LED on 9V battery would require 300 ohm res(orange black brown ) considering 20mA current. The problem is just a puzzling rephrasing of "what does voltage rating on an LED mean?". The rating assumedly at max current of 30mA allows us to assume a 'safe current' of 20mA and use Ohm's law to solve the problem.

WHAT ARE SENSORS?

The next exploration was pretty interesting wherein ecoli bacteria could glow upon the detection of arsenic. This set me off more into thinking what sensors do artists, particularly traditional impressionists use to detect colours and moods. The immediate thought was considering shadows as sensors- cool shadows indicates most often warm light and vice versa. Similarly skin pigments and absorbed light show presence of different objects around as well as internal state of a person. Subsurface scattering is a "sensor" that senses the materials texture. Occlusion is a sensor of contact. Tonal variations are sensors of form and shape. Every basic element is a sensor in it's own way that is interpreted by the eye and the mind to create a painting.

3D MAP CREATION

As an assignment, I was to create a 3D map of Bangalore or acquire it somehow. I started from scratch in Blender and used a Bangalore map colour coded for height generation. This was used upon a divided surface to create the following models.

Blender cube and parent surface The "city" generated from the map.


SENSOR EXPLORATION: TILT SENSOR

The following tutorial uses a Mercury tilt (KEYES KY-017) tilt sensor.

COMPONENTS:

Tilt Sensor
Arduino UNO
Jumper wires

Components

THE TILT SENSOR:

Akshay tilt2.jpg

The mercury tilt sensor utilizes a mercury blob that disconnects upon tilting and short/completes the circuit when lying flat, thus detecting tilt in a binary way. When flat, the sensor module’s LED shall glow. Upon tilting, it will not glow.

The pin terminals and basic circuit are indicated as follows:



Akshay tilt4.jpg Akshay tilt5.jpg

ARDUINO CODE FOR TILT SENSOR:

//code for testing tilt sensor
int tilt = 3;
void setup() {
 // initialize serial communication at 9600 bits per second:
 Serial.begin(9600);
 // make the pushbutton's pin an input:
 pinMode(tilt, INPUT);
}
void loop() {
 // read the input pin:
 int tiltState = digitalRead(tilt);
 Serial.println(tiltState);
 if (tiltState==HIGH){
   Serial.println("TILTED")
 }
 else
 {
   Serial.println("NOT TILTED")
 }
delay(1);        
}

The tilt sensor can be used as a switch where tilting is an interaction that shall trigger some output.

Turbidity Sensor

Combining basic LDR circuit with an LED we created a turbidity detector .The essential factor to consider was casing the LDR in darkness.

Schematic.png

Circuit

Led circuit.png

Arduino Code

Code turbidity.png

Serial Reading

Serial moniter.png

Construction of the meter

Meera turbidity1.JPG

Meeraturbidity1.2.JPG

MeeraTurbidity2.JPG

MeeraTurbidity4.JPG

Turbidity Meter Calibration

TurbidityMetercasing.JPG
Further, the circuit was soldered on to a PCB and cased with sunboard. Calibrating the meter requires successive dilution of samples. Milk is diluted with water and readings are gathered in a dark area. Starting with 25 ml of a sample we did a five fold dilution where the maximum concentration of milk resulted in a reading of approx 220 units and maximum dilution approached 700 units.


Meera samples.JPG
The average of serial monitor readings was plotted against level of dilution in the five fold dilution process (starting from 25 on Y axis and going 5 units lesser for the next dilution and so on).
Akshaygraphdilution.jpg

CYBORG & POSTHUMAN

CYBORG

Akshaycyborg.jpg
A cyborg who is primarily a plant with a humanoid core. He has zero reactionary behaviour and can sustain on changes in fields(magnetic, etc)

POSTHUMAN

Akshayposthuman.jpg
Post human would be a human who has reached the peak of understanding and perception with the most vast 'vision' of any sorts. Here, the human is communicating through a plant which the other is interpreting via thought and replying literally in a speech bubble. Their feet depict that they can alternate between matter and energy.

POSTHUMAN CYBORG 10 YEARS FROM NOW

AkshayCYBORGPROHUMAN.jpg
Here, we had to visualise the intersection of the themes: Cyborg and Posthuman 10 years from now. We visualised the intersection to be a dystopian age where every individual is a brand by 'it'self and is completely self sufficient for survival. The image shows an example of the 'logo ID' of an individual. It would consist of a unique visual as well as a different bar code that is recognized by others and directly installs that brand's unique language into the viewer's perception. These IDs are produced by different private governments who are 'publishers'. They also tailor sensory hacks which 'Hollywood'izes the world in different styles. So, every person sees everything as beautiful through his branded vision.

SENSING THE CITY

RESOURCES FOUND

This site shows the Internet traffic measured on a daily to yearly basis by the National Internet Exchange of India(NIXI).
OpenStreetMap data for Bangalore can be found here which can be read by open source software QGIS.

MAPPING

OpenBangalore hosts datasets related to Bangalore.I used the BWSSB(water division) subdivision and main lines' KML files to divide the Bangalore map into wards and respective stations. I tried adding these KML files to Google Maps which works in layers for each file and is a bit tough to open a batch of KML files.
Akshaygooglemap.png
For importing the batch of KMLs I turned to Google Earth. It opens the KML files and divides the map into sectors. Turning off the Primary Database keeps only the KML files visible.
Akshaybangalorewater.jpg
I do not exactly know though as to what every pipeline or Service Station's sub-data represents.

DATA VISUALIZATION

A line chart was created using D3.js along with the Serial monitor readings from the turbidity experiment. Turbidity line chart.png

DATA LOGGING FOR ARDUINO

The task at hand was to figure how to save incoming serial data as a text file.This was done using a third party serial monitor called CoolTerm.Set the Connection options to the respective Arduino COM port and hit "Connect". This shall start showing the data stream from that port. Under "Connection" menu, "Capture to text file" helps record the readings as a text file, which can be further edited to make a CSV file.
Akshaycoolterm.png
Akshaycooltermtxt.png Ldrgraph.png

DATA VISUALIZATION

A basic arduino to processing serial communication was set up wherein a potentiometer controls cubes of different orientations to create a generative 2D "Rose" of sorts.
Akshaydatavizcube.png

GAS SENSOR ON SHIELD

IMG 3877.JPG
A shield for the Arduino was created on a PCB. A gas sensor (MQ 4) as well as an SD card module was mounted on it. A basic datalogger code from the SD library was tweaked to give single sensor readings in the form of a text file.

Alcohol sensor.JPG

Airquality sensor.JPG

Sdcardmodule.JPG

Entirecircuit.JPG

Akshay serialSD.png

INcompletUS

Carrying forward inspiration from the posthuman activity and moving away from letting the tool define the outcome, we thought of a narrative where data will be at the center of everything to such an extent that human interaction is stunted as a farce for environmental purposes. Every government is a brand publisher and every individual is a brand in himself. Communication is completely visual but the five senses have been boiled down to receiving visual input. AR is the new vision and all are beautifully hollywoodized versions of the data they consume on a daily basic. It is partly a commentary on over consumption of media, its numbing effect and the blurred boundary between qualitative visuals and the quantitative numbers behind them.

Ideation

A narrative experience that gives an overview of the overwhelming data around us which is simplified to visual inputs through various lenses(technological and otherwise). The limit of this pursuit as well as of the term 'vision' shall be a major theme.

Meeraideation4.jpeg Meeraideation5.jpeg Meera ideation 6.jpeg

Meeraideation1.jpeg MeeraIdeation2.jpeg

Concept Videos

The concept examples were done in a form of combining advertisements and generative art with branding that suggested ulterior motives:

Project INcompletUS Concept:
This video gives an overview of the concept of Project INcompletUS. In a datacentric universe, different communicators distribute peoples' information visually, nullifying any need for conversation. The system modifies perception of users to 'hollywoodize' life in a way.

INcompletUS:
INcompletUS is a fictional organization which caters to augmenting humans in a way that lets them know everything about each other beforehand. The elimination of talk and provisions for overcunsumption of media creates a 'social' fabric of apathy and stagnation. By taking away all purpose through its eyewash techniques of visual data, it makes everyone feel complete when they aren't.

Self Own:
Self-own is a fictional government branch that licenses every 'customer' as a brand. Every government is akin to a media production house delivering exclusive content to its 'dreamers'. To secure this exclusivity, it grants them dynamic IDs which can interact within a domain only. People can interact with third-party government profiles but cannot extract content from them. The trade is only in the form of edited dreams, which keep the media business runnning and the people apathetic. (The 'arc-code' was made in Processing)

TEST-BUDS :
TEST-BUDS is a fictional vegetable vendor that creates fractal food. Popularly, a cauliflower is believed to correspond to a fractal. Here, it is the other way round- vegetables are purposefully grown in an identifiable fractal so data can be easily gathered regarding public consumption of the same. This can be further tweaked to push only those vegetables that nourish the body and make it more aesthetic (and easily augment it for virtual viewing). (The hexagonal visual was made in Processing and is inspired from the categorization of taste in six values including astringency).