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.