2015年3月5日 星期四

Week 5 The sensor Report

The PDF file of the sensor report:
Sensor Report

Week 5 Sensor Research documentation and demo video

The PDF file download link of the sensor report:
Sensor Report


We are divided a PIR sensor for the sensor report. In the process, we need to think about how to make the output be more creative instead of using a LED.





We finally bought a toy car and change the internal settings to make it can connect with the Arduino and also use the PIR sensor to control the toys car move or not. Furthermore, we decided to add a LCD for the user too see if the sensor is ready or not and give a signal to the use if it is moving or not.




The different words of the PIR sensor which are stand for:
Ready! = The sensor is getting ready.
Get Set! = The sensor is ready for detect any motion.
Go! Go! = There is a motion detected by the PIR sensor and making the toys car move. 
Stop! Stop! = There is no motion detected by the PIR senor and the toys car will stop.

The limitation of this project is that the toys car is too small and can not put all of the sensor or others materials into it. Otherwise we can control the toys car more easily. We also discovered that the PIR sensor is quite sensitive to detect the motion so that it is hard to make the car stop (LOL). 

Here is the demo video: 



2015年2月13日 星期五

In this lesson, we will first use the speaker and try to connect with the battery and coins. It may release different kinds of sound.




 We used the light sensor to detect the light and make the speaker make some sound.
We need to write down the largest and the smallest number in the serial port to determine the light hitting the sensor.

Here is the process:

2015年2月10日 星期二

Week 3 ( PING sensor/ LCD sensor)


In this lesson, we continued to use different sensor to produce different output.

PING Sensor

We first connect the PING sensor by the hardware setup:

  • connect the SIGNAL pin on the Ping))) to pin D7 on our Arduino.
  • 5V output from Arduino to 5V input of the sensor and GROUND to GROUND. 

After we have connected the PING sensor with the Arduino, actually we can listen a little sound which released by the PING sensor. I guess it is because of the echo around the sensor? and the pulse which released by the Arduino and the second pulse by the PING sensor. 

We are then need to make a LED turn on and the distance should be less than 10 cm by using the sensor with the resistor. We have learnt a new code language which is represent "less than" in the coding which is <. We also need to use the If statement to represent if the distance between the object and the PING sensor is less than 10 cm. 



 When we put the hand near the sensor by no more than 10 cm, the LED will turn on. If the hand is near the sensor more than 10 cm, the LED will not turn on.

Serial LCD


Lastly, we have used the serial LCD to display the texts or numbers which can type by ourselves. We just used the sample code and change the words inside the code so that it can display "Hello World!". 




2015年2月6日 星期五

Week3

In this lesson, we started to connect the Arduino with USB to the computer and do various tasks.

First of all, we try to make LED light on (Digital Out) through we connect the Arduino with the computer.




Then we used the switch to control the LED on or off which is Digital In.


Tilt Sensor


We first use the sample code to feel the two direction when I move and tilt the sensor. 
Actually the tilt sensor sense four direction in the Arduino. We rewrite the code and make the tilt sensor can sense four direction when I move the Arduino which are top, left, right and bottom. 

Actually this may waste us some time to think about how to rewrite this code by using the if function.  We need to calculate different situation such as top which means vol1 equal to 1 and vol2 equal to 0.   






















2015年1月30日 星期五

Week 2 (The bed of nails&desoldering)

In the Monday class, we continued to finish the bed of nails by studying the diagram. After we have connected the right resistors and we solder them to make them firm and solid. We also have to connect the battery clip and the audio jack connecter with connect the ground part and the signal part.


So...Here is the result :D sorry for my friend were not helping me shoot the video seriously..-_-




I am so excited that I can get successful during the first time!!!! It reflected that I can fully understand the diagram and connect the resisters correctly. I am so happy that I can finish the bed of nails finally!!!:D 

On the thursday lesson, we have learnt how to desolder the board and here is the processes: 





Week2 (the bed of nails)

In the second lesson, we will learn how to make The Bed of Nails by using more complicated skills. The result of the Bed of Nails usually will be make a sound when it had connected with the audio mixer.
First of all, we need to collect our materials accurately such as collect the right resistors.


After we have collected the right resistors and other materials, we firstly started to solder the chip holder with the wires. 
It is hard to solder because the chip holder is quite small and we cant solder each wire together so that I think that this can highly train our soldering skills.:P 
We were then connected the nails with a plank by using a hammer and then we connected the chip holder and the board and formed a "spider" shape. 



We have to connect the various resistors by studying the schematic diagram. I must claim that it is quite difficult to understand the whole diagram and we non-stop to ask for Kenny's help. We have spent around one hours to understand the diagram and finish the board completely. 

I hope it's right.... we need to wait until next monday to finish our final product. ....




2015年1月22日 星期四

My first lesson 




















In the first lesson, I have learnt how to set the LED circuit on a breadboard. At the beginning, we need to use the positive pole and the negative pole of the battery to connect with the positive and negative pole on the breadboard. We will then use a green wire horizontally to let the electric current passes through and connect to the resistor. There are three resistors in this lesson and both of them have their own values which are: 


The top one: 230 Ohms 5%
The middle one: 1M Ohms 5%
The bottom one: 470 Ohms 5%


We add the switch and the light bulb horizontally and the electric current will pass through the red wire to go back to the negative pole of the battery vertically. It finally formed a circuit making the light bulb to light up.


I found out that the resistor on the bottom (yellow, violet, brown, gold) is the best resistor to use in this circuit and it will make the light bulb to light up successfully.