CLICK HERE FOR FREE BLOGGER TEMPLATES, LINK BUTTONS AND MORE! »

Friday, 20 July 2012

construct cct at ares..

Thursday, 19 July 2012

....

Wednesday, 18 July 2012

9am - 1 pm
     Continue with GSM modem.


Sending SMS
     Flow of AT command that must be use to communicate with the GSM modem (between GSM and PIC).
AT+CMGF= 1 ---> set PDU Mode = 1, Text Mode = 0
Enter : \n\r
Example coding : printf ("AT+...")
                               putc (26)
                               putc (0x14) <---- value of 14 is from ASCII Table

Sent SMS using AT Command from Hyper Terminal


2pm - 5pm
     Mr. Mazran give me another task to construct basic circuit of instrumentation amplifier 1NA114 in breadboard by follow the value that he need.



Component: Variable resistor: 10k Ohm, 50k Ohm, resistor: 2.2k Ohm (4 unit), Supply: adapter            
                      12V, 1NA114 amplifier

Circuit that have been constructed:

Tuesday, 17 July 2012

     Continue with GSM task. Try solve problem how to get GSM receive our coding and the function "CALL READY" also not interframe. Other thing that Mr. Mazran told us which try use interrupt function.


UART
UART is stand for Universal Asynchronous Receiver Transmitter. UART signal is use to send and receive data over the three wires, which is TX, RX and GND. Synchronous transmission requires the sender and receiver to share the same clock signal. While the Synchronous transmission allow the data is sent without a clock signal sent but the sending and receiver must to operate at the same timing parameter known as Baud Rate.

Monday, 16 July 2012

     Still continue with GSM task. Today I try to understand the function of GSM modem because the task required to send SMS. There have been problem with the programming. We don't understand why no output from GSM modem when send AT command. 


GSM modem
source information: rps.bmi.edu.my/fyp/submission/S111/Degree/51210109211/uploads/51210109211.pdf

Friday, 13 July 2012

     Today I learned how to built RS232 data interface cable by using wire communication of black (pin 5), yellow (pin 2) and white (pin 3). Only connection for pin 2, 3 and 5 do for this task, the connection refer in figure below:  


Sub-D 9 pin

                    Sub-D 9  pin diagram                                            Sub-D 9 pin table

    This cable will connect to PIC board where 5V logic level receive and transmit signals of the PIC are connected to RS232 levels by a MAX232 device. Baud rates are generates by dividing down the system clock. The USART ( Universal Synchronous Asynchronous Receiver Transmitter) receive and transmit pins are C7 and C6 respectively.

Concept of receive and transmit

Tools required: wire communication (black, white, yellow), solder iron, solder lead, wire crimper, wire stripper, sub-D 9 pin male, pin header connector, shrink tube.

 
Wire stripper                                     Wire crimper

RS232 data interface cable

After that, do some research and any information about programming for new task which to set the PIC to send SMS in each 10 minutes. In 10 minute concept already but to set the programming for GSM modem still have problem.

Wednesday, 11 July 2012

     Continue our with sonar sensor task, there still some problem with the program code. Make some correction by create function declaration of beeping and beepoff for buzzer sound. As beeping and beepoff on the coding that has high and low pin C1 for buzzer. 


     Mr Mazran help us by give some hint:
#define DEL500 500 // declare of DEL500 as delay 500


void beeping (int dly) // function declaration of buzzer
{
output_high (pin_c1); // int dly : replace dly by the value at above coding
delay_ms (dly);
output_low (pin_c1);
delay_ms (dly);
}


     By afternoon, we complete our second task for understanding sonar sensor and output buzzer with 5 level. 
Connection circuit board

LCD display


     After done, Mr Mazran give another task by adding timer on the coding. The timer require need to be set at the PIC to send SMS in each 10 minute. We need to study and understand the flow by refer to CCS website and another forum.