Showing posts with label Zakriya Rabani. Show all posts
Showing posts with label Zakriya Rabani. Show all posts

Tuesday, December 9, 2014

Extra Credit, Pr. 21&22 then Pr. 29&30

When uploading the code there seems to be a problem with the code. I'm working on it now. But this is what I got for 21. Research online says that our matrix may the wrong type as well. Calls for a C instead of an A. 

Also trouble with project 22. Same layout as previous project with addition of a potentiometer. I doubled checked the wiring and believe our matrix could be the culprit. Will check wiring again.. 

Okay fixed the code, needed to update the timer one library. Found the zip online. 
Matrix is on but won't function the way the project says... Leads me to believe that the matrix is the wrong type. Will look for a different type.. 
Only found one other type of matrix that would fit, I knew it wouldn't work but it did light up a nice blue.. 

I attempted to do projects 29 and 30. I set up the project and checked all the wiring and it doesn't work. Maybe my motor shield is no good. Then I wanted to do project 30 but nor I or the sensor room has the light resistors that are required so at this point I've stopped. I hope that we can receive extra credit for this. Spent quite a few hours. If we can improve anything just let me know and we will get on it. 



Sunday, December 7, 2014

Process for final 12/07


Process for final project.

So I have already worked on this project for about 12 hours trying to get stuff to work and through my frustration I have forgotten to take any pictures. Here is a picture of my work desk hopefully you can achieve an idea of how long I've been here. 

Friday, December 5, 2014

Final project update

Today attached the head to the body and attempted to make a way to hide the wiring. I also created new hands and forearms because it needed it. Zak has worked on the PIR sensors for head movement but hasn't ben able to make it function. So will need to get time to work on that piece of the puzzle. I have also been looking into the theory of the readymade from Duchamp and Picasso. I feel that some of that theory holds true for this work. Photos show the hands and head assemble and wires.




Thursday, December 4, 2014

Final Project Progress

I have completed the body and have attached the head. This is a picture of the head laying next to the body since I wanted to attempt to give it signs of life by taking over the digital display inside the head.

The head will have to be able to swivel on the neck which will hopefully be able to track someone moving around the room. This will not be like a surveillance camera which just moves back and forth in a specific speed and pattern. It will move to the movement of the individual via PIR sensors.

I then have taken out the digital display and have soldered to each individual wire and attached those to the arduino from 0 - 9, in a ten pin array. I have created two different codes to work with. 1 is a random light generator and the second is more of a random flash. The random light has 0-5 brightness attached to its randomness. I have a video of this below.

 
and the true random which I think I like better
 
 

Wednesday, November 12, 2014

Bird project 1

 started by creating a found object bird that I can then animate with moving wings and a motion sensor to make the bird move when people are around. As in it reacts to motion, its response is to fly when people get near, much like a bird in nature would do when feeling threatened. I created this bird out of multiple metal parts that I gathered from thrift stores around the area.


My first task was to create a working mechanics for the wings to be able to flap powered by a stepper motor. Here I have assembled the mechanics with the stepper to make the wings flap by pull of two strings. The design failed since the stepper motor was not strong enough to be able to handle the torque required to life such a weight. I would need to plan the wings in a more seesaw fashion to handle the weight.


Here I have created a longer armature for the wing span and retested the stepper motor to see if it could handle the torque of the wings and it again failed due to the weight. It would turn but would fail on the down swing. I am also unhappy with the distance the wings can move due to the small space the motor is needed to be kept in.

Here is a video of the functioning wings. They are set at 50 speed, if increased once again they fail due to the torque required. I am presently waiting for a higher torque level stepper motor, with that I can probably increase the wing movement and torque specifications to be able to create a more life like wing flap. I will also be attaching extra moving items to the bird, more mechanical, like a turbine rear wing. I want to keep the bird semi nostalgic and he must be created out of "so called" waste products. Items that have been thrown or given away due to their lack of "so called" value.

Wednesday, November 5, 2014

Tuesday, November 4, 2014

Progress of Microphone project 1

Initial project idea was to have a set of Electret microphones running a series of different lights as it picked up the sound in the room. The sounds being divided into 6 tonal ranges and each tonal range being a different color of light. I attempted a series of experiments with the microphones.
This is the purchase site page and info.
https://www.sparkfun.com/products/9964
I used this experiment code on this page to test the Electret microphone.
I was receiving fluctuating ranges and there was no sound.
I tried a different code to test the Electret and received an increasing number that went to 2400 and then fluctuated by 30 either direction with or without sound.
I began tapping the end of the microphone to see if I could get a reaction. There were changes but I couldn't tell if they were random or because it was being tapped or because the wires were being moved.
I decided that I must have damaged the microphone in the process of soldering on the end pins so I waited until the next day to get another microphone and try again.
I brought a second microphone home and soldered the ends onto it and tried the same couple of sample sketches from before with different results, however nothing that seemed to indicate that this microphone was performing its function either.
I tried 4-5 more sketches from projects around the internet that I did not save the links too and all had results of numbers fluctuating around 2400 or -550 or random in general and non seemed to react to sound. Wanting to be able to break the sound into tonal values would be nearly impossible with this microphone according to the experiments that I did with the device so I am attempting a new project.
Some of the saved sketches and sites I visited during my search for answers.
http://www.instructables.com/id/LED-Dance-Room/?ALLSTEPS
https://learn.adafruit.com/piccolo/code

Monday, November 3, 2014

Wednesday, October 29, 2014

All Manga Questions, Ch 2 Pr 4, Ch3 Pr Mood lamp, 5, 6, Solder evidence/waveshield, url for adafruit 0-3

2. Contrast the speed of an electron with the speed of electrical motion in one sentence.

electrons that flow through a current are moving fast, yet the electric current is actually a slow flow.

3. Briefly explain the relationship between resistance and energy. Use an example from your house.

The power supply of a particular object makes the current flow while resistors hinder this flow. Some appliances use electric resistance. Appliances that heat up use resistance to do so. As the energy flows through the resistors they "hold" onto the energy and thus the metal will get hot as the resistance grows higher and the friction of the electrons grows higher.

4. What is the difference in AC and DC current? Give and example of each from your daily life.

If you get shocked, DC current is also called direct current is when the direction and the size of the current is fixed. A DC power supply is a battery. AC or Alternating Current is when the current flow is alternating cyclically with time. An example of this is a wall outlet.

5. Determine the equivalent resistance of a 6.0 Ω and a 8.0 Ω resistor if …

a. … connected in series.
6.0 + 8.0 = 14.0 ohms
b. … connected in parallel.
(6.0 x 8.0) / (6.0 + 8.0) = 3.43 ohms


How many of those appliances can you pug into one outlet without tripping a breaker? 



dishwasher, microwave, refrigerator, electric shaver, and ceiling fan.

Dishwasher: 1200W, 110V, 10.9 amps, 1.2kwh
- Average cost: $0.94 per use

Microwave: 750W, 220V, 3.4 amps, 0.75kwh
- Average cost: $0.59 per use

Refrigerator: 727W, 220V, 3.29amps, 0.725kwh
- Average cost: $0.57 per hour, $13.68 for 24 hours

Electric shaver: 1200W, 110V, 10.9amps, 1.2kwh
- Average cost: $0.94 each use

Ceiling Fan: 70W, 120V, 0.583amps, 0.70kwh
- Average cost: $0.05 per hour, $1.20 per day (24 hours)



What is the directional relationship between charge and current?

The directional relationship depends on the magnetic force while being a source of the magnetic field. Current is the rate of charge that goes past a given point. The flow of current it opposite of that of the electron charge.

What is the relationship between heat and electricity?

Heat produced is to calories when food is digested, as heat produced is to joules when electricity flows through an electric resistance.

Why is it warm near an incandescent light bulb?

The principle of light emission in light bulbs is paired with thermal emission. The temperature of a substance increases and thermal energy is emitted as electromagnetic waves and as the temperature rises, visible light is emitted.

What is a superconductor? What are they used for in real life? You may have to look this up. How could one make a metal a superconductor?

A superconductor is a material that, when the temperature drops near absolute zero, the atoms reach a state of rest. At this point, electrons are able to move freely without colliding with the atoms, and there is no resistance at all. In real life they're used for things with crazy high magnetic fields, like MRI's and Maglev trains.
To make a metal superconductor, somehow bring aluminum to near absolute zero.

What is Ampere's Law?

When current flows in an electric wire, a magnetic field with a circular pattern is generated around that wire. The magnitude of this magnetic field varies according to the strength of the current. If the direction of the current changes, the direction of the magnetic field also changes.

If current of the same size flows in the same direction in two electric wires placed side by side, what happens?

A magnetic field for twice the current is generated.


What happens if current of the same size flows in opposite directions in two electric wires placed side by side?

The two magnetic fields negate each other.


What is an example of a semiconductor device?

Silicon

Why is silicon used in the manufacture of semiconductors? 

The valence electrons are all closely together so when another electron moves through it, it is very difficult. Thus is something with 5 valence electrons come through there is a free electron increasing conductivity

Discuss the difference using an example of the difference between and N-type and P-type semiconductor.

A N-Type semiconductor because the electron which has a negative electrical property, becomes a carrier of electricity. While a P-Type semiconductor because it has a hold which has a positive electrical property, becomes a carrier of electricity.

In your own words describe what a diode does and the role of N and P type semiconductors.
A diode only lets current flow in one direction and in order to form this diode a N-Type and a P-Type must be combined. 

What is rectification?

This allows current to flow in only one direction.

What causes color in an LED? Give and example of what causes a particular color.

Because the wavelength of the light emitted depends on the raw material of the semiconductor, various colors of light are created. There are certain crystals that are used to make various colors.

What is the relationship between base current and collector current in a transistor?

A base current is the current that flows down the base to the emitter and the collector current is the current that flows from the collector to the emitter. The collector will change significantly even with a small change in base.

What are the advantages of a transistor over a switch? 

 It doesn't have physical contact so it doesn't fail.





Wave HC 10/29/14, Pi example, potentiometer