Tuesday, March 10, 2015

Arduino Project 1 and 2

I was assigned to complete projects 1 and 2 in the Arduino Projects book . The 1st project consist of creating two circuits,which is a series circuit and a parallel circuit. The second circuit consisted of creating and programing a"spaceship interface"circuit. Lets get started!!!!! :)

The First project:creating a simple circuit 

Materials
List of materials

  • Two large jumper wires
  • 1 red LED
  • 1 breadboard
  • 1 pushbutton
  • 2 small jumper wires
  • 1 Arduino Board
  • 1 220 ohm resistor 


Step 1

Connect the Arduino board to the breadboard by using the two long jumper wires. connect  the ends of the two jumper wires on the 5v and GND panel on the Arduino ,while conecting  the other end towards the bus lines of the breadboard





Step 2

place a switch  across the center of the board in one direction. As you can see.....









step 3


Connect a 220-ohm sensor to connect power to one side of the switch










step 4

connect the other side of the switch by connecting the Red LED. As you can see, I used a wire to connect the the cathode  (short leg) of the LED to the ground.















Step 5
plug in the USB cable to the Arduino and you are set. Press the button and the Red LED should light up!!!!yay








Creating the Series Circuit 

Step1
Add another push button next to the one already connected on your breadboard. As you can see ,my push buttons are wired in a series that causes the led to light when both push buttons are pressed at the same time









Step 2
Connect the the anode of the Red LED to the second switch ,as well as connecting the RED LED cathode to the ground .Now let's test it out !!!!








step 3

As you can see ,when both push buttons are pressed at the same time ,the Red LED lights instead of one . The reason why that happens is because the same electrical current flows through both of the push buttons ,so they have to be pressed if you want the circuit to be completed,therefore causing the Red LED to light . Now let's create a parallel circuit !!!!! :)





Creating the Parallel circuit 

step 1

-It's crucial that you keep the push buttons and the
red LED where they are . Remove the connection the two push buttons and change the switch connections ,so you can get a parallel circuit.





step 2
As you can see , the Red Led lights when pressing one push button,but let's see if it works for the other push button?????




Would you look at that, it works!!!!! But why does this happen? Let me explain. Since the circuit is parallel , the electrical current is split between the two push buttons . Either push button you choose to press will light the red LED.















Project #2- creating and programming a"Spaceship interface"circuit

I was assigned to create and program a"spaceship interface" curcuit ,so let's get started . First let's create the circuit!!!!!!

materials


  • 1 breadboard
  • 1 Arduino Uno
  • 6 long jumper wires
  • 1 small jumper wire
  • 1 pushbutton
  • 2 red LED's and 1 green LED
  • 3 220 ohm resistors and 1 4.7 kilohm resistor





create the circuit

- place 4 long jumper wires on digital pins 2,3,4,and 5 on the Arduino Uno. Also place 2 long jumper wires on the ground and 5V pin on the Arduino uno .






- It's easier to place your resistors on your bread board first ,so that's what i did. place one side of your first 220 ohm resistor on the 8th negative power bus and the other on 7b. Place one side of your second 220 ohm resistor on the 12th negative power bus and the other on 11b. Place one side of your third 220 ohm resistor on the 16th negative power bus and the other on 15b. Place one side of your small jumper wire on the 23rd positive power bus  and the other on 22a. place one side of your 4.7 kilohm resistor on the 24th negative power bus and the other on 24b. 





once you have finished setting your resistors down, start 
connecting the jumper you placed on the arduino uno towards the breadboard. Place one jumper wire on 24c, 14a, 10a,and 6a. connect your ground jumper wire towards the negative power bus and connect your 5v jumper wire towards the positive power bus. 

























The final setup is to place your LED's on the bread board ,as well ass you r push button. So that's how you  create the circuit.




Here's the awesome circuit we created people yayyy. now lets get the code down.

















cracking the code 


As you can see i have typed down my code and if it works, you"ll see something cool.so let's plug it in!!!!!!!!!!

This is me recording what happens when the code is uploaded . you will notice that only the green LED lights up,but when you press the pushbutton the two red LED's will light up and the green LED would stop lighting up.!!!!!! coool !!!!

























As you can see, i have typed down the code. Once the code is proccesed by the arduino uno ,you'll something cool. So lets plug it in.










































Tuesday, March 3, 2015

My first Arduino project

Last week i was given a Arduino kit, but let me explain what is a Arduino kit.  An Arduino kit is a kit that enables you to develop interactive objects,taking inputs from a variety of switches or sensors,and  controlling  a variety of lights ,motors, and other physical  outputs. Interesting!!!!!!!











Now lets see whats inside the box!!!!


As you can see there are a lot of components ,but lets list them.  Drum rollllll!!!!











The components in a Arduino kit

  • Arduino project book
  • Arduino uno board
  • usb cable
  • breadboard
  • easy-to-assemble wooden base
  • 9v battery snap
  • solid core jumper wire
  • stranded jumper wire 
  • photoresistor[VT90N2 LDR]
  • potentiometer 10kilohm
  • pushbuttons
  • temperature sensor[TMP36]
  • tilt sensor
  • alphanumeric LCD(16x2 characters)
  • LED(bright white)
  • LED(RGB)
  • LED(red)
  • LED(green)
  • LED(yellow)
  • LED(blue)
  • Small DC motor 6/9V
  • small servo motor
  • piezo capsule[PKM17EPP-4OO1-BO]
  • H-bridge motor driver [L239D]
  • optocouplers
  • transistor[BC547]
  • mosfet transistors[IRF520]
  • capacitors 100nF
  • capacitors 100uF
  • capacitor 100pF
  • Diodes [1N4007]
  • transparent gels (red,green/blue)
  • male pins (40x1)
  • resistors 220 ohm
  • resistors 560 ohm
  • resistors 1 kilohm
  • resistors 4.7 kilohm
  • resistors 10kilohm
  • resistors 1megohm
  • resistors 10 megohm
Now lets start with my project!!!
I was assigned to illuminate LED using a code ,requiring the use of the Arduino kit .

Step 1

- I downloaded Arduino the application on my mac by going to http://arduino.cc/en/Main/Software 


As you can see , i have the Arduino application on my dock












Step 2 
- I connected the Arduino Uno Board to my laptop using the USB cable and that enables me to upload a program
note the green light











step 3 

- The next thing to do is to select your board so to do so , you have to got to tools>board>Arduino Uno 












 
-once choosing your board , its important to open up the code thats going to light up the LED . To do so , you are going to follow the instructions below 
File>examples >01 Basics>Blink









As you can see ,the code will show up like this . It's important to save it ,but don't copy my name though !!!!












step 4

- checking for Syntax errors is crucial ,so verifying  will do the job  . Pressing the the verify option (aka the check sign)  will check for syntax errors
















-once you verify the code  , you'll have to upload it by pressing the right arrow shown in the photo . 
















step 5


-  once the code is finished uploading you will notice a yellow LED blinking continuous  and thats a signal that the the LED you are going to attach is going to light up
















taddaaaaa!!!, as you can see ,the light is blinking non stop. Yayy :)







Click here for more cool stuff

Thursday, February 26, 2015

my journal log !!!

So my two lovely group partners created a DC circuit !!! 
As you can see, the battery is the source of energy that starts the circuit 
.Since the circuit only flows in one direction, the circuit is polarized. Now lets see my journal log on my lovely circuit












I divided my log into 3 sections , Input ,output, description.  The input is the slide dimmer ,the output is the component that acts as the capacitor. 







As i said before , I created an ac circuit, meaning that it flows in one direction. The slide dimmer acts an switch ,because it controls the amount of voltage in the circuit, The farther you push the switch the more sound it will produce. So the slide dimmer is considered an resistor. The output component acts as an capacitor ,because it stores the electricity in the circuit and releases it by sound  The sound coming out is the amount of voltage that has bypasses the resistor. 





Tuesday, February 24, 2015

My Dradio Teardown Documentation

So me and my amazing group teared down a Dradio together . My group consisted of Me, Romario, And a girl ,which i forgot her name 😣.  So now lets start with the the tools we used. ☺️

Tools 

- This tool is called a Desoldering gun. This tools will come in handy later on when you are desoldering a Dradio :)










- This tool is called a soldering iron. This tools is a big necessity when you are trying to remove the components in a Dradio ,as well as when you are desoldering. Warning !!!!, don't touch the top when it is turned on because it will burn you !!!!!!!😫









- Every time you use a soldering iron , you have to lightly brush the tip with  the spongy thingy. Remember , after every trial !!!! 👌





As you can see , the sponge is used a lot . Poor spongy 😔.Anyways lets go on.


- although this tool is used to cut wires, this tool is extremely useful when trying to remove hard components in a mother board









Now lets begin the process, which is to start desoldering !!!!!!!!!

As you can see , you will have to lightly touch each joint with the the soldering iron until you see it melting . At the moment ,you will press the black button on the Desoldering gun to remove the joints. courtesy to my team mate Romario for showing us in the photos how its done 😁






 
Now that we have removed all the  joints ,we are going to remove the components



As you can see there are a lot of componenst ,so lets start labeling theses components to make it easy for you guys ☺️









Components 


- optocoupler : allows you to concoct two circuits that do not share a common power supply 








-Resistors: Resist the the flow of electrical energy in a circuit ,changing the voltage  and a current as a result






Capacitors: components that store and release electrical energy in a circuit







Tilt Sensor- a type of switch that will open or close depending on its orientation 








Piezo: An electrical current that can be used to detect vibrations and create noises










Jumper wire: wire used to connect components to each other on the mother board 






Now that we know the parts , let's remove these bad babies from the mother board 😜

In order to remove the components from the mother board , you have to lightly touch the joints connecting the components using  the soldering iron . With the help of another person , the assistant has to yank off the component lightly using the wire cutter when the joint is melting .




As you can see my wonderful partners are working together Ramario is nanking off the components ,while my other lovely partner is burning the connecting joints.
 Team work!!!!!! 😁
















Before : 


phase 1 : With components


















After: 
Phase 2- without components











 And i am done guys , click here for more cool stuff 😃😎
ps i am hungry 😣