Monday, August 13, 2012

Thirty Four-Th Day

Assalamualaikum.....nice to see you again.

Today we get the new task after program the new PIC. We need to make a hex.file (coding) to progress input keyboard using interrupt. For this task, my group (IP camera) and Azlan group (coding) will do the same task but I only use keyboard and group Azlan will use GSM. The task will be shown as this figure.


To make this coding, we need to use if, while and else. It look like the loop. I try to find the coding to make a loop like the microprocessor. For this day, I just use the help on ccs c compiler to make a draft and coding.

The task will continue tomorrow.


Thirty Five-Th Day

Assalamualaikum and very good morning to all of you....

Today we continue with coding. I met Mr.Mazran to get guide about the coding from keyboard. He also give the new task for us. The new task is for make a user manual about PIC 28-pin and PIC 40-pin. The user manual will be draft on Monday. This task given to Mira and me as the group of IP camera. The user manual that we want to make can be refer to this link---->Cytron

From this website we can refer about how to make user manual and the specification about PIC 28-pin and PIC-40 pin. This task parallel with task of coding. So, we continue coding and try to make a draft for next Monday.

The task will continue tomorrow.

Friday, August 10, 2012

Thirty Three-Rd Day

The next task is to program the PIC that he gave us not the board that we already solder but the other. This board use the same function as before but the output will be differ than the old one. We use the same coding but, we must to change the command for output. The output that represent LED is C4 and C5. So, for coding I will change the output. For example, before this we use:
if (mydata== 'A');
{output_high(pin_C3)}
if (mydata== 'B');
{output_low(pin_C3)}
:.: This command for light up and light down the LED. Pin C3 represent the LED.

So, we use the same command but change the pin. The second LED, we also add the same command but the difference pin. The second pin represent by C5.
PIC board with LED1, LED2
Backside

PIC board with buzzer
Command with buzzer we use the same command as before but the pin we change too. Pin for this board is C2.
PIC board with LCD
Command for this board is same but pin is C1.
PIC board with power LED though hole
This board use the diffirence LED. For the three above, it use SMD and this board use through hole.

The difference of all this board and the board that we already program are the pin and this board doesn't have the relay. The serial communication done for today.

The next task, we waiting for Mr.Mazran ask us to do it. See you tomorrow.

Thirty Two-Nd Day

Assalamualaikum and very good morning, afternoon, evening and night.

Today Mr.Mazran gave us the new task. For the first task are to soldering SMD on board. The new circuit. We not soldering for a little time, so we already rusty to solder SMD. At the early solder, it take more time to solder component. After that we already can solder as before. For this circuit, it's only soldering 8 capacitor, 3 resistor, 1 power supply socket and 1 power. This circuit difference compare to the other because we use the difference board and PIC. He gave us 3 board to be solder.

Front
Backside
We already finished soldering the PIC board and will continue the next task tomorrow, Next task is to programming the PIC by using serial communication. It will continue tomorrow.


Tuesday, August 7, 2012

Twenty Four-Th Day

Assalamualaikum....nice to meet you again...

Today I continue my task as usual. IP camera still can't detect the router and can't get the IP address for the camera. Try to find something that can troubleshoot the DHCP problem.I can't detect why DCHP can't detect by IP camera. It should be easy to detect because use host name. It look like something not right on the configuration or the configuration by Mr.Hanafi have the error for detected the IP address by using host name.

We try to search internet about IP camera by using host name not static or automatic setting. Because Mr.Hanafi already setting it for host name at the IP camera. It should can detect and give the IP address for the IP camera

IP camera will continue tomorrow...



Thirty-Th Day

Assalamualaikum....how are you doing? of course read my blog...+_+

Today as the last Friday, I update my blog and my logbook for week. The task of IP camera can't be continue by using WAN from UTEM. For this time, we can't proceed with this task. So, we wait for Mr.Mazran for report about progress IP camera and what task that we have to follow up.

Mr.Mazran busy and only Mr.Tiang supervise us for today. So, task for today update blog and logbook that not complete.

The task all of this will be continue next week.




Monday, August 6, 2012

Twenty Nine-Th Day

Assalamualaikum.....nice to see you again..... Y^o^Y

Today I continue with IP camera. Router that I already reset and set the configuration for SSID and password as same as before. This is because of we don't need to same as the configuration on the camera. We already set the Camera for wireless by using router name HITECT(HIIS), so, it only can detect the SSID router that use the name.

We also short talk about CIPA (Certificate of Internet Protocol Associate) and CIPE (Certificate of Internet Protocol Engineering) from Mr. Mohd Shahril Izuan at his room. This talk priority to BENT and BENW student. Mr. Shahril is lecturer of Data Communication and Networking for 3-BENT section 2 last semester. So, I use this opportunity to ask about IP camera.

We explain about the task that Mr.Mazran gave us to Mr. Shahril. We also told him about what we already learn from Mr. Hanafi. He explain about the IP Camera that use the WAN. For using the WAN, The other WAN must know the IP address for the WAN to the router. From this IP address, other WAN will see IP Camera as the device using this WAN. This IP address we can get on the detail of the router.

For the auto-port forwarding, this case can't solve because we use the WAN from UTEM. UTEM block a lot of the port that we can't use it. It impossible we access the IP  camera from other WAN because auto port forwarding can't enable cause of port are blocked by UTEM. Mr.Shahril says that the every company must have the port that they restricted from the user but UTEM block more port from the user. Mr.Hanafi once told us that to open the port, we have to get the permission letter from the UTEM to open the port.

For this IP Camera, we assume that it will unsuccessful if use WAN from UTEM. Task will continue tomorrow.
 

Twenty Eight-Th Days

Assalamualaikum....here I am again and again.... +_+

Today I continue blog about serial communication and review about that for a while. After that we continue with the IP camera. For this time have the problem that we also can't access the internet via router. So, I try to diagnose the problem of the router. All the user can't access the internet and the IP address/gateway become differ than the usual.

So, I take the way to reboot router by press reset button. This is because, this router have the problem since the configuration was change by Mr.Hanafi by using DHCP of the IP camera. After reboot, I configure the router with the usual setting as before to make IP camera can detect the router.

IP camera will continue tomorow.

Wednesday, August 1, 2012

Twenty Seven-Th Day

Assalamualaikum to all of you....
Today I continue with second task that is the Serial Communication. Mr.Mazran told us to ask Azlan to teach how to progress the serial communication. First all the all, we need to install software from the CD. After that I have to program the PIC by using PICkit software after get the coding from PIC C-Compiler that we already make it. The step to program PIC by using by PICkit can review on my last blog---->PICKit
The coding for the Part 1 just like figure below. There have the mistake. Actually for the last coding represent  it will count from 0 and add the number every 1000milisecond not second. Mistake on the statement. The other can be review on Figure.

After already finished with Part 1, I continue with Part 2. The coding for Part 2 shown on figure below. The description will be under the figure.

(1) This command for insert the LCD hex file into this hex file to make the LCD display like I want to.
(2) This command was insert as command on (1) to display the LCD.
(3) This command will be display on HyperTerminal after it will we write the hex file to PIC. It like a instruction to display or to function other component.
(4) This command to display when the "A" type on the HyperTerminal as the (3) want to.
(5) This command to give the output should be high[1] at the pin C4. For pin C4, it refer to LED.
(6) This command for clear the display on LCD after write it because if we not command it will be double on the LCD display.
(7) This command for centered on display on LCD. It will change based on the our interest.
(8) This command for display on LCD what going on the PIC. For "A" it will display LED ON
 (9) This command for "S" that it will be output LOW[0] on C4. Output on C4 is LED.
(10) This command for "S" that will display on LCD as LED OFF.
(11) This command for "Z" that it will be output HIGH[1] on C3. Output on C3 is RELAY.
(12) This command for "Z" that will display on LCD as RELAY ON.
(13) This command for "X" that it will be output LOW[0] on C3. Output on C3 is RELAY.
(14) This command for "X" that will display on LCD as RELAY OFF.
(15) This command for "B" that it will be output HIGH[1] on C1. Output on C1 is BUZZER.
(16)This command for "B" that will display on LCD as BUZZER ON.
(17) This command for "M" that it will be output LOW[0] on C1. Output on C1 is BUZZER.
(18) This command for "S" that will display on LCD as BUZZER OFF.


For complete display on this LCD, we also must put the LCD hex file the same folder of the hex file of the programming. Below is the coding of the LCD hex file.







 IP camera will continue on tomorrow....

~SEE YOU AGAIN~

Tuesday, July 31, 2012

Twenty Six-Th Day

Assalamualaikum to all of you....
Today I continue with IP camera that can't access the DHCP. Even it detected the camera but there can't get the IP address for camera and access it. So, I try to find camera by using MAC address (0080F0DF2513). I also set the IP address for camera as 192.168.0.106. After that, it will restart as figure below.

I waiting for 1 minute for camera restarted. After that, it will shown notice as figure below. It gave the IP address that we can use to access the camera. The address to access camera is http://192.168.0.106/. After that, I can access the camera as before. Change the IP address by the MAC address is like change DHCP to Static address.


For camera configuration, I must set up for viewnetcam again to get the camera address for access via internet. An address will be http://hiis2012.viewnetcam.com:8000. The 8000 at the end of the address is the port number that I set on Static Address. The status of UPnP is enable that show it can be access on internet, but still can't use the DNS by viewnetcam. It can be shown on Figure below.


This figure show that the DNS, Viewnetcam, and UPnP success to configure as I want. The status on autoconfig say that access from the internet allowed. But still it can't be access via the other router/internet.


I  try to call Mr.Hanafi but he is still busy and only get to leave a message. Mr. Mazran told us to continue doing IP camera and also start Serial Communication for this week. This is because he don't want the task on IP camera only, I can learn serial com. before get appointment with Mr.Hanafi.

The task will be continue on tomorrow...



Monday, July 30, 2012

Twenty Five-Th Day


Assalamualaikum and very good morning...

Today I start with my logbook and blog. It is because we need to submit logbook every Monday, so all that I wrote on blog will be wrote on logbook too. I try to find DHCP stand to waht and what can be help me.

The Dynamic Host Configuration Protocol (DHCP) is a network protocol that is used to configure network devices so that they can communicate on an IP network. A DHCP client uses the DHCP protocol to acquire configuration information, such as an IP address, a default route and one or more DNS server addresses from a DHCP server. The DHCP client then uses this information to configure its host. Once the configuration process is complete, the host is able to communicate on the internet.

The DHCP server may have three methods of allocating IP-addresses:
  • dynamic allocation: A network administrator assigns a range of IP addresses to DHCP, and each client computer on the LAN is configured to request an IP address from the DHCP server during network initialization. The request-and-grant process uses a lease concept with a controllable time period, allowing the DHCP server to reclaim (and then reallocate) IP addresses that are not renewed.
  • automatic allocation: The DHCP server permanently assigns a free IP address to a requesting client from the range defined by the administrator. This is like dynamic allocation, but the DHCP server keeps a table of past IP address assignments, so that it can preferentially assign to a client the same IP address that the client previously had.
  • static allocation: The DHCP server allocates an IP address based on a table with MAC address/IP address pairs, which are manually filled in (perhaps by a network administrator). [Only requesting clients with a MAC address listed in this table will be allocated an IP address]. This feature (which is not supported by all DHCP servers) is variously called Static DHCP Asignment (by DD-WRT), fixed-address (by the dhcpd documentation), Address Reservation (by Netgear), DHCP reservation or Static DHCP (by Cisco/Linksys), and IP reservation or MAC/IP binding (by various other router manufacturers).
I can't solve the problem. I continue on next Monday.




Twenty Three-Th

Assalamualaikum....nice to see you again.....


Today I continue with the IP camera but there have the problem with router and IP camera. IP camera can't detect DHCP(Dynamic Host Configuration Protocol) that Mr.Hanafi set yesterday. The IP camera function but it not recognize the IP address for the camera. So, I can't access the camera to view it. Mr.Hanafi told us not to change any configuration either router or IP camera.


If we access the camera by search camera as usual, figure above will shown as usual. But there have the problem that the IP address will be 0.0.0.0. It tell me that the camera not get any IP address from the router. So, I try to click on access the camera. The result will shown as figure above.


After waiting for 30second, it will shown the result as the figure above. The network configuration in process. It tell that the camera still searching for IP address from the router. The figure below shown that the configuration of the IP camera by using DHCP. We can see that it use the correct SSID of router but can't get the IP address from the router.




So, I try to find something about DHCP on internet. Why that the IP camera can't detect DHCP although we already set before. Mr.Hanafi already told that the IP address for the camera will be change and it based on how the device detect the SSID from router.

I will continue my IP camera on tomorrow.

Wednesday, July 25, 2012

Twenty Two-rd Day




Today, we got appointment with Mr.Hanafi at Computer Center. Because of we reset camera and router, we must set wireless to our router but we have problem that camera can't detect wireless even the SSID for wireless are same. So, Mr.Hanafi try to setup the camera to wireless. He also explain about networking. Before want to setup any project about networking, we must design the networking that involve all this project. To access IP camera to internet, it consist two WAN (Wide Area Network) that can access the same camera without using the same WAN. The design as this picture.

























Twenty One-rd Day

Assalamualaikum.....Happy Ramadan...

Today I continue with my IP Camera and update my blog also my logbook for last Friday. I called Mr Ed Soffuan for set our appointment. He called me back to set the appointment with Mr.Hanafi. So, tomorrow Mira and I will meet Mr.Hanafi early in the morning.

I change the configuration at router and camera, after that I can't access the camera. I can view but can't login to change the configuration at the camera. Even I reset the camera, there still like that. So, I reset the camera and also the router.

I find the slide about http and https on internet.This slide can view on Slide HTTP VS HTTPS

Mr.Mazran come to introduce our new supervisor. Mr.Tiang will supervise and teach about our task. Mr.Tiang fourth years student UTeM from BeNC. Mr. Mazran give the task that we must achieve about this week and what we achieve along week 3 and 4. The achievement shown as this table.

GROUP
WEEK 3-
WEEK 4
WEEK 5-
WEEK 6
WEEK 7-
WEEK 8
WEEK10
1. GSM
*Fauzan (Leader)
*Syuhada
*Rahmah
>Soldering
SMD
>AT Command
>Basic Coding
>Timer CCT
>Visual Basic


2. CODING
*Azlan (Leader)
*Sakinah
*Farhan
>Soldering SMD
>Solar Sensor
>Vibrator
>Amplifier SCC
>Send SMS


3. PROTEUS
*Nabil (Leader)
*Azamiah
*Khairina
>Soldering SMD
>Design solar SW CCT
>Relay CCT board
>PCB fabrication
>Simple PCB for SW
>Relay design and testing


4. IP CAMERA
*Sara (Leader)
*Amira
>Soldering SMD
>Wireless IP Camera
>Configuration Dlink router
>Appointment with Ed Soffuan and Hanafi


5. RFID
*Saiful Amirin(Leader)
*Hanif
*TuanFaris
>Soldering SMD
>Manual RFID
>Keypad
>Password Coding
>Door lock





Mr. Tiang will supervise us twice a week or more. But he not supervise for everyday. IP Camera will continue tomorrow with Mr.Hanafi at Computer Center.



Monday, July 23, 2012

Twentieth Day

Assalamualaikum.....knock knock...are you there? Y^_^Y



Today, I start with update of my blog for activities on Wednesday and Thursday. After that, I need to update my daily logbook. I update once a week. It is because I already update my blog to be my references. After update it, I continue to search about the IP camera. I Google about HTTP and HTTPS and also things about IP camera by Panasonic. I found a website that upload a slide about how to setup a Panasonic IP camera. I used this slide from website to compare with my configuration-------->Slide IP Camera

This configuration little bit difference between my configuration because I used Automatic IP address and this slide use static IP address to configure this IP camera for IPv4 setup on camera. It also shown how they set the port for IP camera and still use UPnP. But by this slide, I'm not really get what I must change it because the example of the setting so general. For the setting on port forwarding, they use the difference router, so, the setup will be differ from me. I try to change the setting but there have the problem that I can't log-in to my IP camera eventhough I used the correct username and password. So, I reset IP camera and set the username and password. It also have the same problem.

I will continue on next Monday.



Balik kampung untuk Hari Pertama Puasa


Selamat menyambut Bulan Ramadan Al-Mubarak....




Friday, July 20, 2012

Nineteenth Day

Assalamualaikum....welcome to my blog....just read my boring blog... >_O

Let Exercise early in the morning....

regangkan bahu
lembutkan tangan perlahan-lahan seperti burung

lakukan sekali lagi dengan lebih lembut

mulakan tai-chi
ke kanan dan kiri
regangkan bahu dengan lebih cepat
haiyak.......

untuk lebih ekstrem, buat dengan laju
kalau bosan gak, ketuk kepala dengan batu...
Now, we can start our task on the beautiful day today. Update my blog will be every 2 days because all the task will be the same. I'm need to explain some of thing that really same and unfinished task yet. Mr.Mazran told me to contact on Mr.Ed Soffuan from computer center to get any help. I try to call him in the morning but can't reach it. Maybe he busy because Mr.Hanafi said before that they have to finished their work before Ramadhan. Mr.Hanafi also told us that he will go to the seminar on this weekend.

I search on google about how to change http to https. But the result of the searching not really good because the router that I use only display on http and not even once post about change http to https. The link of https an usually used to the website like facebook or twitter. It for the security website for people. For router D-link DIR-300, it never be have https. But, maybe all the post never have the problem with the IP camera by Panasonic. 

So, I try to find something from manual on Panasonic and google about manual on router D-link DIR-300. To get the match between both of them. The research unsuccessful for today. It will continue on tomorrow.